Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 a966077fdce165aa…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 870597f193258bacad4b0c9356b3f793 SHA-1: 536b2e290204f5fd7bb0bde1b87a7173c7a24713 SHA-256: a966077fdce165aae292db7617800ab6ae58d46d06fa70d9770dacd3fc18ba36
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 PowerShell and cmd.exe, and uses GetObject, suggesting it's designed to execute arbitrary code. The presence of a Decode64 function and truncated obfuscated code within the VBA macro strongly implies it's a downloader for 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
2cb336468bb2910971f1f66bb93e65253bcb9c3a9f7471878e20ea5173a8a37d
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
59f5f015800a4d805909029575b210e4274e473e98204f03eb35659253bbeabd
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes