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

Static analysis result for SHA-256 db6f93f8ce251701…

MALICIOUS

Office (OLE) / .XLSX

117.0 KB Created: 2005-07-03 17:33:14 Authoring application: Microsoft Excel First seen: 2023-05-22
MD5: 5ba7487b338dd0b063dd6ed7822f25da SHA-1: 5562f593513b282ec520950f9ed3b753ba6892df SHA-256: db6f93f8ce2517014b8f47058a2a401461b55a2bf8fd3d4601459eb15b8e0ed5
282 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1059.003 Windows Command and Shell T1566.002 Spearphishing Attachment

The file contains Excel 4.0 macros with an Auto_Open entry, which is a known technique for executing malicious code upon opening. The VBA macros also contain an AutoOpen subroutine that appears to execute functions related to text manipulation, potentially as a distraction or part of a larger exploit chain. The presence of both XLM and VBA macros suggests a multi-stage approach to achieve its objectives.

Heuristics 8

  • Excel 4.0 Auto_Open defined name critical OLE_XLM_AUTOOPEN_DEFINEDNAME
    oletools recovered an Auto_Open / Auto_Close entry from an Excel 4.0 macro sheet. The raw BIFF name can be tokenized or partially opaque to byte-string checks, but the recovered macro listing confirms the workbook has an XLM auto-execution entry.
  • XLM Auto_Open with dangerous formula APIs critical OLE_XLM_DANGEROUS_FN
    Excel 4.0 macro sheet contains an Auto_Open / Auto_Close entry and dangerous XLM formula APIs that can invoke programs, write files, or transfer control without VBA.
  • Reference to ShellExecute API high SC_STR_SHELLEXEC
    Reference to ShellExecute API
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen macro
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • Excel 4.0 (XLM) macro sheet present medium OLE_XLM_AUTOOPEN
    Workbook contains an Excel 4.0 macro sheet sub-stream — XLM is rarely seen in modern legitimate workbooks and was a major Office malware vector during 2020-2022.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Suspicious extracted artifact info 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.

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt
d138be72f4eee8a417d88911ae76719b9bf562ae0b65c439f58add81d2c671e4
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 3604 bytes
macros.bas
dd4681e8e3c2d7a46c4ca28e3fe6cf782f071d6471179d436730ffd7b0986fc3
vba-macro oletools.olevba.extract_macros (decoded VBA source) 39005 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved artifact contains 2 long base64-like blob(s).