Emotet — Office (OOXML) / .XLSX malware analysis

Static analysis result for SHA-256 b4d291b8b8f5a5c0…

MALICIOUS

Office (OOXML) / .XLSX

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

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Service Execution: Visual Basic T1059.003 Command and Scripting Interpreter: Windows Command Shell T1105 Ingress Tool Transfer

The sample is identified as malicious by ClamAV with the signature 'Xls.Downloader.EmotetRed02221-9938910-0', strongly suggesting the Emotet family. The Workbook_Open macro and CreateObject firings indicate that VBA code is executed upon opening the document. The embedded DOC BODY contains obfuscated commands that reconstruct to 'wscript.shell' and execute a VBScript from 'c:\programdata\yhjlswle.vbs' and a batch file from 'c:\programdata\ughldskbhn.bat'. The script also attempts to download payloads from multiple URLs, including 'http://harperhouseproducts.com/Merchandise2/ARSf1LIcOauh1rDrIAh/', which is a clear indicator of Ingress Tool Transfer.

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