Emotet — Office (OOXML) / .XLSX malware analysis

Static analysis result for SHA-256 831b22ef5a59a052…

MALICIOUS

Office (OOXML) / .XLSX

92.0 KB Created: 2015-06-05 18:17:20 UTC Authoring application: Microsoft Excel 12.0000
MD5: 2dfffff1a11ee7ec91d57adfeeb6886d SHA-1: 5388e95310973a8a1840f96acf684705d8b5364a SHA-256: 831b22ef5a59a0529b29cdbe899ea67e2a9976bf881454d1a935d07b6bb4f819
200 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1059.001 PowerShell T1204.002 Malicious File

The file contains a Workbook_Open macro, a common technique for Emotet. The macro executes a series of commands, including the creation of a VBScript file (`c:\programdata\yhjlswle.vbs`) and a batch file (`c:\programdata\ughldskbhn.bat`). The VBScript is obfuscated but appears to download and execute payloads from multiple URLs. The ClamAV detection name 'Xls.Downloader.EmotetRed02221-9938910-0' further supports the Emotet family attribution.

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
03b18452ace85fa20401389a0a273dc6ccab172197f88992f1b8ed948f0683c2
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.