Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 18fa7ebc87dac24c…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: b3393df94cf3217b8edfb4af9dd82595 SHA-1: 019a989084ab5ed488bd55cd75c4a20a212b863c SHA-256: 18fa7ebc87dac24cdaa0412aa47646ddbb38ab1116e45381ba6198ce3a6a4e64
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 file is an OOXML 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 presence of a Base64 decoding function within the VBA macro further supports the idea that it may be decoding and executing a malicious payload. The primary goal appears to be the execution of a second-stage payload via scripting interpreters.

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