What Is a Man-in-the-Middle Attack? How Does It Work? | SEON

Man-in-the-Middle (MitM) Attack

What Is a Man-in-the-Middle Attack?

Also shortened to MitM attacks, man-in-the-middle attacks involve hackers and cybercriminals intercepting communications and data transfers. Particularly prevalent on public and insecure Wi-Fi networks, they often target confidential information such as login credentials, bank details and private conversations.

Man-in-the-middle attacks are surprisingly common and disturbingly simple to carry out. There are even walkthrough-style tutorials on YouTube. An IBM study suggests that 35% of “exploitation activity” involves man-in-the-middle attacks.

One particular characteristic of man-in-the-middle attacks is that they frequently go undetected. Victims may be unaware that their details have been compromised until they suffer from payment fraud or other issues.

How Do Man-in-the-Middle Attacks Work?

A good way to visualize a man-in-the-middle attack is as an incident of digital eavesdropping, where the attacker is trying to intercept information for various purposes.

Typically, a cybercriminal would:

  1. set up a packet sniffing tool, often operating at a low level on the network
  2. intercept data flowing along a certain path – for example, between an individual’s laptop and a remote host, such as a website or corporate system
  3. record and take advantage of this data in various ways, e.g. for identity theft, account takeovers, etc.

Alternatively, a hacker may intercept a communication by spoofing, which would mean essentially impersonating a legitimate device or server.

One example of spoofing involves the use of rogue wireless access points:

  1. A hacker sets up a rogue wireless access point using the same SSID (network name) as a legitimate wireless network, such as a public network or one in a café or hotel.
  2. Unsuspecting members of the public connect to that network instead of the genuine network, from where they are forwarded to the internet.
  3. Though the victim manages to connect to the websites they were looking to access, the hacker intercepts this traffic as a MitM, including passwords and other sensitive information.

Cybercriminals may employ various other techniques, such as compromising DNS servers to reroute traffic, redirecting people to fake websites, or accessing web cookies containing sensitive information.

Types of Man-in-the-Middle Attacks

Types of man-in-the-middle attacks include:

Why Are Man-in-the-Middle Attacks Dangerous?

MitM attacks enable a huge range of other types of fraud, including credential stealing, account hijacking, account takeover fraud, carding, identity theft, and so on. Both companies and individuals can be affected.

Man-in-the-middle attacks are popular with fraudsters because they can be carried out at scale with a minimal risk of detection. For example, a hacker can set up in a café or within Wi-Fi range of a hotel, collect data and disappear.

Sophisticated attacks also fail to raise suspicion from victims. IP or DNS spoofing, for example, accompanied with a convincing banking or ecommerce website, could lead somebody to enter card details or login information without hesitation.

Consequences of MitM Attacks

Man-in-the-middle attacks can have consequences that include data breaches, financial loss, and reputational damage to companies.

Several high-profile data breaches and cyber attacks have involved man-in-the-middle tactics. They include the headline-making Equifax breach of 2017. In 2011, a digital certificate issuer in The Netherlands, DigiNotar, suffered a man-in-the-middle attack that ultimately resulted in the company’s bankruptcy.

A man-in-the-middle attack on an individual can have knock-on effects for an entire organization.

A hacker who successfully intercepts login credentials to a corporate system can use these as the basis for further cybercrimes. For example, they could introduce a worm to a corporate network, or use access to email for phishing or CEO fraud.

How to Protect Against Man-in-the-Middle Attacks

Companies can deploy endpoint protection and make use of mobile device management (MDM) to reduce the risk of man-in-the-middle attacks. For example, they may choose to restrict use of public Wi-Fi networks, or even lock down access to unknown or insecure websites.

However, protecting from the ever-present risk of man-in-the-middle attacks often comes down, primarily, to awareness and the minimization of human error. Companies should ensure that all employees are aware of the following basic precautions as part of their cyber training programs: