| |
PREMIUM E-Book Description
The world's bestselling
computer security book--fully
expanded and updated
"Right now you hold in your hand one
of the most successful security
books ever written. Rather than
being a sideline participant,
leverage the valuable insights
Hacking Exposed 6 provides to
help yourself, your company, and
your country fight cyber-crime."
--From the Foreword by Dave DeWalt,
President and CEO, McAfee, Inc.
"For security to be successful in
any company, you must ‘think evil'
and be attuned to your ‘real
risk'...Hacking Expose 6
defines both." --Patrick Heim, CISO,
Kaiser Permanente
"The definitive resource to
understanding the hacking mindset
and the defenses against it."
--Vince Rossi, CEO & President, St.
Bernard Software
"Identity theft costs billions every
year and unless you understand the
threat, you will be destined to be a
victim of it. Hacking Exposed 6
gives you the tools you need to
prevent being a victim." --Bill
Loesch, CTO, Guard ID Systems
"This book is current,
comprehensive, thoughtful, backed by
experience, and appropriately free
of vendor-bias-prized features for
any security practitioner in need of
information." --Kip Boyle, CISO,
PEMCO Mutual Insurance Company
"The Hacking Exposed series has
become the definitive reference for
security professionals from the
moment it was first released, and
the 6th edition maintains its place
on my bookshelf," --Jeff Moss,
Founder of the popular Black Hat
Security Conference
Meet the formidable demands of
security in today's hyperconnected
world with expert guidance from the
world-renowned Hacking Exposed team.
Following the time-tested
"attack-countermeasure" philosophy,
this 10th anniversary edition has
been fully overhauled to cover the
latest insidious weapons in the
hacker's extensive arsenal.
New and updated material:
-
New chapter on hacking hardware,
including lock bumping, access
card cloning, RFID hacks, USB U3
exploits, and Bluetooth device
hijacking
-
Updated Windows attacks and
countermeasures, including new
Vista and Server 2008
vulnerabilities and Metasploit
exploits
-
The latest UNIX Trojan and
rootkit techniques and dangling
pointer and input validation
exploits
-
New wireless and RFID security
tools, including multilayered
encryption and gateways
-
All-new tracerouting and
eavesdropping techniques used to
target network hardware and
Cisco devices
-
Updated DoS, man-in-the-middle,
DNS poisoning, and buffer
overflow coverage
-
VPN and VoIP exploits, including
Google and TFTP tricks, SIP
flooding, and IPsec hacking
-
Fully updated chapters on
hacking the Internet user, web
hacking, and securing code
About the Author
Stuart McClure, CISSP, CNE, CCSE,
a leading authority on information
security, is VP of Operations &
Strategy for the Risk & Compliance
Business Unit at McAfee.
Joel Scambray, CISSP, is
cofounder and CEO of Consciere,
provider of strategic security
advisory services.
George Kurtz, CISSP, CISA, CPA,
is an internationally recognized
security expert, author, and
entrepreneur. He is currently a
senior executive and general manager
with McAfee, Inc.
They are the bestselling coauthors
of the five previous editions of
Hacking Exposed.
CONTENTS
Foreword . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
xix
Acknowledgments . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . xxi
Preface . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . xxiii
Introduction . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
xxv
Part I Casing the Establishment
Case Study . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
2
IAAAS—It’s All About Anonymity, Stupid .
. . . . . . . . . . . . . . . . . . . .
. . . . . . 2
Tor-menting the Good Guys . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . 2
▼ 1 Footprinting . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . 7
What Is Footprinting? . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 8
Why Is Footprinting Necessary? . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . 10
Internet Footprinting . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 10
Step 1: Determine the Scope of Your
Activities . . . . . . . . . . . . . . .
. . . 10
Step 2: Get Proper Authorization . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . 10
Step 3: Publicly Available Information .
. . . . . . . . . . . . . . . . . . . .
. . . . 11
Step 4: WHOIS & DNS Enumeration . . . .
. . . . . . . . . . . . . . . . . . . .
. . 24
Step 5: DNS Interrogation . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . 34
Step 6: Network Reconnaissance . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . 38
Summary . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
42
▼ 2 Scanning . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . 43
Determining If the System Is Alive . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 44
Determining Which Services Are Running
or Listening . . . . . . . . . . . . . .
. . 54
Scan Types . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 55
Identifying TCP and UDP Services Running
. . . . . . . . . . . . . . . . . . . .
56
Windows-Based Port Scanners . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . 62
Port Scanning Breakdown . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . 67
Detecting the Operating System . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 69
Active Stack Fingerprinting . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . 69
Passive Stack Fingerprinting . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . 73
Summary . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
77
▼ 3 Enumeration . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . 79
Basic Banner Grabbing . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . 81
Enumerating Common Network Services . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . 83
Summary . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
148
Part II System Hacking
Case Study: DNS High Jinx—Pwning the
Internet . . . . . . . . . . . . . . . .
. . . . . 152
▼ 4 Hacking Windows . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . 157
Overview . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
159
What’s Not Covered . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 160
Unauthenticated Attacks . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . 160
Authentication Spoofi ng Attacks . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . 161
Remote Unauthenticated Exploits . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . 172
Authenticated Attacks . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 179
Privilege Escalation . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 179
Extracting and Cracking Passwords . . .
. . . . . . . . . . . . . . . . . . . .
. . . . 181
Remote Control and Back Doors . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . 193
Port Redirection . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 198
Covering Tracks . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 199
General Countermeasures to Authenticated
Compromise . . . . . . . . 202
Windows Security Features . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 206
Windows Firewall . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 206
Automated Updates . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 206
Security Center . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 208
Security Policy and Group Policy . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . 209
Bitlocker and the Encrypting File System
(EFS) . . . . . . . . . . . . . . . . .
211
Windows Resource Protection . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . 212
Integrity Levels, UAC, and LoRIE . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . 213
Data Execution Prevention (DEP) . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . 215
Service Hardening . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 215
Compiler-based Enhancements . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . 219
Coda: The Burden of Windows Security . .
. . . . . . . . . . . . . . . . . . . .
. . 220
Summary . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
221
▼ 5 Hacking Unix . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . 223
The Quest for Root . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 224
A Brief Review . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 224
Vulnerability Mapping . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . 225
Remote Access vs. Local Access . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . 225
Remote Access . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
226
Data-Driven Attacks . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 231
I Want My Shell . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 245
Common Types of Remote Attacks . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . 250
Local Access . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
275
After Hacking Root . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 292
What Is a Sniffer? . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 295
How Sniffers Work . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 296
Popular Sniffers . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 297
Rootkit Recovery . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 307
Summary . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
308
Part III Infrastructure Hacking
Case Study: Read It and WEP . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 312
▼ 6 Remote Connectivity and VoIP Hacking
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 315
Preparing to Dial Up . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 316
War-Dialing . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
318
Hardware . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 318
Legal Issues . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 320
Peripheral Costs . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 320
Software . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . 320
Brute-Force Scripting—The Homegrown Way
. . . . . . . . . . . . . . . . . . . .
. . . . 336
A Final Note About Brute-Force Scripting
. . . . . . . . . . . . . . . . . . . .
. . 346
PBX Hacking . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . .
348
Voicemail Hacking . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 352
Virtual Private Network (VPN) Hacking .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . 358
Basics of IPSec VPNs . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 362
Voice over IP Attacks . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 368
Attacking VoIP . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 369
Summary . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
385
▼ 7 Network Devices . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . 387
Discovery . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. 388
Detection . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . 388
Autonomous System Lookup . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 392
Normal traceroute . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 393
traceroute with ASN Information . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . 393
show ip bgp . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 394
Public Newsgroups . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 395
Service Detection . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 396
Network Vulnerability . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 401
OSI Layer 1 . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 402
OSI Layer 2 . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 404
OSI Layer 3 . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 417
Misconfi gurations . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 422
Route Protocol Hacking . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . 429
Management Protocol Hacking . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . 439
Summary . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
443
▼ 8 Wireless Hacking . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . 445
Wireless Footprinting . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . 447
Equipment . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 447
War-Driving Software . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . 453
Wireless Mapping . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 458
Wireless Scanning and Enumeration . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 462
Wireless Sniffers . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . 463
Wireless Monitoring Tools . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . 466
Identifying Wireless Network Defenses
and Countermeasures . . . . . . . . . .
470
SSID . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 471
MAC Access Control . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . 472
Gaining Access (Hacking 802.11) . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 475
SSID . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 476
MAC Access Control . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . 477
WEP . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . 478
Attacks Against the WEP Algorithm . . .
. . . . . . . . . . . . . . . . . . . .
. . . . 479
Tools That Exploit WEP Weaknesses . . .
. . . . . . . . . . . . . . . . . . . .
. . . . 480
LEAP . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . 484
WPA . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . 486
Attacks Against the WPA Algorithm . . .
. . . . . . . . . . . . . . . . . . . .
. . . . 487
Additional Resources . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 488
Summary . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
491
▼ 9 Hacking Hardware . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . 493
Physical Access: Getting in the Door . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 494
Hacking Devices . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . 501
Default Confi gurations . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 505
Owned Out of the Box . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . 505
Standard Passwords . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 505
Bluetooth . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . 506
Reverse Engineering Hardware . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 506
Mapping the Device . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 506
Sniffi ng Bus Data . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 508
Firmware Reversing . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 510
JTAG . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 513
Summary . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
514
Part
IV Application and Data Hacking
Case Study: Session Riding . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 516
▼ 10 Hacking Code . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . 519
Common Exploit Techniques . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 520
Buffer Overfl ows and Design Flaws . . .
. . . . . . . . . . . . . . . . . . . .
. . . . 520
Input Validation Attacks . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . 527
Common Countermeasures . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . 530
People: Changing the Culture . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . 530
Process: Security in the Development
Lifecycle (SDL) . . . . . . . . . . . .
532
Technology . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 539
Recommended Further Reading . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . 541
Summary . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
542
▼ 11 Web Hacking . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . 543
Web Server Hacking . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 544
Sample Files . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 546
Source Code Disclosure . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . 546
Canonicalization Attacks . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . 547
Server Extensions . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 548
Buffer Overfl ows . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 550
Web Server Vulnerability Scanners . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . 551
Web Application Hacking . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 553
Finding Vulnerable Web Apps with Google
. . . . . . . . . . . . . . . . . . . .
. 553
Web Crawling . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 555
Web Application Assessment . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . 556
Common Web Application Vulnerabilities .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . 570
Summary . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
584
▼ 12 Hacking the Internet User . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . 585
Internet Client Vulnerabilities . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . 586
A Brief History of Internet Client
Hacking . . . . . . . . . . . . . . . .
. . . . . . 586
Javascript and Active Scripting . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . 590
Cookies . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . 591
Cross-Site Scripting (XSS) . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . 592
Cross-Frame/Domain Vulnerabilities . . .
. . . . . . . . . . . . . . . . . . . .
. . . 594
SSL Attacks . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . 595
Payloads and Drop Points . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . 598
E-Mail Hacking . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . 599
Instant Messaging (IM) . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . 603
Microsoft Internet Client Exploits and
Countermeasures . . . . . . . . . 604
General Microsoft Client-Side
Countermeasures . . . . . . . . . . . .
. . . . 609
Why Not Use Non-Microsoft Clients? . . .
. . . . . . . . . . . . . . . . . . . .
. . . 614
Socio-Technical Attacks: Phishing and
Identity Theft . . . . . . . . . . . . .
. . . . . . 615
Phishing Techniques . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . 616
Annoying and Deceptive Software: Spyware,
Adware, and Spam . . . . . . . 619
Common Insertion Techniques . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . 620
Blocking, Detecting, and Cleaning
Annoying and
Deceptive Software . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . 622
Malware . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. 623
Malware Variants and Common Techniques .
. . . . . . . . . . . . . . . . . . .
623
Summary . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
635
Part V Appendixes
▼ A Ports . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . 639
▼ B Top 14 Security Vulnerabilities . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. 647
▼ C Denial of Service (DoS) and
Distributed Denial of Service (DDoS)
Attacks . . . . . . . . . 649
▼ Index . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . .
. . . . . . . 655
- List
Price: $49.99
- Ebook Language: English
- Publisher :
McGraw Hill - Authors :
STUART
MCCLURE , JOEL SCAMBRAY , GEORGE KURTZ - Premium Ebook :
720 pages with Images and Illustrations
- File: PDF

|