Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 7351b3744529e9e8…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 4dc38195f666509aa889d54ea67629a9 SHA-1: 5a7db0c199f9e361ffbd9ca5ba150a06b124f102 SHA-256: 7351b3744529e9e8fc4e0b9ce8b1eec1dfd48afeef766f99ff4f3531e73fe54a
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.005 Visual Basic T1059.003 Windows Command Shell

The file is an OOXML document containing VBA macros. Heuristics indicate the presence of PowerShell and cmd.exe references within the VBA code, suggesting an attempt to execute external commands. The VBA code itself appears to be heavily obfuscated, including a Base64 decoding function, which is commonly used to hide malicious payloads. The primary function of the script is likely to download and execute 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
f8f4bc077f177353944dca733fac52dc44a7d2f36dc5a1732ff1c6288452256a
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 34430 bytes
vbaProject_00.bin
3123897139dcfe5791022823afb8c431a1450b1aa6372f941d0d7f294606847b
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes