Stealth Scanning Fundamentals
What you'll learn: How to reduce the chance of being detected during network reconnaissance and understand the trade-offs between staying hidden and gathering thorough information.
What is Stealth Scanning?
Stealth scanning is the practice of performing reconnaissance while minimizing your footprint on the target network. Think of it like being a burglar casing a house: you can either rattle every door and window loudly (fast but obvious), or carefully peek through curtains from a distance (slower but less noticeable).
When you scan a network, you generate traffic patterns that firewalls, intrusion detection systems (IDS), and logging systems can detect. Stealth techniques aim to make your reconnaissance blend into normal network noise or appear innocuous.
The Core Trade-Off
Speed vs. Detection: Aggressive scans are fast and comprehensive but scream "I'm here!" Stealthy scans are slow and careful but might miss information or take hours longer.
For example:
- A SYN scan (half-open) is stealthier than a TCP connect scan because it doesn't complete the handshake
- Scanning one port at a time over hours is stealthier than blasting all 65,535 ports in 60 seconds
- Using timing delays between probes avoids triggering rate-limit alarms
Common Stealth Principles
- Slow down timing - Spread requests over time to avoid pattern detection
- Fragment packets - Break up scan signatures that IDS systems recognize
- Spoof or randomize - Make scans look like they come from different sources
- Limit scope - Target only necessary ports/hosts
- Use passive methods first - Leverage OSINT before touching the network
Key Takeaway: Stealth scanning is about balancing thoroughness with invisibility—the quieter you are, the longer it takes, but the less likely defenders will notice you.