10.08.2015 Views

Packet generation and network based attacks with Scapy - SecDev.org

Packet generation and network based attacks with Scapy - SecDev.org

Packet generation and network based attacks with Scapy - SecDev.org

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Introduction<strong>Scapy</strong>Network discovery <strong>and</strong> <strong>attacks</strong>One shotsScanningTTL tricksNAT leaksWe’ve found a DNAT. How to find the real destination ?Some NAT programs have the following bug :they NAT the packetthey decrement the TTLif the TTL expired, send an ICMP message <strong>with</strong> the packet asa citation=⇒ ohoh, they f<strong>org</strong>ot to unNAT the citation !Side effectsthe citation does not match the request=⇒ (real) stateful firewalls don’t recognize the ICMP message <strong>and</strong>drop it=⇒ traceroute <strong>and</strong> programs that play <strong>with</strong> TTL don’t see it eitherPhilippe BIONDI<strong>Packet</strong> <strong>generation</strong> <strong>and</strong> <strong>network</strong> <strong>based</strong> <strong>attacks</strong> <strong>with</strong> <strong>Scapy</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!