Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 0f0d7a2f37f0b863…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 516a05e1dae8534244c8d6e72baccf47 SHA-1: 5de980f5c232cce70d2828950a542db68efa08fe SHA-256: 0f0d7a2f37f0b8637c533f75fb34aa67bb07e9a27ecab1f5ee95d34da12ddb25
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. The VBA code itself appears to be heavily obfuscated, but the presence of these references strongly suggests it's designed to download and execute a second-stage payload. The Decode64 function is likely used to deobfuscate malicious commands.

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