Emotet — Office (OOXML) / .XLSX malware analysis

Static analysis result for SHA-256 b6e34e2abdcd224b…

MALICIOUS

Office (OOXML) / .XLSX

115.1 KB Created: 2015-06-05 18:17:20 UTC Authoring application: Microsoft Excel 12.0000
MD5: cbf5ccccb1a330fef373be7303a4dfd9 SHA-1: ff746e173937d95acaba3926fa4ccedb7e91552f SHA-256: b6e34e2abdcd224b424f190dacb99f7846d40cc7187b371bbb5a867f3b471825
200 Risk Score

Malware Insights

Emotet · confidence 95%

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

The file is identified as malicious by ClamAV with the signature 'Xls.Downloader.EmotetExcel02223-9938902-0'. Static analysis revealed a Workbook_Open macro, indicating automatic execution upon opening. The macro utilizes CreateObject to interact with Wscript.Shell and constructs obfuscated commands. Specifically, it attempts to create and execute a batch file at 'c:\programdata\jledshf.bat' and a VBScript at 'c:\programdata\tghklsd.vbs'. The VBScript, when reconstructed, contains multiple URLs that are likely sources for downloading a second-stage payload. The presence of these elements strongly suggests a downloader functionality typical of the Emotet family.

Heuristics 5

  • ClamAV: Xls.Downloader.EmotetExcel02223-9938902-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.EmotetExcel02223-9938902-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
df1eb14c222394595c0518b49eec2b55ed9573146c5f1717dedceddd2e199a2b
vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 12041 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
4a5e1146119e2c70ec55eb340aac5e31e852987bc551b6c302c9a88182d75dfb
vba-project OOXML VBA project: xl/vbaProject.bin 42496 bytes
Detection
ClamAV: No threats found
Obfuscation or payload: likely
Carved macro source contains an auto-exec entry point and execution/download terms.