forked from GeekieSpice/ctf-hackfest
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
335 lines (295 loc) · 15 KB
/
Copy pathindex.html
File metadata and controls
335 lines (295 loc) · 15 KB
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
334
335
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="utf-8">
<title>CTF & Hackfest Checklist</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="CTF/Hackfest checklist">
<meta name="author" content="geekiespice & orangepeelbeef">
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="css/bootstrap-responsive.min.css" rel="stylesheet">
<link href="css/main.css" rel="stylesheet">
<link href="css/ctfStyles.css" rel="stylesheet">
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script src="https://code.jquery.com/jquery-latest.js"></script>
<script src="js/jstorage.js"></script>
<script src="js/bootstrap.min.js"></script>
<script>var profilesKey = 'hackfest_profiles';</script>
<script src="js/main.js"></script>
<!-- add google tracking in this script tag -->
<script>
</script>
</head>
<body>
<div class="container">
<!-- START NAVIGATION -->
<div class="navbar">
<div class="navbar-inner">
<h1>CTF & Hackfest Checklist</h1>
<ul class="nav nav-tabs">
<li class="active"><a href="#tabGeneric" data-toggle="tab">Generic Tools</a></li>
<li><a href="#tabImages" data-toggle="tab">Images</a></li>
<li><a href="#tabPasswords" data-toggle="tab">Passwords</a></li>
<li><a href="#tabWebapp" data-toggle="tab">Web Application Tools</a></li>
<li><a href="#tabDns" data-toggle="tab">DNS Tools</a></li>
<li><a href="#tabSdr" data-toggle="tab">Software Defined Radio</a></li>
<li><a href="#tabLinks" data-toggle="tab">Useful Links</a></li>
</ul>
<div class="profile" style="float: right;">
<div class="input-append">
<select id="profiles">
</select>
<button class="btn" type="button" id="profileAdd">Add</button>
<button class="btn" type="button" id="profileEdit">Edit</button>
</div>
</div>
</div>
</div>
<!-- END NAVIGATION -->
<!-- START INTRO -->
<div id="intro">
<p>The following is a checklist and set of information for use when attempting CTF or Hackfest style challenges.
This checklist was created by using <a href="https://github.com/smcnabb">Stephen McNabb</a>'s Dark Soul Cheat Sheet code along with the initial content dump from <a href="https://gist.github.com/orangepeelbeef">Orangepeelbeef</a>'s hacking_ctf_tools, and my own limited ctf experience.
</p>
</div>
<!-- END INTRO -->
<!-- START TAB CONTENT -->
<div class="tab-content">
<!-- START GENERIC TOOLS TAB CONTENT -->
<div class="tab-pane active" id="tabGeneric">
<hr>
<h2>Generic Tools</h2>
<h4><a href="https://github.com/gchq/CyberChef">Cyberchef</a></h4>
<p>This tool works in many categories, Encode/Decode, file detection, file carving, etc. Very very very handy </p>
<h4><a href="https://linux.die.net/man/1/strings">Strings</a></h4>
<p>extract all strings from a file</p>
<p><code>strings myfile</code></p>
<p><code>strings myfile -n10</code> (get all strings with length at least 10)</p>
<h4><a href="https://man7.org/linux/man-pages/man1/file.1.html">File</a></h4>
<p>unix file command, determine file type</p>
<p><code>file Templeton_Peck.jpg</code></p>
<p><code>Templeton_Peck.jpg: JPEG image data, JFIF standard 1.02, aspect ratio, density 100x100, segment length 16, baseline, precision 8, 224x280, components 3</code></p>
<h4><a href="https://hexed.it/">Hex editor</a></h4>
<p>there are a lot of good hex editors out there, and sometimes examining a file manually is enough to find the data you need</p>
<p>bless is pretty good, but 010 editor knows binary file signatures so it's pretty much the best</p>
<h4><a href="https://resources.infosecinstitute.com/topic/file-carving/">File carving</a></h4>
<p>foremost</p>
<p><code>foremost myfile -o outputdir</code></p>
<p>binwalk</p>
<p><code>binwalk -e myfile</code></p>
<h4><a href="#">Ports/Nmap</a></h4>
<p>syn scan all tcp ports</p>
<p><code>nmap -sS -p1:65535 somehost</code></p>
<p>scan all TCP & UDP ports</p>
<p><code>nmap -sU -sT -p- somehost</code></p>
<h4><a href="#">Fuzzing</a></h4>
<p>Hydra</p>
<p>Wfuzz</p>
<p><code>wfuzz -z file,${WORDLIST} -b cookie=value -d "title=FUZZ&body=FUZZ" --sc 500 https://host/api/entry</code></p>
<h4><a href="#">Vulnerability Scanners</a></h4>
<p>nessus</p>
<p>nikto (web app vuln scanner)</p>
</div>
<!-- END GENERIC TOOLS TAB CONTENT -->
<!-- START IMAGES TAB CONTENT -->
<div class="tab-pane" id="tabImages">
<div style="display:none;">
<h2>Images <span id="images_overall_total"></span></h2>
<ul>
<li>Image Data Collection<span id="images_nav_totals_1"></span></li>
</ul>
</div>
<hr />
<em>a small list of tools that may help you look at images differently</em>
<h3>Image Data Collection Tools<span id="images_totals_1"></span></h3>
<ul>
<li data-id="images_1_1"><a href="https://exiftool.org/">Exiftool</a></li>
<li data-id="images_1_2"><a href="https://github.com/zed-0xff/zsteg">zsteg</a></li>
<li data-id="images_1_3"><a href="https://man7.org/linux/man-pages/man1/hexdump.1.html">hexdump</a></li>
<li data-id="images_1_4"><a href="https://linux.die.net/man/1/strings">strings</a></li>
<li data-id="images_1_5"><a href="https://stylesuxx.github.io/steganography/">steganography</a></li>
</ul>
<hr />
<h3>Examples</h3>
<p><code>exiftool myfile</code></p>
<p><code>hexdump -C myfile</code></p>
<p><code>strings myfile</code></p>
</div>
<!-- END IMAGES TAB CONTENT -->
<!-- START PASSWORDS TAB CONTENT -->
<div class="tab-pane" id="tabPasswords">
<div style="display:none;">
<h2>Passwords & Wordlists<span id="passwords_overall_total"></span></h2>
<ul>
<li>Wordlists to scan<span id="passwords_nav_totals_1"></span></li>
</ul>
</div>
<hr />
<h3 id="wordlist"><a href="#">Wordlists for pw cracking and fuzzing</a> <span id="passwords_totals_1"></span></h3>
<ul>
<li data-id="passwords_1_1">rockyou</li>
<li data-id="passwords_1_2">dirb</li>
<li data-id="passwords_1_3">CeWL takes a webpage and makes a wordlist out of it (seems buggy in testing, especially with unicode characters)</li>
<li data-id="passwords_1_4">wyd takes a file and makes a wordlist</li>
<li data-id="passwords_1_5">cupp gather osint data and make a wordlist, or expand an existing wordlit</li>
<li data-id="passwords_1_6">crunch make wordlists from character sets</li>
<li data-id="passwords_1_7"><a href="https://github.com/danielmiessler/SecLists">SecLists</a></li>
</ul>
<h3 id="passwordTools"><a href="#">Password Tools</a></h3>
<ul>
<li>John the Ripper</li>
<li>Hashcat</li>
</ul>
<h3>Examples</h3>
<p><code>crunch 3 3 ABCDEFGHIJKLMNOPQRSTUVWXYZ</code> (all combinations of uppercase letters of length 3)</p><br>
<p>john itself is pretty good at cracking although a bit slow, however it comes with a ton of great tools for getting hashes out of files</p>
<p><code>john filename</code></p><br>
<p>hashcat is generally much faster than john because it uses GPU instead of CPU, it is a lot more complicated and has a ton of modes and rules. hashcat can use the hashes gathered with office2john, etc</p>
<p>ex cracking word 2013 document pw:</p>
<p><code>hashcat -a 0 -m 9600 --username office_hash.txt rockyou.txt -O</code></p><br>
<p>ex usage of rules, you can use multiple</p>
<p><code>hashcat -a 0 -m 0 cracklist.db wordlist.txt -r /usr/share/hashcat/rules/best64.rule -O</code></p>
<p>ex combination attack left and right wordlists (change the order if you want to try them flipped)</p>
<p><code>hashcat -a 1 -m 0 cracklist.db biology rockyou.txt</code></p><br>
<p>ex incremental mask attack (adds digits and symbols to the end of everything in wordlist)</p>
<p><code>hashcat -a 6 -m 0 cracklist.db francais.txt -1 ?d?s ?1?1?1?1?1 -i</code></p><br>
<p>ex incremental mask attack (add digits and symbols to the front of everything in wordlist)</p>
<p><code>hashcat -a 7 -m 0 cracklist.db -1 ?d?s ?1?1?1?1?1 francais.txt -i</code></p>
</div>
<!-- END PASSWORDS TAB CONTENT -->
<!-- START WEB APP TAB CONTENT -->
<div class="tab-pane" id="tabWebapp">
<hr />
<h3 id="proxies"><a href="#">Proxies</a></h3>
<ul>
<li>burpsuite (usually runs on 8080)</li>
<li>fiddler (runs on 8888)</li>
<li>parosproxy (runs on 8080)</li>
</ul>
<h3 id="crawlers"><a href="#">Crawlers</a></h3>
<ul>
<li>gobuster</li>
<li>dirbuster</li>
<li>dirsearch</li>
<li>dirb</li>
</ul>
<h3 id="specialized"><a href="#">Specialized tools</a></h3>
<ul>
<li>sqlmap (look for sql injection vulns when you find a vulnerable endpoint)</li>
<li>gitTools <a href="https://github.com/internetwache/GitTools">https://github.com/internetwache/GitTools</a> (things for exposed .git dirs)</li>
</ul>
</div>
<!-- END OF WEB APP TAB CONTENT -->
<!-- START DNS TAB CONTENT -->
<!-- <div class="tab-pane" id="tabDns-tools">
<div style="display:none;">
<h2>DNS<span is="dns-tools_overall_total"></span></h2>
<ul>
<li>DNS tools <span id="dns-tools_nav_totals_1"></span></li>
</ul>
</div>
<hr />
<h3><a href="#">DNS Tools</a> <span id="dns-tools_totals_1"></span></h3>
<ul>
<li data-id="dns-tools_1_1"></li>
<li data-id="dns-tools_1_2"></li>
<li data-id="dns-tools_1_3"></li>
</ul>
<hr />
<h3>Examples</h3>
<p></p>
<p></p>
<p></p>
</div> -->
<!-- END OF DNS TAB CONTENT -->
<!-- START new dns TAB CONTENT -->
<div class="tab-pane" id="tabDns">
<div style="display:none;">
<h2>Images <span id="dns_overall_total"></span></h2>
<ul>
<li>Image Data Collection<span id="dns_nav_totals_1"></span></li>
</ul>
</div>
<hr />
<em>a small list of tools that may help you look at images differently</em>
<h3>Image Data Collection Tools<span id="dns_totals_1"></span></h3>
<ul>
<li data-id="dns_1_1"><a href="https://tools.kali.org/information-gathering/dnsrecon">dnsrecon</a></li>
<li data-id="dns_1_2"><a href="https://tools.kali.org/information-gathering/fierce">fierce</a></li>
<li data-id="dns_1_3"><a href="https://tools.kali.org/information-gathering/dnsenum">dnsenum</a></li>
</ul>
<hr />
<h3>Examples</h3>
<p><code>dnsrecon -d somehost</code></p>
<p><code>dnsrecon -d somehost -t brt wordlist.txt</code></p>
<p><code>fierce somehost</code></p>
</div>
<!-- END new DNS TAB CONTENT -->
<!-- START SOFTWARE DEFINED RADIO TAB CONTENT -->
<div class="tab-pane" id="tabSdr">
<hr />
<h3 id="fldigi"><a href="#">fldigi</a> <span id="sdr_totals_1"></span></h3>
<p>you can get data straight from the sound card with fldigi</p>
<h3 id="gqrx"><a href="#">gqrx</a> <span id="sdr_totals_2"></span></h3>
<p>reads from an SDR or recorded SDR files and can do a lot of things</p>
<p>can also output to a network stream for piping into multimon-ng</p>
<p>dirsearch</p>
<p>dirb</p>
<h3 id="multimon"><a href="#">multimon-ng</a> <span id="sdr_totals_3"></span></h3>
<p>decoders for a ton of different signal types</p>
<ul>
<li>morse</li>
<li>pocsag</li>
<li>very nice chained from gqrx via sox</li>
</ul>
</div>
<!-- END SOFTWARE DEFINED RADIO TAB CONTENT -->
<!-- START USEFUL LINKS TAB CONTENT -->
<div class="tab-pane" id="tabLinks">
<hr />
<h3 id="links">Useful Links</h3>
<p><a href="https://gtfobins.github.io/">https://gtfobins.github.io/</a></p>
<p><a href="https://www.acunetix.com/websitesecurity/directory-traversal/">https://www.acunetix.com/websitesecurity/directory-traversal/</a></p>
<p><a href="https://www.greycampus.com/opencampus/ethical-hacking/enumeration-and-its-types">https://www.greycampus.com/opencampus/ethical-hacking/enumeration-and-its-types</a></p>
<p><a href="https://www.pngegg.com/">https://www.pngegg.com/</a></p>
<p><a href="https://0xrick.github.io/lists/stego/">https://0xrick.github.io/lists/stego/</a></p>
<p><a href="https://www.bastibl.net/pocsag/">https://www.bastibl.net/pocsag/</a></p>
<p><a href="https://tryhackme.com">https://tryhackme.com</a></p>
<p><a href="https://overthewire.org/wargames/bandit/">https://overthewire.org/wargames/bandit/</a></p>
<p><a href="https://gchq.github.io/CyberChef/">https://gchq.github.io/CyberChef/</a></p>
<p><a href="https://www.sweetscape.com/download/010editor/">https://www.sweetscape.com/download/010editor/</a></p>
<p><a href="https://www.tutorialspoint.com/unix_commands/xxd.htm">https://www.tutorialspoint.com/unix_commands/xxd.htm</a></p>
<p><a href="https://www.rapid7.com/info/nexpose-community/">https://www.rapid7.com/info/nexpose-community/</a></p>
<p><a href="https://charcharbinks.com/post/ctf_crypto_for_beginners/">https://charcharbinks.com/post/ctf_crypto_for_beginners/</a></p>
<p><a href="https://github.com/danielmiessler/SecLists/blob/master/Fuzzing/big-list-of-naughty-strings.txt">https://github.com/danielmiessler/SecLists/blob/master/Fuzzing/big-list-of-naughty-strings.txt</a></p>
<p><a href="https://github.com/internetwache/GitTools">https://github.com/internetwache/GitTools</a></p>
</div>
<!-- END OF USEFUL LINKS TAB CONTENT -->
</div>
<div id="profileModal" class="modal hide fade">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3 id="profileModalTitle">Profile</h3>
</div>
<div class="modal-body">
<form class="form-horizontal">
<div class="control-group">
<label class="control-label" for="profileModalName">Name</label>
<div class="controls">
<input type="text" id="profileModalName" placeholder="Enter profile name">
</div>
</div>
</form>
</div>
<div class="modal-footer">
<a href="#" id="profileModalClose" class="btn">Close</a>
<a href="#" id="profileModalAdd" class="btn btn-primary">Add</a>
<a href="#" id="profileModalUpdate" class="btn btn-primary">Update</a>
<a href="#" id="profileModalDelete" class="btn btn-danger">Delete</a>
</div>
</div>
</div>
</body>
</html>