ARP/MAC attacksSubtask 1Scapy is a popular python package that allows you to read and create packets. Use scapyto design a simple program to detect a possible arp attack. One design would be to run...

1 answer below »
ARP/MAC attacks Subtask 1 Scapy is a popular python package that allows you to read and create packets. Use scapy to design a simple program to detect a possible arp attack. One design would be to run the program, detect and store MAC<->IP mappings, and alert the user if there are any changes. You are free to examine other implementations on the internet, but if you do, reference them. You should submit the following. 1. A short python script that detects any changes in the ARP mapping, with a brief explanation of the code. 2. A screenshot showing your program successfully detecting a change to the ARP tables while an ARP attack is in progress. Your code must 1. Create a Python dictionary containing an ARP table 2. Detect when there is a change in the value of the dictionary, indicating a possible attack Below is some code to help you start. Listing 1: Code Skeleton 1 from scapy.all import * 2 pkts = rdpcap('capture.pcap') %Can also do a live capture 3 4 5 for p in pkts: 6 if p.haslayer(ARP): 7 %Do stuff

Answered Same DayAug 21, 2022

Answer To: ARP/MAC attacksSubtask 1Scapy is a popular python package that allows you to read and create...

Aditi answered on Aug 22 2022
70 Votes
ASSIGNMENT
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here