Emotet — Office (OOXML) / .XLSX malware analysis

Static analysis result for SHA-256 4360fbac0c4cfae7…

MALICIOUS

Office (OOXML) / .XLSX

115.1 KB Created: 2015-06-05 18:17:20 UTC Authoring application: Microsoft Excel 12.0000
MD5: c3975701d22932cdf7bf878a69d05c08 SHA-1: d6252b9e8f821234bee67e1eb0b243d327a2a960 SHA-256: 4360fbac0c4cfae706b94533667b4f18b1f8852d69f928056e33b22e1ecafc6a
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, indicating it is likely an Emotet variant. The presence of a Workbook_Open macro and CreateObject calls strongly suggests malicious VBA code execution. The obfuscated commands within the DOC BODY reveal attempts to create and execute batch and VBScript files, likely to download and run a second-stage payload. Specifically, the command `echo FGsrtghskeh4hirugh sgekg5kjgrkyhdlfighx7dGUTDRYUFu6r7yfugHJGJFKgjhkoi87jhgkjkj&start/B /WAIT %ertEWRt4%%cvFHDErte75s%%oifYdFGhse34sd%%wreDgdSdytDFf%%jDFtHxdrgszegh%%AegFhtXfg4f%%BXdgrtysews34yu%` and the subsequent variable assignments point to the download of payloads from multiple URLs, including `http://sumedahonline.com/wp-content/hyNZXJ30XQFEVBCRHR/`, `http://divachintexile.com/wp-includes/WWHWRKs8KvNzNm6/`, `http://hotelanmalabo.com/1520/bUdhoEPdf/`, and `http://shwenantawin.com/copma/XTnZJi02vfgV`. The script also attempts to create `c:\programdata\jledshf.bat` and `c:\programdata\tghklsd.vbs`.

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
9ba5c8686b64bb057b8fe0a6090ade0d776a7dd447fb5c97d18b26c04cbc8e38
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.