Emotet — Office (OOXML) / .XLSX malware analysis

Static analysis result for SHA-256 3852328ea3e13c52…

MALICIOUS

Office (OOXML) / .XLSX

92.0 KB Created: 2015-06-05 18:17:20 UTC Authoring application: Microsoft Excel 12.0000
MD5: afefbb3044377711666c03ec7d7753ca SHA-1: e872062de262172f9b9af97a663667f992679818 SHA-256: 3852328ea3e13c52670b96e0888a5f6e2f7f7bfbec8fad11954e90c9a3bba64e
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.EmotetRed02221-9938910-0', strongly suggesting the Emotet family. The presence of a Workbook_Open macro and CreateObject calls indicates that the VBA code executes automatically upon opening the document. The script attempts to download and execute a second-stage payload using a series of obfuscated commands, including the reconstructed URL 'http://harperhouseproducts.com/Merchandise2/ARSf1LIcOauH1rDiH/'. It also writes two files to disk: 'c:\programdata\yhjlswle.vbs' and 'c:\programdata\ughldskbhn.bat'.

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