Malicious Office (OOXML) — malware analysis report

Static analysis result for SHA-256 b4a5dfa8f8975845…

MALICIOUS

Office (OOXML)

41.6 KB Created: 2021-06-22 12:43:05 UTC Authoring application: Microsoft Excel 16.0300
MD5: 06b086a1f423cd0d070c02ff9c37318a SHA-1: 9b07446315053da52758d6f0387ed27bc8f963d3 SHA-256: b4a5dfa8f8975845a5e92216f139997ce0e2757dc74a6f01d0e13d051b0212d7
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. The VBA macro itself contains a Base64 decoding function, suggesting it's used to deobfuscate and execute a malicious 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
e54996b0cbfbacf7ba8b426cb0dd5bee4b3f0294c2ebcc2d42ab07de1f3b3f33
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 35036 bytes
vbaProject_00.bin
4dfd0b9c53b52dd7cee5a7b722e9c4b5b724363732e595c107c5dde38a161b2d
vba-project OOXML VBA project: xl/vbaProject.bin 11264 bytes