Emotet — Office (OLE) / .XLS malware analysis

Static analysis result for SHA-256 2d98be159be993e1…

MALICIOUS

Office (OLE) / .XLS

53.0 KB Created: 2015-06-05 18:19:34 Authoring application: Microsoft Excel First seen: 2022-05-24
MD5: bd864a40a367a393fa448d7720563db9 SHA-1: d2b8ffd6e74ad20c60c17c2a5c913aa44fbae70e SHA-256: 2d98be159be993e1abcd7b156e2742d7c338abb82da047fb153e7675b1a2e0f5
200 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

The sample is an Excel 4.0 macro-enabled spreadsheet. Heuristics indicate the presence of an Auto_Open macro that uses dangerous functions, specifically the RUN function, to execute code. ClamAV identifies the file as 'Xls.Downloader.Emotet'. The macro likely downloads and executes a second-stage payload from one of the embedded URLs.

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-b3b8ccc73b3840c7-9950421-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.Emotet-b3b8ccc73b3840c7-9950421-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
151b15ccfdef8b57d0d5c096b1dd2309f093b48372ced07c9ad7f3b360037185
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 7313 bytes