Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 c0f98d081a5e444f…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 794ebab76b18614bb0292d9003f2a0ef SHA-1: fb371dc1a4d8e38175f003f710c562c92be6a5c9 SHA-256: c0f98d081a5e444fd4b178c1c4eccf3d6221a22a4c75b88dc3f1674ab3538f58
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 attempts to execute external commands. The presence of a Base64 decoding function within the VBA macro further supports the hypothesis that it is designed 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
b8f95f5d92918ae7b9e2f444e114299e05003cf250660827866b134032ad7cf7
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 34430 bytes
vbaProject_00.bin
da9e28ddbfffb838aec391492f98e9cf1fb27de021d652c90af560537b2223db
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes