Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 2576a030842f6414…

MALICIOUS

Office (OOXML)

41.5 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 6fd195b653b5e6db22c5ce9e7c379762 SHA-1: 1f0e1999085f74f2fc363dd0768a8fa70bbba0a0 SHA-256: 2576a030842f6414260045d1c9a2f0b2fd7f7d59a3bc15efcb4ce611c5a19219
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 OOXML file contains VBA macros that reference cmd.exe and PowerShell. The GetObject call and the presence of a VBA project suggest that the macros are designed to execute arbitrary code. The VBA code includes a Base64 decoding function, indicating that it likely decodes and executes a payload. The primary purpose appears to be downloading and executing 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
60641d5b2b8eeab847a0a2a2ad6d6308982cf6dc19451c7a798b7588dc3c9112
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 34430 bytes
vbaProject_00.bin
88d5ef5d55abea1b542a754a7d169fa4b23bf6bacd3c8675a69a56d3db3fcd7a
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes