Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 65e69d3789ab9138…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: fa21a6f21ed4111122219dcd45de2405 SHA-1: 63a9a03a713265e23b64e4a86d826c6ffe2599ce SHA-256: 65e69d3789ab9138f39bf4b9539e40b0a2eeedaf15dc9da3a612b3fa70339277
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.003 Windows Command Shell T1566.001 Spearphishing Attachment

The OOXML document contains VBA macros that reference PowerShell and cmd.exe. The GetObject call suggests an attempt to instantiate and run an object, likely to facilitate the execution of a malicious payload. The VBA code also contains Base64 decoding logic, which is commonly used to obfuscate malicious commands or payloads. The primary function of this macro appears to be downloading and executing a second-stage payload, indicated by the PowerShell and cmd.exe references.

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