Emotet — Office (OOXML) / .XLSX malware analysis

Static analysis result for SHA-256 233205f530b6dff8…

MALICIOUS

Office (OOXML) / .XLSX

1.03 MB Created: 2015-06-05 18:19:34 UTC Authoring application: Microsoft Excel 16.0300 First seen: 2022-04-27
MD5: 189a526f3a2ec7f46e1c8ebdf122cf3a SHA-1: 1bb0f90f75a759dc135cb5341dd7659a9d7fb9dc SHA-256: 233205f530b6dff82568d92fa2c2e9103b103dffb6392a6b851e8ba1a1ba2aee
180 Risk Score

Malware Insights

Emotet · confidence 95%

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

The file contains Excel 4.0 macros, as indicated by the OOXML_XLM_MACROSHEET heuristic. These macros leverage WinAPI functions like CreateDirectoryA and appear to be designed to download and execute a second-stage payload, as suggested by the OOXML_XLM_BINARY_WINAPI_STRINGS heuristic and the ClamAV detection name 'Xls.Downloader.Emotet-OOXML_XL-af43432fbcb8603c-9980048-0'. The script attempts to create directories and potentially execute files from these locations, such as 'C:\Lastastati\Myvia.ooocxx'.

Heuristics 3

  • Excel 4.0 macro sheet (1 sheet(s)) critical OOXML_XLM_MACROSHEET
    Spreadsheet contains an Excel 4.0 (XLM) macro sheet — XLM was a major Office malware vector during 2020-2022 and evaded many VBA-focused controls before Microsoft tightened XLM defaults. Even legitimate XLM use is rare in modern workbooks. The macro sheet is stored as XLSB/BIFF12 binary content, which many XML-only OOXML scanners miss.
  • Binary XLM macro sheet with WinAPI/download strings critical OOXML_XLM_BINARY_WINAPI_STRINGS
    Excel 4.0 macro sheet is stored as BIFF12/XLSB binary data and contains Win32 download or process-execution API strings such as URLDownloadToFileA, ShellExecuteA, or CreateDirectoryA. These strings are high-signal in XLM macro sheets and catch payload-download macros that XML-formula scanners cannot parse.
  • ClamAV: Xls.Downloader.Emotet-OOXML_XL-af43432fbcb8603c-9980048-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.Emotet-OOXML_XL-af43432fbcb8603c-9980048-0

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
emf_00.emf
877e4543f89ce8edb4ba9c66218abfc871d4a1c4f42f3f21f1e998a11b32f267
ooxml-emf OOXML EMF part: xl/media/image1.emf 6145428 bytes
xlm_sheet_00.bin
7b8101fc2a3a581cae3ed75e750022933ba4a1a2d03b29d213d39fc67d9624b5
xlm-macrosheet OOXML XLM macro sheet: xl/macrosheets/sheet1.bin 2280 bytes