| 28 |
| Nov |
What Are Man-in-the-Middle Attacks and How Can I Protect Myself From Them?
Article by Vic HargraveFiled under: Ask Vic,Hackers and Phishing,Tips and Tricks | RSS 2.0 | 3 Comments |
In my October 23 blog, I mentioned that iOS 4.3.4 was susceptible to a man-in-the-middle attack that was later corrected in iOS 4.3.5. These attacks are frequently mentioned in the security literature, but many of you may still be wondering what they are exactly and how they work. With this article, I’ll explain what man-in-the-middle attacks are and how you can avoid falling prey to them.
How the Attack Works
To see how man-in-the-middle attacks work, consider the illustration below. Network traffic normally travels directly between two computers that communicate with each other over the Internet, in this case the computers belonging to User 1 and User 2.
How to Avoid Being Attacked
In practice, ARP spoofing is difficult to prevent with the conventional security tools that come with your PC or Mac. However, you can make it difficult for people to view your network traffic by using encrypted network connections provided by HTTPS or VPN (virtual private network) technology.
HTTPS uses the secure sockets layer (SSL) capability in your browser to mask your web-based network traffic from prying eyes. VPN client software works in a similar fashion – some VPNs also use SSL – but you must connect to a VPN access point like your company network, if it supports VPN. To decrypt HTTPS and VPN, a man-in-the-middle attacker would have to obtain the keys used to encrypt the network traffic which is difficult, but not impossible to do.
When communicating over HTTPS, your web browser uses certificates to verify the identity of the servers you are connecting to. These certificates are verified by reputable third party authority companies like VeriSign.
If your browser does not recognize the authority of the certificate sent from a particular server, it will display a message indicating that the server’s certificate is not trusted, which means it may be coming from a man-in-the-middle-attacker. In this situation you should not proceed with the HTTPS session, unless you already know that the server can be trusted – like when you or the company you work for set up the server for employees only.
If you want to dive into the technical details and learn more about the tools used to carry out a man-in-middle attack, I recommend watching the YouTube video – Man In The Middle Attack – Ethical Hacking Example created by the InfoSec Institute.
In the meantime, use HTTPS and VPN in public networks and stay away from web servers you don’t trust.
I work for Trend Micro and the opinions expressed here are my own.
For more tips and advice regarding Internet, mobile security and more, just “Like” Trend Micro Fearless Web Facebook page!
This entry was posted on Wednesday, 28. November 2012 and is filed under "Ask Vic, Hackers and Phishing, Tips and Tricks". You can follow any responses to this entry with RSS 2.0. You can leave a response here, or send a trackback from your own site.
3 Comments to "What Are Man-in-the-Middle Attacks and How Can I Protect Myself From Them?"
Vic Hargrave:Thursday, 29. November 2012 at 10:00 pm |
|
|
The evidence of the success of an ARP spoofing attack can be found in your system’s ARP table which you can display on Linux systems with the command ‘arp -a’. If a given IP address does not have the MAC address it should have, that means the packets from your system are not going to the IP address in question but rather to the system with the indicated MAC address. Read up on the ‘arp’ command in your system’s man pages for more details. |
|
question:Tuesday, 2. April 2013 at 6:06 am |
|
|
is there a way to reserve spesific mac address in a network to avoid such spoofing?? i have windows7 for that matter.. |
|

Joe Richardson:
Thursday, 29. November 2012 at 8:40 pmIs there a way to remove any evidence of the man-in-middle? Where in the directory would it be located and what is the notation?