Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 3411b9b0c7078567…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 01c03c60acb426129186b4ec6b9705e2 SHA-1: 9201208b6d60aa795f2cfa819eb6593e430d222b SHA-256: 3411b9b0c7078567f6d7d415a8bce60bb72a3970a679aaacb1c2ca700c28cae1
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.005 Visual Basic 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 GetObject call is also suspicious. The VBA code appears to be obfuscated and includes a Base64 decoding function, likely used to hide the actual commands or payload it intends to execute.

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