Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Penetration Testing and Ethical Hacking Second semester 2 0 2 3 - 2 0 2 4 ( 2 3 2 ) Homework 3 - -
Penetration Testing and Ethical Hacking
Second semester
Homework
a ARP Spoofing
In this programming assignment, you will be mimicking arpspoof command in Khali using PythonScapy library see the ARPHandsOn.pdf on the blackboard for more details
ARPSpoofing program should spoof more than one target and the router on the same time.
Hint: the ARPSpoofing should send the ARP responses of type isAt OP that will poison the ARP table of the targets and change them so that the Routers Mac address is changed to the Mac address of the attacker.
b ARP Spoofing Detectors
For the second part of the homework, you will build ARPSpoofingDetector, an ARP spoofing detector using PythonScapy. The program will use the Scapy library to listen to incoming connections, and report the presence of ARP spoofing attacks.
i ARPSpoofingDetector:You can write a program that as soon as it gets executed, it stores the value for the Mac address for the router and then keep an eye on that every seconds.
ii ARPSpoofingDetector: A better way of doing this is to look at the way our ARPSpoofing program works part a By looking at this program should give you a good idea of detecting these attacks. We can wait for IP packets of type isAt then do some kind of analysis.
c Detector Bypassing
For the third part of the homework, you should bypass the detector you built in part b
Hint: Run your script with root privileges within virtualbox environments.
Submit all your Python files as one Python file with your name and ID as a comment. Separately, in a Microsoft Word file or a pdf file, you should have annotated screenshots of your code outputs.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started