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

Static analysis result for SHA-256 6a9ae19a175b78a0…

MALICIOUS

Office (OLE) / .DOC

12.5 KB First seen: 2022-11-09
MD5: 52b4729b795b2ebe5e6667106a1f32ef SHA-1: 7d264d2b2ee7f3f647a8fbcd5d6dd75129144b9d SHA-256: 6a9ae19a175b78a0afcf6605237d4776072a9c3eacff375b807f9f1c54419161
380 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1204.002 Malicious File

The sample contains a VBA macro that is obfuscated and uses `WScript.Shell` to execute a command. The `Document_Open` subroutine triggers an obfuscated loader that reconstructs a command to download and execute a payload from `http://192.168.1.100/payload.exe` using PowerShell. This indicates a downloader or droppper functionality.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • 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
  • 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
  • Suspicious extracted artifact medium 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.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
a21b334dc31aa636a65eaaf4fd82a99bd8a1763a50c1e92223aece253b6875ac
vba-macro oletools.olevba.extract_macros (decoded VBA source) 2487 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 eval/decoder/string-building token(s).