Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 72ae0ff0eb99cfc4…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 371291bce41ad6430dcd11bd05f6455e SHA-1: 6c55242b2cf5c5e2c055bcf2908d18d707166c0c SHA-256: 72ae0ff0eb99cfc4467ef50fe38fd324bae6efc57b045f9d7d0e85418b78b1ca
160 Risk Score

Malware Insights

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

The file is an Office document containing VBA macros. Heuristics indicate the VBA code references PowerShell and cmd.exe, and uses GetObject, suggesting it's designed to execute arbitrary code. The VBA macro itself contains obfuscated Base64 decoding logic, which is likely used to hide the execution of a PowerShell command to download and run 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
5962fc00e5e2d7a6de58c25fcec10d8be5b8c16767d5a7a52004be292706ae24
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 34430 bytes
vbaProject_00.bin
8358b96f7cf41f3f9db487769108e8f63c6105d3fc010d42209dd008fd38d3a5
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes