Question: Please code this using Python In this problem, you will write a simple intrusion detection system to detect potential attacks or dangerous behavior in network

Please code this using Python
 Please code this using Python In this problem, you will write
a simple intrusion detection system to detect potential attacks or dangerous behavior

In this problem, you will write a simple intrusion detection system to detect potential attacks or dangerous behavior in network activity. Attached includes two pcaps with example attacks: 1. arpspoofing.pcap includes an ARP spoof attack. IP address 192.168.0.100 advertises the wrong MAC address for 192.168.0.1 2. portscan.pcap includes a TCP SYN port scan (This is for CSc 6222 only) Your job is to write a software IDS executable (in Java) or script (in Python) that takes as input a pcap trace and looks for such malicious behavior. The local network you are protecting is configured with two machines (192.168.0.100 with MAC address 7c.d1:c3:94:9e:b8 and 192.168.0.103 with MAC address d8:96.95:01 a5:c9) and a router (192.168.0.1 with MAC address f8:1a:67:cd:576e) Your scanner should: 1. Detect ARP spoofing attempts. Output a warning including the offending MAC address and the packet number of the offending packet. 2. Detect port scans. A port scan is defined to occur whenever TCP SYNs or UDP packets are sent to a 100 or more different ports on a target system. The scanner should output a warning including the offending source IP address, the victim destination IP address, and the offending packet numbers. Your program should take as input the filename of a pcap file that contains captured network packets. The output of your program will be the warning messages as described above. The format of your result is free but it should be

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!