About the Authors |
|
iv | |
About the Contributing Author |
|
v | |
About the Technical Reviewers |
|
v | |
Foreword |
|
xvii | |
Acknowledgments |
|
xxi | |
Introduction |
|
xxiii | |
Part I Casing the Establishment |
|
|
Footprinting---Target Acquisition |
|
|
3 | (26) |
|
|
5 | (2) |
|
Why Is Footprinting Necessary? |
|
|
6 | (1) |
|
|
7 | (21) |
|
Determine the Scope of Your Activities |
|
|
7 | (5) |
|
|
12 | (7) |
|
|
19 | (6) |
|
|
25 | (3) |
|
|
28 | (1) |
|
|
29 | (28) |
|
|
30 | (7) |
|
Ping Sweeps Countermeasures |
|
|
34 | (3) |
|
|
37 | (1) |
|
ICMP Query Countermeasures |
|
|
38 | (1) |
|
|
38 | (13) |
|
|
39 | (1) |
|
Identifying TCP and UDP Services Running |
|
|
40 | (7) |
|
|
47 | (1) |
|
Port Scanning Countermeasures |
|
|
47 | (4) |
|
Operating System Detection |
|
|
51 | (4) |
|
|
52 | (3) |
|
Operating System Detection Countermeasures |
|
|
55 | (1) |
|
The Whole Enchilada: Automated Discovery Tools |
|
|
55 | (1) |
|
Automated Discovery Tools Countermeasures |
|
|
56 | (1) |
|
|
56 | (1) |
|
|
57 | (32) |
|
|
58 | (27) |
|
|
58 | (14) |
|
|
72 | (5) |
|
|
77 | (8) |
|
|
85 | (4) |
Part II System Hacking |
|
|
|
89 | (20) |
|
|
90 | (1) |
|
|
90 | (11) |
|
Direct Connection to Win 9x Shared Resources |
|
|
92 | (5) |
|
|
97 | (3) |
|
Known Server Application Vulnerabilities |
|
|
100 | (1) |
|
|
101 | (1) |
|
Win 9x Hacking from the Console |
|
|
101 | (7) |
|
Bypassing Win 9x Security: Reboot! |
|
|
102 | (1) |
|
Stealthier Methods I: Autorun and Ripping the Screen-Saver Password |
|
|
102 | (2) |
|
Stealthier Methods II: Revealing the Win 9x Passwords in Memory |
|
|
104 | (1) |
|
Stealthier Methods III: Cracking |
|
|
105 | (3) |
|
|
108 | (1) |
|
|
109 | (60) |
|
|
111 | (1) |
|
|
111 | (1) |
|
The Quest for Administrator |
|
|
111 | (24) |
|
Guessing Passwords over the Network |
|
|
113 | (5) |
|
Countermeasures: Defending Against Password Guessing |
|
|
118 | (7) |
|
Remote Exploits: Denial of Service and Buffer Overflows |
|
|
125 | (2) |
|
|
127 | (8) |
|
|
135 | (28) |
|
|
135 | (10) |
|
|
145 | (5) |
|
Remote Control and Back Doors |
|
|
150 | (8) |
|
General Back Doors and Countermeasures |
|
|
158 | (5) |
|
|
163 | (2) |
|
|
163 | (1) |
|
|
163 | (1) |
|
|
164 | (1) |
|
|
165 | (4) |
|
|
169 | (38) |
|
Attaching but Not Touching |
|
|
170 | (2) |
|
On-Site Admin (ftp://ftp.cdrom.com/.1/novell/onsite.zip) |
|
|
171 | (1) |
|
snlist (ftp://ftp.it.ru/pub/netware/util/NetWare4.Toos/snlist.exe) and nslist (http://www.nmrc.org/files/snetware/nutl8.zip) |
|
|
171 | (1) |
|
|
172 | (1) |
|
Enumerate Bindery and Trees |
|
|
172 | (6) |
|
userinfo (ftp://ftp.cdrom.com/.1/novell/userinfo.zip) |
|
|
172 | (1) |
|
userdump (ftp://ftp.cdrom.com/.1/novell/userdump.zip) |
|
|
173 | (1) |
|
finger (ftp://ftp.cdrom.com/.1/novell/finger.zip) |
|
|
173 | (1) |
|
bindery (http://www.nmrc.org/files/netware/bindery.zip) |
|
|
174 | (1) |
|
bindin (ftp://ftp.edv-himmelbauer.co.at/Novell.3x/Testprog/Bindin.exe) |
|
|
175 | (1) |
|
|
175 | (1) |
|
|
176 | (1) |
|
|
177 | (1) |
|
Enumeration Countermeasure |
|
|
178 | (1) |
|
Opening the Unlocked Doors |
|
|
178 | (2) |
|
chknull (http://www.nmrc.org/files/netware/chknull.zip) |
|
|
179 | (1) |
|
|
180 | (1) |
|
Authenticated Enumeration |
|
|
180 | (3) |
|
|
180 | (1) |
|
|
181 | (1) |
|
NDSsnoop (ftp://ftp.iae.univ-poitiers.fr/pc/netware/UTIL/ndssnoop.exe) |
|
|
181 | (2) |
|
Detecting Intruder Lockout |
|
|
183 | (1) |
|
Intruder Lockout Detection Countermeasure |
|
|
184 | (1) |
|
|
184 | (3) |
|
|
185 | (1) |
|
|
185 | (1) |
|
Nwpcrack (http:www.nmrc.org/files/netware/nwpcrack.zip) |
|
|
186 | (1) |
|
|
187 | (1) |
|
Application Vulnerabilities |
|
|
187 | (2) |
|
NetWare perl (http://www.insecure.org/sploits/netware.perl.nlm.html) |
|
|
188 | (1) |
|
NetWare Perl Countermeasure |
|
|
188 | (1) |
|
NetWare FTP (http://www.nmrc.org/faqs/netwar/nw_sec12.html#12-2) |
|
|
188 | (1) |
|
NetWare FTP Countermeasure |
|
|
189 | (1) |
|
NetWare Web Server (http://www.nmrc.org/faqs/netware/nt_sec12.html@12-1) |
|
|
189 | (1) |
|
NetWare Web Server Countermeasure |
|
|
189 | (1) |
|
Spoofing Attacks (Pandora) |
|
|
189 | (3) |
|
|
190 | (2) |
|
|
192 | (1) |
|
Once You Have Admin on a Server |
|
|
192 | (2) |
|
|
192 | (1) |
|
rconsole (Cleartext Passwords) Countermeasure |
|
|
193 | (1) |
|
|
194 | (6) |
|
NetBasic.nlm (SYS:SYSTEM) |
|
|
194 | (1) |
|
Dsmaint (http://www.support.novell.com/cgi-bin/search/patlstfind.cgi?2947447) |
|
|
195 | (1) |
|
Jcmd (ftp://ftp.cdrom.com/.1/novell/jrb400a.zip or http://www.jrbsoftware.com) |
|
|
196 | (1) |
|
Grabbing NDS Countermeasure |
|
|
197 | (1) |
|
|
197 | (3) |
|
|
200 | (2) |
|
|
200 | (1) |
|
|
200 | (1) |
|
|
201 | (1) |
|
Log Doctoring Countermeasure |
|
|
201 | (1) |
|
|
202 | (2) |
|
|
204 | (1) |
|
|
204 | (3) |
|
Kane Security Analyst (http://www.intrusion.com) |
|
|
204 | (1) |
|
Web Sites (ftp://ftp.novell.com/pub/updates/nw/nw411/) |
|
|
205 | (1) |
|
|
205 | (2) |
|
|
207 | (58) |
|
|
208 | (1) |
|
|
208 | (1) |
|
|
209 | (1) |
|
Remote Access Versus Local Access |
|
|
209 | (1) |
|
|
210 | (25) |
|
|
211 | (2) |
|
|
213 | (4) |
|
|
217 | (1) |
|
|
218 | (4) |
|
Common Types of Remote Attacks |
|
|
222 | (13) |
|
|
235 | (16) |
|
Password Composition Vulnerabilities |
|
|
235 | (4) |
|
|
239 | (1) |
|
|
240 | (2) |
|
|
242 | (1) |
|
|
243 | (2) |
|
|
245 | (1) |
|
|
245 | (1) |
|
|
246 | (4) |
|
|
250 | (1) |
|
|
251 | (8) |
|
|
252 | (1) |
|
|
252 | (1) |
|
|
253 | (3) |
|
|
256 | (3) |
|
|
259 | (6) |
Part III Network Hacking |
|
|
|
265 | (24) |
|
|
266 | (1) |
|
Phone Number Footprinting |
|
|
266 | (4) |
|
Countermeasure: Stop the Leaks |
|
|
269 | (1) |
|
|
270 | (14) |
|
|
270 | (1) |
|
|
271 | (1) |
|
|
271 | (1) |
|
|
271 | (9) |
|
Carrier Exploitation Techniques |
|
|
280 | (2) |
|
Dial-Up Security Measures |
|
|
282 | (2) |
|
Virtual Private Network (VPN) Hacking |
|
|
284 | (3) |
|
|
287 | (2) |
|
|
289 | (24) |
|
|
290 | (8) |
|
|
290 | (5) |
|
|
295 | (3) |
|
|
298 | (10) |
|
|
298 | (3) |
|
Lower the Gates (Vulnerabilities) |
|
|
301 | (7) |
|
|
308 | (3) |
|
Detecting the Media You're On |
|
|
309 | (1) |
|
Capturing SNMP Information |
|
|
310 | (1) |
|
|
311 | (1) |
|
|
311 | (1) |
|
|
311 | (1) |
|
RIP Spoofing Countermeasure |
|
|
312 | (1) |
|
|
312 | (1) |
|
|
313 | (26) |
|
|
314 | (1) |
|
|
315 | (9) |
|
Direct Scanning: the Noisy Technique |
|
|
315 | (1) |
|
|
315 | (2) |
|
|
317 | (1) |
|
|
318 | (1) |
|
|
318 | (1) |
|
|
319 | (1) |
|
Advanced Firewall Discovery |
|
|
320 | (3) |
|
|
323 | (1) |
|
|
324 | (1) |
|
Scanning Through Firewalls |
|
|
324 | (3) |
|
|
324 | (2) |
|
|
326 | (1) |
|
|
326 | (1) |
|
|
327 | (1) |
|
|
327 | (3) |
|
|
327 | (1) |
|
|
328 | (1) |
|
|
328 | (1) |
|
|
329 | (1) |
|
|
329 | (1) |
|
|
330 | (1) |
|
Application Proxy Vulnerabilities |
|
|
330 | (7) |
|
|
330 | (1) |
|
|
331 | (1) |
|
Unauthenticated External Proxy Access |
|
|
331 | (1) |
|
|
332 | (1) |
|
|
332 | (5) |
|
|
337 | (2) |
|
Denial of Service (DoS) Attacks |
|
|
339 | (18) |
|
Motivation of DoS Attackers |
|
|
340 | (1) |
|
|
341 | (3) |
|
|
341 | (1) |
|
|
342 | (1) |
|
|
342 | (1) |
|
|
342 | (2) |
|
|
344 | (7) |
|
|
344 | (2) |
|
|
346 | (4) |
|
|
350 | (1) |
|
|
351 | (3) |
|
|
351 | (2) |
|
|
353 | (1) |
|
|
354 | (3) |
Part IV Software Hacking |
|
|
Remote Control Insecurities |
|
|
357 | (16) |
|
Discovering Remote Control Software |
|
|
358 | (2) |
|
|
360 | (1) |
|
|
360 | (3) |
|
Cleartext Usernames and Passwords |
|
|
361 | (1) |
|
|
362 | (1) |
|
|
362 | (1) |
|
|
363 | (1) |
|
|
363 | (5) |
|
|
364 | (1) |
|
|
364 | (1) |
|
Force Alternate Authentication |
|
|
365 | (1) |
|
Password Protect Profile Files and Setup Files |
|
|
366 | (1) |
|
Logoff User with Call Completion |
|
|
366 | (1) |
|
|
367 | (1) |
|
|
367 | (1) |
|
|
367 | (1) |
|
|
367 | (1) |
|
Change the Default Listen Port |
|
|
368 | (1) |
|
What Software Package Is the Best in Terms of Security? |
|
|
368 | (3) |
|
|
368 | (1) |
|
|
368 | (1) |
|
|
368 | (2) |
|
Remotely Possible/ControlIT |
|
|
370 | (1) |
|
|
370 | (1) |
|
Virtual Network Computing (VNC) |
|
|
370 | (1) |
|
|
371 | (1) |
|
|
371 | (2) |
|
|
373 | (22) |
|
|
374 | (3) |
|
|
374 | (1) |
|
|
375 | (2) |
|
Hijacking Countermeasures |
|
|
377 | (1) |
|
|
377 | (13) |
|
|
377 | (1) |
|
|
378 | (1) |
|
|
379 | (1) |
|
Remote Control Back Doors |
|
|
380 | (5) |
|
Remote Control Countermeasures |
|
|
385 | (4) |
|
Overall Back Door Countermeasures |
|
|
389 | (1) |
|
|
390 | (2) |
|
|
390 | (1) |
|
|
391 | (1) |
|
|
391 | (1) |
|
|
392 | (1) |
|
|
392 | (3) |
|
|
395 | (72) |
|
|
396 | (4) |
|
|
396 | (1) |
|
|
397 | (3) |
|
Web Pilfering Countermeasure |
|
|
400 | (1) |
|
Finding Well-Known Vulnerabilities |
|
|
400 | (3) |
|
Automated Scripts, for All Those ``Script Kiddies'' |
|
|
400 | (2) |
|
|
402 | (1) |
|
Script Inadequacies: Input Validation Attacks |
|
|
403 | (11) |
|
IIS 4.0 MDAC RDS Vulnerability |
|
|
403 | (8) |
|
Active Server Pages (ASP) Vulnerabilities |
|
|
411 | (2) |
|
Cold Fusion Vulnerabilities |
|
|
413 | (1) |
|
|
414 | (3) |
|
|
415 | (2) |
|
|
417 | (2) |
|
|
417 | (1) |
|
Server Side Includes (SSIs) |
|
|
418 | (1) |
|
|
419 | (1) |
|
|
419 | (4) |
Part V Appendixes |
|
|
|
423 | (4) |
|
B Windows 2000 Security Issues |
|
|
427 | (16) |
|
|
429 | (1) |
|
|
430 | (1) |
|
|
431 | (1) |
|
The Obvious Target: Active Directory |
|
|
431 | (3) |
|
|
434 | (1) |
|
|
434 | (1) |
|
NetBIOS File Share Guessing |
|
|
434 | (1) |
|
Eavesdropping on Password Hashes |
|
|
434 | (1) |
|
|
435 | (1) |
|
|
435 | (1) |
|
|
435 | (1) |
|
|
435 | (1) |
|
|
436 | (1) |
|
|
436 | (1) |
|
|
436 | (1) |
|
|
437 | (1) |
|
|
437 | (1) |
|
|
438 | (1) |
|
|
438 | (1) |
|
|
438 | (1) |
|
|
439 | (1) |
|
|
439 | (1) |
|
|
439 | (1) |
|
General Countermeasures: New Windows Security Tools |
|
|
439 | (1) |
|
|
439 | (3) |
|
|
442 | (1) |
|
|
443 | (10) |
|
|
444 | (1) |
|
|
444 | (1) |
|
|
445 | (1) |
|
|
445 | (1) |
|
|
445 | (1) |
|
|
445 | (1) |
|
|
446 | (1) |
|
|
446 | (1) |
|
|
447 | (1) |
|
|
447 | (1) |
|
|
448 | (1) |
|
|
448 | (1) |
|
|
448 | (1) |
|
Mailing Lists and Newsletters |
|
|
448 | (1) |
|
|
449 | (1) |
|
|
449 | (1) |
|
|
449 | (1) |
|
|
450 | (1) |
|
Vulnerabilities and Exploits |
|
|
450 | (1) |
|
Web and Application Security |
|
|
451 | (2) |
|
|
453 | (8) |
|
|
454 | (1) |
|
|
454 | (1) |
|
|
455 | (1) |
|
|
455 | (1) |
|
|
456 | (1) |
|
|
457 | (1) |
|
Penetration and Back Door Tools |
|
|
457 | (1) |
|
|
458 | (1) |
|
Rootkits and Covering Tracks |
|
|
458 | (1) |
|
|
458 | (1) |
|
|
459 | (2) |
|
E Top 14 Security Vulnerabilities |
|
|
461 | (2) |
|
Top 14 Security Vulnerabilities |
|
|
462 | (1) |
|
F About the Companion Web Site |
|
|
463 | (4) |
|
|
464 | (1) |
|
|
465 | (1) |
|
|
465 | (1) |
|
Wordlists and Dictionaries |
|
|
466 | (1) |
|
|
466 | (1) |
|
|
466 | (1) |
Index |
|
467 | |