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

Static analysis result for SHA-256 b4efe49e96c10da9…

MALICIOUS

Office (OOXML) / .XLSM

41.8 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 09a5170e2fee485b0ebae4ee16935756 SHA-1: ba6bc44eb287f384f2eca8c40a1cc8fa1e5f11ab SHA-256: b4efe49e96c10da9e00820cba8e15fb7276d7ffa72627b67fbd070c3639d5602
300 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.003 Windows Command Shell T1204.002 Malicious File

The sample is an XLSM file containing a Workbook_Open macro, which is a common technique for executing malicious code upon opening. The macro references cmd.exe and PowerShell, and uses WMI to launch a process. This indicates the macro is designed to download and execute a second-stage payload. The Base64 decoding function suggests obfuscation of the payload or its download URL.

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
18d70a3d3775dfcc368715c5291eeab62c4517833f32fa8291687ca096126184
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35385 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
e031a45a40546cf6e51af6888a68ac680fd1324d06bde727758d0db0517e96d1
vba-project OOXML VBA project: xl/vbaProject.bin 11776 bytes