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

Static analysis result for SHA-256 7bae3300b21e8435…

MALICIOUS

Office (OLE) / .DOC

88.5 KB Created: 2022-05-08 13:25:00 Authoring application: Microsoft Office Word First seen: 2022-05-08
MD5: dbbc014421459b50a5ddcb0ed3582ba1 SHA-1: 762ab62a042a189f6e5e5a592eff7d672603f053 SHA-256: 7bae3300b21e84351eec2adb4d1596786fbf1a7fbeb43b0997f3149621f59d6a
362 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059 Command and Scripting Interpreter T1105 Ingress Tool Transfer

The sample is a Microsoft Office Word document containing a Document_Open VBA macro. This macro utilizes WScript.Shell and CreateObject to download and execute a second-stage payload, indicated by the 'OLE_VBA_HTTP_DROP_EXEC' heuristic. The obfuscated script suggests an attempt to conceal its malicious actions, and the presence of WScript.Shell usage points towards the use of Windows Script Host for execution.

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
4af8e2feccaf8e26b2ce386c2f0e3c6215438338efb464b6fb3302581b79a12c
vba-macro oletools.olevba.extract_macros (decoded VBA source) 23009 bytes