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

Static analysis result for SHA-256 540ffe6a7836cf94…

MALICIOUS

Office (OOXML) / .XLSM

89.8 KB Created: 2001-12-21 16:06:12 UTC Authoring application: Microsoft Excel 12.0000
MD5: f83db854151b10b3d0401b956fc3e22e SHA-1: f5eacc7cd2eaf52541be5ce49b898e3414c36f1b SHA-256: 540ffe6a7836cf941f49b5b9110ad53943c7abd552f3273cdfd9fed7c938085c
196 Risk Score

Malware Insights

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

This XLSM file contains a Workbook_Open macro that is designed to execute automatically when the document is opened. The macro constructs a command using environment variables and cell values, writes it to a file, and then executes it using the Shell() function. This indicates a downloader or dropper functionality, aiming to retrieve and run a secondary payload. The presence of a macro-enable lure further supports this malicious intent.

Heuristics 7

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • Suspicious extracted artifact high 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.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains vbaProject.bin — VBA macros present
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)
  • Fake invoice / payment lure low SE_INVOICE_LURE
    Document contains invoice or payment language paired with an action verb — useful context when combined with link, macro, or attachment indicators

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
5367b07f287e2513e11d545fc86f94610b78db454054fa6b162bf45834a32121
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1924 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
80bb8222b9f63c6ab91f7f75f166c6a659a55d082d27cd5c55725711ee8810e3
vba-project OOXML VBA project: xl/vbaProject.bin 13824 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.