Get Tor Browser to Kali Linux easily. [Get ready for Deep Web.]

What is Tor Browser ? / Tor Project ?

Tor is free and open-source software for enabling anonymous communication. The name is derived from the acronym for the original software project name “The Onion Router”. Tor directs Internet traffic through a free, worldwide, volunteer overlay network consisting of more than seven thousand relays to conceal a user’s location and usage from anyone conducting network surveillance or traffic analysis. Using Tor makes it more difficult to trace Internet activity to the user: this includes “visits to Web sites, online posts, instant messages, and other communication forms”. Tor’s intended use is to protect the personal privacy of its users, as well as their freedom and ability to conduct confidential communication by keeping their Internet activities un-monitored.

Tor does not prevent an online service from determining when it is being accessed through Tor. Tor protects a user’s privacy, but does not hide the fact that someone is using Tor. Some websites restrict allowances through Tor. For example, Wikipedia blocks attempts by Tor users to edit articles unless special permission is sought.

The team behind Tor (The Onion Router) provides free open-source software that helps you browse the internet anonymously. Originally the Tor network was developed with the help of the US navy. The network was developed to enable the US Navy and other military organizations to communicate anonymously online. These days, Tor mainly focuses its attention on its browser and the development of a few other privacy tools, which we’ll briefly touch on later.

As mentioned before, the Tor browser greatly benefits your online privacy and, up to a point, your security. The browser makes use of the vast world-wide server network that the Tor network consists of. When using the Tor browser, your data goes through different Tor servers (or “nodes”). The traffic is heavily encrypted and slowly decoded one layer at a time at the different nodes. This means that whoever is trying to identify you based on your online traffic, will just stumble on the last server your data traffic passed through, the ‘exit node’. In other words: the Tor browser makes it impossible, or at least very difficult, to identify its users.

In order to access the Tor network, you simply need to download the Tor browser. Everything you do online while using the Tor-browser will automatically be encrypted and “anonymized” in the process described above.

One disadvantage that’s often pointed out is that the Tor browser is generally much slower than your bare internet connection. Because your online traffic is sent through different nodes, your internet connection will have to go the long way around and therefore become significantly slower.

What do people use Tor for?

Though Tor’s developers originally created the software for military purposes, it has developed into a tool that can be useful to all — especially to those who have something to hide or will otherwise benefit from online anonymity. Many journalists and political activists use Tor to avoid being prosecuted. Usually, these people live in countries where authorities might punish them for the thoughts and views they wish to share online.

Similarly, journalists use Tor to protect their sources. If a source does not want to risk being revealed, they can communicate sensitive information through the Tor browser. Not just suppliers of information, but also consumers are to be found on Tor. Many people use the Tor browser to access Geo-restricted content, to bypass censorship and visit specific websites. After all, a lot of pages, such as those on the dark web, won’t be visible to you when using a “normal browser” such as Safari or Firefox.

Another well-known group of people who use Tor are whistle-blowers. For instance, one of Tor’s most notable users and supporters is Edward Snowden, who revealed documents on classified surveillance programs in the US. Similarly, Tor can be used by employees to expose company or government secrets or address illicit or immoral activities.

How to get Tor to Kali Linux ?

It is very simple. we just have to go to the website of tor and download the suitable package for Kali Linux from there.

Select the version for Linux and download it to your Kali operating system. Its about 80mb. after downloading thee zip file extract it to a suitable location as you wish.

I simply right clicked on the rar file and select extract here on the pop up menu. Then it extracted to the same location it has downloaded. Then open up the extracted folder. we are going to do some changes to the source code.

In the default settings, Tor browser will not run on root mode. so we have to find that piece of code and change it. after opening the folder there is a folder called Browser and inside the browser folder we can find stat-tor-browser.sh file. lets open it up.

/root/Downloads/tor-browser_en-US/Browser/

After Opening we have to search for word root. There is a line of code which is manually limited the usage of tor browser as the super user. We have to remove that code and save the left code as it was.

After removing that part we have to make the folder ownership to the root user from the terminal using chown command.

Chown Command in Linux (File Ownership)

The chown command allows you to change the user and/or group ownership of a given file, directory, or symbolic link. In Linux, all files are associated with an owner and a group and assigned with permission access rights for the file owner, the group members, and others.

Then we have to download an external tool called alacarte using,

sudo apt-get install alacarte

What is Alacarte ?

Alacarte is an easy-to-use menu editor for GNOME that can add and edit new entries and menus. It works with the freedesktop.org menu specification and should work with any desktop environment that uses the spec. We use this software here for edit the main menu elements easily.

Alacarte isn’t usually installed by default on most distributions, including Ubuntu and Fedora. Thankfully, however, it is very easy to find and install. In your respective package managers for any distribution, you should be able to find the application under the package name alacarte. Ubuntu users can also use the terminal and run sudo apt-get install alacarte, while Fedora users can run sudo yum install alacarte.

After that we have to cut the whole tor project folder and move the folder in to our etc folder.

Then in the Kali Search bar, search for Main Menu and select the main menu. After that scrolling down we can find out a section called Internet. Clicking on that will give us the browser information in our Kali Linux machine got. Lets add Tor browser by adding a new Item.

After selecting Add new item, First we can give the name as Tor Browser and command should be /etc/tor-browser_en-US/Browser/start-tor-browser. This is for the command that will be running when we start the browser, we previously copied the whole folder to the etc folder so this command will be same as mine.

Next thing is the Icon. Lets go and find our icon for tor. Same as that there are our icons waiting will we grab them,

etc/tor_browser_en_US/Browser/browser/chrome/icons/default

It will be same as mine again, because it is starting from the same location in etc folder. Then everything is set. Click Ok and fire up the Tor Browser from main menu without any problems.

It works.

Keep in mind, Nothing in the web is untraceable. When they seek, You have to hide well. Use a VPN connection when you browse Dark web. AnonSurf is one of the best options.

So that’s all for now. Next writing will be on setting up the tor browser more secure way and access deep web links. :)

Don’t be stupid when you surf Dark Web

Peace. Drink Responsibly :)

Written by/Chamod Wijetunga — Information Security Analyst [Intern] at CryptoGen- 3rd Year 2nd Semester -Cyber Security Student-SLIIT

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store