Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 6fa5b8e1edb2f612…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: f6f0179c007025945395ebecfc95a978 SHA-1: e1b4de8cce14257452a096154b2048c5662b34e9 SHA-256: 6fa5b8e1edb2f6122707560906449fdafbec113b4db848df3bae5be074862524
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File

The OOXML file contains VBA macros that reference cmd.exe and PowerShell. The GetObject call and the presence of VBA macros suggest an attempt to execute arbitrary code. The VBA code includes a Base64 decoding function, indicating that it is likely used to obfuscate and download 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
12d477061b7aed8791bfcd245ef977b2c0436b04db6c0dee65ca079e98398081
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 34430 bytes
vbaProject_00.bin
67c5c658c4a3bf23cc5695ecbc0463d0f0d3ce650d71fe11257e86c346a81c98
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes