Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 d6907607eee9ac21…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 52af1ea504c2e151fcf8dacc36a3bb79 SHA-1: 4063e06278c442a1168ef57773431cd3cbf063d4 SHA-256: d6907607eee9ac21e9fdfafafb508e84d60b01d58e0d5950d35b2bb98a3f5473
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 cmd.exe and PowerShell, suggesting it's designed to execute commands on the host system. The presence of a Base64 decoding function within the VBA code implies it may be used to obfuscate and deliver a secondary payload. The GetObject call is also a common technique for executing arbitrary code.

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