Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 f951b2db8b17dd1a…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 1ee088c706ec607e54b9c89343ff63e4 SHA-1: 962f1d475100f41f3d1ab4a3e50aaebbaf465138 SHA-256: f951b2db8b17dd1a897b8a40c5b8c6bec22579d5bd62b747cf59074e4ccd0c1c
160 Risk Score

Malware Insights

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

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 presence of a Base64 decoding function within the VBA macro further supports the hypothesis that it's intended to download and execute a secondary payload, likely via PowerShell.

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