Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 7e55b39e29fa0280…

MALICIOUS

Office (OLE) / .XLSX

55.5 KB Created: 2015-06-05 18:19:34 Authoring application: Microsoft Excel First seen: 2022-06-23
MD5: ceb04b9fffca2e2829ad38eb2759f6af SHA-1: 05255544c27d0b91189de83165dbf10841e9b692 SHA-256: 7e55b39e29fa0280e14ba6408a88dbc7d7bb2f058fe99344d21af0282d4249bd
200 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1027 Obfuscated Files or Information

The sample contains Excel 4.0 macros, specifically an Auto_Open function, which is a known technique for executing malicious code. The ClamAV detection explicitly names Emotet, and the macro's structure suggests it is designed to download a second-stage payload from the reconstructed URL. The use of string concatenation in the DOC BODY to form the URL is a common obfuscation tactic.

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.Downloader.Emotet-aa87d5786a858772-9953435-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.Emotet-aa87d5786a858772-9953435-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
a1f533b7e0b31a7e4cec4c1ffe9cf76629dfb7a4a34de6d0e30f5bffd47620f7
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 8022 bytes