Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 342ecb3565ce0038…

MALICIOUS

Office (OLE) / .XLSX

151.5 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: b64e21a3e358094ecf06298ed7e91874 SHA-1: ab20ff82b13a99e73a47e112f293bcd753028d14 SHA-256: 342ecb3565ce0038157ff9183a8dd91b774c392a2f46517153ed8767d00523e2
240 Risk Score

Malware Insights

Emotet · confidence 90%

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

The sample contains VBA macros, including a Workbook_Open event, which is a common technique for Emotet. The macros attempt to execute obfuscated commands that include calls to `wscript.shell` and `powershell` to download and run a batch file from a hardcoded path. The embedded URLs are highly suspicious and likely serve as download locations for further malicious payloads. The ClamAV detection name also explicitly mentions Emotet.

Heuristics 6

  • ClamAV: Doc.Downloader.EmotetExcel02226-9938630-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.EmotetExcel02226-9938630-0
  • Reference to Windows Script Host high SC_STR_WSCRIPT
    Reference to Windows Script Host
  • 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 macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
c49f2df77c50e10269216d97c3efdf7c32f9f18ba5d8fd42a9b144f48e100040
vba-macro oletools.olevba.extract_macros (decoded VBA source) 5709 bytes