Security operations

Man-in-the-Middle Attack Example: 7 Real Cases and How They Work

A man-in-the-middle attack is invisible by design: you think you are talking to your bank, but you are talking to the attacker. These real cases show how it happens.

Cysoro Security TeamPublished · 9 min read
SECURITY OPERATIONSMan-in-the-middle attack7 real examples, explained?YouWebsiteAttacker
Quick answer

A man-in-the-middle attack happens when an attacker secretly sits between two parties, such as you and a website, and relays, reads or changes their messages. Common examples include evil twin Wi-Fi hotspots, ARP spoofing on a local network, DNS spoofing, SSL stripping and email hijacking, where the attacker alters payment details in a real conversation.

Key takeaways

  • A man-in-the-middle attacker relays your traffic, so everything looks normal while your data is read or changed.
  • Public Wi-Fi, unpatched routers and email payment threads are the most common entry points.
  • HTTPS, HSTS, certificate pinning and out-of-band verification are the defenses that actually break the attack.

You type your bank's address, the page loads, the padlock shows, and you log in. Nothing looks wrong. But between you and the bank, someone else is reading every message — and changing some of them. That is a man-in-the-middle attack, and it is invisible by design.

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

A man-in-the-middle attack, often shortened to MITM, happens when an attacker secretly positions themselves between two parties who are communicating, then relays, reads or alters their messages. Both sides believe they are talking directly to each other.

The classic image is Alice talking to Barbara while Nancy relays the call, as described in the Acunetix explainer. Nancy learns the language, imitates both voices and passes messages along, so neither side suspects a third person is present.

In IT, the two parties are usually your device and a server: a website, an app, an email server or a payment service. The attacker's goals are usually to steal personal data or login credentials, or to change transmitted content, such as swapping a bank account number on a payment.

How does a man-in-the-middle attack work?

Every man-in-the-middle attack has three stages: get in the middle, stay invisible, and then read or change the traffic. The attacker first intercepts the connection, then relays it so the victim notices nothing.

How a man-in-the-middle attack worksYoulaptop or phoneAttackerreads and changestraffic in transitReal websitebank, email or shopYou think you are talking to the website. The website thinks it is talking to you.Encryption breaks this only if certificates are checked and warnings are heeded.
The attacker relays traffic so both sides believe the connection is direct. Illustration by Cysoro.

To get in the middle, attackers use ARP spoofing, DNS spoofing, fake Wi-Fi hotspots, compromised routers or malware on the victim's device. To stay invisible, they forward traffic promptly and copy the real site's responses. To profit, they harvest credentials, session cookies and card numbers, or alter payment instructions.

Encryption alone is not enough if the attacker can defeat it. Techniques such as SSL stripping, SSL hijacking and HTTPS spoofing all aim at the trust layer around encryption, not at the encryption itself.

What are the main types of man-in-the-middle attack?

The main types are evil twin Wi-Fi, ARP spoofing, DNS spoofing, IP spoofing, SSL stripping, SSL hijacking, HTTPS spoofing and email hijacking. Each one gets the attacker into the middle by a different route.

TypeHow the attacker gets in the middleWhat it lets them doWhere it happens
Evil twin Wi-FiFake hotspot with a trusted nameRead unencrypted traffic, steal loginsAirports, hotels, cafes
ARP spoofingFalse ARP replies on a local networkRedirect local traffic through their deviceOffice or home LAN
DNS spoofingPoisoned DNS cache returns a wrong IPSend victims to a fake siteAny network with a vulnerable resolver
IP spoofingForged source address plus sequence predictionIntercept a TCP sessionLocal networks
SSL strippingDowngrades HTTPS to HTTPRead traffic the user thought was encryptedPublic Wi-Fi, compromised networks
SSL hijackingAttacker certificate installed on the deviceDecrypt and re-encrypt HTTPS trafficCompromised devices
HTTPS spoofingLook-alike domain with a real certificateRelay logins to the real siteEmail links, search results
Email hijackingAccess to a mailbox in a payment threadChange bank details on real invoicesBusiness email

ARP spoofing, step by step

ARP translates an IP address to a device's physical MAC address on a local network. In ARP spoofing, the attacker sends false ARP packets claiming the router's IP address belongs to their device.

Your laptop then sends its internet traffic to the attacker, who forwards it to the real router so everything still works. The classic example uses a router at 192.168.0.1: the attacker tells the network that address lives at their MAC address instead, and the traffic flows through them.

DNS spoofing, step by step

DNS translates names such as example.com into IP addresses. In DNS spoofing, the attacker injects a fake entry into a DNS cache, so everyone using that resolver gets the wrong address for a real site.

When you type the site's name, you reach the attacker's server instead. The attacker then connects to the real site to complete the attack, relaying your login and other details in between.

SSL stripping and SSL hijacking

