Proxychain

Posted by

Proxychains is a UNIX program that allows us to mask our IP address by redirecting network traffic. It routes our TCP traffic through a variety of proxies, including TOR, SOCKS, and HTTP.

  • TCP reconnaissance tools such as Nmap are compatible.
  • Allows any TCP connection to be forwarded to the internet via a series of configurable proxies.
  • The Tor network is used by default.
  • Within a list, it’s possible to mix and match different proxy kinds.
  • Proxychains can also be used in evading firewalls, IDS, and IPS detecting

Join Our Discord Hacking Server: https://discord.gg/ZChEmMwE8d 

Invite Our Cybersec Bot: https://dsc.gg/spyo

To install Proxychain, open the terminal and run the following command:

$ sudo apt-get install proxychains

Next, you need to make some changes in the configuration file. Open the proxychains.conf file.

$ sudo nano /etc/proxychains.conf

In this file, by default, the line dynamic_chain is commented and the line strict_chain is not commented. Remove the comment from dynamic_chain and comment out strict_chain. This is to make Proxychain work even if few proxy servers are not online.

Ubuntu-VMware

To make Proxychain for ethical hacking more effective, let us add some more proxy servers. Scroll down to the end of the file and you will see a default proxy server.  Add the following lines at the end of the file:

socks4 36.66.210.159 44034
socks4 182.52.51.19 32591
socks4 167.249.78.22 4145
socks4 91.195.158.171 4145
socks4 45.4.255.168 4145
socks4 31.145.166.28 4145

VMware

I suggest you add more such proxy servers. You’ll find the details of proxy servers with a simple “proxy server list” search on the internet.

Save (Ctrl+O) and exit (Ctrl+X) the file.

Before using Proxychain, check if your IP address is traceable. To check this, open any Internet Browser and open the following URL: https://www.dnsleaktest.com. This website will display your IP address. Close the browser. Now let’s try Proxychain.

The syntax to run proxychain is: $ proxychains <application/command>

Let’s run Proxychain and see if it works. Open the terminal and run the following command:

$ proxychains firefox www.dnsleaktest.com

You can now see that the IP address has changed.

cc

Now, click on Standard Test. If the proxy servers you are using are online, then you will be shown different IP addresses that hide your actual IP address.

Proxychain is a great way to hide the IP address. But it is not enough. To add another layer of anonymity, you can use Anonsurf.

Anonsurf for Anonymity

Anonsurf is a tool that will help you stay anonymous by routing every packet through TOR relay. When you use Anonsurf for ethical hacking, all the traffic from your system goes through a TOR proxy server due to which your IP address is changed.

Now let’s see how to install and use Anonsurf for ethical hacking on Ubuntu.

To download Anonsurf, run the below command in the terminal:

$ git clone https://github.com/Und3rf10w/kali-anonsurf.git

Next, you will have to install Anonsurf. To do this, run the following commands in the terminal:

$ cd kali-anonsurf/

$ ./installer.sh

Now that Anonsurf is installed, let’s see how it works. But before that, let’s check if your IP is traceable. To check this, open any internet browser and open the following URL: https://www.dnsleaktest.com

This website will display your IP address. Now close the browser and run Anonsurf.

To start Anonsurf, run the below command in the terminal:

$ anonsurf start

Now, open the browser again and goto https://www.dnsleaktest.com. You will see that your IP address is changed. This means that the traffic from your system is being routed through another server.

To know about other options of Anonsurf for ethical hacking, run the following command in the terminal:

$ anonsurf

201on

Anonsurf and Proxychains help you hide your IP address. But is hiding the IP address enough? Not at all! The next level of Anonymity can be achieved by changing the MAC address.

MacChanger for Anonymity

Every device has a unique MAC address assigned to it by the manufacturer. This MAC address is stored in the router’s table when you are connected to it. Because the MAC address is unique to every device, it can be used to identify the system/ device that was used by the hacker, which might result in revealing your identity.

To avoid getting identified by your MAC address, you can temporarily change it. This is where you can use MacChanger for ethical hacking. MacChanger is a tool that will change the MAC address of a device to a fake MAC address until the device is rebooted.

To install MacChanger, run the below command in your terminal:

$ sudo apt install macchanger

Now, let me tell you how you can change the MAC address of a network device.

To check which devices are available on your system, run the below command in your terminal:

$ ifconfig

Look at the MAC address of the interface ens33, I will be changing this to some random MAC address. To change the MAC address, I will run the following command in the terminal:

$ sudo macchanger -r ens33

Note: You might have different interfaces on your system, make the changes in the above command accordingly.

erw

You can see that the MAC address has been changed. MacChanger is a simple, but important tool to hide the hacker’s identity.

Alternatively, if you are looking for a quick and easy setup solution then you may consider using a VPN that anonymizes traffic out of the box.

One comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.