Install tor and vidalia on backtrack 5 rc3

By | April 23, 2013

Backtrack, the most popular linux distro for penetration testing, does not have tor by default. Hmmm, so we have to install it in it.

Start a terminal and type the following commands to install tor quickly on backtrack.

Check release

First check your backtrack release version. Its based on ubuntu.

[email protected]:~# lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 10.04.3 LTS
Release:	10.04
Codename:	lucid

Check the codename, in this case its lucid. So this version of backtrack is based on ubuntu lucid. Next we have to get the tor debian repository for this distribution.

Install apt-add-repository

Install this quick utility called apt-add-repository, which allows to add repositories to apt sources without opening and editing any file.

[email protected]:~# apt-get install python-software-properties

Add tor debian repositories

Now add the tor debian lucid repository to your apt sources list.

[email protected]:~# apt-add-repository 'deb lucid main'

Also add the gpg keys

[email protected]:~# gpg --keyserver --recv 886DDD89
[email protected]:~# gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | sudo apt-key add -


Now update the package list.

[email protected]:~# apt-get update

Install tor and vidalia

Now finally install tor along with vidalia

[email protected]:~# apt-get install tor vidalia

After installation the tor daemon/service should start in the background, opening port 9050 for socks5.

Check status of tor

Confirm that tor service is running by issuing the following command.

[email protected]:~# service tor status
 * tor is running

If tor is running, the installation of tor completed successfully.

Now configure your browser to use tor as a proxy. Socks5 port is 9050. Once configured go to to check your ip address. If its different from your real ip address, then you have configured tor correctly and connecting via it. Now you are browsing the internet anonymously.

To further enhance your privacy, use private browsing so that no traces of your browsing are left in your system. Firefox calls it Private Browsing and chrome calls it Incognito.

Last Updated On : 23rd April 2013

Leave a Reply

Your email address will not be published. Required fields are marked *