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

Static analysis result for SHA-256 ca74f74f5fbe47c4…

MALICIOUS

Office (OLE) / .XLSX

82.0 KB Created: 2020-05-20 08:20:55 Authoring application: Microsoft Excel
MD5: 66c2174abffe601642bf44641c79bb8a SHA-1: 8081139c68e69ed8eb8be0e01e90cd25d0c89133 SHA-256: ca74f74f5fbe47c4341a83fcec66f82de75dbf85a7adfbb9aa3ee1251e9dddd7
200 Risk Score

Malware Insights

MITRE ATT&CK
T1059.005 Visual Basic for Applications T1204.002 User Execution: Malicious File T1105 Ingress Tool Transfer

The sample is an Excel workbook containing Excel 4.0 (XLM) macros that execute automatically via an Auto_Open entry. Heuristics indicate the use of dangerous formula APIs (RUN=439), which are typically used to execute shell commands or download payloads. The document body contains a large amount of obfuscated, randomized string data that likely serves as a source for the macro to reconstruct a C2 URL or payload, though the specific URL is not explicitly reconstructed in the provided script excerpt.

Heuristics 4

  • 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.
  • ClamAV: Xls.Dropper.Agent-7865798-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Dropper.Agent-7865798-0
  • 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
7b678a45af0d88541100d2cbadb0395daf77729faaa675e836359cf74b18aa81
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 50299 bytes