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

Static analysis result for SHA-256 4a0fbe1fc7794aa9…

MALICIOUS

Office (OOXML) / .XLSM

42.0 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: f6034a52fec1d276f66ba286e5743321 SHA-1: d89ecfffb7c698efb73e99c60e25b8d4b7ad0122 SHA-256: 4a0fbe1fc7794aa9b204276270235ee8a09ed3764a37edbc55f9ddf726d1fc82
300 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.003 Windows Command Shell T1204.002 Malicious File T1566.001 Spearphishing Attachment T1105 Ingress Tool Transfer

This XLSM file contains a Workbook_Open macro that references PowerShell and cmd.exe, and uses WMI to launch processes. The macro also contains obfuscated Base64 decoding logic, suggesting it is designed to download and execute a second-stage payload. The presence of these execution-related heuristics and the embedded VBA macro code strongly indicate a malicious intent for payload delivery.

Heuristics 7

  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • VBA WMI Win32_Process launcher critical OLE_VBA_WMI_PROCESS_CREATE
    VBA macro builds or references a WMI moniker for Win32_Process and invokes .Create to start a command. This is a high-confidence macro execution chain that often hides the WMI class name through string concatenation or helper functions.
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject call
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • 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

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
07ad497690bca9e5d2f1e4d5b0364043efaa638c3c033ffbcdfa5a7a72dea1f8
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35911 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
45715bdde76bb10ae6bbb78e21afc643f0f5bf5e913d8ccd3403aec033999dce
vba-project OOXML VBA project: xl/vbaProject.bin 11776 bytes