Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: Georgia Weidman

Rating No ratings yet

Penetration testers simulate cyber attacks to find security weaknesses in networks, operating systems, and applications. Information security experts worldwide use penetration techniques to evaluate enterprise defenses. In Penetration Testing, security expert, researcher, and trainer Georgia Weidman introduces you to the core skills and techniques that every pentester needs. Using a virtual machine–based lab that includes Kali Linux and vulnerable operating systems, you’ll run through a series of practical lessons with tools like Wireshark, Nmap, and Burp Suite. As you follow along with the labs and launch attacks, you’ll experience the key stages of an actual assessment—including information gathering, finding exploitable vulnerabilities, gaining access to systems, post exploitation, and more. Learn how to: - Crack passwords and wireless network keys with brute-forcing and wordlists - Test web applications for vulnerabilities - Use the Metasploit Framework to launch exploits and write your own Metasploit modules - Automate social-engineering attacks - Bypass antivirus software - Turn access to one machine into total control of the enterprise in the post exploitation phase You’ll even explore writing your own exploits. Then it’s on to mobile hacking—Weidman’s particular area of research—with her tool, the Smartphone Pentest Framework. With its collection of hands-on lessons that cover key tools and strategies, Penetration Testing is the introduction that every aspiring hacker needs.

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A lab-driven beginner's course that takes you from building a Kali-based virtual test range to running a full simulated penetration test—reconnaissance, exploitation, post-exploitation, and even writing your own exploits. Best for aspiring pentesters and security-minded sysadmins who learn by doing rather than by reading theory. 【Book Arc】 - **Opening (~0%–12%)**: Frames the discipline—the stages of a penetration test (pre-engagement, information gathering, threat modeling, vulnerability analysis, exploitation, post-exploitation, reporting) and why structured methodology matters before any tool is touched. - **Early (~12%–32%)**: Builds the practice environment: VMware, Kali Linux, Nessus, Android emulators, and deliberately vulnerable target VMs, then grounds you in Linux command-line fundamentals, Netcat, cron, and basic Bash/Python/C scripting. - **Middle (~32%–52%)**: Introduces the Metasploit Framework (modules, options, payloads, bind vs. reverse shells) and moves into the assessment phase—information gathering, port scanning with Nmap, vulnerability scanning with Nessus and NSE, web scanning with Nikto, and traffic capture/manipulation with Wireshark, ARP/DNS spoofing, and SSL stripping. - **Late (~52%–72%)**: The attack phase proper—exploitation with Metasploit and Meterpreter, password attacks, client-side exploitation, social engineering, antivirus evasion, post-exploitation and pivoting, web application testing, and wireless attacks. - **Late (~72%–88%)**: Exploit development from the ground up—stack-based buffer overflows on Linux and Windows, structured exception handler overwrites, fuzzing, porting exploits, and packaging them as Metasploit modules. - **Ending (~88%–100%)**: Mobile hacking via the author's Smartphone Pentest Framework, closing the loop on her research specialty and pointing to further resources. 【Book Arc note】The excerpts are largely front-matter and table-of-contents material; the progression above is reconstructed from the book's stated part/chapter structure, not from deep chapter prose. 【Key Takeaways】 - **Methodology precedes tools** (Opening): The pentest is framed as a repeatable lifecycle ending in a report—useful because beginners tend to jump straight to exploits and skip scoping and documentation. - **A safe lab is the prerequisite** (Early): You build an isolated virtual range (Kali attacker plus vulnerable Windows/Android targets) so every technique can be practiced without legal or operational risk. - **Command-line fluency is non-negotiable** (Early): Linux file/permission handling, grep/sed/awk, package and process management, and Netcat shell tricks are treated as baseline skills, not optional background. - **Metasploit is the spine of the attack workflow** (Middle): Module search, option setting (RHOST/RPORT, targets), payload selection, and the bind-vs-reverse shell distinction recur throughout later chapters. - **Reconnaissance and scanning feed exploitation** (Middle): Nmap version scans, Nessus rankings, NSE scripts, and manual analysis (odd ports, default credentials, username enumeration) are shown as the bridge from "potential" to "confirmed" vulnerability. - **Traffic manipulation enables real attacks** (Middle): Wireshark capture plus ARP/DNS cache poisoning and SSL stripping demonstrate man-in-the-middle techniques that underpin later client-side and credential attacks. - **Post-exploitation is where a single foothold becomes enterprise control** (Late): Password attacks, client-side exploitation, social engineering, AV bypass, and pivoting are chained to show escalation beyond the first machine. - **Exploit development is taught, not just used** (Late): Linux and Windows stack overflows, SEH overwrites, fuzzing, and Metasploit module writing turn you from tool consumer into tool creator. 【Reading Tips】 - **Do the labs in order.** The book is explicitly hands-on; skimming the setup chapters will leave later exercises unrunnable. Budget real time for the VM build. - **Deep-read Parts II–III** (assessment and attacks) if you want day-one job skills; treat Part IV (exploit development) as a slower, optional deep dive requiring C and assembly comfort. - **Skim the Linux/programming primer** if you already have command-line and scripting experience—but verify you can do the Netcat and scripting exercises before moving on. - **Keep a lab notebook.** Since the book emphasizes reporting as a pentest stage, practice writing up each finding as you go. - **Mind the vintage.** The tooling and target OSes reflect the book's era; expect to adapt commands and versions to current Kali and Metasploit. 【Coverage Limits】 This guide is built from the book's front matter, table of contents, and limited excerpts; detailed chapter content, specific lab walkthroughs, and any later-edition changes are not covered here.
Page 6
g. Copyright © 2014 by Georgia Weidman. All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or...
View in text
Page 9
. . . . . . . 4 Reporting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Summary . . . . . . . . . . . ....
View in text
Page 12
rk Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69 Netcat: The Swiss Army Knife of TCP/IP Connections . . . . . . . . . ....
View in text
Page 14
. . . . . . . . . . . . . . . . . . . . 148 Nikto . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 A...
View in text
Page 16
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210 Cracking Linux Passwords . . . . . . . . . . . . . . . . . . . . . . . . ....
View in text
Page 17
. . . . . . . . . 305 Metasploit Port Scanners . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306 Running an Exploit through a Piv...
View in text
Page 19
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 378 17 a staCk-Based BuFFer oVerFLow in windows 379 Searching for a Known Vulnerability in War-FT...
View in text
Page 20
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 458 Creating Malicious SPF Agents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ....
View in text
Tags
AI categories
CybersecurityProgrammingTechnology
ISBN: 1593275641
Publisher: No Starch Press
Publish Year: 2014
Language: English
Pages: 528
File Format: PDF
File Size: 11.7 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…