Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 b1f41253300b60fa…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: e2846037e646b80df024c544748fd7a2 SHA-1: 51893be2c37694e71383499bee1ae4b4c2351421 SHA-256: b1f41253300b60faa0ff855f2f5cfe898b86472ea1949ba65233cb2c0ba7f494
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1059.003 Windows Command Shell

The OOXML file contains VBA macros that reference PowerShell and cmd.exe. The GetObject call and the presence of VBA macros suggest an attempt to execute malicious code. The VBA code includes a Base64 decoding function, indicating obfuscation of a payload. The primary function of the script appears to be downloading and executing 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
8f5ad44ef7869dac562ee67010c53dcb6358abacbcdeb77c9cf20799497ab460
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 34430 bytes
vbaProject_00.bin
bfa71d13585b65e68d9a6156aba3b3accbe9d8e696f21eb92b3aa3c42fd16ae2
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes