Nmap, or Network Mapper, is a free, open source tool that is available under the GNU General Public License as published by the Free Software Foundation. It is most often used by network administrators and IT security professionals to scan corporate networks, looking for live hosts, specific services, or specific operating systems. Part of the beauty of Nmap is its ability to create IP packets from scratch and send them out utilizing unique methodologies to perform the above-mentioned types of scans and more. This book provides comprehensive coverage of all Nmap features, including detailed, real-world case studies.
- Understand Network Scanning: Master networking and protocol fundamentals, network scanning techniques, common network scanning tools, along with network scanning and policies.
- Get Inside Nmap: Use Nmap in the enterprise, secure Nmap, optimize Nmap, and master advanced Nmap scanning techniques.
- Install, Configure, and Optimize Nmap: Deploy Nmap on Windows, Linux, Mac OS X, and install from source.
- Take Control of Nmap with the Zenmap GUI: Run Zenmap, manage Zenmap scans, build commands with the Zenmap command wizard, manage Zenmap profiles, and manage Zenmap results.
- Run Nmap in the Enterprise: Start Nmap scanning, discover hosts, port scan, detecting operating systems, and detect service and application versions
- Raise those Fingerprints: Understand the mechanics of Nmap OS fingerprinting, Nmap OS fingerprint scan as an administrative tool, and detect and evade the OS fingerprint scan.
- "Tool around with Nmap: Learn about Nmap add-on and helper tools: NDiff--Nmap diff, RNmap--Remote Nmap, Bilbo, Nmap-parser.
- Analyze Real-World Nmap Scans: Follow along with the authors to analyze real-world Nmap scans.
- Master Advanced Nmap Scanning Techniques: Torque Nmap for TCP scan flags customization, packet fragmentation, IP and MAC address spoofing, adding decoy scan source IP addresses, add random data to sent packets, manipulate time-to-live fields, and send packets with bogus TCP or UDP checksums.
Inhaltsverzeichnis
1;Front Cover;1 2;Nmap in the Enterprise Your Guide to Network Scanning;2 3;Copyright Page;4 4;Authors;6 5;Technical Editor;8 6;Contents;10 7;Chapter 1: Introducing Network Scanning;15 7.1;Introduction;16 7.2;What is Network Scanning?;16 7.3;Networking and Protocol Fundamentals;17 7.3.1;Explaining Ethernet;18 7.3.2;Understanding the Open Systems Interconnection Model;19 7.3.2.1;Layer 1: Physical;21 7.3.2.2;Layer 2: Data Link;21 7.3.2.3;Layer 3: Network;22 7.3.2.4;Layer 4: Transport;23 7.3.2.5;Layer 5: Session;26 7.3.2.6;Layer 6: Presentation;27 7.3.2.7;Layer 7: Application;27 7.3.3;Carrier Sense Multiple Access/Collision Detection (CSMA/CD);28 7.3.4;The Major Protocols: IP, TCP, UDP, and ICMP;29 7.3.4.1;IP;29 7.3.4.2;Internet Control Message Protocol;31 7.3.4.3;TCP;31 7.3.4.3.1;The TCP Handshake;31 7.3.4.3.2;TCP Sequence;32 7.3.4.4;UDP;32 7.4;Network Scanning Techniques;32 7.4.1;Host Discovery;32 7.4.2;Port and Service Scanning;34 7.4.3;OS Detection;35 7.4.4;Optimization;35 7.4.5;Evasion and Spoofing;36 7.5;Common Network Scanning Tools;37 7.6;Who Uses Network Scanning?;37 7.7;Detecting and Protecting;40 7.8;Network Scanning and Policy;40 7.9;Summary;42 7.10;Solutions Fast Track;42 7.11;Frequently Asked Questions;45 8;Chapter 2: Introducing Nmap;47 8.1;Introduction;48 8.2;What is Nmap?;48 8.2.1;History of Nmap;48 8.2.2;Nmap Features;51 8.2.3;Nmap's User Interface;52 8.2.4;Additional Nmap Resources;54 8.3;Using Nmap in the Enterprise;56 8.3.1;Using Nmap for Compliance Testing;57 8.3.2;Using Nmap for Inventory and Asset Management;60 8.3.3;Using Nmap for Security Auditing;66 8.3.4;Using Nmap for System Administration;67 8.4;Securing Nmap;67 8.4.1;Executable and End-User Requirements;67 8.4.2;System Environment;68 8.4.3;Security of scan results;69 8.5;Optimizing Nmap;70 8.6;Advanced Nmap Scanning Techniques;71 8.7;Summary;74 8.8;Solutions Fast Track;74 8.9;Frequently Asked Questions;76 9;Chapter 3: Getting and Installing Nmap;77 9.1;Introduction;78 9.2;Getting Nmap;79
9.2.1;Platforms and System Requirements;81 9.3;Installing Nmap on Windows;82 9.3.1;Installing Nmap from Windows Self-Installer;83 9.3.2;Installing Nmap from the Command-line Zip files;85 9.4;Installing Nmap on Linux;86 9.4.1;Installing Nmap from the RPMs;86 9.4.2;Installing Nmap RPMs Using YUM;88 9.5;Installing Nmap on Mac OS X;89 9.5.1;Installing Nmap on Mac OS X from Source;89 9.5.2;Installing Nmap on Mac OS X Using MacPorts;91 9.5.3;Installing Nmap on Mac OS X Using Fink;92 9.6;Installing Nmap from Source;93 9.6.1;Using the configure Script;95 9.7;Summary;97 9.8;Solutions Fast Track;97 9.9;Frequently Asked Questions;99 10;Chapter 4: Using Nmap;101 10.1;Introduction;102 10.2;Starting Nmap Scanning;102 10.2.1;Target Specification;107 10.3;Discovering Hosts;109 10.4;Port Scanning;113 10.4.1;Basic Port Scanning;114 10.4.2;Advanced Port Scanning;117 10.4.3;Specifying Ports;119 10.5;Detecting Operating Systems;124 10.6;Detecting Service and Application Versions;125 10.7;Other Scanning Options;129 10.7.1;Nmap Scripting Engine;130 10.7.2;Performance and Optimization;132 10.7.3;Evasion and Spoofing;135 10.7.4;Output Logging;139 10.7.5;Miscellaneous;145 10.8;Summary;147 10.9;Solutions Fast Track;147 10.10;Frequently Asked Questions;150 11;Chapter 5: Using Zenmap;151 11.1;Introduction;152 11.2;Running Zenmap;152 11.3;Managing Zenmap Scans;162 11.4;Building Commands with the Zenmap Command Wizard;163 11.5;Managing Zenmap Profiles;165 11.6;Managing Zenmap Results;167 11.7;Summary;171 11.8;Solutions Fast Track;171 11.9;Frequently Asked Questions;173 12;Chapter 6: Nmap OS Fingerprinting;175 12.1;Introduction;176 12.2;What is OS fingerprinting?;176 12.3;The Mechanics of Nmap OS Fingerprinting;177 12.4;Nmap OS Fingerprint Scan as an Administrative Tool;181 12.4.1;Nmap to the Rescue! Tool for Crisis?;188 12.4.2;Saving Hard Money with the Nmap OSFS;189 12.4.3;Security Audits and Inventory;189 12.4.4;H4x0rz, Tigers and Bears...Oh MY!;190 12.5;Detecting and Evading the OS Fingerprint
Scan;191 12.5.1;Morph and IP Personality;191 12.5.2;Honey Pots;192 12.6;Summary;193 12.7;Solutions Fast Track;194 12.8;Frequently Asked Questions;196 13;Chapter 7: Tooling Around with Nmap;199 13.1;Introduction;200 13.2;NDiff-Nmap Diff;200 13.2.1;Source and Install;201 13.2.2;Example Usage;202 13.3;RNmap-Remote Nmap;204 13.3.1;Source and Install;204 13.3.2;Example Usage;207 13.4;Bilbo;208 13.4.1;Source and Install;208 13.4.2;Example Usage;210 13.5;Nmap-Parser;214 13.5.1;Source and Install;214 13.5.2;Example Usage;217 13.6;Summary;221 13.7;Solutions Fast Track;221 13.8;Frequently Asked Questions;223 14;Chapter 8: Nmap Scanning in the Real World;225 14.1;Introduction;226 14.2;Detecting Nmap on your Network;226 14.2.1;TCP Connect Scan;226 14.2.2;SYN Scan;231 14.2.3;XMAS Scan;233 14.2.4;Null Scan;234 14.3;Discovering Stealthy Scanning Techniques;235 14.3.1;Nmap Fragment Scan;237 14.3.2;Nmap Decoys;238 14.3.3;Detecting Nmap Fragment Scans;239 14.4;Discovering Unauthorized Applications and Services;241 14.5;Testing Incident Response and Managed Services Alerting;244 14.5.1;Scanning to Test Alert Procedures;244 14.5.2;Targeted Reconnaissance with Nmap;245 14.6;Summary;251 14.7;Solutions Fast Track;252 14.8;Frequently Asked Questions;254 15;Index;255