liveBook · Manning

IP spoofing

As explained in Secure APIs

IP spoofing is a technique that forges the source IP information in network packets to make traffic appear to originate from another address.

IP spoofing forges the source IP information in a packet, making traffic appear to originate from another address. Attackers use it to evade defenses that track and block request sources. section 9.3

Bypassing source-based blocking

A server may track the IP sending repeated requests and blacklist it. Spoofed packets present different origin IPs, making a DDoS attack harder to identify and block. section 9.3

Reduce exposure to spoofed traffic by:

  • Hardening managed servers: close unnecessary ports, remove unnecessary services, restrict privileged users, enforce strict firewall rules, and secure remote access. section 9.3
  • Using specialized protection against DDoS, port scanning, and other malicious traffic, then evaluating its features and integration. section 9.3
Figure 9.17 IP masking crafts TCP packets with origin IPs different from our own. This technique helps threat actors bypass anti-DoS protection measures that focus on tracking the origin IP of the requests.
figure

Shows how crafted TCP packets use origin IPs different from the sender’s own to bypass anti-DoS controls based on source tracking. section 9.3

How Secure APIs covers it

How deep it goes
Defines packet-header modification, demonstrates its defensive consequence, and stops short of implementation details.
Examples
Uses repeated requests, IP blacklisting, crafted TCP packets, and anti-DoS protection as concrete examples.
What you can do after
Operate/configure defenses by hardening servers and evaluating specialized protection for spoofed and malicious traffic.
How it connects
Connects IP spoofing with DDoS, IP masking, port scanning, firewalls, and server hardening.

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Secure APIs. The section links point to the parts of the book it draws on.