Emotet — Office (OOXML) / .XLSX malware analysis

Static analysis result for SHA-256 e6dbde13c0104a7f…

MALICIOUS

Office (OOXML) / .XLSX

92.0 KB Created: 2015-06-05 18:17:20 UTC Authoring application: Microsoft Excel 12.0000
MD5: b57c553e2cb445b29a3b2274eec37021 SHA-1: ef025508d8b96011b7c1b15a3c3582ad83877ef6 SHA-256: e6dbde13c0104a7fb2fce77f3a26d7be94665ee8a5cf89b29ccf935c9119b7c7
200 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1566.002 Spearphishing Attachment T1059.005 Visual Basic T1059.003 Windows Command Shell T1105 Ingress Tool Transfer

The file is an Excel document containing VBA macros, specifically a Workbook_Open macro, which is a common delivery mechanism for Emotet. The script uses CreateObject to execute shell commands, including the reconstruction of the command 'po wershell -e [base64 encoded string]' which is used to download and execute a second-stage payload. The script also attempts to write a VBS file to 'c:\programdata\yhjlswle.vbs' and a BAT file to 'c:\programdata\ughldskbhn.bat'. Multiple URLs are present in the script, likely serving as download sources for the payload.

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
b9d398734cbe59802dd20051b502c843ff709ce440e04244d0430d5dac3565d7
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.