There are only a very few people in this world that have managed to capture my constantly fleeting attention. One of them is Moxie Marlinspike.
People believe he has a vast network of hidden antennas in those dreadlocks so that he can continuously scan networks and crack their passcodes as he passes by. I wouldn't be surprised if he actually did something like that. He is an epic genius.
I swear, this guy is the most coolest dude I have ever seen. He's a computer security researcher and was also the founder of Whisper systems co. He's done a lot of research in the field of network vulnerability and security and some of his innovations are really fascinating. I saw his presentation at DEFCON 17 (DEFCON is a hacker-conference) on YouTube; I fell in love with him at first sight. <3
He was talking about these various methods by which you could defeat SSL in practice.
SSL is this industry-standard encryption which websites use to encrypt their data flow, so that no one can eavesdrop and grab your username and password as you type it into the facebook login page. It's really hard to crack an SSL encryption. Using a brute-force attack on it can take upto a million years. You know you're using an SSL encryption when your URL bar shows https:// instead of http://. It stands for Hyper Text Transfer Protocol Secured. You can find it when you log onto sites like FaceBook or Gmail or those Online Banking sites that use this technology to protect your data from hackers.
However, I have heard rumours about a Chinese professor that has stumbled upon some vulnerability within the encryption.
Who knows?
Maybe in a year or two, they might have actually found a way.
Coming to the point, Moxie has developed a piece of Python code called sslstrip that does a neat trick regarding SSL connections.
Coming to the point, Moxie has developed a piece of Python code called sslstrip that does a neat trick regarding SSL connections.
Normally, when you type in the name of a website into your URL bar, you generally do something like this: "www.facebook.com". What happens here is, you've requested for the FB site without SSL encryption. In other words, the http form of the site. The FB server recognizes this fact, and tells your browser, "Look, you're asking for an unsecured connection. You'll be better of with a secured one. Here, take this." and redirects you to the https site.
Wonderful isn't it? Your password is kept safe, you've logged onto FB without any problems, and can lazily go through your notifications. What could possibly go wrong?
PLENTY OF THINGS.
DAMN PLENTY.
Imagine this:
What if someone got in between the connection between you and the FB server? This is also called a Man in the Middle Attack, abbreviated to MITM. And this computer (we shall call it the attacking computer) sneakily intercepts all communication between you and the server by faking its IP and Mac Address and forcing your computer to think that it is actually the FB server. It also does the same trickery with the FB server, making it believe that the attacking machine is the client. In this way, the hacker who's doing all this, successfully eavesdrops communications between you and the server.
PLENTY OF THINGS.
DAMN PLENTY.
Imagine this:
What if someone got in between the connection between you and the FB server? This is also called a Man in the Middle Attack, abbreviated to MITM. And this computer (we shall call it the attacking computer) sneakily intercepts all communication between you and the server by faking its IP and Mac Address and forcing your computer to think that it is actually the FB server. It also does the same trickery with the FB server, making it believe that the attacking machine is the client. In this way, the hacker who's doing all this, successfully eavesdrops communications between you and the server.
You must be thinking, "So what if he eavesdrops? All of my messages are encrypted using SSL. What could he possibly do? He definitely won't get my password. Haha. I'm totally safe!"
WRONG AGAIN. This false sense of security is quite amusing. You people think you're completely protected behind those firewalls and anti-viruses of yours, don't you?
Haha. Please.
WRONG AGAIN. This false sense of security is quite amusing. You people think you're completely protected behind those firewalls and anti-viruses of yours, don't you?
Haha. Please.
Think of it this way. You're typing in "www.facebook.com", aren't you? So here's what. The attacker intercepts your request, and instead of saving it and forwarding it to the server, so that the server can give you a secure https session, the attacker gives you an http session, forcing you to believe that you've received the https version from the server and there's nothing wrong. But if you happen to take a glance at your URL bar, you'll notice this flaw, as the browser reads "http://www.facebook.com" and not "https://www.facebook.com". If you're aware of this vulnerability, you can easily prevent your personal information from being stolen. However, most users aren't even aware about the subtle differences mentioned above, and hence tend to fall prey to cyber-thieves.
Moxie designed sslstrip keeping this fact in mind. In fact, you can easily use BackTrack and sslstrip to do everything that I've said above.
Moxie designed sslstrip keeping this fact in mind. In fact, you can easily use BackTrack and sslstrip to do everything that I've said above.
Here comes the fun part: I'm gonna show you how to do it.
xD
It's quite simple really, all it takes is determination and patience. Also, a patient mom who has no problem in you sitting 6 hours straight on a laptop (Mine wasn't -_-. I've suffered a lot of consequences because of that, but aaahh, what the heck. It was all worth it. xD)
But beware. Do not misuse this. I'm sorry guys, but whatever you do with this information, is upto you. I am not responsible if your processor overclocks and burns to dust while you're attempting this. I'm also not responsible if you try using this technique for illegal purposes. With great power comes great responsibility, as you've all have heard, so please. Abide the law. It'll do you a lot of good, I promise.
xD
It's quite simple really, all it takes is determination and patience. Also, a patient mom who has no problem in you sitting 6 hours straight on a laptop (Mine wasn't -_-. I've suffered a lot of consequences because of that, but aaahh, what the heck. It was all worth it. xD)
But beware. Do not misuse this. I'm sorry guys, but whatever you do with this information, is upto you. I am not responsible if your processor overclocks and burns to dust while you're attempting this. I'm also not responsible if you try using this technique for illegal purposes. With great power comes great responsibility, as you've all have heard, so please. Abide the law. It'll do you a lot of good, I promise.
Now, I'm going to move onto the ingredients required for this rather tasty piece of networking delicacy.
-BackTrack 5 R3
-A WiFi connection
-A wireless network adapter (duh)
-BackTrack 5 R3
-A WiFi connection
-A wireless network adapter (duh)
That's about it. BT 5 comes pre-installed with the latest version of sslstrip, so you'll be fine.
Step-by-step instructions will be posted in my next post. When I get the time.
Till then, Merry Christmas, folks!
(k_s)