Cybersecurity Awareness · Network & Edge Security

Understanding man-in-the-middle (MitM) attacks

17 Aug 20252 MIN READUPDATED 15 NOV 2026

In a man-in-the-middle attack, a criminal secretly sits between you and the service you are using, reading or changing what you send. Here is how it happens and how to stop it.

A man-in-the-middle (MitM) attack can expose your data without you noticing anything wrong. This guide explains what it is, shows a typical example and sets out how to protect yourself and your company.

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

In a MitM attack, a criminal secretly places themselves between two parties that are communicating, such as you and a website, or two colleagues. They can then watch, steal or change what passes between you, including login details, emails and payment information. Both sides believe they are talking directly to each other.

An example

You are in a coffee shop and log in to your company portal over the free Wi-Fi. Without you knowing, an attacker has set up a fake network with a convincing name, such as “CoffeeShop_FreeWiFi”. When you connect, all your traffic passes through the attacker’s device on its way to the real server. If the connection is not properly protected, or you click past a security warning, the attacker can capture your username and password.

With those details, the attacker could:

  • Read your work email and sensitive documents
  • Pretend to be you on company systems
  • Steal confidential customer data

Watch: how a man-in-the-middle attack works

How to prevent man-in-the-middle attacks

  • Avoid public Wi-Fi for work. Do not use company systems or confidential data on unsecured networks in coffee shops, airports or hotels unless your company VPN is connected.
  • Use your phone’s hotspot. A personal mobile hotspot is much safer than public Wi-Fi.
  • Check for HTTPS. Make sure the address starts with https:// and the browser shows the site is secure. HTTPS encrypts what you send.
  • Never click past certificate warnings. A warning that a site’s certificate is not valid can mean someone is intercepting the connection. Disconnect and tell IT.
  • Turn on multi-factor authentication (MFA). Even if your password is captured, MFA makes it much harder to use. Phishing-resistant methods such as passkeys protect best.
  • Confirm the network name. If you must use public Wi-Fi, ask the staff for the official network name and avoid look-alikes.
  • Keep devices updated. Install updates for your operating system, browser and apps promptly.
How NetWitz helpsWe protect remote and travelling staff with secure remote access, MFA and zero trust access through our prevention and access control service, and detect rogue networks in your offices through our networking service.

Get the next guide in your inbox.

Join the NetWitz Cybersecurity Newsletter and Awareness Campaign. Unsubscribe at any time.

More Cybersecurity Awareness

Want to protect your organisation, not just yourself?

Talk to us about awareness training, managed security and the controls behind these guides.

NetWitz