SSL stripping transparently removes encryption: the attacker keeps an HTTPS connection to the real site but serves you an HTTP version, so your traffic is readable. SSL hijacking goes further by generating certificates for the sites you visit and presenting them to your browser.

Your browser only trusts certificates signed by a trusted certificate authority, so SSL hijacking needs the attacker's certificate authority installed on your device first. That is usually done through malware or a pre-installed program, which is what made the Superfish case below so serious.

Example 1: the evil twin Wi-Fi hotspot

A traveler in an airport sees a network called Airport_Free_WiFi and joins it. The network is actually a laptop in a nearby seat, run by an attacker. Every unencrypted request passes through it.

The attacker watches for login pages, session cookies and email traffic, and can inject a fake login page for a popular service. The victim sees a normal-looking page, logs in, and the attacker captures the credentials and forwards the session so the login appears to succeed.

This is the most common everyday example, and the reason security guidance always warns against sensitive logins on public Wi-Fi. Our guide to how to secure your Wi-Fi covers the home side of the same problem.

Example 2: email hijacking and the £340,000 house payment

In 2015, a British couple, the Luptons, lost £340,000 in an email hijacking attack while buying a house. An attacker had access to email in the conveyancing chain and sent payment instructions that looked like they came from their solicitor.

The money went to the attacker's account instead of the solicitor's. The case, documented by Acunetix and widely reported at the time, shows the most costly form of MITM: the attacker does not need to break encryption at all, because they are already inside a trusted email conversation.

Businesses face the same pattern at scale. In 2019, attackers spoofed two domain names, one for an Israeli startup and one for a Chinese venture capital firm, by adding an s to each name. They joined an existing email thread, cancelled in-person meetings and convinced the firm to wire $1 million to a fraudulent account, according to Coalition's MITM examples.

Verify payment changes out of bandAny new bank details in an email, even in a thread you recognize, need a phone call to a number you already have. Never use the number in the same email.

Example 3: Superfish on Lenovo laptops, 2015

In 2015, Lenovo shipped consumer laptops with adware called Superfish pre-installed. Superfish installed its own root certificate on the device, which let it intercept encrypted HTTPS traffic to inject ads into web pages.

Because the same certificate and private key were present on every affected laptop, any attacker who extracted them could impersonate any website to those users. Lenovo removed the software, faced lawsuits and paid $8.3 million in a settlement, according to Wallarm's account of the case.

Superfish is the clearest example of SSL hijacking in the wild: the encryption was intact, but the trust anchor underneath it had been replaced.

Example 4: the DigiNotar certificate breach, 2011

In 2011, the Dutch certificate authority DigiNotar was compromised, and attackers issued around 500 fraudulent certificates for major services including Google, Yahoo, Mozilla and Skype. Those certificates let attackers impersonate legitimate sites in man-in-the-middle attacks.

The fake certificates were used to intercept Gmail users in Iran. Once the breach was discovered, browsers revoked trust in DigiNotar entirely, and the company went bankrupt. The case shows why certificate authorities are a single point of failure for the whole web's trust system.

Example 5: Equifax and the unencrypted pages, 2017

Equifax's 2017 breach is mainly known for an unpatched vulnerability, but investigators also found man-in-the-middle exposure in its mobile apps and website. Some pages used HTTP rather than HTTPS, which let attackers intercept traffic on those pages.

The lesson is narrower than the breach itself: a site that mixes HTTP and HTTPS leaves gaps an attacker can exploit, even when the login page itself is encrypted. Consistent HTTPS everywhere, plus HSTS to force it, closes that gap.

Example 6: Salt Typhoon and telecom networks

Salt Typhoon, a China-linked group, gained access to core network equipment at several major US telecom providers, including AT&T, Verizon, T-Mobile and Lumen Technologies. The group remained embedded for up to two years and compromised lawful-intercept systems.

That position let attackers capture call and message metadata for over a million users and access communications from journalists, politicians and government officials, according to McAfee's summary of the breach. It is a man-in-the-middle attack at national scale: the middle is the network itself.

Example 7: SSL stripping on public Wi-Fi

Security researcher Moxie Marlinspike demonstrated SSL stripping by transparently removing SSL encryption between a browser and a server, so secure-looking sessions were readable. The user saw a page that looked normal, but the connection to the attacker was unencrypted.

Modern browsers and HSTS have made this harder, but it still works against sites that do not enforce HTTPS. If a site loads over HTTP when you expected HTTPS, stop: that downgrade is exactly what SSL stripping looks like. McAfee's MITM guide lists fake public Wi-Fi hotspots, compromised routers and unsecured apps among the most common situations for these attacks.

How do you spot a man-in-the-middle attack?

Man-in-the-middle attacks are designed to be invisible, but they leave clues. Certificate warnings, unexpected HTTP pages and changed payment details are the ones to act on immediately.

