Skip to content

How domains are registered and managed on the deep web

27 mayo, 2021

Tor is a network that allows us to access a website anonymously. In general, it is used above all to enter conventional pages while maintaining our privacy, but it also serves as gateway to an alternative Internet, a Deep Web in which everyone can set up their own anonymous website for whatever they want.

Today we are going to explain how we can set up our own page with a .onion domain. It is a process that generally requires having a server, but that we can also do very easily on our own computer. The only thing we will need is two applications: a web server and the Tor Browser browser.

Tor is one of the three largest hidden networks in the world, and .onion are the domains where your content is hosted. In essence these websites are similar to conventional ones, and the only differences are that we will need Tor to access them and that they are a little bit slower due to the way they maintain our privacy.

To ride a we will need to create a hidden service in Tor. This type of service can be both web pages and SSH or IRC servers. To have one we will need to set up a web server, change a couple of things in the configuration and Tor will take care of configuring it automatically.

Connecting to the Tor network

Connecting To Tor

When a few weeks ago we told you about the operation of the Tor network and why it was so slow to browse the Deep Web, we already mentioned Tor Browser, the fork of Firefox in which everything is preconfigured so that you can access the deep web easily and automatically. Therefore, our first step will be to download and install it.

When we run the browser we will be able to see a window that will tell us that we are connecting to the Tor network. To check that the connection has been established correctly You can try to enter a web .onion like The Hidden Wiki, which is a directory of many other pages.

We will have to familiarize ourselves with Tor Browser, because at this point and before entering the matter, we must bear in mind that we are going to create your page using the computer as a server. This means that if we turn it off or disconnect Tor closing the browser our page will no longer be available.

Setting up our web server

Genbeta Test

The only thing we will need to create our Onion page, besides the Tor browser itself, is have our own web server configured. To do this we have several types of programs for different operating systems. We are going to use Wamp Server but the steps we will take with it are applicable to any other application.

Wamp Server automatically configures the web server using our DNS as localhost. This point is important so that the web that we are going to upload is only accessible from our computer. If like me, in Windows 10 running WAMP server causes an error due to the lack of MSVCR110.dll, on this page Microsoft links to the downloadable ones with which you can solve it. It has served me.

If we open our conventional browser, we write 127.0.0.1:80 in the address bar and the WampServer website appears, the process will have gone well. With this address we will have accessed our localhost, and in it to the page that the server assigns by default.

If we want to change this page to enter ours we will only have to enter the folder C: wamp64 www Y replace all default items with ours. The basic and essential here is the file index.php, that we will have to edit or delete to replace it with an index.html in which we have our home page. After checking again that everything is fine, we only have to take our page to the deep web.

Setting up the hidden service

Data Tor

What we have to do now is close Tor Browser if we had it open, open the file explorer and go to the folder where we have the browser installed. Once in it we look for the directory Tor Browser Data Tor, and there we will open the folder torrc in the notepad or in any other text editor that we prefer.

Do not be scared if the file is empty, because it will mean that we still do not have any hidden services configured. In any case, whatever there is, we will have to add these three lines at the end:

# Hidden Service

HiddenServiceDir C: Users Name tor_service

HiddenServicePort 80 127.0.0.1:80

Here are two things we have to keep in mind. For example C: Users Name tor_service we will have to replace it with the directory in which we want Tor to be able to read and write to our system. East It does not have to be the one where we have the web, but it has to be empty (we can create one on purpose). Also, if we have set a different port to 80 we will have to change the last number of 127.0.0.1:80, although keeping the 80 that appears before.

Tor Service

Once done we open Tor Browser, and if the load of the service goes well we will see that in the folder tor_service (or the one we have configured) two files have appeared. One of them is the private_key, containing the private key that protects our website. We won’t have to give it to anyone if we don’t want them to be able to manipulate our little corner on the deep web.

The second file is called hostname, and opening it with notepad or any other text editor we will see that contains the .onion address of our website, the one that we will have to share with all those who want to come to see it.

Onion Hostname

Looking for our own .onion domain

When you create a new hidden service, Tor generates a random name using a 1024-bit RSA key and then calculates the SHA-1 using a piece of the public key. It is a complex process that results in a random and encrypted name for our website. Very safe but aesthetically decadent.

Can we create a genbeta.onion or something similar to Facebook’s facebookcorewwwi.onion? It can’t really be done by handAlthough there are programs such as Shallot or Scallion capable of automatically generating .onion keys until we find one to our liking. The problem is that these types of auto-generated addresses can be less secure, so you may prefer to keep the one that Tor gives you.

As for the maintenance of the web, once uploaded we will only have to apply the changes we want saving everything in the folder C: wamp64 www. Keep in mind that browsing the Deep Web is always slower, so always try to create pages as light as possible to offer a good experience to visitors.

In Genbeta | Why is it so slow to navigate the Deep Web?