-
Notifications
You must be signed in to change notification settings - Fork 0
/
CTF_template.ctd_Back
333 lines (252 loc) · 12 KB
/
CTF_template.ctd_Back
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
<?xml version="1.0" encoding="UTF-8"?>
<cherrytree>
<bookmarks list=""/>
<node name="10.11.1." unique_id="2" prog_lang="custom-colors" tags="" readonly="0" nosearch_me="0" nosearch_ch="0" custom_icon_id="10" is_bold="1" foreground="" ts_creation="0" ts_lastsave="1675519371">
<rich_text>IP :10.11.1.
Hostname:
OS:
Linux Proof: </rich_text>
<rich_text family="monospace">cat proof.txt && hostname && id && whoami && /sbin/ifconfig</rich_text>
<rich_text>
Windows Proof: </rich_text>
<rich_text family="monospace">hostname && whoami.exe && whoami.exe /groups && type proof.txt && ipconfig /all</rich_text>
<rich_text>
</rich_text>
<node name="Log Book" unique_id="1" prog_lang="custom-colors" tags="" readonly="0" nosearch_me="1" nosearch_ch="0" custom_icon_id="20" is_bold="1" foreground="" ts_creation="0" ts_lastsave="1676120787"/>
<node name="Exploitation" unique_id="22" prog_lang="custom-colors" tags="" readonly="0" nosearch_me="1" nosearch_ch="0" custom_icon_id="22" is_bold="0" foreground="" ts_creation="0" ts_lastsave="1500474629">
<rich_text weight="heavy">Service Exploited:
Vulnerability Type:
Exploit POC:</rich_text>
<rich_text>
</rich_text>
<rich_text weight="heavy">Description</rich_text>
<rich_text>:
</rich_text>
<rich_text underline="single" weight="heavy">Discovery of Vulnerability</rich_text>
<rich_text>
</rich_text>
<rich_text underline="single" weight="heavy">Exploit Code Used</rich_text>
<rich_text>
</rich_text>
<rich_text underline="single" weight="heavy">Proof\Local.txt File</rich_text>
<rich_text>
☐ Screenshot with ifconfig\ipconfig
☐ Submit too OSCP Exam Panel
</rich_text>
</node>
<node name="Priv Escalation" unique_id="12" prog_lang="custom-colors" tags="" readonly="0" nosearch_me="1" nosearch_ch="0" custom_icon_id="10" is_bold="0" foreground="" ts_creation="0" ts_lastsave="1500474606">
<rich_text weight="heavy">Service Exploited:
Vulnerability Type:
Exploit POC:</rich_text>
<rich_text>
</rich_text>
<rich_text weight="heavy">Description</rich_text>
<rich_text>:
</rich_text>
<rich_text underline="single" weight="heavy">Discovery of Vulnerability</rich_text>
<rich_text>
</rich_text>
<rich_text underline="single" weight="heavy">Exploit Code Used</rich_text>
<rich_text>
</rich_text>
<rich_text underline="single" weight="heavy">Proof\Local.txt File</rich_text>
<rich_text>
☐ Screenshot with ifconfig\ipconfig
☐ Submit too OSCP Exam Panel
</rich_text>
</node>
<node name="Goodies" unique_id="3" prog_lang="custom-colors" tags="" readonly="0" nosearch_me="1" nosearch_ch="0" custom_icon_id="43" is_bold="0" foreground="" ts_creation="0" ts_lastsave="1684267948">
<node name="Hashes" unique_id="9" prog_lang="custom-colors" tags="" readonly="0" nosearch_me="1" nosearch_ch="1" custom_icon_id="18" is_bold="0" foreground="" ts_creation="0" ts_lastsave="1492949998"/>
<node name="Passwords" unique_id="5" prog_lang="custom-colors" tags="" readonly="0" nosearch_me="0" nosearch_ch="1" custom_icon_id="18" is_bold="0" foreground="" ts_creation="0" ts_lastsave="1492950150"/>
<node name="Proof\Flags\Other" unique_id="6" prog_lang="custom-colors" tags="" readonly="0" nosearch_me="0" nosearch_ch="1" custom_icon_id="18" is_bold="0" foreground="" ts_creation="0" ts_lastsave="1496953479"/>
</node>
<node name="Methodology" unique_id="29" prog_lang="custom-colors" tags="" readonly="0" nosearch_me="0" nosearch_ch="0" custom_icon_id="0" is_bold="0" foreground="" ts_creation="1684267948" ts_lastsave="1684867617">
<rich_text>ls -la
asdasd
1
asd
</rich_text>
<node name="gobuster" unique_id="31" prog_lang="custom-colors" tags="" readonly="0" nosearch_me="0" nosearch_ch="0" custom_icon_id="0" is_bold="0" foreground="" ts_creation="1684772533" ts_lastsave="1684867858">
<rich_text scale="h1">Directory BF
</rich_text>
<rich_text>
</rich_text>
<rich_text justification="left"></rich_text>
<rich_text>
</rich_text>
<rich_text scale="h3">Fast Scan (Small List)</rich_text>
<rich_text>
</rich_text>
<rich_text justification="left"></rich_text>
<rich_text>
</rich_text>
<rich_text scale="h3">Fast Scan (Big List)</rich_text>
<rich_text>
</rich_text>
<rich_text justification="left"></rich_text>
<rich_text>
</rich_text>
<rich_text scale="h3">Slow Scan (Check File Extensions)</rich_text>
<rich_text>
</rich_text>
<rich_text justification="left"></rich_text>
<rich_text>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
</rich_text>
<rich_text scale="h2">HTTPS</rich_text>
<rich_text>
Set the </rich_text>
<rich_text family="monospace">--insecuressl</rich_text>
<rich_text> flag.</rich_text>
<codebox char_offset="14" justification="left" frame_width="84" frame_height="10" width_in_pixels="0" syntax_highlighting="sh" highlight_brackets="1" show_line_numbers="0">gobuster dir -u http://10.11.1. -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -o HTB/Socket/DirectoryBF/gobusterOUtput.log</codebox>
<codebox char_offset="41" justification="left" frame_width="84" frame_height="10" width_in_pixels="0" syntax_highlighting="sh" highlight_brackets="1" show_line_numbers="0">gobuster dir -e -u http://10.11.1. -w /usr/share/wordlists/dirb/big.txt -t 20 -o gobuster.log</codebox>
<codebox char_offset="67" justification="left" frame_width="84" frame_height="10" width_in_pixels="0" syntax_highlighting="sh" highlight_brackets="1" show_line_numbers="0">gobuster dir -e -u http://10.11.1. -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -t 20 -o gobuster.log</codebox>
<codebox char_offset="106" justification="left" frame_width="84" frame_height="10" width_in_pixels="0" syntax_highlighting="sh" highlight_brackets="1" show_line_numbers="0">gobuster dir -e -u http://10.11.1. -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -x php,txt,html,cgi,sh,bak,aspx -t 20 -o gobuster.log</codebox>
</node>
<node name="ssh" unique_id="32" prog_lang="custom-colors" tags="" readonly="0" nosearch_me="0" nosearch_ch="0" custom_icon_id="0" is_bold="0" foreground="" ts_creation="1684867617" ts_lastsave="1684872858">
<rich_text scale="h2">SSH</rich_text>
<rich_text>
</rich_text>
<rich_text justification="left"></rich_text>
<rich_text>
_____________________________________
</rich_text>
<rich_text scale="h3">Keygen</rich_text>
<rich_text>
</rich_text>
<rich_text justification="left"></rich_text>
<rich_text>
append to
</rich_text>
<rich_text justification="left"></rich_text>
<rich_text>
run the following in case
</rich_text>
<rich_text justification="left"></rich_text>
<rich_text>
connecting:
</rich_text>
<rich_text foreground="#bf2e5e">ssh</rich_text>
<rich_text> -o </rich_text>
<rich_text foreground="#5ebdab">"UserKnownHostsFile=/dev/null"</rich_text>
<rich_text> -o </rich_text>
<rich_text foreground="#5ebdab">"StrictHostKeyChecking=no"</rich_text>
<rich_text> -i temp [email protected]. -p 22</rich_text>
<codebox char_offset="5" justification="left" frame_width="84" frame_height="10" width_in_pixels="0" syntax_highlighting="sh" highlight_brackets="1" show_line_numbers="0">ssh -o "UserKnownHostsFile=/dev/null" -o "StrictHostKeyChecking=no" [email protected]. -p 22</codebox>
<codebox char_offset="55" justification="left" frame_width="84" frame_height="10" width_in_pixels="0" syntax_highlighting="sh" highlight_brackets="1" show_line_numbers="0">ssh-keygen -t rsa -b 4096</codebox>
<codebox char_offset="69" justification="left" frame_width="84" frame_height="10" width_in_pixels="0" syntax_highlighting="sh" highlight_brackets="1" show_line_numbers="0"> ~/.ssh/authorized_keys</codebox>
<codebox char_offset="98" justification="left" frame_width="84" frame_height="10" width_in_pixels="0" syntax_highlighting="sh" highlight_brackets="1" show_line_numbers="0">chmod 600 ~/.ssh/authorized_keys</codebox>
</node>
</node>
<node name="Methodology1" unique_id="28" prog_lang="custom-colors" tags="" readonly="0" nosearch_me="1" nosearch_ch="0" custom_icon_id="13" is_bold="1" foreground="" ts_creation="1496953072" ts_lastsave="1684267931">
<rich_text underline="single" weight="heavy">Network Scanning</rich_text>
<rich_text>
☐ nmap -sn 10.11.1.
☐ nmap -sL 10.11.1.
☐ nbtscan -r 10.11.1.
☐ </rich_text>
<rich_text link="node 47">smbtree</rich_text>
<rich_text>
</rich_text>
<rich_text underline="single" weight="heavy">Individual Host Scanning</rich_text>
<rich_text>
☐ nmap --top-ports 20 --open -iL iplist.txt
☐ nmap -sS -A -sV -O -p- ipaddress
☐ nmap -sU ipaddress
</rich_text>
<rich_text underline="single" weight="heavy">Service Scanning</rich_text>
<rich_text>
</rich_text>
<rich_text weight="heavy">WebApp</rich_text>
<rich_text>
☐ </rich_text>
<rich_text link="node 28">Nikto</rich_text>
<rich_text>
☐ </rich_text>
<rich_text link="node 29">Gobuster</rich_text>
<rich_text>
☐ </rich_text>
<rich_text link="node 30">wpscan</rich_text>
<rich_text>
☐ dotdotpwn
☐ view source
☐ davtest\cadevar
☐ droopscan
☐ joomscan
☐ LFI\RFI Test
</rich_text>
<rich_text weight="heavy">Linux\Windows</rich_text>
<rich_text>
☐ snmpwalk -c public -v1 </rich_text>
<rich_text style="italic">ipaddress</rich_text>
<rich_text> 1
☐ smbclient -L //ipaddress
☐ showmount -e ipaddress port
☐ rpcinfo
☐ Enum4Linux
</rich_text>
<rich_text weight="heavy">Anything Else</rich_text>
<rich_text>
☐ </rich_text>
<rich_text link="node 48">nmap scripts</rich_text>
<rich_text> (locate *nse* | grep servicename)
☐ </rich_text>
<rich_text link="node 35">hydra</rich_text>
<rich_text>
☐ MSF Aux Modules
☐ Download the softward
</rich_text>
<rich_text underline="single" weight="heavy">Exploitation</rich_text>
<rich_text>
☐ Gather Version Numbes
☐ Searchsploit
☐ Default Creds
☐ Creds Previously Gathered
☐ Download the software
</rich_text>
<rich_text underline="single" weight="heavy">Post Exploitation</rich_text>
<rich_text>
</rich_text>
<rich_text weight="heavy">Linux</rich_text>
<rich_text>
☐ linux-local-enum.sh
☐ linuxprivchecker.py
☐ linux-exploit-suggestor.sh
☐ unix-privesc-check.py
</rich_text>
<rich_text weight="heavy">Windows</rich_text>
<rich_text>
☐ wpc.exe
☐ windows-exploit-suggestor.py
☐ </rich_text>
<rich_text link="webs https://github.com/pentestmonkey/windows-privesc-check/blob/master/windows_privesc_check.py">windows_privesc_check.py</rich_text>
<rich_text>
☐ windows-privesc-check2.exe
</rich_text>
<rich_text underline="single" weight="heavy">Priv Escalation</rich_text>
<rich_text>
☐ </rich_text>
<rich_text link="node 36">acesss internal services (portfwd)</rich_text>
<rich_text>
☐ add account
</rich_text>
<rich_text weight="heavy">Windows</rich_text>
<rich_text>
☐ List of exploits
</rich_text>
<rich_text weight="heavy">Linux</rich_text>
<rich_text>
☐ sudo su
☐ KernelDB
☐ Searchsploit
</rich_text>
<rich_text underline="single" weight="heavy">Final</rich_text>
<rich_text>
☐ Screenshot of IPConfig\WhoamI
☐ Copy proof.txt
☐ Dump hashes
☐ Dump SSH Keys
☐ Delete files</rich_text>
</node>
</node>
</cherrytree>