Book description
Hacking is the art of creative problem solving, whether that means finding an unconventional solution to a difficult problem or exploiting holes in sloppy programming. Many people call themselves hackers, but few have the strong technical foundation needed to really push the envelope.
Rather than merely showing how to run existing exploits, author Jon Erickson explains how arcane hacking techniques actually work. To share the art and science of hacking in a way that is accessible to everyone, Hacking: The Art of Exploitation, 2nd Edition introduces the fundamentals of C programming from a hacker's perspective.
The included LiveCD provides a complete Linux programming and debugging environment-all without modifying your current operating system. Use it to follow along with the book's examples as you fill gaps in your knowledge and explore hacking techniques on your own. Get your hands dirty debugging code, overflowing buffers, hijacking network communications, bypassing protections, exploiting cryptographic weaknesses, and perhaps even inventing new exploits. This book will teach you how to:
- Program computers using C, assembly language, and shell scripts
- Corrupt system memory to run arbitrary code using buffer overflows and format strings
- Inspect processor registers and system memory with a debugger to gain a real understanding of what is happening
- Outsmart common security measures like nonexecutable stacks and intrusion detection systems
- Gain access to a remote server using port-binding or connect-back shellcode, and alter a server's logging behavior to hide your presence
- Redirect network traffic, conceal open ports, and hijack TCP connections
- Crack encrypted wireless traffic using the FMS attack, and speed up brute-force attacks using a password probability matrix
Hackers are always pushing the boundaries, investigating the unknown, and evolving their art. Even if you don't already know how to program, Hacking: The Art of Exploitation, 2nd Edition will give you a complete picture of programming, machine architecture, network communications, and existing hacking techniques. Combine this knowledge with the included Linux environment, and all you need is your own creativity.
Publisher resources
Table of contents
-
Hacking: The Art of Exploitation, 2nd Edition
- HACKING: THE ART OF EXPLOITATION, 2ND EDITION.
- ACKNOWLEDGMENTS
- PREFACE
- 0x100. INTRODUCTION
-
0x200. PROGRAMMING
- 0x210. What Is Programming?
- 0x220. Pseudo-code
- 0x230. Control Structures
- 0x240. More Fundamental Programming Concepts
- 0x250. Getting Your Hands Dirty
- 0x260. Back to Basics
- 0x270. Memory Segmentation
- 0x280. Building on Basics
-
0x300. EXPLOITATION
- 0x310. Generalized Exploit Techniques
- 0x320. Buffer Overflows
- 0x330. Experimenting with BASH
- 0x340. Overflows in Other Segments
-
0x350. Format Strings
- 0x351. Format Parameters
- 0x352. The Format String Vulnerability
- 0x353. Reading from Arbitrary Memory Addresses
- 0x354. Writing to Arbitrary Memory Addresses
- 0x355. Direct Parameter Access
- 0x356. Using Short Writes
- 0x357. Detours with .dtors
- 0x358. Another notesearch Vulnerability
- 0x359. Overwriting the Global Offset Table
-
0x400. NETWORKING
- 0x410. OSI Model
- 0x420. Sockets
- 0x430. Peeling Back the Lower Layers
- 0x440. Network Sniffing
- 0x450. Denial of Service
- 0x460. TCP/IP Hijacking
- 0x470. Port Scanning
- 0x480. Reach Out and Hack Someone
- 0x500. SHELLCODE
-
0x600. COUNTERMEASURES
- 0x610. Countermeasures That Detect
- 0x620. System Daemons
- 0x630. Tools of the Trade
- 0x640. Log Files
- 0x650. Overlooking the Obvious
- 0x660. Advanced Camouflage
- 0x670. The Whole Infrastructure
- 0x680. Payload Smuggling
- 0x690. Buffer Restrictions
- 0x6a0. Hardening Countermeasures
- 0x6b0. Nonexecutable Stack
- 0x6c0. Randomized Stack Space
-
0x700. CRYPTOLOGY
- 0x710. Information Theory
- 0x720. Algorithmic Run Time
- 0x730. Symmetric Encryption
- 0x740. Asymmetric Encryption
- 0x750. Hybrid Ciphers
- 0x760. Password Cracking
- 0x770. Wireless 802.11b Encryption
- 0x780. WEP Attacks
- 0x800. CONCLUSION
- COLOPHON
Product information
- Title: Hacking: The Art of Exploitation, 2nd Edition
- Author(s):
- Release date: January 2008
- Publisher(s): No Starch Press
- ISBN: 9781593271442
You might also like
book
Hacking APIs
An Application Programming Interface (API) is a software connection that allows applications to communicate and share …
book
Understanding the Linux Kernel, 3rd Edition
In order to thoroughly understand what makes Linux tick and why it works so well on …
video
The Complete Ethical Hacking Course
A comprehensive course designed to cover from basic to the most advanced ethical hacking techniques using …
book
Serious Cryptography
"This practical guide to modern encryption breaks down the fundamental mathematical concepts at the heart of …