MTE Explains: What Is a “Man in the Middle Attack?”

MTE Explains: What Is a “Man in the Middle Attack?” Featured Image

For an attack carried out over the Internet to be successful, the hacker behind it has to be clever. And nothing demonstrates wit more clearly than the “man in the middle attack.” Although few people will ever fall victim to it in their lives, the number of potential victims is staggering. Because of the span in which it can be carried out, this type of attack can be more common over time as hackers’ methods and tools grow in sophistication. It’s time to make people aware of what a “man in the middle” (MiM) attack is and some best practices that could prevent it from being carried out.

Let’s Define It

maninthemiddle-diagram

A man in the middle attack – abbreviated “MiM” – occurs when a hacker cuts into a conversation or data transaction between you and another person or server, then sends false information to one of the parties. A successful MiM attack will allow a hacker to impersonate both parties in the transaction. Let’s build a scenario: you’re logging into PayPal and someone hijacks your connection with the server by breaking the connection and inserting themselves as a “middleman” between you and the server. The hacker impersonates you and then sends PayPal a request to withdraw your money into their own account.

The same could happen in conversations: You have a conversation over Facebook with a sibling, and a hacker breaks your connection to Facebook and then sends a fake message from your sibling asking you something highly personal. To you it looks as though your sibling is asking you something, but your reply will go to the hacker. You wouldn’t even know that anything happened until it was too late.

These attacks are particularly dangerous because it’s very difficult to detect that anything went wrong, especially if the hacker shares an IP with you on the same network (as would be the case in a public WiFi connection). You would fall victim to an MiM attack and never realize it until your financial accounts are empty or your personal information is leaked to the public.

Preventing MiM Attacks

Wireless Symbol Drawn on a Blackboard

Since no intervention is possible once an MiM attack happens (aside from changing your passwords and other typical damage control measures), prevention is key here. Forget about stopping it in its tracks; you need to stop it from ever happening under any context. A good way to do this is to stop trusting public WiFi networks. Do not do anything important over a public WiFi network. Ever. Because of the nature of WiFi, every time you send data over the network, you broadcast it, making it visible to every other node on the network. If you absolutely need to connect to log into a financial service or something else important over public WiFi, do everything you can to secure that connection. One of the best things you can do is connect via an encrypted virtual private network (VPN).

Try to avoid any situation in which your phone, tablet, laptop, or PC ends up sharing an Internet connection with others outside of your home. Whether you are in a coffee shop, an airport, or a library, make sure you’re not withdrawing or moving around any money or even discussing anything sensitive with anyone. If you absolutely have to, make sure the connection is secured beforehand.

Do you have any other pieces of advice in preventing and combating MiM attacks? Make sure you tell us about it in a comment!

Subscribe to our newsletter!

Our latest tutorials delivered straight to your inbox

Miguel Leiva-Gomez Avatar

Read next

Suzanne Simard sealed paper birch and Douglas fir seedlings inside plastic bags, fed them carbon-14 and carbon-13 dioxide, and nine days later found carbon had crossed between species through fungal threads in the British Columbia soil beneath her boots
A species of jellyfish called Turritopsis dohrnii can revert its adult cells back to a juvenile polyp stage when injured or starving, effectively restarting its life cycle, and biologists have so far failed to identify any natural limit to how many times it can do this.
A Japanese man named Jiroemon Kimura, who lived to 116, was born in 1897 when Queen Victoria still ruled and died in 2013, meaning a single human life personally overlapped with the invention of the airplane, the atomic bomb, the internet, and Instagram
The Hollywood sign originally read HOLLYWOODLAND when it was built in 1923 as a real estate advertisement for a housing development, and it was only meant to stand for 18 months, but nobody ever got around to taking it down and the city eventually adopted it as a landmark
Almost all of the world’s internet traffic does not travel by satellite but through fibre-optic cables lying on the ocean floor, a hidden web of wires crossing the deepest parts of the sea to connect the continents.
People who flip their phone face down on every table aren’t being secretive. They figured out that staying interruptible meant handing their time to whoever rang first
Twitch vs. Facebook Gaming vs. YouTube Gaming: What’s the Best Live Game Streaming Platform?
Chrome Extensions Ownership Transfer is a Direct Threat to You: How to Stay Safe