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.

Answering machinesIntroduction<strong>Scapy</strong>Network discovery <strong>and</strong> <strong>attacks</strong>GenesisConceptsQuick overviewAn answering machine enables you to quickly design astimulus/response daemonAlready implemented: fake DNS server, ARP spoofer, DHCPdaemon, FakeARPd, Airpwn cloneInterface descriptionclass Demo_am(AnsweringMachine):function_name = "demo"filter = "a bpf filter if needed"def parse_options(self, ...):....def is_request(self, req):.... return 1 if req is a requestdef make_reply(self, req):.... return the reply for reqPhilippe 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!