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

Static analysis result for SHA-256 a5a44b78908f4e31…

MALICIOUS

Office (OLE) / .XLSX

79.5 KB Created: 2020-05-20 08:20:55 Authoring application: Microsoft Excel
MD5: d28c17894b3c989be9d3e7b6e6a85adf SHA-1: d61f260096d6f955d2fc4dc8d44bdd159fd742e0 SHA-256: a5a44b78908f4e31df11095611c77ddcda75ec05a27231ce2471c7e39abfaeab
140 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic for Applications T1204.002 User Execution: Malicious File T1566.001 Phishing: Spearphishing Attachment

The sample is an Excel workbook containing Excel 4.0 (XLM) macros. Heuristics indicate the presence of an Auto_Open macro that uses dangerous formula APIs (RUN=439), which is a common technique for executing arbitrary code or downloading second-stage payloads. The document body contains a large amount of of obfuscated or random-looking strings, which is often used to hide the-stage payload or configuration data. No scripts were extracted from the sample, but the heuristics and the overall structure strongly suggest a macro-based downloader.

Heuristics 3

  • 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.
  • 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.

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
xlm_macros.txt
42607064c289862e043f84aca8437e549d3108261a6804c81de85e2fa866a8a7
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 49698 bytes