In this article, we will see how to install and put anonsurf to use on Kali Linux. Initially, anonsurf was purpose built for ParrotOS and now finally it has been made available to the Kali Linus users. In the recent articles, we discussed vulnerability scanning using Nmap and Nikto, Bluetooth spoofing using spooftooph, and OpenVAS.
While performing these scans or pen-testing, It is very important to hide your identity. We can hide our identity using a proxy or VPN. There is one more way to uphold our anonymity i.e. using anonsurf. Anonsurf is a tool to anonymize our complete system traffic tunneling via TOR using IPTables.
Tor network effectively conceals its user’s private information such as their device location and network details that the device is connected to from anyone who is trying to monitor the said user’s activity. Honestly, no one want their critical and private activity data be exposed to adversaries.
Also read: How to install and use sherlock in Kali Linux?
How to run anonsurf on Kali Linux
Anonsurf was made by parrotsec which was ported to kali Linux system by github user Und3rf10w. This repo is a combination of resources from anonsurf and pandora packages. This application specifically is modified further to use Private internet Access DNS servers. The use of anonsurf eliminates the need for using applications like tor browser. It also allows for the use of i2p which is a fully encrypted private network layer.
I. Cloning the anonsurf repo in the local system
Open a terminal window by using Ctrl+Alt+T and execute the apt command to download anonsurf by cloning anonsurf from the GitHub repository:
git clone https://github.com/Und3rf10w/kali-anonsurf.git

II. Installing anonsurf
Now, Change the directory to where anonsurf is already downloaded by executing the following command:
cd kali-anonsurf/

III. Changing File permissions of the installed
Before we execute the installer, we need to change the file permissions using the following command,
$ chmod +x installer.sh
IV. Executing the installer
Then, install anonsurf using the command mentioned below. Press Y to confirm when prompted. This process will take few minutes after which we should be able keep our personal data clear off the prying eyes.
sudo ./installer.sh

Hurray! Anonsurf is installed successfully. To check if the installation of the anonsurf has succeeded we can simply enter,
$anonsurf

V. Working with various anonsurf options
We can start anonsurf service in anon mode by running the following command:
sudo anonsurf start

Changing the identity using tor
What the change option effectively does is that it changes the tor circuit. Now, all the computer traffic is routed via 3 nodes by default namely Guard, relay, and exit.
Depending on the flavour of the installation it could be sudo anonsurf changeid or just use
sudo anonsurf change

Checking the current IP address
To check your current IP address, execute the following command:
sudo anonsurf myip

Checking the current status of the network
To check the status, Run the following command:
sudo anonsurf status

Stopping the anonsurf service
To stop anonsurf, execute the following command:
anonsurf stop

Get more information on anonsurf
To know more about anonsurf, You can refer to the help page by running the following command:
anonsurf help

Summary
We discussed how to install and use anonsurf to change our identity while doing pen-testing tests. But since we can never be completely anonymous, anonsurf keep us relatively more anonymous and it is very useful for beginners as it automatically configures proxies. Thank you for reading!