Emotet — Office (OLE) / .XLS malware analysis

Static analysis result for SHA-256 f6af3bebbda4ef8f…

MALICIOUS

Office (OLE) / .XLS

70.0 KB Created: 2015-06-05 18:19:34 Authoring application: Microsoft Excel First seen: 2022-04-29
MD5: f3152ccf822c32ce900fccdad0d656df SHA-1: ba53ebb9e1f8bf19aa09bbc289fa861ad8b84bce SHA-256: f6af3bebbda4ef8ff95517b01b34fb606de79bd1697cf38560d54320905b0dd3
200 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1059.001 PowerShell T1105 Ingress Tool Transfer

The file is an Excel 4.0 macro-enabled spreadsheet detected as Emotet by ClamAV. The XLM macros contain an Auto_Open function that utilizes dangerous API calls, specifically the RUN function, to download a payload from one of the provided URLs. The reconstructed URL 'http://ecoarch.com.tw/cgi-bin/E/' is used to fetch and execute a second-stage payload, likely contributing to Emotet's typical infection chain.

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-b3c5cc3b13c03bcc-9950246-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.Emotet-b3c5cc3b13c03bcc-9950246-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
023eece581745d86e8a881663e496cab25dc20dc1e2c24ba47f1be10064b9c6f
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 6827 bytes