Emotet — Office (OOXML) / .XLSX malware analysis

Static analysis result for SHA-256 77e470dbcdda5ac8…

MALICIOUS

Office (OOXML) / .XLSX

115.1 KB Created: 2015-06-05 18:17:20 UTC Authoring application: Microsoft Excel 12.0000
MD5: 6f746ec45424a874d2abd19ee0535679 SHA-1: c6c849c15c21efb69731658c60ac27cabed36b24 SHA-256: 77e470dbcdda5ac8c06306232ef29a1a3fa707347e0780749ab8efc9d2101c2b
200 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The sample contains a Workbook_Open macro that uses CreateObject to execute a batch file and a VBScript. The embedded VBA script attempts to download and execute a second-stage payload using obfuscated PowerShell commands, including a long Base64 encoded string that decodes to multiple URLs and PowerShell execution commands. The ClamAV detection name 'Xls.Downloader.EmotetExcel02223-9938902-0' strongly suggests 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
  • VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXEC
    Compiled VBA/cache stream contains an auto-execution token together with shell/download/object-execution tokens. This catches p-code-only or source-extraction-failure macro documents where visible source is unavailable.
  • VBA project inside OOXML medium OOXML_VBA
    Document contains a VBA project — 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
vbaProject_00.bin
0bc50db572d19bb0e6928df5abcc2fc09b5f8f5a987f2c4b367fed5f487dea6d
vba-project OOXML VBA project: xl/vbaProject.bin 42496 bytes