How to Chain VPNs for Complete Anonymity
Written By
Alex Long
https://twitter.com
Published 6 months ago
Last edited 6 months ago

Big name individual hackers and hacker groups everywhere in the news are getting caught and thrown in jail. Everytime I see something like this happen, I won't lie, I get a little sad. Then I wonder, how are these guys getting caught? If a group like LulzSec, with all the fame and "1337-ness" can get caught, I think my hacker comrades are doing something wrong.

When members of LulzSec started getting captured, it was because proxy and VPN services complied to federal request and handed over the private information of its users. I think this is wrong for a number of reasons—foremost, people should be able to have their own privacy respected. Today's Null Byte will be demonstrating one of the methods around this: Chaining VPNs.

A VPN allows you to connect to a remote network, and over all ports, encrypt and forward your traffic. This also changes your IP address. Chaining VPNs is a tricky task, though there is a simple and uncommon method I know of. Using multiple VPNs together has the huge perk of being completely anonymous. 

How Does Chaining VPNs Work?

First, a person would connect to the VPN. Then, when connected to the first VPN, you chain to the second, and since a bunch of people share the same IP, the second VPN has no way of knowing who tunneled to it. An even better scenario is where you use an eastern VPN as your first, because our country has no jurisdiction to retrieve the logs from them, thus increasing your security.

However, to chain VPNs, the second VPN would need to know how the first VPN's traffic was encrypted. This flaw makes it impossible to chain them in this method, unless you own both VPNs (not very likely).

So, how can we chain VPNs then? I'll show you how by using a virtual machine!

Requirements

Step 1 Install OpenVPN & a VirtualBox Computer

Text in bold is a terminal command.

First, we need to install the VPN client for Linux users. Windows users can download the program here and here, and run the installer normally. Mac users can use this GUI for OpenVPN for Mac.

  1. Change to the Downloads directory.
  2. Configure the installation.
        ./configure
  3. Compile and install.
        make && sudo make install
  4. Now we need to install VirtualBox. This will allow us to have a virtual operating systems running from within our computer. Download VirtualBox: Windows, Mac, Linux.
  5. Install a virtual machine of your choice for Windows or Linux and Mac, then install OpenVPN to it.

Step 2 Chain the VPNs

Start up your virtual machine, and configure them both.

  1. For Windows users using the default VPN client, use this guide to connect to a VPN. Linux and Mac users, go here.
  2. Connect to VPN A with your host OS.
  3. Start up your virtual machine of choice, and connect to VPN B with it.
  4. Operate from within your virtual machine, and you will be safe from prying eyes. If you need to delete the virtual machine, make sure you securely delete it, and your information will be safe.

For Null Byte news, follow me on Twitter. Also, join the IRC and come hang out with us!

Image via Manuel Corpa

Comments

+1
Sol Gates (18) 11/10/11 7:16 PM
man I really want a few eastern block vpn's XD
+1
Alex Long (98) 11/11/11 10:59 AM
I know, right. I ought to make buddybuddy with some eastern lads ^_^.
+1
zas zero (3) 11/14/11 5:24 AM
What if you install VirtualBox inside your virtual machine, then start a new virtual machine inside your virtual machine?
Awesome :D
+1
Alex Long (98) 11/14/11 12:58 PM
Haha, it works :p.
+1
zas zero (3) 11/15/11 7:00 AM
Hehe it would be quite awesome to have ~10 virtual machines connected to different VPNs :P

"Yo dawg I heard you're paranoid so I put a virtual machine inside your virtual machine so you can vpn
while you vpn!"
haha :)
+1
Kenshin Himura 2/26/12 3:58 AM
I don't understand the advantage of this.

"the second VPN has no way of knowing who tunneled to it"

Well, then couldn't they simply asks for logs from the first VPN?
And, if the first VPN is an eastern VPN that doesn't keep logs, then what's the advantage of chaining a second VPN ?
+1
Allen Freeman (42) 2/26/12 6:09 AM
A free VPN can not be trusted. At all. They are free because they sell you info. You can chain two free ones together, the FEDS will get the logs and v8 you.
+1
Theodore Papadodimas 5/12/12 8:15 AM
VPNception!!!!
Add your comment:
0 / 2000

462 Members | 68 Contributing Members (15%)

Join Our World

  • Allen Freeman
  • Matthew Herman
  • Bird andBear
  • JT Newsome
  • occupytheweb otw
  • Justin Meyers
  • chi square
  • Bryan Crow
  • ChristopherVoute
  • Alex Salas
View All Members

Null Byte

Null Byte is a world for anyone interested in science, networking, social engineering, security, and getting root. Any like-minded tech enthusiast looking to protect themselves from malicious script kiddies and shorcuts for everyday life will find their home here.

We're going to take it from an IP address to programing, all the way to reverse engineering, getting root, and finding zero-day vulnerabilities.

If you don't understand any of this, don't worry, this is the place to begin!

Join us and discuss topics in a secure and anonymous format in our channel #nullbyte on IRC2P

Google+
Twitter

FREE sup_g | FREE kayla | FREE palladium | FREE topiary | FREE pwnsauce

Allen Freeman Allen Freeman - World Admin World created 7 months ago

loading...