Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 cc9c3ba15f57c7d4…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 0ec771a67f6df700d5a627e6d81f97d6 SHA-1: 2e682f5c5b233aae48416dc6eae2f1f16ade87f0 SHA-256: cc9c3ba15f57c7d48d4512868e14ef4cf14ab911e7db297934952dcab61d1c9c
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 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 or execution of external code. The primary function of the VBA appears to be the execution of a second-stage payload, likely downloaded from a remote source.

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