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

Static analysis result for SHA-256 ba27ae12e6f3c2c8…

MALICIOUS

Office (OOXML) / .XLSX

1.56 MB Created: 2006-09-16 00:00:00 UTC Authoring application: Microsoft Excel 15.0300
MD5: 8d3e29bd96352a306022393e94a7270b SHA-1: 802e7e9bde53d254614268e4b78f03edb1db068d SHA-256: ba27ae12e6f3c2c87fd2478072dfa2747d368a507c69cd90b653c9e707254a1d
388 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.003 Windows Command Shell T1204.002 Malicious File

The sample is an Excel spreadsheet containing a Workbook_Open macro, which is a common technique for executing malicious code upon opening. The VBA script utilizes WScript.Shell and the Shell() function to download and execute a second-stage payload. The ClamAV detection 'Ole2.Macro.Agent-9858828-0' further confirms its malicious nature. The script's obfuscated byte array suggests it is preparing to execute arbitrary code.

Heuristics 9

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • WScript.Shell usage critical OLE_VBA_WSCRIPT
    WScript.Shell usage
  • ClamAV: Ole2.Macro.Agent-9858828-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Ole2.Macro.Agent-9858828-0
  • ClamAV detection on extracted artifact critical EXTRACTED_FILE_CLAMAV
    ClamAV flagged at least one file extracted from inside this sample. Even when the wrapping document carries no AV detection of its own, a hit on the carved artifact is a strong indicator the sample is a delivery vehicle.
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_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
  • Hidden worksheet (hidden) low OOXML_HIDDEN_SHEET
    Excel workbook contains 1 hidden sheet(s) — hidden sheets are commonly used to conceal macro code, staging data, or intermediate payload construction

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
fea68cf732bc37b27b4ef0fd0c690f5fd8f7bd6eb7a032f47663f61a8a401e10
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 1624438 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s). Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
a7474265ca4f7efd35529d29e0ab61669c4b70378a77c51c610260b2a34049fa
vba-project OOXML VBA project: xl/vbaProject.bin 5826560 bytes
Detection
ClamAV: Ole2.Macro.Agent-9858828-0
Obfuscation or payload: likely
Carved artifact contains 1 shell/COM execution token(s).