Emotet — Office (OLE) / .XLSX malware analysis

Static analysis result for SHA-256 12f07f7739f3fbd7…

MALICIOUS

Office (OLE) / .XLSX

94.1 KB Created: 2006-09-15 19:15:53 Authoring application: Microsoft Excel
MD5: 8ab53335b704f761de24a106ac15827c SHA-1: 4a1dfa146d358f4c44b09197fdd168de1e57c881 SHA-256: 12f07f7739f3fbd74408ed35ea4e32b7bace8a7fda9d17d0d8839a076a05629d
410 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1218.005 Signed Binary Proxy Execution: Mshta

The file contains a VBA macro with an Auto_Open subroutine, which is a common technique for executing malicious code upon opening the document. The macro utilizes GetObject and CreateObject to launch Win32_Process, indicating an attempt to execute arbitrary code. Furthermore, it references mshta.exe with an embedded URL, suggesting it downloads and executes a second-stage payload. The ClamAV detection name 'Xls.Downloader.Emotet' strongly suggests the Emotet family.

Heuristics 11

  • LOLBin reference in VBA critical OLE_VBA_LOLBIN
    LOLBin reference in VBA
  • VBA WMI Win32_Process launcher critical OLE_VBA_WMI_PROCESS_CREATE
    VBA macro builds or references a WMI moniker for Win32_Process and invokes .Create to start a command. This is a high-confidence macro execution chain that often hides the WMI class name through string concatenation or helper functions.
  • ClamAV: Xls.Downloader.Emotet-a5251d3d2d6d3722-9951020-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Xls.Downloader.Emotet-a5251d3d2d6d3722-9951020-0
  • Reference to mshta.exe high SC_STR_MSHTA
    Reference to mshta.exe
  • Auto_Open macro high OLE_VBA_AUTO
    Auto_Open macro
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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.
  • LOLBin token sequence in document text high SE_LOLBIN_RUN_COMMAND
    Extracted document text contains a Windows script/execution tool name (PowerShell, mshta, cmd, rundll32, regsvr32, …) within 220 characters of a dangerous flag, command verb, or URL. This is a visible 'run this' instruction in HTML/PDF/RTF lure bodies, or — in macro-laden Office files — the macro's own string-pool entries appearing adjacent in extracted text.
  • VBA macros detected medium OLE_VBA_MACROS
    Document contains VBA macro code
  • Fake invoice / payment lure low SE_INVOICE_LURE
    Document contains invoice or payment language paired with an action verb — useful context when combined with link, macro, or attachment indicators
  • Embedded URL info EMBEDDED_URL
    One or more URLs were extracted from the document. The URL itself is not a detection — see the per-URL labels for which channel (macro, JS, link annotation, document body, ...) reached each URL.
    URL http://91.240.118.172/hh/hh.html

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas
557c882097214c255743895cb0e70759651b1dffef6be5737b5fd93877dbbf47
vba-macro oletools.olevba.extract_macros (decoded VBA source) 10171 bytes