Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 0c9ea2b34cbd5e0c…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 8f9c1e4e3c6545c37d904df3986b2118 SHA-1: b9b0903b2777f127a16057d2cc3ba46c18b84520 SHA-256: 0c9ea2b34cbd5e0c28fb402673fb8c5916ca127a3937381ee610e06978c113e6
160 Risk Score

Malware Insights

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

The sample is an Office document containing VBA macros. Heuristics indicate references to cmd.exe and PowerShell within the VBA code, along with a GetObject call. This strongly suggests the macros are designed to execute commands or download and run a second-stage payload. The Base64 decoding function present in the script further supports the idea of obfuscated malicious code execution.

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