Preface |
|
xvii | |
Acknowledgments |
|
xix | |
About the Authors |
|
xxi | |
|
PART I Hacker Techniques and Tools |
|
|
1 | (98) |
|
Chapter 1 Hacking: The Next Generation |
|
|
3 | (20) |
|
Profiles and Motives of Different Types of Hackers |
|
|
4 | (2) |
|
|
6 | (1) |
|
|
6 | (1) |
|
|
7 | (2) |
|
A Look at the History of Computer Hacking |
|
|
9 | (1) |
|
Ethical Hacking and Penetration Testing |
|
|
10 | (1) |
|
The Role of Ethical Hacking |
|
|
11 | (2) |
|
Ethical Hackers and the C-I-A Triad |
|
|
13 | (1) |
|
Common Hacking Methodologies |
|
|
14 | (1) |
|
Performing a Penetration Test |
|
|
15 | (3) |
|
The Role of the Law and Ethical Standards |
|
|
18 | (2) |
|
|
20 | (1) |
|
|
20 | (1) |
|
|
20 | (3) |
|
Chapter 2 Linux and Penetration Testing |
|
|
23 | (14) |
|
|
24 | (2) |
|
|
26 | (1) |
|
Working with Linux: The Basics |
|
|
27 | (1) |
|
|
27 | (1) |
|
|
28 | (1) |
|
Important Linux Directories |
|
|
28 | (1) |
|
|
28 | (2) |
|
The Basic Command Structure of Linux |
|
|
30 | (2) |
|
Wildcard Characters in Linux |
|
|
32 | (2) |
|
|
34 | (1) |
|
Special-Purpose Live CDs/DVDs |
|
|
34 | (1) |
|
|
34 | (1) |
|
|
35 | (1) |
|
|
35 | (1) |
|
|
36 | (1) |
|
|
37 | (30) |
|
Exploring the OSI Reference Model |
|
|
38 | (1) |
|
|
39 | (1) |
|
|
40 | (1) |
|
|
41 | (1) |
|
|
42 | (1) |
|
|
42 | (1) |
|
|
43 | (1) |
|
Layer 6 Presentation Layer |
|
|
43 | (1) |
|
Layer 7 Application Layer |
|
|
44 | (1) |
|
The Role of Encapsulation |
|
|
44 | (1) |
|
Mapping the OSI Model to Functions and Protocols |
|
|
44 | (1) |
|
OSI Model Layers and Services |
|
|
45 | (1) |
|
TCP/IP: A Layer-by-Layer Review |
|
|
46 | (1) |
|
Physical or Network Access Layer |
|
|
47 | (4) |
|
Network or Internet Layer |
|
|
51 | (7) |
|
|
58 | (2) |
|
|
60 | (4) |
|
|
64 | (1) |
|
|
64 | (1) |
|
|
64 | (3) |
|
Chapter 4 Cryptographic Concepts |
|
|
67 | (32) |
|
|
69 | (1) |
|
|
70 | (1) |
|
|
70 | (1) |
|
|
71 | (1) |
|
Symmetric and Asymmetric Cryptography |
|
|
71 | (1) |
|
|
72 | (3) |
|
What Is an Algorithm or Cipher? |
|
|
75 | (2) |
|
|
77 | (3) |
|
|
80 | (3) |
|
|
83 | (2) |
|
|
85 | (1) |
|
|
85 | (1) |
|
Public Key Infrastructure |
|
|
86 | (3) |
|
The Role of Certificate Authorities |
|
|
89 | (1) |
|
|
89 | (1) |
|
Certificate Revocation List |
|
|
89 | (1) |
|
|
90 | (1) |
|
|
91 | (1) |
|
Common Cryptographic Systems |
|
|
92 | (1) |
|
|
93 | (3) |
|
Future Forms of Cryptography |
|
|
96 | (1) |
|
|
97 | (1) |
|
|
97 | (1) |
|
|
98 | (1) |
|
PART II A Technical and Social Overview of Hacking |
|
|
99 | (208) |
|
Chapter 5 Passive Reconnaissance |
|
|
101 | (28) |
|
The Information-Gathering Process |
|
|
102 | (1) |
|
Information on a Company Website and Available Through Social Media |
|
|
103 | (3) |
|
Discovering Financial Information |
|
|
106 | (2) |
|
|
108 | (3) |
|
Exploring Domain Information Leakage |
|
|
111 | (1) |
|
|
112 | (1) |
|
|
113 | (3) |
|
Automatic Registrar Query |
|
|
116 | (1) |
|
|
116 | (2) |
|
Internet Assigned Numbers Authority |
|
|
118 | (2) |
|
Determining a Network Range |
|
|
120 | (1) |
|
|
121 | (1) |
|
Tracking an Organization's Employees |
|
|
122 | (2) |
|
|
124 | (1) |
|
Using Basic Countermeasures |
|
|
125 | (1) |
|
|
126 | (1) |
|
|
127 | (1) |
|
|
127 | (2) |
|
Chapter 6 Active Reconnaissance |
|
|
129 | (22) |
|
Determining Address Ranges of Networks |
|
|
130 | (1) |
|
Identifying Active Machines |
|
|
131 | (1) |
|
|
131 | (1) |
|
Wardriving and Related Activities |
|
|
131 | (2) |
|
|
133 | (1) |
|
|
134 | (3) |
|
Active Reconnaissance Countermeasures |
|
|
137 | (1) |
|
|
138 | (1) |
|
|
138 | (2) |
|
|
140 | (1) |
|
|
141 | (1) |
|
|
141 | (2) |
|
Operating System Fingerprinting |
|
|
143 | (1) |
|
|
144 | (1) |
|
Passive OS Fingerprinting |
|
|
145 | (2) |
|
|
147 | (1) |
|
|
148 | (1) |
|
|
149 | (1) |
|
|
149 | (1) |
|
|
150 | (1) |
|
Chapter 7 Enumeration and Exploitation |
|
|
151 | (32) |
|
|
152 | (1) |
|
|
153 | (1) |
|
|
153 | (2) |
|
|
155 | (1) |
|
|
156 | (1) |
|
Commonly Attacked and Exploited Services |
|
|
156 | (1) |
|
|
157 | (1) |
|
Performing Enumeration Tasks |
|
|
158 | (1) |
|
|
158 | (2) |
|
|
160 | (1) |
|
|
161 | (1) |
|
|
162 | (1) |
|
|
162 | (1) |
|
|
163 | (1) |
|
|
164 | (1) |
|
|
165 | (1) |
|
|
165 | (1) |
|
|
166 | (3) |
|
|
169 | (1) |
|
|
170 | (1) |
|
|
170 | (1) |
|
|
171 | (1) |
|
|
171 | (3) |
|
Stopping Privilege Escalation |
|
|
174 | (1) |
|
|
174 | (1) |
|
|
175 | (1) |
|
|
175 | (2) |
|
|
177 | (1) |
|
|
177 | (1) |
|
|
178 | (1) |
|
|
179 | (1) |
|
|
180 | (1) |
|
|
180 | (3) |
|
|
183 | (32) |
|
|
184 | (2) |
|
|
186 | (1) |
|
|
187 | (1) |
|
|
187 | (1) |
|
|
188 | (1) |
|
|
188 | (1) |
|
|
189 | (3) |
|
|
192 | (1) |
|
|
193 | (1) |
|
|
194 | (1) |
|
|
195 | (1) |
|
|
196 | (1) |
|
|
197 | (1) |
|
|
198 | (1) |
|
Known Symptoms of an Infection |
|
|
198 | (1) |
|
|
199 | (3) |
|
|
202 | (1) |
|
|
203 | (1) |
|
|
204 | (1) |
|
|
205 | (1) |
|
|
205 | (1) |
|
|
206 | (1) |
|
|
206 | (2) |
|
|
208 | (1) |
|
|
208 | (1) |
|
|
209 | (1) |
|
|
210 | (1) |
|
|
210 | (1) |
|
|
211 | (1) |
|
|
212 | (1) |
|
|
212 | (1) |
|
|
213 | (2) |
|
Chapter 9 Web and Database Attacks |
|
|
215 | (24) |
|
|
216 | (1) |
|
|
217 | (1) |
|
Vulnerabilities of Web Servers |
|
|
218 | (1) |
|
Improper or Poor Web Design |
|
|
218 | (1) |
|
|
219 | (1) |
|
|
219 | (1) |
|
Distributed Denial of Service Attack |
|
|
219 | (1) |
|
|
220 | (1) |
|
|
221 | (1) |
|
|
221 | (1) |
|
|
222 | (1) |
|
|
223 | (1) |
|
Structured Query Language (SQL) Injection |
|
|
223 | (1) |
|
Examining a SQL Injection Attack |
|
|
223 | (2) |
|
|
225 | (1) |
|
|
225 | (1) |
|
Cross-Site Scripting Attack |
|
|
226 | (1) |
|
Anatomy of Web Applications |
|
|
227 | (1) |
|
|
227 | (1) |
|
|
228 | (1) |
|
Session Management Issues |
|
|
229 | (1) |
|
|
230 | (1) |
|
|
230 | (1) |
|
|
231 | (1) |
|
|
232 | (1) |
|
Locating Databases on the Network |
|
|
232 | (1) |
|
Database Server Password Cracking |
|
|
233 | (1) |
|
Locating Vulnerabilities in Databases |
|
|
234 | (1) |
|
|
235 | (1) |
|
|
236 | (1) |
|
|
237 | (1) |
|
|
237 | (2) |
|
Chapter 10 Sniffers, Session Hijacking, and Denial of Service Attacks |
|
|
239 | (22) |
|
|
240 | (1) |
|
|
241 | (1) |
|
|
242 | (4) |
|
|
246 | (1) |
|
|
247 | (1) |
|
|
247 | (1) |
|
Identifying an Active Session |
|
|
248 | (2) |
|
Seizing Control of a Session |
|
|
250 | (1) |
|
|
250 | (1) |
|
Thwarting Session Hijacking Attacks |
|
|
251 | (1) |
|
Denial of Service Attacks |
|
|
251 | (1) |
|
|
252 | (2) |
|
|
254 | (1) |
|
Distributed Denial of Service Attacks |
|
|
254 | (1) |
|
Characteristics of DDoS Attacks |
|
|
255 | (1) |
|
|
256 | (1) |
|
Botnets and the Internet of Things |
|
|
257 | (1) |
|
|
258 | (1) |
|
|
259 | (1) |
|
|
259 | (2) |
|
Chapter 11 Wireless Vulnerabilities |
|
|
261 | (26) |
|
The Importance of Wireless Security |
|
|
262 | (1) |
|
|
262 | (1) |
|
Common Support and Availability |
|
|
263 | (1) |
|
A Brief History of Wireless Technologies |
|
|
264 | (1) |
|
|
264 | (1) |
|
|
265 | (1) |
|
|
265 | (1) |
|
|
266 | (1) |
|
|
266 | (1) |
|
|
266 | (1) |
|
|
267 | (1) |
|
|
267 | (1) |
|
Other Wireless Technologies |
|
|
267 | (1) |
|
Working with and Securing Bluetooth |
|
|
268 | (1) |
|
|
269 | (3) |
|
|
272 | (1) |
|
Working with Wireless LANs |
|
|
272 | (1) |
|
|
272 | (1) |
|
|
273 | (1) |
|
|
273 | (1) |
|
|
274 | (1) |
|
The Importance of Authentication |
|
|
274 | (1) |
|
|
274 | (1) |
|
|
274 | (1) |
|
|
275 | (3) |
|
Countermeasures to Wireless LAN Threats |
|
|
278 | (1) |
|
|
279 | (1) |
|
|
280 | (1) |
|
|
280 | (1) |
|
|
281 | (1) |
|
Protecting Wireless Networks |
|
|
282 | (1) |
|
|
282 | (1) |
|
|
282 | (1) |
|
|
282 | (1) |
|
|
282 | (1) |
|
Use Protection for Transmitted Data |
|
|
283 | (1) |
|
|
283 | (1) |
|
|
284 | (1) |
|
|
284 | (1) |
|
|
284 | (3) |
|
Chapter 12 Social Engineering |
|
|
287 | (20) |
|
What Is Social Engineering? |
|
|
288 | (1) |
|
Types of Social Engineering Attacks |
|
|
289 | (1) |
|
|
289 | (1) |
|
|
289 | (1) |
|
|
290 | (1) |
|
Attacks Through Social Media |
|
|
290 | (1) |
|
|
290 | (1) |
|
Reverse Social Engineering |
|
|
290 | (1) |
|
Technology and Social Engineering |
|
|
291 | (1) |
|
The Browser as a Defense Against Social Engineering |
|
|
291 | (1) |
|
Other Good Practices for Safe Computing |
|
|
292 | (2) |
|
Best Practices for Passwords |
|
|
294 | (1) |
|
Know What the Web Knows About You |
|
|
294 | (1) |
|
Creating and Managing Your Passwords |
|
|
294 | (1) |
|
Invest in a Password Manager |
|
|
295 | (1) |
|
Social Engineering and Social Networking |
|
|
295 | (1) |
|
|
296 | (1) |
|
Risks Associated with Social Networking |
|
|
296 | (3) |
|
Social Networking in a Corporate Setting |
|
|
299 | (1) |
|
Particular Concerns in a Corporate Setting |
|
|
300 | (1) |
|
Mixing the Personal with the Professional |
|
|
300 | (2) |
|
|
302 | (1) |
|
|
303 | (1) |
|
|
304 | (1) |
|
|
304 | (3) |
|
PART III Defensive Techniques and Tools |
|
|
307 | (74) |
|
Chapter 13 Defensive Techniques |
|
|
309 | (22) |
|
What Is a Security Incident? |
|
|
310 | (1) |
|
The Incident Response Process |
|
|
311 | (1) |
|
Incident Response Policies, Procedures, and Guidelines |
|
|
312 | (1) |
|
Phases of an Incident and Response |
|
|
313 | (1) |
|
|
314 | (1) |
|
|
315 | (1) |
|
Business Continuity Plans |
|
|
315 | (3) |
|
|
318 | (1) |
|
Recovering from a Security Incident |
|
|
318 | (1) |
|
Loss Control and Damage Assessment |
|
|
319 | (1) |
|
|
319 | (1) |
|
Planning for Disaster and Recovery |
|
|
320 | (1) |
|
|
321 | (1) |
|
Preparation and Staging of Testing Procedures |
|
|
322 | (1) |
|
|
323 | (1) |
|
|
323 | (1) |
|
Evidence Handling and Administration |
|
|
323 | (1) |
|
Evidence Collection Techniques |
|
|
323 | (1) |
|
|
324 | (1) |
|
|
325 | (1) |
|
Computer or Device Removal |
|
|
325 | (1) |
|
|
325 | (1) |
|
Security Reporting Options and Guidelines |
|
|
326 | (1) |
|
Requirements of Regulated Industries |
|
|
327 | (1) |
|
|
328 | (1) |
|
|
329 | (1) |
|
|
329 | (2) |
|
Chapter 14 Defensive Tools |
|
|
331 | (26) |
|
|
332 | (1) |
|
Intrusion Detection Systems |
|
|
332 | (4) |
|
|
336 | (3) |
|
|
339 | (1) |
|
|
340 | (1) |
|
|
340 | (1) |
|
Intrusion Prevention Systems |
|
|
341 | (1) |
|
|
342 | (1) |
|
|
342 | (1) |
|
|
343 | (1) |
|
Limitations of a Firewall |
|
|
344 | (1) |
|
|
345 | (1) |
|
Authoring a Firewall Policy |
|
|
346 | (2) |
|
|
348 | (1) |
|
|
348 | (1) |
|
|
349 | (1) |
|
|
349 | (1) |
|
|
350 | (1) |
|
|
350 | (2) |
|
|
352 | (1) |
|
|
353 | (1) |
|
Security Information and Event Management |
|
|
353 | (1) |
|
|
354 | (1) |
|
|
354 | (1) |
|
|
355 | (1) |
|
|
355 | (2) |
|
Chapter 15 Physical Security |
|
|
357 | (24) |
|
|
358 | (1) |
|
Hard Drive and Mobile Device Encryption |
|
|
358 | (3) |
|
Fax Machines and Printers |
|
|
361 | (1) |
|
Voice over Internet Protocol |
|
|
362 | (1) |
|
|
362 | (1) |
|
|
363 | (1) |
|
Perimeter Intrusion Detection and Assessment Systems |
|
|
364 | (1) |
|
|
364 | (1) |
|
|
365 | (1) |
|
|
366 | (1) |
|
Doors, Mantraps, and Turnstiles |
|
|
366 | (1) |
|
Walls, Ceilings, and Floors |
|
|
367 | (1) |
|
|
368 | (1) |
|
|
368 | (1) |
|
|
369 | (1) |
|
|
369 | (1) |
|
|
370 | (1) |
|
Alarms and Intrusion Detection |
|
|
370 | (1) |
|
Closed-Circuit TV and Remote Monitoring |
|
|
371 | (1) |
|
|
372 | (1) |
|
|
372 | (1) |
|
|
373 | (1) |
|
Avoiding Common Threats to Physical Security |
|
|
374 | (1) |
|
Natural, Human, and Technical Threats |
|
|
374 | (1) |
|
Physical Keystroke Loggers and Sniffers |
|
|
375 | (1) |
|
Wireless Interception and Rogue Access Points |
|
|
376 | (1) |
|
|
377 | (1) |
|
|
378 | (1) |
|
|
378 | (1) |
|
|
378 | (3) |
Appendix A Answer Key |
|
381 | (2) |
Appendix B Standard Acronyms |
|
383 | (2) |
Glossary of Key Terms |
|
385 | (8) |
References |
|
393 | (4) |
Index |
|
397 | |