Malicious Office (OOXML) / .XLSX — malware analysis report

Static analysis result for SHA-256 80b1f03b5d1aee8b…

MALICIOUS

Office (OOXML) / .XLSX

74.7 KB Created: 2020-12-28 23:32:28 UTC Authoring application: Microsoft Excel 2.6
MD5: 9823b04a117533b80de9028e530a9b03 SHA-1: 02417bd071eda327457eeceaf7b3943e96bb1d41 SHA-256: 80b1f03b5d1aee8b7b9b6ba50c3645bf6c48916c3ef46c52891253e0fe0c3d76
388 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1218 Signed Binary Proxy Execution T1059.001 PowerShell

The sample is an OOXML file containing a VBA macro with an Auto_Open subroutine. This macro utilizes WScript.Shell and CreateObject to execute commands, including PowerShell, and references a LOLBin. The document body attempts to socially engineer the user into enabling macros by presenting a fake error message. The primary intent appears to be executing arbitrary commands via the VBA macro, likely to download and run a second-stage payload.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • PowerShell reference in VBA critical OLE_VBA_PS
    PowerShell reference in VBA
  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains vbaProject.bin — VBA macros present
  • Environ() call (env variable access) low OLE_VBA_ENVIRON
    Environ() call (env variable access)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
ec6f218124a19312c012420cd58675d1816f5593af88eb4a5d85ecc7d9ff2dcc
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 2260 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 4 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
fe9fbbbe5fa2cd5d5b0c6651eeed3e57664f076f02a859453f708fa4f99911dd
vba-project OOXML VBA project: xl/vbaProject.bin 18944 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 4 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.