Emotet — Office (OLE) / .XLS malware analysis

Static analysis result for SHA-256 d02ec27c412ad2a2…

MALICIOUS

Office (OLE) / .XLS

94.5 KB Created: 2015-06-05 18:19:34 Authoring application: Microsoft Excel First seen: 2022-06-29
MD5: 40ec408f420c52df42b53fbcc1a026e0 SHA-1: d31bab8c4b9038ffd390f2eeda41ab197b1f8939 SHA-256: d02ec27c412ad2a2433923918de3a70faf880d003249f7e8bdc47f2b99d52e24
200 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The sample is an Excel file containing Excel 4.0 macros, specifically an Auto_Open function. Heuristics indicate the use of dangerous formula APIs, including the RUN function, suggesting the macro is designed to download and execute a secondary payload. ClamAV detection confirms this, identifying it as an Emotet downloader.

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