Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 1c02f74f51475f7a…

MALICIOUS

Office (OOXML)

41.8 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 95a5f1b086e369c6ab1984bdbde65d55 SHA-1: 44a387e3cf1eb2a0b129511abfbd4ce9dfddda39 SHA-256: 1c02f74f51475f7a5ae635ebe18555b8718f2b266be0c0e6f79d85c8af74be08
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell 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 appears to be obfuscated and includes a Base64 decoding function, suggesting it's designed to download and execute a secondary payload. The primary technique observed is the use of Visual Basic for Application (T1059.005) to invoke PowerShell (T1059.001).

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