Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 a51088af06ecd611…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 3212022cf4091e00a3708e42903edd9e SHA-1: d2626abb91ab97d6f8a628ec2dd41b268c81d08e SHA-256: a51088af06ecd6117688217db04e6b1c9cf00f7acbac9eef2427d3f60e836eed
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.003 Windows Command Shell T1566.001 Spearphishing Attachment

The sample is an OOXML document containing VBA macros. Heuristics indicate the VBA code references PowerShell and cmd.exe, and uses GetObject, suggesting an attempt to execute arbitrary code. The VBA code includes a Base64 decoding function, which is commonly used to obfuscate malicious payloads. The primary intent appears to be downloading and executing a second-stage payload.

Heuristics 4

  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • 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
c96e29179eebee8892fe318558c4a1d7abf60d129fb5948b5dbec75fbffdb8f6
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
e6e8f10e994665719e5436e12864f6d62cfafb43a754d0fc079166d12b707b64
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes