capta1n commited on
Commit
7b03b01
·
verified ·
1 Parent(s): 6392a48

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +498 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Bas7
3
- emoji: 📉
4
- colorFrom: indigo
5
- colorTo: green
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: bas7
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: blue
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,498 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>BAS AI Hacker演练报告</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ .attack-card {
11
+ transition: all 0.3s ease;
12
+ transform-origin: center;
13
+ height: 120px;
14
+ overflow: hidden;
15
+ }
16
+ .attack-card:hover {
17
+ transform: translateY(-5px);
18
+ box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
19
+ }
20
+ .attack-card.active {
21
+ border-left-width: 4px;
22
+ transform: translateY(-5px);
23
+ }
24
+ .timeline-connector {
25
+ position: relative;
26
+ height: 4px;
27
+ background: linear-gradient(90deg, #e5e7eb, #9ca3af);
28
+ }
29
+ .timeline-connector::after {
30
+ content: '';
31
+ position: absolute;
32
+ top: -4px;
33
+ width: 12px;
34
+ height: 12px;
35
+ border-radius: 50%;
36
+ background-color: #3b82f6;
37
+ transform: translateX(-50%);
38
+ }
39
+ .severity-badge {
40
+ font-size: 0.65rem;
41
+ padding: 0.15rem 0.4rem;
42
+ }
43
+ .severity-critical {
44
+ background-color: #fee2e2;
45
+ color: #dc2626;
46
+ }
47
+ .severity-high {
48
+ background-color: #fef3c7;
49
+ color: #d97706;
50
+ }
51
+ .severity-emergency {
52
+ background-color: #ffedd5;
53
+ color: #ea580c;
54
+ }
55
+ .defense-badge {
56
+ font-size: 0.7rem;
57
+ padding: 0.2rem 0.5rem;
58
+ }
59
+ .animate-pulse-slow {
60
+ animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
61
+ }
62
+ @keyframes pulse {
63
+ 0%, 100% {
64
+ opacity: 1;
65
+ }
66
+ 50% {
67
+ opacity: 0.5;
68
+ }
69
+ }
70
+ .arrow {
71
+ display: inline-block;
72
+ width: 24px;
73
+ height: 24px;
74
+ text-align: center;
75
+ line-height: 24px;
76
+ color: #9ca3af;
77
+ }
78
+ .attacker-node {
79
+ background-color: #fee2e2;
80
+ border-left: 4px solid #dc2626;
81
+ height: 120px;
82
+ }
83
+ .attack-flow-container {
84
+ width: 100%;
85
+ overflow-x: auto;
86
+ padding-bottom: 1.5rem;
87
+ }
88
+ .attack-flow-container .flex {
89
+ min-width: max-content;
90
+ }
91
+ .attack-behavior {
92
+ display: -webkit-box;
93
+ -webkit-line-clamp: 2;
94
+ -webkit-box-orient: vertical;
95
+ overflow: hidden;
96
+ text-overflow: ellipsis;
97
+ font-size: 0.7rem;
98
+ line-height: 1.2;
99
+ color: #4b5563;
100
+ }
101
+ .stage-badge {
102
+ font-size: 0.6rem;
103
+ padding: 0.15rem 0.4rem;
104
+ background-color: #f3f4f6;
105
+ color: #6b7280;
106
+ }
107
+ .scroll-container {
108
+ scrollbar-width: thin;
109
+ scrollbar-color: #d1d5db #f3f4f6;
110
+ }
111
+ .scroll-container::-webkit-scrollbar {
112
+ height: 6px;
113
+ }
114
+ .scroll-container::-webkit-scrollbar-track {
115
+ background: #f3f4f6;
116
+ border-radius: 10px;
117
+ }
118
+ .scroll-container::-webkit-scrollbar-thumb {
119
+ background-color: #d1d5db;
120
+ border-radius: 10px;
121
+ }
122
+ </style>
123
+ </head>
124
+ <body class="bg-gray-50">
125
+ <div class="container mx-auto px-4 py-8 max-w-full">
126
+ <div class="text-center mb-10">
127
+ <h1 class="text-3xl font-bold text-gray-800 mb-2">BAS AI Hacker演练报告</h1>
128
+ <p class="text-gray-600 max-w-3xl mx-auto">演练时间:2025-04-23 10:11 ~ 2025-04-23 11:10</p>
129
+ </div>
130
+
131
+ <!-- Defense Detection Summary -->
132
+ <div class="bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden mb-8">
133
+ <div class="border-b border-gray-200 px-6 py-4 bg-gray-50">
134
+ <h3 class="font-semibold text-gray-800">防御检测概览</h3>
135
+ </div>
136
+ <div id="defense-summary" class="p-6">
137
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-6">
138
+ <div class="bg-blue-50 p-4 rounded-lg">
139
+ <div class="flex items-center">
140
+ <div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center mr-4">
141
+ <i class="fas fa-shield-alt text-blue-500"></i>
142
+ </div>
143
+ <div>
144
+ <h4 class="text-sm font-medium text-gray-800">拦截率</h4>
145
+ <p class="text-2xl font-bold text-blue-600">90%</p>
146
+ </div>
147
+ </div>
148
+ </div>
149
+ <div class="bg-yellow-50 p-4 rounded-lg">
150
+ <div class="flex items-center">
151
+ <div class="w-12 h-12 rounded-full bg-yellow-100 flex items-center justify-center mr-4">
152
+ <i class="fas fa-bell text-yellow-500"></i>
153
+ </div>
154
+ <div>
155
+ <h4 class="text-sm font-medium text-gray-800">告警率</h4>
156
+ <p class="text-2xl font-bold text-yellow-600">80%</p>
157
+ </div>
158
+ </div>
159
+ </div>
160
+ <div class="bg-green-50 p-4 rounded-lg">
161
+ <div class="flex items-center">
162
+ <div class="w-12 h-12 rounded-full bg-green-100 flex items-center justify-center mr-4">
163
+ <i class="fas fa-search text-green-500"></i>
164
+ </div>
165
+ <div>
166
+ <h4 class="text-sm font-medium text-gray-800">溯源率</h4>
167
+ <p class="text-2xl font-bold text-green-600">70%</p>
168
+ </div>
169
+ </div>
170
+ </div>
171
+ </div>
172
+ </div>
173
+ </div>
174
+
175
+ <!-- Attack Timeline Section -->
176
+ <div class="bg-white rounded-xl shadow-sm border border-gray-200 p-6 mb-8">
177
+ <div class="flex justify-between items-center mb-6">
178
+ <div>
179
+ <h2 class="text-xl font-semibold text-gray-800">攻击流程时间线</h2>
180
+ <p class="text-gray-500 text-sm">点击任意攻击阶段查看详细取证证据</p>
181
+ </div>
182
+ <div class="flex items-center">
183
+ <span class="text-xs text-gray-500 mr-2">滚动查看完整时间线</span>
184
+ <i class="fas fa-chevron-right text-gray-400 text-xs"></i>
185
+ </div>
186
+ </div>
187
+
188
+ <div class="relative">
189
+ <div class="attack-flow-container scroll-container">
190
+ <div class="flex space-x-4 items-center pb-2">
191
+ <!-- Attacker Node -->
192
+ <div class="attack-card w-48 flex-shrink-0 bg-white rounded-lg border border-gray-200 overflow-hidden cursor-pointer transition-all duration-300 attacker-node">
193
+ <div class="p-4">
194
+ <div class="flex items-center justify-between mb-2">
195
+ <div class="flex items-center">
196
+ <div class="w-8 h-8 rounded-full bg-red-100 text-red-600 flex items-center justify-center mr-2">
197
+ <i class="fas fa-user-secret"></i>
198
+ </div>
199
+ <span class="text-xs font-semibold text-gray-500">攻击源</span>
200
+ </div>
201
+ </div>
202
+ <h3 class="font-semibold text-gray-800 text-sm mb-1">BAS AI Hacker</h3>
203
+ <p class="text-xs text-gray-500">发起攻击</p>
204
+ </div>
205
+ </div>
206
+
207
+ <div class="arrow">
208
+ <i class="fas fa-arrow-right"></i>
209
+ </div>
210
+
211
+ <!-- Attack cards will be inserted here by JavaScript -->
212
+ </div>
213
+ </div>
214
+ </div>
215
+ </div>
216
+
217
+ <!-- Attack Details Section -->
218
+ <div class="bg-white rounded-xl shadow-sm border border-gray-200 overflow-hidden">
219
+ <div class="border-b border-gray-200 px-6 py-4 bg-gray-50">
220
+ <h3 class="font-semibold text-gray-800">攻击阶段取证详情</h3>
221
+ </div>
222
+ <div id="attack-details" class="p-6">
223
+ <div class="text-center py-12">
224
+ <div class="mx-auto w-16 h-16 rounded-full bg-blue-50 flex items-center justify-center mb-4">
225
+ <i class="fas fa-mouse-pointer text-blue-500 text-2xl"></i>
226
+ </div>
227
+ <h4 class="text-lg font-medium text-gray-700 mb-2">选择攻击��段</h4>
228
+ <p class="text-gray-500 max-w-md mx-auto">点击时间线上的任意攻击卡片查看攻击行为和触发防御的详细取证信息</p>
229
+ </div>
230
+ </div>
231
+ </div>
232
+ </div>
233
+
234
+ <script>
235
+ // Attack steps data in Chinese
236
+ const attackSteps = [
237
+ {
238
+ id: 1,
239
+ title: "钓鱼邮件投递",
240
+ icon: "envelope",
241
+ color: "bg-red-100 text-red-600",
242
+ behavior: "伪造的'拥抱AI变革'通知邮件,包含伪装为files.zip的恶意文件,使用社会工程学诱导用户点击",
243
+ defenses: "邮件安全网关",
244
+ alerts: [
245
+ {
246
+ severity: "critical",
247
+ message: "检测到伪造发件人 | 发件人: itsupport@fakecompany[.]com → 收件人: victim@corp.com | 包含恶意附件 (SHA256: a1b2c3...) | 识别为Emotet钓鱼模板"
248
+ }
249
+ ],
250
+ forensic: [
251
+ "发件人IP: 192.168.1.45 (保加利亚)",
252
+ "附件SHA256: a1b2c3d4e5f6...",
253
+ "邮件头显示DKIM验证失败",
254
+ "匹配已知Emotet模板(相似度90%)"
255
+ ]
256
+ },
257
+ {
258
+ id: 2,
259
+ title: "木马执行",
260
+ icon: "bug",
261
+ color: "bg-yellow-100 text-yellow-600",
262
+ behavior: "受害者下载恶意文件触发PowerShell脚本,下载Cobalt Strike DLL并注入到合法进程中",
263
+ defenses: "终端检测与响应(EDR)",
264
+ alerts: [
265
+ {
266
+ severity: "high",
267
+ message: "可疑进程注入 | 进程: C:\\Windows\\System32\\explorer.exe → 加载模块: a09xdf.dll | DLL签名无效且匹配已知Cobalt Strike签名"
268
+ }
269
+ ],
270
+ forensic: [
271
+ "进程树: files.zip → powershell.exe → explorer.exe",
272
+ "DLL内存分配模式匹配Cobalt Strike",
273
+ "网络连接尝试到185.123.32.1",
274
+ "注册表键修改: HKLM\\Software\\Microsoft\\Windows"
275
+ ]
276
+ },
277
+ {
278
+ id: 3,
279
+ title: "C2通信建立",
280
+ icon: "satellite-dish",
281
+ color: "bg-green-100 text-green-600",
282
+ behavior: "通过CDN域名(api.cloudfront[.]com)进行HTTPS心跳通信,部署反向SSH隧道到内部跳板服务器",
283
+ defenses: "网络流量分析(NTA)",
284
+ alerts: [
285
+ {
286
+ severity: "emergency",
287
+ message: "异常出站连接 | 目标IP: 54.231.1.1 (AWS新加坡) | 协议: HTTPS | 异常证书(CN=*.cloudfront[.]com但由通配符Let's Encrypt证书签发)"
288
+ }
289
+ ],
290
+ forensic: [
291
+ "C2域名: api.cloudfront[.]com (解析到54.231.1.1)",
292
+ "HTTPS流量模式: 每17秒5KB",
293
+ "证书签发者: Let's Encrypt(对CDN不常见)",
294
+ "SSH隧道建立到10.8.8.12(内部跳板服务器)"
295
+ ]
296
+ },
297
+ {
298
+ id: 4,
299
+ title: "凭证窃取",
300
+ icon: "user-secret",
301
+ color: "bg-blue-100 text-blue-600",
302
+ behavior: "使用Mimikatz提取Chrome浏览器cookie并伪造User-Agent(同步受害者浏览器指纹)",
303
+ defenses: "用户行为分析(UEBA)",
304
+ alerts: [
305
+ {
306
+ severity: "high",
307
+ message: "异常浏览器会话 | 用户: Victim_Account | 源IP: 172.16.1.23 → 设备指纹改变(新的VM特征/QEMU虚拟GPU)"
308
+ }
309
+ ],
310
+ forensic: [
311
+ "内存中检测到Mimikatz进程(伪装为svchost.exe)",
312
+ "访问了Chrome cookie数据库",
313
+ "User-Agent更改为匹配受害者原始浏览器",
314
+ "来自172.16.1.23的新登录会话带有VM指纹"
315
+ ]
316
+ },
317
+ {
318
+ id: 5,
319
+ title: "云文档渗透",
320
+ icon: "cloud",
321
+ color: "bg-purple-100 text-purple-600",
322
+ behavior: "劫持的Yuque API Token用于访问'生产环境操作手册',提取嵌入的SSH私钥(Base64编码)",
323
+ defenses: "数据防泄漏(DLP)",
324
+ alerts: [
325
+ {
326
+ severity: "critical",
327
+ message: "敏感数据访问 | 用户: Victim_Account | 操作: 下载文档ID: YUQUE-1234 | 内容匹配关键词: 'prod_ssh_private_key'"
328
+ }
329
+ ],
330
+ forensic: [
331
+ "API调用到yuque.com/v2/api/documents/YUQUE-1234",
332
+ "文档包含Base64编码的SSH密钥",
333
+ "密钥属于dba_admin@10.8.8.88",
334
+ "异常访问时间: 当地时间02:37 AM"
335
+ ]
336
+ },
337
+ {
338
+ id: 6,
339
+ title: "生产环境入侵",
340
+ icon: "server",
341
+ color: "bg-pink-100 text-pink-600",
342
+ behavior: "使用来自跳板服务器的SSH证书登录MySQL数据库服务器(IP: 10.8.8.88, 账号: dba_admin)",
343
+ defenses: "主机入侵检测(HIDS)",
344
+ alerts: [
345
+ {
346
+ severity: "emergency",
347
+ message: "异常时间SSH登录 | 账号: dba_admin | 源IP: 10.8.8.12 (测试环境跳板服务器) | 操作: 执行SHOW DATABASES"
348
+ }
349
+ ],
350
+ forensic: [
351
+ "SSH登录时间: 03:12 AM 来自10.8.8.12",
352
+ "执行命令: SHOW DATABASES, SELECT * FROM users",
353
+ "会话时长: 8分钟23秒",
354
+ "异常查询模式(扫描所有表)"
355
+ ]
356
+ },
357
+ {
358
+ id: 7,
359
+ title: "数据外泄",
360
+ icon: "file-export",
361
+ color: "bg-indigo-100 text-indigo-600",
362
+ behavior: "压缩并加密客户数据(文件名: taobaodata.tar.gz.enc)通过DNS隧道传输到alibaba-bas.com",
363
+ defenses: "全流量威胁分析",
364
+ alerts: [
365
+ {
366
+ severity: "critical",
367
+ message: "异常数据传输 | 协议: DNS TXT记录 | 目标域名: xyz.attacker[.]com | 数据量: 142MB (超过阈值500%)"
368
+ }
369
+ ],
370
+ forensic: [
371
+ "创建数据文件: /tmp/taobaodata.tar.gz.enc",
372
+ "DNS查询到xyz.attacker[.]com (TXT记录)",
373
+ "数据传输速率: 每次查询18.5KB",
374
+ "总外泄数据: 142MB 通过8,234次DNS请求"
375
+ ]
376
+ }
377
+ ];
378
+
379
+ // Render attack cards
380
+ const timelineContainer = document.querySelector('.attack-flow-container .flex');
381
+
382
+ attackSteps.forEach((step, index) => {
383
+ const card = document.createElement('div');
384
+ card.className = `attack-card w-48 flex-shrink-0 bg-white rounded-lg border border-gray-200 overflow-hidden cursor-pointer transition-all duration-300 ${index === 0 ? 'active border-l-4 border-red-500' : ''}`;
385
+ card.innerHTML = `
386
+ <div class="p-4">
387
+ <div class="flex items-center justify-between mb-1">
388
+ <div class="flex items-center">
389
+ <div class="w-8 h-8 rounded-full ${step.color} flex items-center justify-center mr-2">
390
+ <i class="fas fa-${step.icon}"></i>
391
+ </div>
392
+ <span class="stage-badge rounded-full">阶段 ${step.id}</span>
393
+ </div>
394
+ </div>
395
+ <h3 class="font-semibold text-gray-800 text-sm mb-1">${step.title}</h3>
396
+ <p class="attack-behavior text-xs">${step.behavior}</p>
397
+ <div class="mt-2 flex justify-between items-center">
398
+ <span class="text-xs text-gray-500">${step.defenses}</span>
399
+ <span class="text-xs ${step.alerts[0].severity === 'critical' ? 'text-red-500' : step.alerts[0].severity === 'high' ? 'text-yellow-500' : 'text-orange-500'}">
400
+ <i class="fas fa-${step.alerts[0].severity === 'critical' ? 'exclamation-triangle' : step.alerts[0].severity === 'high' ? 'exclamation-circle' : 'exclamation'}"></i>
401
+ </span>
402
+ </div>
403
+ </div>
404
+ `;
405
+
406
+ card.addEventListener('click', () => {
407
+ // Update active card
408
+ document.querySelectorAll('.attack-card').forEach(c => c.classList.remove('active', 'border-l-4', 'border-red-500', 'border-yellow-500', 'border-green-500', 'border-blue-500', 'border-purple-500', 'border-pink-500', 'border-indigo-500'));
409
+ card.classList.add('active', 'border-l-4');
410
+
411
+ // Add specific border color
412
+ if (step.color.includes('red')) card.classList.add('border-red-500');
413
+ else if (step.color.includes('yellow')) card.classList.add('border-yellow-500');
414
+ else if (step.color.includes('green')) card.classList.add('border-green-500');
415
+ else if (step.color.includes('blue')) card.classList.add('border-blue-500');
416
+ else if (step.color.includes('purple')) card.classList.add('border-purple-500');
417
+ else if (step.color.includes('pink')) card.classList.add('border-pink-500');
418
+ else if (step.color.includes('indigo')) card.classList.add('border-indigo-500');
419
+
420
+ // Update attack details
421
+ const detailsContainer = document.getElementById('attack-details');
422
+ detailsContainer.innerHTML = `
423
+ <div>
424
+ <div class="flex items-center mb-6">
425
+ <div class="w-12 h-12 rounded-full ${step.color} flex items-center justify-center mr-4">
426
+ <i class="fas fa-${step.icon} text-xl"></i>
427
+ </div>
428
+ <div>
429
+ <h3 class="text-xl font-semibold text-gray-800">${step.title}</h3>
430
+ <p class="text-sm text-gray-500">攻击阶段 ${step.id}</p>
431
+ </div>
432
+ </div>
433
+
434
+ <div class="mb-6">
435
+ <h4 class="font-medium text-gray-700 mb-3">攻击行为</h4>
436
+ <div class="bg-gray-50 p-4 rounded-lg text-sm text-gray-700">${step.behavior}</div>
437
+ </div>
438
+
439
+ <div class="mb-6">
440
+ <h4 class="font-medium text-gray-700 mb-3">触发防御</h4>
441
+ <div class="flex items-center">
442
+ <span class="defense-badge bg-gray-100 text-gray-800 rounded-full mr-2">${step.defenses}</span>
443
+ <span class="text-xs text-gray-500">检测时间 ${step.id < 10 ? '0' + step.id : step.id}:00</span>
444
+ </div>
445
+ </div>
446
+
447
+ <div class="mb-6">
448
+ <h4 class="font-medium text-gray-700 mb-3">安全告警</h4>
449
+ <div class="space-y-3">
450
+ ${step.alerts.map(alert => `
451
+ <div class="p-3 rounded-lg ${alert.severity === 'critical' ? 'bg-red-50 border border-red-100' : alert.severity === 'high' ? 'bg-yellow-50 border border-yellow-100' : 'bg-orange-50 border border-orange-100'}">
452
+ <div class="flex items-start">
453
+ <div class="flex-shrink-0 mt-0.5">
454
+ <i class="fas fa-${alert.severity === 'critical' ? 'exclamation-triangle text-red-500' : alert.severity === 'high' ? 'exclamation-circle text-yellow-500' : 'exclamation text-orange-500'}"></i>
455
+ </div>
456
+ <div class="ml-3">
457
+ <div class="text-sm font-medium text-gray-800">${alert.message}</div>
458
+ </div>
459
+ </div>
460
+ </div>
461
+ `).join('')}
462
+ </div>
463
+ </div>
464
+
465
+ <div>
466
+ <h4 class="font-medium text-gray-700 mb-3">取证证据</h4>
467
+ <div class="space-y-2">
468
+ ${step.forensic.map(item => `
469
+ <div class="flex items-start text-sm">
470
+ <div class="flex-shrink-0 mt-1.5 mr-2">
471
+ <div class="w-1.5 h-1.5 rounded-full bg-gray-400"></div>
472
+ </div>
473
+ <div class="text-gray-700">${item}</div>
474
+ </div>
475
+ `).join('')}
476
+ </div>
477
+ </div>
478
+ </div>
479
+ `;
480
+ });
481
+
482
+ // Add card and arrow to timeline
483
+ timelineContainer.appendChild(card);
484
+
485
+ // Add arrow after each card except the last one
486
+ if (index < attackSteps.length - 1) {
487
+ const arrow = document.createElement('div');
488
+ arrow.className = 'arrow';
489
+ arrow.innerHTML = '<i class="fas fa-arrow-right"></i>';
490
+ timelineContainer.appendChild(arrow);
491
+ }
492
+ });
493
+
494
+ // Auto-select first card on load
495
+ document.querySelectorAll('.attack-card')[1].click();
496
+ </script>
497
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=capta1n/bas7" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
498
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ 1、高级持续性威胁攻击链文本替换为 BAS AI Hacker演练报告 2、完整的攻击流程可视化,包含交互式防御检测点 文本替换为演练时间:2025-04-23 10:11 ~ 2025-04-23 11:10 3、将APT组织: TA505 文本替换成 发起攻击