liveBook · Manning

Man-in-the-middle attack

As explained in Acing the CCNA Exam: Volume 2 Advanced Networking and Security

A man-in-the-middle attack is an attack in which an attacker secretly intercepts and relays communications between two parties, potentially altering the exchanged data.

A man-in-the-middle (MITM) attack secretly intercepts communications between two parties and relays the messages. The attacker can read the exchanged contents and alter them without either party noticing. section 11.2.1 section 11.6

A typical ARP-poisoning MITM attack proceeds as follows:

  • PC1 broadcasts an ARP request to learn R1’s MAC address, and R1 replies; both hosts learn each other’s legitimate address. section 11.2.1
  • The attacker sends malicious ARP replies to PC1 and R1, mapping both IP addresses to the attacker’s MAC address. section 11.2.1
  • PC1 and R1 then send frames to the attacker instead of directly to each other, enabling interception and possible alteration. section 11.2.1

ARP poisoning between PC1 and R1

An attacker poisons the ARP tables of PC1 and R1 so that each host associates the other’s IP address with the attacker’s MAC address. The attacker can consequently relay their frames while accessing or modifying the communication. section 11.2.1

How Acing the CCNA Exam: Volume 2 Advanced Networking and Security covers it

How deep it goes
Explains the relay behavior and traces ARP poisoning from legitimate resolution through poisoned entries to intercepted frames.
Examples
Uses PC1, R1, spoofed ARP replies, poisoned ARP entries, and attacker-controlled MAC addresses.
What you can do after
Evaluate communications for interception by recognizing how ARP poisoning redirects frames through an attacker.
How it connects
Connects man-in-the-middle attacks with ARP poisoning, ARP spoofing, spoofing attacks, and ARP tables.

Also explained in

Compare how 4 books explain man-in-the-middle attack →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Acing the CCNA Exam: Volume 2 Advanced Networking and Security. The section links point to the parts of the book it draws on.