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

Static analysis result for SHA-256 ca16c541bbb3cc2b…

MALICIOUS

Office (OLE) / .DOC

127.5 KB Created: 2023-08-07 12:52:00 Authoring application: Microsoft Office Word First seen: 2023-08-08
MD5: 0f0d1ffc614418954823dc5a1ef2ed68 SHA-1: 4203e94a5beee4f94ad212be7ca9272e4c11c599 SHA-256: ca16c541bbb3cc2b1db8fde1c3b066a201dfe8fa93c2135e837dd60393d828a7
362 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1105 Ingress Tool Transfer T1204.002 Malicious File

The document contains VBA macros that leverage WScript.Shell and CreateObject to download a file via HTTP and execute it. The Document_Open macro is triggered, initiating the malicious chain. The specific URL used for the download is http://schemas.openxmlformats.org/drawingml/2006/main, which is likely a decoy or misdirection.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • VBA downloads and writes a file to disk critical OLE_VBA_HTTP_DROP_EXEC
    VBA reads an HTTP response body and writes it to disk (ADODB.Stream SaveToFile). Combined with the auto-exec/Shell paths this is a download-drop dropper even when the COM ProgIDs are built dynamically to evade keyword scanning.
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • 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://schemas.openxmlformats.org/drawingml/2006/main

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
2e8a026f8468e6c50c558408b1cfe15fbda47c501d00585b632af5ee1f4977ac
vba-macro oletools.olevba.extract_macros (decoded VBA source) 12190 bytes