Preface |
|
xi | |
|
Chapter 1 Session Hijacking |
|
|
1 | |
|
|
2 | (1) |
|
Introduction to Session Hijacking |
|
|
2 | (1) |
|
|
3 | (18) |
|
Understanding Session Hijacking |
|
|
3 | (1) |
|
Spoofing Versus Hijacking |
|
|
4 | (2) |
|
Steps in Session Hijacking |
|
|
6 | (2) |
|
Types of Session Hijacking |
|
|
8 | (5) |
|
Sequence Number Prediction |
|
|
13 | (1) |
|
|
14 | (3) |
|
|
17 | (2) |
|
Dangers Posed by Hijacking |
|
|
19 | (1) |
|
|
20 | (1) |
|
|
21 | (1) |
|
|
22 | (1) |
|
|
22 | (2) |
|
|
24 | (3) |
|
Chapter 2 Hacking Web Servers |
|
|
27 | (38) |
|
|
28 | (1) |
|
|
28 | (1) |
|
Introduction to Hacking Web Servers |
|
|
28 | (1) |
|
Sources of Security Vulnerabilities in Web Servers |
|
|
29 | (1) |
|
|
29 | (1) |
|
Network Administrator's Concern |
|
|
29 | (1) |
|
|
29 | (1) |
|
|
29 | (1) |
|
|
30 | (1) |
|
How Web Sites Are Defaced |
|
|
30 | (1) |
|
Attacks Against Internet Information Services |
|
|
31 | (2) |
|
|
31 | (1) |
|
|
31 | (1) |
|
Piggybacking Privileged Command Execution on Back-end Database Queries (MDAC/RDS) |
|
|
32 | (1) |
|
Buffer Overflow Vulnerabilities |
|
|
32 | (1) |
|
Privileged Command Execution Vulnerability |
|
|
32 | (1) |
|
|
33 | (1) |
|
|
33 | (15) |
|
Unicode Directory Traversal Vulnerability |
|
|
35 | (1) |
|
|
36 | (1) |
|
|
37 | (1) |
|
Msw3prt IPP Vulnerability |
|
|
37 | (1) |
|
|
38 | (1) |
|
|
38 | (1) |
|
|
39 | (9) |
|
|
48 | (2) |
|
|
48 | (2) |
|
|
50 | (9) |
|
Online Vulnerability Search Engine |
|
|
50 | (5) |
|
|
55 | (1) |
|
File System Traversal Countermeasures |
|
|
56 | (1) |
|
Increasing Web Server Security |
|
|
56 | (3) |
|
|
59 | (1) |
|
|
59 | (1) |
|
|
59 | (2) |
|
|
61 | (4) |
|
Chapter 3 Web Application Vulnerabilities |
|
|
65 | (34) |
|
|
66 | (1) |
|
Introduction to Web Application Vulnerabilities |
|
|
66 | (1) |
|
|
66 | (2) |
|
|
68 | (1) |
|
|
69 | (1) |
|
|
69 | (16) |
|
Cross-Site Scripting/XSS Flaws |
|
|
70 | (2) |
|
|
72 | (1) |
|
|
73 | (1) |
|
|
74 | (1) |
|
|
75 | (1) |
|
|
76 | (1) |
|
Directory Traversal/Forceful Browsing |
|
|
77 | (1) |
|
Cryptographic Interception |
|
|
78 | (1) |
|
|
79 | (1) |
|
|
79 | (1) |
|
Error Message Interception |
|
|
80 | (1) |
|
|
80 | (1) |
|
|
81 | (1) |
|
|
81 | (1) |
|
Security Management Exploits |
|
|
82 | (1) |
|
|
83 | (1) |
|
|
83 | (1) |
|
|
84 | (1) |
|
|
85 | (1) |
|
Web Application Hacking Tools |
|
|
85 | (9) |
|
|
85 | (1) |
|
|
86 | (1) |
|
|
86 | (1) |
|
|
87 | (1) |
|
|
88 | (1) |
|
|
88 | (1) |
|
|
88 | (1) |
|
|
88 | (1) |
|
|
88 | (1) |
|
|
89 | (1) |
|
|
89 | (1) |
|
|
90 | (1) |
|
|
90 | (1) |
|
|
90 | (1) |
|
Tool: Acunetix Web Vulnerability Scanner |
|
|
91 | (1) |
|
|
91 | (1) |
|
|
91 | (1) |
|
Tool: NetBrute Scanner Suite |
|
|
91 | (1) |
|
|
92 | (1) |
|
|
92 | (1) |
|
|
93 | (1) |
|
|
93 | (1) |
|
Tool: IBM Rational AppScan |
|
|
93 | (1) |
|
|
93 | (1) |
|
|
94 | (1) |
|
|
94 | (1) |
|
|
94 | (1) |
|
|
94 | (2) |
|
|
96 | (3) |
|
Chapter 4 Web-Based Password Cracking Techniques |
|
|
99 | (30) |
|
|
100 | (1) |
|
Introduction to Web-Based Password Cracking Techniques |
|
|
100 | (1) |
|
|
100 | (1) |
|
Authentication Techniques |
|
|
101 | (7) |
|
|
101 | (2) |
|
Integrated Windows (NTLM) Authentication |
|
|
103 | (1) |
|
|
104 | (1) |
|
Certificate-Based Authentication |
|
|
104 | (1) |
|
Forms-Based Authentication |
|
|
105 | (1) |
|
|
106 | (1) |
|
|
107 | (1) |
|
|
108 | (6) |
|
Password Cracking Techniques |
|
|
108 | (2) |
|
Password Cracker Programs |
|
|
110 | (1) |
|
Password Cracker Countermeasures |
|
|
111 | (2) |
|
|
113 | (1) |
|
|
113 | (1) |
|
|
114 | (11) |
|
Password-Generating Tools |
|
|
114 | (7) |
|
|
121 | (1) |
|
|
122 | (1) |
|
|
122 | (3) |
|
|
125 | (1) |
|
|
125 | (1) |
|
|
126 | (1) |
|
|
127 | (2) |
|
Chapter 5 Hacking Web Browsers |
|
|
129 | (18) |
|
|
130 | (1) |
|
Introduction to Hacking Web Browsers |
|
|
130 | (1) |
|
|
131 | (1) |
|
|
132 | (1) |
|
Firefox Information Leak Vulnerability |
|
|
132 | (1) |
|
Firefox Spoofing Vulnerability |
|
|
132 | (1) |
|
Firefox Password Vulnerability |
|
|
132 | (1) |
|
Concerns with Saving Forms or Login Data |
|
|
133 | (1) |
|
Cleaning Up Browsing History |
|
|
133 | (1) |
|
|
133 | (1) |
|
|
133 | (1) |
|
|
134 | (1) |
|
Tools for Cleaning Unwanted Cookies |
|
|
134 | (1) |
|
|
134 | (1) |
|
|
134 | (1) |
|
|
134 | (1) |
|
|
135 | (1) |
|
|
135 | (1) |
|
|
135 | (1) |
|
Firefox Security Features |
|
|
135 | (1) |
|
Hacking Internet Explorer |
|
|
135 | (1) |
|
Redirection Information Disclosure Vulnerability |
|
|
135 | (1) |
|
Window Injection Vulnerability |
|
|
136 | (1) |
|
Internet Explorer Security |
|
|
136 | (4) |
|
|
136 | (2) |
|
|
138 | (1) |
|
Specify Default Applications |
|
|
138 | (1) |
|
Internet Explorer Security Features |
|
|
139 | (1) |
|
|
140 | (1) |
|
JavaScript Invalid Pointer Vulnerability |
|
|
140 | (1) |
|
BitTorrent Header Parsing Vulnerability |
|
|
140 | (1) |
|
BitTorrent File-Handling Buffer Overflow Vulnerability |
|
|
141 | (1) |
|
Opera Security and Privacy Features |
|
|
141 | (1) |
|
|
141 | (1) |
|
Safari Browser Vulnerability |
|
|
141 | (1) |
|
iPhone Safari Browser Memory Exhaustion Remote DoS Vulnerability |
|
|
141 | (1) |
|
|
142 | (1) |
|
|
142 | (1) |
|
|
142 | (1) |
|
|
142 | (1) |
|
|
143 | (1) |
|
|
143 | (2) |
|
|
145 | (2) |
|
Chapter 6 Hacking Database Servers-SQL Injection |
|
|
147 | (34) |
|
|
148 | (1) |
|
Introduction to Hacking Database Servers |
|
|
148 | (1) |
|
Introduction to SQL Injection |
|
|
148 | (1) |
|
|
149 | (1) |
|
Security Issues in Oracle |
|
|
149 | (1) |
|
Types of Database Attacks |
|
|
149 | (1) |
|
Breaking into an Oracle Database |
|
|
150 | (1) |
|
The Default Privilege Given to the OUTLN User Is EXECUTE ANY PROCEDURE |
|
|
151 | (1) |
|
Exploiting Web Applications |
|
|
151 | (1) |
|
|
151 | (1) |
|
|
151 | (4) |
|
|
152 | (1) |
|
Getting Data from the Database Using OLE DB Errors |
|
|
152 | (1) |
|
How to Mine All Column Names of a Table |
|
|
153 | (1) |
|
|
154 | (1) |
|
How to Update/Insert Data into a Database |
|
|
155 | (1) |
|
|
155 | (1) |
|
|
156 | (3) |
|
|
156 | (1) |
|
|
157 | (1) |
|
|
157 | (1) |
|
Using SQL Server Stored Procedures |
|
|
157 | (1) |
|
Oracle Worm: Voyager Beta |
|
|
158 | (1) |
|
How to Test for an SQL Injection Vulnerability |
|
|
159 | (1) |
|
|
159 | (2) |
|
Example: BadLogin.aspx.cs |
|
|
160 | (1) |
|
Example: BadProductList.aspx.cs |
|
|
160 | (1) |
|
|
161 | (1) |
|
|
161 | (1) |
|
|
162 | (3) |
|
How an SQL Server Is Hacked |
|
|
164 | (1) |
|
Attacks Against Microsoft SQL Server |
|
|
165 | (2) |
|
SQL Server Resolution Service (SSRS) |
|
|
166 | (1) |
|
|
166 | (1) |
|
|
166 | (1) |
|
Tools for Automated SQL Injection |
|
|
167 | (4) |
|
|
167 | (1) |
|
|
167 | (1) |
|
|
168 | (1) |
|
|
168 | (1) |
|
|
168 | (1) |
|
|
169 | (1) |
|
|
169 | (1) |
|
|
169 | (1) |
|
|
169 | (1) |
|
|
169 | (1) |
|
|
169 | (1) |
|
|
170 | (1) |
|
|
170 | (1) |
|
Tool: Automagic SQL Injector |
|
|
170 | (1) |
|
|
170 | (1) |
|
|
171 | (1) |
|
Blind SQL Injection Countermeasures |
|
|
171 | (1) |
|
SQL Injection Countermeasures |
|
|
171 | (1) |
|
Preventing SQL Injection Attacks |
|
|
172 | (2) |
|
Removing Culprit Characters/Character Sequences |
|
|
172 | (1) |
|
|
173 | (1) |
|
Implementing Consistent Coding Standards |
|
|
173 | (1) |
|
Firewalling the SQL Server |
|
|
174 | (1) |
|
|
174 | (1) |
|
|
174 | (1) |
|
|
174 | (1) |
|
|
174 | (1) |
|
|
175 | (1) |
|
|
175 | (2) |
|
|
175 | (1) |
|
|
175 | (1) |
|
|
176 | (1) |
|
|
176 | (1) |
|
Tool: Acunetix Web Vulnerability Scanner |
|
|
176 | (1) |
|
|
177 | (1) |
|
|
178 | (1) |
|
|
178 | (2) |
|
|
180 | (1) |
Glossary |
|
181 | (2) |
Index |
|
183 | |