Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 73d9d2256ec3afc1…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: a0e5eea40b4e3f0887ad203f0e3bd3d3 SHA-1: ca9711274cabe4a8da5cdd078533e4905f938115 SHA-256: 73d9d2256ec3afc12382e9843ce551c5452c892ee67f1b0e00906e36d5b31d3f
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 the obfuscated nature of the VBA code strongly imply 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
b38494dd9811d5d31a4fa22b0a9f74ba6031576b1fe650c23de1fbba1fbb220e
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
79377a139bd0b44f3020c7c471b27e5b43a957b9c2c86d40cbac590f180e875d
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes