Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 b0c054360af52d0c…

MALICIOUS

Office (OLE)

52.5 KB Created: 2018-11-06 19:20:00 Authoring application: Microsoft Office Word First seen: 2019-02-26
MD5: d2317cbc90565a83317568902d2552f4 SHA-1: e03f73ee0dac4a1636193deacbeee2b00030c777 SHA-256: b0c054360af52d0c7d9d9fc7b36504b3668823306a58eec7290a785067a5e82f
190 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.001 PowerShell T1566.001 Spearphishing Attachment

The sample contains a heavily obfuscated PowerShell command embedded within the document body. This command decodes a Base64 string, decompresses it, and then executes it using PowerShell. The ClamAV detection 'Doc.Dropper.Emotet-6769504-0' strongly suggests this is an Emotet variant designed to download and execute a secondary payload.

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) 326 bytes
SHA-256: b1e2bf7367464fdae38286913a70f61fdebc644729985c4eac2988952cdd7037
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "iZDtoWhm"
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