Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 0385186f17e56c86…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: a6af334a4d2c3cd3d00b577bae6b7cbe SHA-1: b2ecd8671dfa64def1ba87d286028d887b366074 SHA-256: 0385186f17e56c86c377612d5ebc467069e16ebfd28987ec25d6aba4da74b592
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 VBA code itself appears to be heavily obfuscated, but its structure and the presence of these indicators strongly suggest it's a downloader for a second-stage payload.

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