Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 1ef507d76817ac3f…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: d76088a594a3a31d21fa0866a263bca7 SHA-1: 02217aeb856e5fbd0e8b6e77616e1d096ebb7bf4 SHA-256: 1ef507d76817ac3f2be30a4b25ade06e0e5cf699efacbe25ce840ed6c6ba88b6
160 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1059.003 Windows Command Shell

The file is an OOXML document containing VBA macros. Heuristics indicate the VBA code references PowerShell and cmd.exe, and uses GetObject. The VBA code itself is heavily obfuscated, but appears to be designed to execute a PowerShell command. This suggests the document is a macro-based downloader intended to fetch and execute a secondary 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
5bb3f5f9090e89845801e373ebc155b8819f3f7ab93ede62bdee2a73468db1e2
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 34430 bytes
vbaProject_00.bin
6ee9e6417fb6413cae92f2ac1ccdcd06dfb386f5a65dab27b02ceecd3394462b
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes