Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 6cec6b234e32a351…

MALICIOUS

Office (OLE) / .XLSX

133.5 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: 598c0eb36623bd87c1d83782e15349ff SHA-1: b511315fded8554b204e92b9e722bd3a59f1ec70 SHA-256: 6cec6b234e32a35174535bdd891a2b80eddabbd453138306a8d83bd5151d5529
340 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File T1105 Ingress Tool Transfer

The file contains a Workbook_Open macro that is heavily obfuscated and uses CreateObject to execute code. This macro is designed to download and execute a second-stage payload, as indicated by the numerous URLs found in the document body and the ClamAV detection for Emotet. The script attempts to download a DLL to 'c:\programdata\' and execute it, which is a common Emotet behavior.

Heuristics 8

  • Obfuscated auto-exec VBA loader critical OLE_VBA_OBFUSCATED_AUTOEXEC_LOADER
    Auto-exec VBA reconstructs strings with a heavy custom decoder (numeric char-array, repeated hex-string decode, or junk-token Replace removal) and feeds them to a COM-instantiation or execution sink. This obfuscated-loader shape keeps CreateObject/Shell/URL indicators out of the macro source.
  • ClamAV: Doc.Downloader.EmotetExcel02226-9938630-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.EmotetExcel02226-9938630-0
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • 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
2371f091b169c7918c945b8974b3f60437212f84d1a9d429701826689481f8d8
vba-macro oletools.olevba.extract_macros (decoded VBA source) 6376 bytes