Malicious Office (OLE) / .DOC — malware analysis report

Static analysis result for SHA-256 c9730b45df6c482c…

MALICIOUS

Office (OLE) / .DOC

168.5 KB Created: 2017-07-17 20:13:00 Authoring application: Microsoft Office Word First seen: 2023-02-28
MD5: 6856dda8c64df3104c29c2b06b45022b SHA-1: 816456746b0b161fda86a276473a05a892c0326e SHA-256: c9730b45df6c482ceb7781fc48e9bf0cabb40e5f0f97b24bf36e171c75d6b7ea
282 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1105 Ingress Tool Transfer

The sample contains VBA macros, including a Document_Open macro that executes a Shell() command. This command is Base64-decoded and reveals a URL, 'http://185.165.29.36/', which is likely used to download and execute a second-stage payload. The ClamAV detection and critical heuristics for Shell() calls and Base64-decoded stagers strongly indicate malicious intent.

Heuristics 7

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • VBA Base64-decoded Shell command stager critical OLE_VBA_BASE64_SHELL_COMMAND_STAGER
    VBA auto-exec macro decodes Base64 string literals into command or script-launch text and executes the result with Shell. This catches cmd/cscript/PowerShell/VBS launchers hidden from plain keyword matching.
  • ClamAV: Doc.Macro.Obfuscation-6332451-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Macro.Obfuscation-6332451-0
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://185.165.29.36/
    • http://ns.adobe.com/xap/1.0/
    • http://www.w3.org/1999/02/22-rdf-syntax-ns#
    • http://purl.org/dc/elements/1.1/
    • http://ns.adobe.com/xap/1.0/mm/
    • http://ns.adobe.com/xap/1.0/sType/ResourceRef#
    • http://ns.adobe.com/tiff/1.0/
    • http://ns.adobe.com/exif/1.0/
    • http://ns.adobe.com/photoshop/1.0/
    • http://www.iec.ch
    • http://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
eed13f152dbc083e45a8e547d30821dee087bfc7900444e0814c4667905ec744
vba-macro oletools.olevba.extract_macros (decoded VBA source) 22097 bytes