best linux tools

Best Linux Tools and Utilities to Install – Kali

Update and Upgrade Linux

Before we can install my favorite linux tools, we need to be certain to update and upgrade all the necessary packages of our distribution. This can be done by opening the Terminal and running the following:

apt-get update && apt-get upgrade
  • apt-get update – updates the list of packages and their version but doesn’t actually upgrade or install the packages.
  • apt-get upgrade – installs the newer version of packages based on the updated list.

This may take a while, so just let it do it’s thing while it goes through and updates all your packages/dependencies.

After upgrading and rebooting, I was having an issue booting back into Kali. This is because my laptop has 2 graphics cards (you may not have this issue). The command lspci should help you confirm if the Nvidia is installed. If this is the case, open terminal and type:

apt-get remove nvidia* --purge 
reboot

This will remove the conflicting Nvidia drivers and use Intel graphics card.

Add New User

It’s very important to add a new user to your Kali distro. While it’s okay to use ‘root’ user, it isn’t recommended you use root for everything because root has all permissions. This means that you can damage your system files if you don’t know what you are doing. Having an account with stricter permissions will protect your sensitive files.

To add a new user, simply open terminal and type:

adduser userone

or

adduser userone sudo

replace “userone” with the username of your choice.

Continue reading

WPA_Supplicant config for WPA encryption Backtrack 5

Why use WPA_Supplicant Daemon?

Wpa_supplicant config

So after finding an old Backtrack 5 R3 persistent USB drive I had created years ago, I booted it up to browse the content I had on it. Last time I used it, I was connected to a WEP encrypted network, but as we all know those offer weak protection and are slightly outdated for today. The tools and techniques to break WEP encryption have been around for a while and therefore WEP is rarely used these days. That being said, WPA encryption isn’t flawless, but a better alternative. I’m not going to discuss how to crack those here. Anyway, I figured I would share with you how to connect to a WPA encrypted network in Linux using the terminal and WPA_Supplicant daemon.

If you’re still using Backtrack 5 R3, I recommend upgrading to Kali Linux by creating a persistent USB.

Normally, we use iwconfig to configure wireless networks. However, iwconfig does not support WPA/WPA2 encryption. We have to use the “WPA_Supplicant Daemon” to connect to a WPA encrypted network.

Wpa_supplicant comes pre-installed in most Linux distros (including Backtrack 5 R3, Kali Linux and Ubuntu). Since Backtrack 5 R3 is outdated, it is configured to make connecting to WEP encrypted networks easily,

Continue reading