SY0-501 · Question #345
A security administrator wants to implement a logon script that will prevent MITM attacks on the local LAN. Which of the following commands should the security administrator implement within the…
The correct answer is A. arp - s 192.168.1.1 00-3a-d1-fa-b1-06. To prevent MITM attacks like ARP spoofing on a local LAN, the security administrator should use the arp -s command to create a static entry in the ARP cache, which maps an IP address to its correct MAC address.
Question
A security administrator wants to implement a logon script that will prevent MITM attacks on the local LAN. Which of the following commands should the security administrator implement within the script to accomplish this task?
Options
- Aarp - s 192.168.1.1 00-3a-d1-fa-b1-06
- Bdig - [email protected] mypc.comptia.com
- Cnmap - A - T4 192.168.1.1
- Dtcpdump - lnv host 192.168.1.1 or either 00:3a:d1:fa:b1:06
How the community answered
(30 responses)- A77% (23)
- B3% (1)
- C7% (2)
- D13% (4)
Why each option
To prevent MITM attacks like ARP spoofing on a local LAN, the security administrator should use the `arp -s` command to create a static entry in the ARP cache, which maps an IP address to its correct MAC address.
The `arp -s` command adds a static entry to the Address Resolution Protocol (ARP) cache, permanently associating the IP address (192.168.1.1) with its legitimate MAC address (00-3a-d1-fa-b1-06). This static mapping prevents an attacker from injecting false ARP entries into the local cache, thereby mitigating ARP spoofing, a common mechanism for Man-in-the-Middle (MITM) attacks on a LAN.
The `dig` command is a DNS lookup utility used for querying domain name servers and does not provide any functionality to prevent MITM attacks on the local network.
The `nmap` command is a network scanner used for discovery and security auditing, but it does not actively configure network settings or security mechanisms to prevent MITM attacks.
The `tcpdump` command is a packet sniffer used for monitoring network traffic, which can help detect anomalies but does not prevent MITM attacks from occurring.
Concept tested: Static ARP entry configuration for MITM prevention
Source: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/arp
Topics
Community Discussion
No community discussion yet for this question.