Question: N 2 . 2 1 Machines A , B , and M are on the same LAN, and their IP addresses and MAC addresses are

N2.21 Machines A, B, and M are on the same LAN, and their IP addresses and MAC addresses are listed below.
As IP: 10.9.0.5
Bs IP: 10.9.0.6
Ms IP: 10.9.0.9
As MAC address: aa:bb:cc:dd:ee:05
Bs MAC address: aa:bb:cc:dd:ee:06
Ms MAC address: aa:bb:cc:dd:ee:09
The attacker on M wants to use the ARP cache poisoning to launch the MITM (Man-InThe-Middle) attack against A and B, i.e., intercepting the communication between A and B. To achieve this goal, the attacker wants to use the following program to send spoofed ARP requests. Please complete the code.
# Constructing spoofed ARP request to Host A
ether1= Ether(dst =_______________________)
arp1= ARP(op=1)
arp1.psrc =___________________ # An IP address
arp1.hwsrc =___________________ # An Ethernet address
arp1.pdst =___________________ # An IP address
sendp(__________________)
# Constructing spoofed ARP request to Host B
ether2= Ether(dst =_______________________)
arp2= ARP(op=1)
arp2.psrc =___________________
arp2.hwsrc =___________________
arp2.pdst =___________________
sendp(_________________)

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!