Five warning signs to act onCertificate errorbrowser warns the siteis not who it claimsHTTP, not HTTPSpadlock missing on asite that should use itUnexpected logoutsession ends or asksyou to log in againWrong Wi-Fi namea near-copy of a trustednetwork appearsPayment details changebank details in an emailthread suddenly differ
Any one of these is a reason to stop and verify before you continue. Illustration by Cysoro.
  • Certificate warnings: never click through a certificate error on a banking or email site.
  • HTTP where HTTPS is expected: check the address bar before logging in.
  • Unexpected logouts or password resets: a stolen session cookie can look like this.
  • A duplicate Wi-Fi network: two similar names, one slightly wrong, is a classic evil twin sign.
  • Payment details that changed mid-thread: treat every change as suspicious until verified by phone.

Business email compromise, the money-focused form of this attack, caused about $3 billion in reported US losses in 2025, with 24,768 complaints to the FBI IC3. That scale is why payment verification matters more than any single technical control.

How do you prevent a man-in-the-middle attack?

Prevention is layered: encrypt everything, enforce HTTPS, verify certificates, keep software patched and verify payment changes out of band. No single control covers every type of MITM.

  • Use HTTPS everywhere and HSTS. Sites should redirect HTTP to HTTPS and send a Strict-Transport-Security header. Check a site's headers with our security headers checker.
  • Never ignore certificate warnings. A warning means the trust chain failed, which is exactly what a MITM attack produces.
  • Keep routers and devices patched. Unpatched routers and vulnerable DNS resolvers are common MITM entry points.
  • Use a VPN on public Wi-Fi. It encrypts traffic to the VPN server, removing the local network from the attacker's reach.
  • Use MFA, preferably phishing-resistant. A stolen password alone should not grant access.
  • Verify payments by phone. Call a known number for every new payee or changed bank account.
  • Check certificates for important sites. Our SSL checker shows a site's certificate chain and expiry in seconds.

What should you do if you were attacked?

Disconnect from the suspect network first, then change passwords from a trusted device, starting with email and banking. Speed matters, because stolen session cookies can be reused immediately.

  1. Disconnect from the Wi-Fi or network you were using.
  2. Change passwords for accounts you used, from a device you trust.
  3. Sign out of all sessions and check for new forwarding rules or devices on your accounts.
  4. Call your bank if money moved, and ask for a recall.
  5. Report it to your IT team and, in the US, to the FBI IC3 at ic3.gov if money was lost.

The bottom line

Man-in-the-middle attacks succeed because they are invisible: the connection works, the page looks right, and the only difference is who is in the middle. The real cases above, from a £340,000 house payment to a compromised certificate authority, all share that pattern.

Encrypt everything, heed certificate warnings, patch your router, and verify every payment change by phone. You can check a site's certificate and security headers in seconds with our free SSL checker.

Frequently asked questions

What is a man-in-the-middle attack in simple terms?

It is an attack where someone secretly sits between you and the person or website you think you are talking to. They can read your messages, steal passwords or payment details, or change what you send without either side noticing.

What is an example of a man-in-the-middle attack?

You join a free Wi-Fi network called Airport_Free_WiFi that is actually run by an attacker. Your login details pass through their laptop, they copy them, and they forward your traffic so everything still works.

Can HTTPS stop a man-in-the-middle attack?

HTTPS makes it much harder, because your traffic is encrypted and the site's certificate is checked. But attackers can still succeed with SSL stripping, fake certificates installed on your device, or a compromised certificate authority, which is why certificate warnings matter.

How do you know if you are in a man-in-the-middle attack?

Warning signs include certificate errors, a site suddenly using HTTP instead of HTTPS, unexpected logouts, a Wi-Fi network with a slightly wrong name, and payment details that changed in an email thread. Any one of these is a reason to stop and verify.

Is a man-in-the-middle attack the same as phishing?

No. Phishing tricks you into visiting a fake site or handing over details yourself. A man-in-the-middle attack intercepts a real connection you already made. The two are often combined, for example when a phishing email installs the attacker's certificate.

Can a VPN prevent a man-in-the-middle attack?

A VPN encrypts traffic between your device and the VPN server, which protects you on untrusted Wi-Fi. It does not protect traffic after it leaves the VPN, and it does not help if your device is already compromised.

What should I do if I think I was attacked?

Disconnect from the network, change passwords for accounts you used, starting with email and banking, from a trusted device, enable MFA, and report it to your IT team and, if money moved, to your bank and the FBI IC3.

Sources

  1. Invicti / Acunetix — All about Man-in-the-Middle Attacks
  2. Wallarm — MITM: What is Man in the Middle Attack?
  3. McAfee — What Is a Man-in-the-Middle Attack?
  4. Coalition — Man-in-the-middle attacks
  5. FBI Internet Crime Complaint Center — 2025 IC3 Annual Report
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against Acunetix, Wallarm and McAfee explainers and the FBI IC3 2025 report.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free