Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 9ddc7608c19824e0…

MALICIOUS

Office (OLE)

53.5 KB Created: 2018-11-07 10:52:00 Authoring application: Microsoft Office Word First seen: 2019-04-18
MD5: 1801ca968048cb629ec6b344994e86ee SHA-1: b78fd13e25e0e1bec22bdf549d6194582066193c SHA-256: 9ddc7608c19824e08dbf918d8f302a85bfbac734e6f1804fc59b37a8ca792b85
190 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.001 PowerShell T1204.002 Malicious File

The sample contains a heavily obfuscated PowerShell command embedded within the document body. This script decodes a Base64 string, decompresses it, and then executes further PowerShell commands to download and run a second-stage payload. The ClamAV detection and heuristic firings strongly indicate this is an Emotet dropper.

Heuristics 6

  • ClamAV: Doc.Dropper.Emotet-6769504-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.Emotet-6769504-0
  • Suspicious cmd.exe invocation with execution flag high SC_STR_CMD
    Suspicious cmd.exe invocation with execution flag
  • Reference to PowerShell high SC_STR_POWERSHELL
    Reference to PowerShell
  • 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 project contains no executable statements low OLE_VBA_MACROS
    Document contains a VBA project, but extracted modules only contain attributes/options/comments and no executable statements.
  • 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://schemas.openxmlformats.org/drawingml/2006/main In document text (OLE body)

Extracted artifacts 1

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source) 329 bytes
SHA-256: 040da3e6d13ef2b7c00e8a508e7530264f1b2f36d6c86accfcd76bfe8e9303a6
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "RzrNNoTDWoT"
Attribute VB_Base = "1Normal.ThisDocument"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = True
Attribute VB_TemplateDerived = True
Attribute VB_Customizable = True
'Macro code was removed by Symantec Disarm