Malicious Office (OOXML) / .DOCM — malware analysis report

Static analysis result for SHA-256 68518c86ab751409…

MALICIOUS

Office (OOXML) / .DOCM

5.52 MB Created: 2023-09-07 03:29:00 UTC Authoring application: Microsoft Office Word 12.0000 First seen: 2023-09-12
MD5: 384cee7280a2feec66d823f12097e411 SHA-1: f412980918ce73e8c5d0ab3431889399fd3ffbf5 SHA-256: 68518c86ab7514097e33a0c13353af1111ab659fc10ef4ede2dd00ce7a55123a
290 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File

This OOXML document contains a VBA project with an AutoOpen macro, indicating it's designed to execute automatically upon opening. The presence of obfuscated auto-exec loaders and calls to CreateObject and GetObject suggest the macro is intended to download and execute a second-stage payload. The extracted filenames 'macros.bas' and 'vbaProject_00.bin' are also indicative of malicious VBA content.

Heuristics 9

  • 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.
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
  • VBA instantiates a COM class by raw CLSID high OLE_VBA_GETOBJECT_CLSID_EVASION
    VBA uses GetObject("new:{CLSID}") to instantiate a COM class by raw CLSID rather than a CreateObject ProgID — an uncommon bypass of name-based macro detection.
  • 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 project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present
  • 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.

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
b908f6dca5bbdbb41b35ae47f577a0e936a6c83becef15f97837942a83054938
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 5063763 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1783 long base64-like blob(s).
vbaProject_00.bin
ac86313c93004af276a167aa6c2e2993b0537bff589479fe393620705b958aa9
vba-project OOXML VBA project: word/vbaProject.bin 8388608 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2208 long base64-like blob(s).