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

Static analysis result for SHA-256 8b0b71be39048530…

MALICIOUS

Office (OOXML) / .XLSX

229.7 KB Created: 2024-08-22 05:57:48 UTC Authoring application: Microsoft Excel 16.0300
MD5: ad828b807a4769d2433241cc9496a296 SHA-1: 6bf795d6e4acabdb52e2e113ae495acb0d59aa5c SHA-256: 8b0b71be390485305850bd8e83b40d8e079c97fa3e0e280fc3f6f8cc2d192238
336 Risk Score

Malware Insights

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

The sample is an OOXML file containing VBA macros, specifically a Workbook_Open macro that utilizes Shell() to execute cmd.exe. ClamAV detections indicate it's a dropper for a hex-encoded executable. The document body provides instructions to enable content, further supporting the malicious intent of executing a payload.

Heuristics 10

  • Shell() call in VBA critical OLE_VBA_SHELL
    Shell() call in VBA
  • ClamAV: Doc.Dropper.HexEncodedEXEHeader-9789587-1 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.HexEncodedEXEHeader-9789587-1
  • 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
  • cmd.exe reference in VBA high OLE_VBA_CMD
    cmd.exe reference in VBA
  • 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)
  • Hidden worksheet (veryHidden) 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
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://schemas.openxmlformats.org/spreadsheetml/2006/main
    • http://schemas.openxmlformats.org/officeDocument/2006/relationships
    • http://schemas.openxmlformats.org/markup-compatibility/2006
    • http://schemas.microsoft.com/office/spreadsheetml/2009/9/ac
    • http://schemas.microsoft.com/office/spreadsheetml/2014/revision
    • http://schemas.microsoft.com/office/spreadsheetml/2015/revision2
    • http://schemas.microsoft.com/office/spreadsheetml/2016/revision3

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
d80188326bab39eb17c8e5ec9838a10b1ac89a0aaf6db6a2f3bc53bbe20a2966
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 173017 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 168 long base64-like blob(s). Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
7d48e0a89fcb348a54e45be67ccd691e8a463fde0719ad5c6189e94eea2eefad
vba-project OOXML VBA project: xl/vbaProject.bin 626176 bytes
Detection
ClamAV: Doc.Dropper.HexEncodedEXEHeader-9789587-1
Obfuscation or payload: likely
Carved artifact contains 169 long base64-like blob(s). Carved macro source contains an auto-exec entry point and execution/download terms.