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

Static analysis result for SHA-256 8273dac0332cd80b…

MALICIOUS

Office (OLE) / .DOC

149.0 KB Created: 2021-10-17 21:39:00 Authoring application: Microsoft Office Word
MD5: dbd2b86c7533b2f70feb439664eb266e SHA-1: 1109de3e62374be0c1f5a78bebfffe41918bb44a SHA-256: 8273dac0332cd80b9d834b63118d5e171eea1d12b81c1bb2fa43a423ab173ca1
472 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1105 Ingress Tool Transfer

The sample is a malicious Office document containing obfuscated VBA macros. These macros utilize WScript.Shell and CreateObject to download a file using HTTP and save it to the user's profile directory as 'macros.bas', likely to execute a second-stage payload. The presence of Document_Open and Workbook_Open macros indicates an attempt at automatic execution upon opening the document.

Heuristics 13

  • 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.
  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_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
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
  • Suspicious extracted artifact info EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • 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
fb2029f6821753c33741833b07543e33ee3cc77eb970702efe2de7b5f1b98a1c
vba-macro oletools.olevba.extract_macros (decoded VBA source) 57690 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 132 long base64-like blob(s).