Emotet — Office (OOXML) / .XLSX malware analysis

Static analysis result for SHA-256 775912643416ca5d…

MALICIOUS

Office (OOXML) / .XLSX

115.1 KB Created: 2015-06-05 18:17:20 UTC Authoring application: Microsoft Excel 12.0000
MD5: a794f62f380b77bc46edc6cce4fde3f3 SHA-1: 9e102320ff6caca00d66c2ca9e49f4ce59e8981a SHA-256: 775912643416ca5dda18f102254fdb97fc99d5fb57b818453308d652ac0f136d
200 Risk Score

Malware Insights

Emotet · confidence 95%

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

The critical ClamAV detection and high-severity heuristics for VBA macros, including Workbook_Open and CreateObject, strongly indicate a malicious Excel document. The embedded VBA script attempts to create and execute batch and VBScript files, and the obfuscated command line within the DOC BODY suggests the execution of a PowerShell command with Base64 encoded arguments, likely to download and run a secondary payload. The reconstructed PowerShell command is: powershell -e FGrtghskeh4hirugh sgekg5kjgrkyhdlfighx7dGUTDRYUFu6r7yfugHJGJFKgjhkoi87jhgkjkj&start /B /WAIT %ertEWRt4%%cvFHDErte75s%%oifYdFGhse34sd%%wreDgdSdytDFf%%jDFtHxdrgszegh%%AegFhtXfg4f%%BXdgrtysews34yu%.

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
fb0430a6272215b7dd305f5fd5396ea3e0b230775258e6436afd1d50e860e929
vba-project OOXML VBA project: xl/vbaProject.bin 42496 bytes