Skip to content
BENIBIX Learn

Man-in-the-Middle Attack (MITM)

Infrastructure🔒 SecurityCyber Attacks

Also known as MITM, MITM Attack, On-Path Attack, Adversary-in-the-Middle, Machine-in-the-Middle

Someone sneaks in between two sides. They read or change what each side sends.

Think of it like

Think of it like someone who opens your mail on the way. They read it, then seal it up again.

Example

Jack joins free Wi-Fi named Cafe Guest. It is really an attacker's laptop, and every site he opens without HTTPS passes through it as plain text.

Why it matters

Both sides see nothing wrong, so the attack can run for a long time. Passwords and card numbers can be taken on the way.

Definition

In a man-in-the-middle attack, someone secretly sits between two sides. Each side thinks it is talking only to the other. Every message passes through the attacker first. The attacker can read it, change it, or pass it on untouched. It often starts on free Wi-Fi or a fake website. HTTPS stops it, because the attacker can neither read the messages nor pretend to be the other side.
In the top row, the attacker sits in the middle. Jack and the bank both think they talk only to each other.

Common mistake

Clicking past a warning in the browser. That warning may be the only sign of someone in the middle.

Key takeaways

  1. 1
    In the path. Every message goes through the attacker.
  2. 2
    Read or change. It can copy or alter what passes.
  3. 3
    Encryption stops it. Checked certificates prove who is really there.