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

Static analysis result for SHA-256 0b508b79f92d2935…

MALICIOUS

Office (OLE) / .XLS

62.0 KB Created: 2006-09-16 00:00:00 Authoring application: Microsoft Excel
MD5: c8e8161c737bad7bf79f87a66b37ce9d SHA-1: 64dab474154480d2f8e356b91a7dc4c6db559a2e SHA-256: 0b508b79f92d2935b678bf0007655ff6002330f64290849b53bd417560de5f8c
442 Risk Score

Malware Insights

MITRE ATT&CK
T1566.001 Spearphishing Attachment T1059.005 Visual Basic T1204.002 Malicious File T1105 Ingress Tool Transfer

The sample contains both VBA and Excel 4.0 (XLM) macros, with the XLM macros containing references to dangerous functions like RUN and attempting to reconstruct a URL. The Workbook_Open VBA macro is present, and the 'SE_ENABLE_LURE' heuristic indicates the document likely prompts the user to enable macros. The presence of URLDownloadToFile and ShellExecute API calls suggests the macros are intended to download and execute a second-stage payload from the embedded URL.

Heuristics 11

  • CVE-2009-3129 — Excel FEATHEADER record overflow critical CVE exact CVE_2009_3129
    Workbook BIFF stream contains a FEATHEADER (Feature Header) record with anomalous size (record_size=23, isf=2, cbHdrData=1094844415). Legitimate FEATHEADER records are tiny (<100 bytes) and carry cbHdrData values that fit in the record body; the value here is the documented CVE-2009-3129 exploit primitive — cbHdrData drives a memcpy with attacker-controlled size, leading to memory corruption and code execution in Excel 2007/2003.
  • Reference to URLDownloadToFile API critical SC_STR_URLDOWNLOAD
    Reference to URLDownloadToFile API
  • 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.
  • URL reconstructed from XLM cell array (1 URL) critical OLE_XLM_CELL_ARRAY_URL
    Excel 4.0 macro sheet stages its payload URL across the BIFF8 Shared String Table (one quoted-char SST entry concatenated with & at runtime) or across individual numeric cells (one ASCII charcode per cell). The reconstructed URL is invisible to literal-bytes URL extraction because it is never contiguous in the workbook stream. URLs were recovered by walking the BIFF8 record stream and decoding SST entries plus LABELSST/RK/NUMBER cells.
  • Reference to ShellExecute API high SC_STR_SHELLEXEC
    Reference to ShellExecute API
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • 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
  • Macro/content-enable lure medium SE_ENABLE_LURE
    Document instructs the user to enable macros or editing — a common technique used by malware droppers to bypass Office macro security settings
  • 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 https://kawaguchikimiaindonesia.com/crun20.gif
    • https://kawaguchikimiaindonesia.com/crun20.gif�

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt
d4222e1ad83b892546402a65bce1342319760d5f0e17d0c73ae5f07e792beb86
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 9447 bytes
macros.bas
c29faf2da8b6b84c63880f8f3ff09f138acdaa94ad9406cab75b546ae0e54428
vba-macro oletools.olevba.extract_macros (decoded VBA source) 979 bytes