liveBook · Manning

Man-in-the-middle attack

Also called MITM attack

A man-in-the-middle attack is a network attack in which an adversary intercepts, relays, impersonates, or alters communication between parties.

How 5 Manning books explain it

Real-World Cryptography

A man-in-the-middle attack is an active attack in which an adversary intercepts and alters communication between two parties while impersonating each party to the other.

How it is used
Explains how active interception defeats unauthenticated key exchange and threatens browser, web, and device-pairing communications.
How deep it goes
Works through public-key substitution and defenses, stopping short of implementation-level transport details.
Examples
Uses Alice-and-Bob key substitution, browser HTTPS traffic, and Bluetooth phone-to-car pairing to illustrate interception and verification.
What you can do after
Diagnose/debug with it by distinguishing passive observation from active key substitution and checking authentication or SAS verification.

Read how Real-World Cryptography explains man-in-the-middle attack →

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.

How it is used
Classifies attacks that intercept and potentially alter communications between two parties.
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.

Read how Acing the CCNA Exam: Volume 2 Advanced Networking and Security explains man-in-the-middle attack →

Fundamentals of Cybersecurity

An on-path attack, also called a man-in-the-middle attack, is a network attack in which an adversary positions themselves between communicating parties to intercept or alter exchanged information.

How it is used
Explains how attackers intercept or alter network communications to threaten confidentiality and integrity.
How deep it goes
Distinguishes passive and active interception, gives a banking scenario, and connects replay prevention to authentication mechanisms.
Examples
Uses an intercepted bank website connection, stolen credentials, altered transactions, injected payloads, and replayed authentication requests.
What you can do after
Apply HTTPS, TLS, VPNs, and replay-resistant authentication mechanisms to protect communications from interception and reuse.

Read how Fundamentals of Cybersecurity explains man-in-the-middle attack →

Grokking Web Application Security

A monster-in-the-middle attack is an attack in which an adversary positions itself between communicating parties to observe or manipulate their traffic.

How it is used
Frames network traffic interception as a risk HTTPS must prevent for web applications.
How deep it goes
Explains ARP spoofing and hostile hotspots, then gives HTTPS, HSTS, TLS, and certificate-handling defenses.
Examples
Uses phony ARP packets on Wi-Fi or corporate networks and an attacker-operated Wi-Fi hotspot.
What you can do after
Operate/configure HTTPS, HSTS, TLS requirements, certificates, and key access controls to resist traffic interception.

Read how Grokking Web Application Security explains man-in-the-middle attack →

Software Security for Developers

A man-in-the-middle attack is an attack in which an adversary intercepts and potentially alters communication between two parties while impersonating each party to the other.

How it is used
Uses MITM attacks to motivate TLS protection against eavesdropping, tampering, and impersonation.
How deep it goes
Explains interception, router impersonation, encryption, signatures, and certificate checks, but does not detail attack implementation.
Examples
Uses public Wi-Fi, compromised routers, DNS paths, and Cain & Abel impersonating a classroom router.
What you can do after
Evaluate whether TLS prevents intercepted traffic from being read, modified, or redirected to an impostor.

Read how Software Security for Developers explains man-in-the-middle attack →

Also covered in

What to know first

Related concepts

Questions about man-in-the-middle attack

What is man-in-the-middle attack?

A man-in-the-middle attack is a network attack in which an adversary intercepts, relays, impersonates, or alters communication between parties.

Which Manning books explain man-in-the-middle attack?

Real-World Cryptography, Acing the CCNA Exam: Volume 2 Advanced Networking and Security, Fundamentals of Cybersecurity, Grokking Web Application Security and Software Security for Developers.

What should I know before learning man-in-the-middle attack?

Manning books that teach man-in-the-middle attack usually introduce certificate authority, HTTPS and TLS first.

What kinds of man-in-the-middle attack are there?

Kinds of man-in-the-middle attack include active on-path attack and passive on-path attack.

What is man-in-the-middle attack a kind of?

Man-in-the-middle attack is a kind of cyberattack. A cyberattack is an intentional attempt to gain unauthorized access to, compromise, disrupt, damage, or misuse digital systems, networks, or data.

What is man-in-the-middle attack also called?

Man-in-the-middle attack is also called MITM attack.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.