Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 16154829c0b82fe3…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 90eb64267c8580faaa0108dc68d98f06 SHA-1: 1a1966f9ce96b8b29e467868f30bebd2f0b143e6 SHA-256: 16154829c0b82fe39ff910caed1c9d12f160a6e2cbe9f15daa012c3838a93ac5
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 external commands. The Decode64 function and the presence of obfuscated VBA code strongly imply the macro's purpose is to decode and execute a malicious payload, likely a PowerShell script.

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
fea6c9f70d76a2c02d2914da74d7eb32cf32c5a2678cb6532471651d6551feb6
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
93247304f2c43ff1eaa0b83663673e54a18ff959bd4ad7ba865319fd3c1ee328
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes