Course contentsShow
← Security
Lesson 370 of 3,0528. Network Security - ReconnaissanceFree lesson

Decoy Scanning and IP Spoofing

Generate decoy traffic and spoof source addresses to obscure the true origin of reconnaissance activities.

Decoy Scanning and IP Spoofing

What You'll Learn

You'll learn how attackers hide their reconnaissance activities by mixing their scans with fake traffic from spoofed IP addresses.

Why Hide Your Tracks?

When you scan a network, your real IP address appears in every packet you send. Defenders monitor logs for suspicious scanning activity and can easily trace it back to you. Decoy scanning solves this by sending the same probes from multiple fake IP addresses simultaneously, burying your real address in a crowd.

Think of it like a police lineup where the suspect (your real IP) stands among several look-alikes (decoy IPs). The defender sees multiple sources scanning their network at once and can't easily tell which one is real—or if they're all coordinated.

How It Works

IP spoofing means forging the source address in a packet header to make it appear from a different IP. When combined with scanning, your tool sends probe packets that look like they're coming from both your real IP and several decoy addresses.

For example, if you're at 10.0.0.50 and use decoys 192.168.1.10 and 172.16.0.5, the target sees scan packets from all three addresses. Your actual responses come back to 10.0.0.50, but logs show activity from three different sources, making attribution harder.

Important Limitations

This technique works best when:

  • The network path allows spoofed packets (many ISPs and firewalls block them)
  • You only need information from probes you send, not full TCP connections (since replies to spoofed addresses won't reach you)
  • The decoy IPs are realistic and won't immediately raise suspicion

Key Takeaway: Decoy scanning uses IP spoofing to hide your real address among fake sources, making it harder for defenders to identify the true attacker—though limitations like packet filtering and stateful connections reduce its effectiveness against modern defenses.