Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 a7097f9f27c82edc…

MALICIOUS

Office (OOXML)

42.1 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 3141625c466a4385f4952de60683db20 SHA-1: 520fd6e6e095c06a521d35e448cb40e2136b42e2 SHA-256: a7097f9f27c82edc43b8678981f8e614d22924fc09ff663bc003f4e40a30510e
260 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1566.001 Spearphishing Attachment T1059.003 Windows Command Shell T1218.011 Signed Binary Proxy Execution: Rundll32

This Excel document contains a Workbook_Open VBA macro that references PowerShell and cmd.exe. The macro also uses GetObject to interact with WMI to launch a process, indicating it's designed to execute arbitrary commands. The presence of a Base64 decoding function suggests obfuscation of the malicious payload. The likely intent is to download and execute a second-stage payload.

Heuristics 6

  • 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
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — VBA macros present

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
132c94a99c7f3bd7cf607ab1441cfd69116846db46718a360aa399f601f2ba7f
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 36064 bytes
vbaProject_00.bin
dc72be00846596b8ebb8e94b939a83d8a9a046972508529a766e3ffc165a3171
vba-project OOXML VBA project: xl/vbaProject.bin 11776 bytes