Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 139822e319c4b416…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 8e9abaecdb44db9c6601a076f3acac31 SHA-1: b0ccfd67340dbd0724d4ffdce1b28c95d8e3d0e4 SHA-256: 139822e319c4b416eb8c088b00e8a4c5248b14b460adf24632a97415ac9f5c63
160 Risk Score

Malware Insights

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

The sample 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 these commands strongly implies a downloader or dropper functionality. 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
4a17b9c8437dcbc268978fe7945c941df4d2022f31ab0c8e858ed9da701329e8
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 34430 bytes
vbaProject_00.bin
487d8b51b522cbe744e6615d6fc98e0773e2af79d290f971d7ac3ccfd64d0435
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes