Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 293cc57f9699ede4…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 4a8040e8447a1394e15b7c53cc1720e4 SHA-1: 4b707331eb91845d6af7d898f7b6ea243c1e36ed SHA-256: 293cc57f9699ede4778232e9fa8168838b01041c351591e0b9e131c71156138d
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 sample is an Office document containing VBA macros. Heuristics indicate the VBA code references cmd.exe and PowerShell, suggesting it's designed to execute commands on the host system. The GetObject call further supports the possibility of object manipulation for malicious purposes. The primary function of the VBA appears to be the execution of external commands, likely for downloading and running a secondary 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
175aa4a58980d1a4ee9dc18d461e9b9fa42bcb5f86f98725e91524e8c1cb4685
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 34430 bytes
vbaProject_00.bin
3f25727247c2f54790019fae9a4ef341da6548d51cdfdb1c1847e82e91a34207
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes