Emotet — Office (OOXML) / .XLSX malware analysis

Static analysis result for SHA-256 21b9e717e1d6cc78…

MALICIOUS

Office (OOXML) / .XLSX

92.0 KB Created: 2015-06-05 18:17:20 UTC Authoring application: Microsoft Excel 12.0000
MD5: bbdfa4265e7dbcc0144541db2579ec98 SHA-1: a42aa2e9fc1e63aed0ecd4243e0708220371d20f SHA-256: 21b9e717e1d6cc7894d4fec09ca7cd88ef915d8de01a2a0ecc8bf814b733b208
200 Risk Score

Malware Insights

Emotet · confidence 95%

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

The file is identified as malicious by ClamAV with the signature Xls.Downloader.EmotetRed02221-9938910-0, indicating it is likely an Emotet downloader. The Workbook_Open macro is designed to execute a sequence of commands. The DOC BODY excerpt reveals the construction of a command line that includes the execution of `wscript.shell` to run `c:\programdata\yhjlswle.vbs` and `c:\programdata\ughldskbhn.bat`. The script's intent is to download and execute these payloads from a list of hardcoded URLs, which are reconstructed from the concatenated string literals in the DOC BODY. The presence of these elements strongly suggests a downloader functionality typical of Emotet.

Heuristics 5

  • ClamAV: Xls.Downloader.EmotetRed02221-9938910-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.EmotetRed02221-9938910-0
  • Workbook_Open macro high OLE_VBA_WBOPEN
    Workbook_Open macro
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
  • Suspicious extracted artifact high EXTRACTED_FILE_STATIC_TRIAGE
    One or more files extracted from inside this sample matched static suspicious-content checks such as script obfuscation, encoded payload blobs, packed data, or execution/download terms.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains vbaProject.bin — VBA macros present

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
de7bcbc45ff0a77d05d9af662bacc316e71be11a980e94f6673e556a5dd9d1bc
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 12808 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.
vbaProject_00.bin
d6bf6c19a743cf7cf8d7c39e68e60b7623bf1af35a55e4a1e31fc37a6cb88a57
vba-project OOXML VBA project: xl/vbaProject.bin 37888 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.