How to Anonymize Your Linux System with Whoami

by Marlon Altenwerth
15 minutes read

How to Anonymize Your Linux System with Whoami

A image of a guy in a somber elbowroom in front of a computer system.

Whoami is a attentive toolkit that can anonymize a dashing Linux session. It comes with scripts that can prowl your machine’s real IP address, adjust its default DNS resolvers, and also peg your browser. This quick post will depict you how to place Whoami and also rushed some of its parts to anonymize your Ubuntu gadget.

Note: Put on’t confuse this with the whoami command that display displays the username of the current user. Even more, Whoami works for any kind of Debian and also Arc based distro.

Material
  • Installing Whoami
  • Making utility of Whomami to Anonymize Your Ubuntu Gizmo
  • Equalizing the Hostname of Your Machine
  • Equalizing the IP Address of Your Machine
  • Equalizing the DNS Resolvers of Your Computer system
  • Pegging Your Gizmo from Frosty Restarts
  • Indurating Your Firefox Internet browser with Whoami

Installing Whoami

The first quantify in procuring the Whoami toolkit is to upgrade your Ubuntu gadget and also download the toolkit’s dependencies from appropriate:

sudo apt update && sudo apt upgrade sudo apt install tor curl python3 python3-scapy network-manager git make

Fetch the Whoami Git database from the fabricator’s Github page:

git clone https://github.com/owerdogan/whoami-project.git

Invent the folders that the Whoami Makefile supposes on your gadget:

sudo mkdir -p /usr/share/kali-menu/applications

Mount the software agenda toolkit to your gadget by dashing make:

cd ./whoami-project sudo make install

Check if you’ve satisfactorily arrange the toolkit to your gadget by dashing the obeying command:

sudo kali-whoami --status

Making utility of Whomami to Anonymize Your Ubuntu Gizmo

Via Whoami upwards and also dashing, you can currently jumpstarting to indurate your current Ubuntu session. To execute this, rushed the Whoami toolkit with the --start flag:

sudo kali-whoami --start

This will invent a retrieve variable for your machine as nicely as numbers with one voice the parts for Whoami in your current terminal session.

A terminal evidencing the Whoami manuscript dashing on Ubuntu.

Equalizing the Hostname of Your Machine

One of the most convenient glazing parts to utilise in Whoami is its “Hostname changer” gadget. This enables you to adjust your gadget’s tag which can be insightful if you’re in a public Wi-Fi network.

To jumpstarting, kind “7” after that press Enter. This will add a new-made checkmark on the side of the “Hostname changer” tag.

A terminal evidencing the Hostname changer module toggled in Whoami.

Press Enter to sustain the new-made postures, after that reboot your machine to use it.

Confirm that your computer system is currently gaining utilise of a unalike hostname by opening a new-made terminal session.

A terminal evidencing a custom hostname for the Ubuntu gadget.

To cripple the revised hostname, rushed the --stop flag with the Whoami manuscript, after that reboot your machine.

sudo kali-whoami --stop sudo reboot

Equalizing the IP Address of Your Machine

Apart from marring your gadget’s hostname, you can in a equal method utilise Whoami to establish your householder internet traffic with a Tor clear proxy. This supplies you an added layer of safety by marring the IP address that you broadcast to your location website.

To execute this, cripple the default ufw firewall program for your gadget:

sudo systemctl disable --now ufw.service

Run the Whoami manuscript with sudo privilages:

sudo kali-whoami --start

Kind “3”, after that press Enter to toggle the manuscript’s IP changer module.

A terminal evidencing the IP changer module toggled in Whoami.

Press Enter anew to permit the IP changer module on your current session.

Note: making it viable for the IP address changer module will cripple net connectivity for command queue timetables.

Check if your gadget is currently reporting a unalike outside IP address by loading an IP address studying website.

A screenshot evidencing the adjust in the IP address for the current Ubuntu session.

To cripple the Tor clear proxy, rushed the Whoami manuscript cooperated with by the --stop flag:

sudo kali-whoami --stop

Commendable to realise: learn how Tor can preserve your virtual personal solitude by placing with each other your own Tor website.

Equalizing the DNS Resolvers of Your Computer system

DNS resolvers can be a personal solitude confuse especially if you’re perusing on a public network whereby you worn’t realise who’s squaring net addresses for you. That enumerated, the Whoami toolkit comes with a module that adjusts your machine’s DNS resolvers to a personal solitude-valuing with one voice with one voice-natural.

To utilise this, rushed the toolkit manuscript with sudo boni:

sudo kali-whoami --start

Kind “4”, after that press Enter.

A terminal evidencing the DNS changer module toggled in Whoami.

Press Enter anew to use your new-made postures to your machine.

Refresh your gadget’s DNS cache by dashing the obeying command:

resolvectl flush-caches

Confirm that your machine is currently gaining utilise of Whoami’s with one voice with one voice-natural DNS resolvers by using a dig query:

dig maketecheasier.com | grep "SERVER:"
A terminal evidencing the adjust in DNS servers for the current Ubuntu session.

Pegging Your Gizmo from Frosty Restarts

Besides anonymizing your machine from network-affiliated pounces, the Whoami manuscript can in a equal method preserve your gadget from any man relevant snooping its gadget documents.

To execute this, rushed the Whoami manuscript with sudo boni:

sudo kali-whoami --start

Kind “2”, after that press Enter.

A terminal evidencing the Gizmo Log remover toggled in Whoami.

This will educate the manuscript to instantly separate any kind of log documents in the gadget in the past closing the machine down.

Kind “9”, after that press Enter.

A terminal evidencing the Anti Frosty Boot module toggled in Whoami.

The “Anti-Frosty Boot” module brunts the gadget to tidy the file within the energetic memory in the past closing the gadget down. This will inhibit any man from reading anything comprehensive from your machine’s memory once it first boots upwards.

Press Enter to sustain the adjusts and also permit the parts.

FYI: learn how you can pace upwards your gadget by making it viable for ZRAM and also Zswap in Ubuntu.

Indurating Your Firefox Internet browser with Whoami

While net internet browsers bargain as a link between you and also the net, they are one of the biggest personal solitude threats in a Linux machine. The Whoami manuscript mitigates this priority by issuing a personal solitude-oriented “user.js” file which dramatically hardens a criterion Firefox ESR place.

To execute this, chummy Firefox ESR after that rushed the Whoami manuscript with sudo boni:

sudo kali-whoami --start

Kind “8”, after that press Enter.

A terminal evidencing the Internet browser Indurating module toggled in Whoami.
How to Anonymize Your Linux System with Whoami 28

Press Enter anew to permit the Internet browser Indurating module in your gadget.

Invent a previously-up xerox of the default user.js file on your gadget, after that adjust it with the manuscript that came from Whoami:

sudo cp /etc/firefox-esr/syspref.js /etc/firefox-esr/syspref.js.bak sudo mv /etc/firefox-esr/whoami.js /etc/firefox-esr/syspref.js

Confirm that your new-made user.js file is kneading satisfactorily by opening Firefox and also attending “around:config.”

Click “Embrace the Bungle and also Recur”, after that kind privacy.firstparty.isolate on the page’s searchbar. Doing this ought to adjust a boolean variable with a incentive of “real.”

A screenshot evidencing the revised firstparty.isolate incentive in Firefox ESR.

Seeing how to anonymize your Ubuntu gadget with Whoami is simply the first quantify in encountering your digital personal solitude. Discover the mesmerizing globe of safety-oriented distros by posing some of the ideal Linux-libre tools today.

Assume of debts: Jefferson Santos by means of Unsplash. With one voice alterations and also screenshots by Ramces Red.

Related Posts