Capturing Packets and Decrypting Traffic with Kismet
Wireshark at a Glance
Using Wireshark
AirDefense Mobile I was a founding employee of AirDefense, Inc. I wrote a considerable portion of AirDefense Mobile's core engine, and while
I no longer work for AirDefense, Inc., I remain a shareholder.
AirMagnet Analyzers
Other Wardriving Tools
Chapter 6 Custom Packet Generation
Why Create Custom Packets?
Scapy
Packet-Crafting Examples with Scapy
Packet Mangling with Netfilter
References
Legal and Ethics
Chapter 7 Metasploit
Metasploit Interfaces
Updating Metasploit
Choosing an Exploit
Choosing a Payload
Setting Options
Running an Exploit
Managing Sessions and Jobs
The Meterpreter
Security Device Evasion
Sample Evasion Output
Evasion Using NOPs and Encoders
In Conclusion
Chapter 8 Wireless Penetration
WEP and WPA Encryption
Aircrack
Installing Aircrack-ng
Running Aircrack-ng
Airpwn
Basic Airpwn Usage
Airpwn Configuration Files
Using Airpwn on WEP-Encrypted Networks
Scripting with Airpwn
Karma
Conclusion
Chapter 9 Exploitation Framework Applications
Task Overview
Core Impact Overview
Network Reconnaissance with Core Impact
Core Impact Exploit Search Engine
Running an Exploit
Running Macros
Bouncing Off an Installed Agent
Enabling an Agent to Survive a Reboot
Mass Scale Exploitation
Writing Modules for Core Impact
The Canvas Exploit Framework
Porting Exploits Within Canvas
Using Canvas from the Command Line
Digging Deeper with Canvas
Advanced Exploitation with MOSDEF
Writing Exploits for Canvas
Exploiting Alternative Tools
Chapter 10 Custom Exploitation
Understanding Vulnerabilities
Analyzing Shellcode
Testing Shellcode
Creating Shellcode
Disguising Shellcode
Execution Flow Hijacking
References
Control
Chapter 11 Backdoors
Choosing a Backdoor
VNC
Creating and Packaging a VNC Backdoor
Connecting to and Removing the VNC Backdoor
Back Orifice 2000
Configuring a BO2k Server
Configuring a BO2k Client
Adding New Servers to the BO2k Workspace
Using the BO2k Backdoor
BO2k Powertools
Encryption for BO2k Communications
Concealing the BO2k Protocol
Removing BO2k
A Few Unix Backdoors
Chapter 12 Rootkits
Windows Rootkit: Hacker Defender
Linux Rootkit: Adore-ng
Detecting Rootkits Techniques
Windows Rootkit Detectors
Linux Rootkit Detectors
Cleaning an Infected System
The Future of Rootkits
Defense
Chapter 13 Proactive Defense: Firewalls
Firewall Basics
Network Address Translation
Securing BSD Systems with ipfw/natd
Securing GNU/Linux Systems with netfilter/iptables
Securing Windows Systems with Windows Firewall/Internet Connection Sharing
Verifying Your Coverage
Chapter 14 Host Hardening
Controlling Services
Turning Off What You Do Not Need
Limiting Access
Limiting Damage
Bastille Linux
SELinux
Password Cracking
Chrooting
Sandboxing with OS Virtualization
Chapter 15 Securing Communications
The SSH-2 Protocol
SSH Configuration
SSH Authentication
SSH Shortcomings
SSH Troubleshooting
Remote File Access with SSH
SSH Advanced Use
Using SSH Under Windows
File and Email Signing and Encryption
GPG
Create Your GPG Keys
Encryption and Signature with GPG
PGP Versus GPG Compatibility
Encryption and Signature with S/MIME
Stunnel
Disk Encryption
Windows Filesystem Encryption with PGP Disk
Linux Filesystem Encryption with LUKS
Conclusion
Chapter 16 Email Security and Anti-Spam
Norton Antivirus
The ClamAV Project
ClamWin
Freshclam
Clamscan
clamd and clamdscan
ClamAV Virus Signatures
Procmail
Basic Procmail Rules
Advanced Procmail Rules
ClamAV with Procmail
Unsolicited Email
Spam Filtering with Bayesian Filters
SpamAssassin
SpamAssassin Rules
Plug-ins for SpamAssassin
SpamAssassin with Procmail
Anti-Phishing Tools
Conclusion
Chapter 17 Device Security Testing
Replay Traffic with Tcpreplay
Traffic IQ Pro
ISIC Suite
Protos
Monitoring
Chapter 18 Network Capture
tcpdump
Ethereal/Wireshark
pcap Utilities: tcpflow and Netdude
Python/Scapy Script Fixes Checksums
Conclusion
Chapter 19 Network Monitoring
Snort
Implementing Snort
Honeypot Monitoring
Gluing the Stuff Together
Chapter 20 Host Monitoring
Using File Integrity Checkers
File Integrity Hashing
The Do-It-Yourself Way with rpmverify
Comparing File Integrity Checkers
Prepping the Environment for Samhain and Tripwire
Database Initialization with Samhain and Tripwire
Securing the Baseline Storage with Samhain and Tripwire
Running Filesystem Checks with Samhain and Tripwire
Managing File Changes and Updating Storage Database with Samhain and Tripwire
Recognizing Malicious Activity with Samhain and Tripwire
Log Monitoring with Logwatch
Improving Logwatch's Filters
Host Monitoring in Large Environments with Prelude-IDS