Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 cac2ed5450bc15d2…

MALICIOUS

Office (OOXML)

41.7 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: fad7350375ab5bf5d6d9473fafc0c847 SHA-1: a46296431de981e64a5c19737249a8ecec1e02d3 SHA-256: cac2ed5450bc15d229613c240dd30e0a66acdeaff8960137608740abde58d226
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 Excel document contains VBA macros that reference cmd.exe and PowerShell. The GetObject call and the presence of VBA macros suggest an attempt to execute arbitrary code. The VBA code includes a Base64 decoding function, which is commonly used to obfuscate malicious payloads. The critical heuristic for a PowerShell reference in VBA strongly indicates that a PowerShell command is being executed, likely to download and run 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
13f2405078377bce93c3007580c7c0f007faba561a131972a1f7a390d1ba285e
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 34430 bytes
vbaProject_00.bin
2d1f9d1bd35e0056bd116770d13dafafcf49adea02435908f1cc4b76355ab3ce
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes