Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 667a9b04a18958a2…

MALICIOUS

Office (OLE) / .XLSX

133.5 KB Created: 2015-06-05 18:17:20 Authoring application: Microsoft Excel
MD5: 02eddfc84ce800df5e20944ac54721ac SHA-1: dfa3f743223d13d5d3807d9481126cd32a6cc18a SHA-256: 667a9b04a18958a2eb98023e91106418b0b461756214ca7511dd5fc3b36c8cc9
340 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1204.002 Malicious File

This Excel document contains a heavily obfuscated VBA macro that executes upon opening. The macro uses Wscript.Shell and CreateObject to download and execute a second-stage payload from a list of URLs, including 'http://afieti.com/b/MzAJFBqWjFbjWZVZ/'. The presence of PowerShell and Wscript references, along with the Emotet detection, strongly suggests a downloader family.

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