Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 1ceb30189dde2067…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 93c41f452818f43e825509dc1e935495 SHA-1: 1bbaaec6f0eae19553374091b8b04fe74dcd89cb SHA-256: 1ceb30189dde2067bf08d262d94bb6c891cf0e786f4715d31aef8763690e63b8
160 Risk Score

Malware Insights

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

The file is an Office document containing VBA macros. Heuristics indicate the presence of PowerShell and cmd.exe references within the VBA code, suggesting an attempt to execute external commands. The VBA code itself appears to be heavily obfuscated, but the presence of a Base64 decoding function and references to cmd.exe strongly imply that the macro is designed to download and execute a second-stage payload. The GetObject call is also a common technique for executing code within Office documents.

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
2c34a2fbd75ffd7ce2ca8d6ce01efd5be4c68b0134bac84e948945d554908a02
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 34430 bytes
vbaProject_00.bin
2dec6d78b587314c7fd1a334f6d3bf94cce8e5bb483a060e9412c6381d402188
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes