Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 5b81d266fa635347…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 3b530e61508460ebb89f02558f6575a2 SHA-1: fe0a221acf4870095d454d656731f95eb65e01f6 SHA-256: 5b81d266fa63534750baea8043e242e7d225f52981203241aedc17d3edc3bc61
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.001 PowerShell T1059.005 Visual Basic 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 arbitrary commands. The presence of a Base64 decoding function in the VBA script implies obfuscation, likely to download and execute a second-stage payload. The specific Base64 decoding function and its usage are too truncated to determine the exact payload or destination.

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