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>IP protocol scan <strong>with</strong> fixed TTLOne shotsScanningTTL tricksSend IP packets <strong>with</strong> every possible value in the protocol field<strong>and</strong> a well chosen TTLProtocol not filtered by the router =⇒ ICMP time exceededin transitSending packetsres,unans = sr( IP(dst="target", proto=(0,255),ttl=7)/"XX",retry=-2 )Possible result interpretation: filtered protocolsunans.nsummary(prn=lambda s:s.proto)Philippe 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!