How To Install bruteforce-salted-openssl on Kali Linux
Introduction
In this tutorial we learn how to install bruteforce-salted-openssl
on Kali Linux.
What is bruteforce-salted-openssl
bruteforce-salted-openssl try to find the passphrase or password of a file that was encrypted with the openssl command. It can be used in two ways:
- Try all possible passwords given a charset.
- Try all passwords in a file (dictionary).
bruteforce-salted-openssl have the following features:
- You can specify the number of threads to use when cracking a file.
- The program should be able to use all the digests and symmetric ciphers
available with the OpenSSL libraries installed on your system.
- Sending a USR1 signal to a running bruteforce-salted-openssl process
makes it print progress and continue.
- There are an exhaustive mode and a dictionary mode.
In the exhaustive mode the program tries to decrypt the file by trying all possible passwords. It is especially useful if you know something about the password (i.e. you forgot a part of your password but still remember most of it). Finding the password of the file without knowing anything about it would take way too much time (unless the password is really short and/or weak). There are some command line options to specify:
- The minimum password length to try.
- The maximum password length to try.
- The beginning of the password.
- The end of the password.
- The character set to use (among the characters of the current locale).
In dictionary mode the program tries to decrypt the file by trying all the passwords contained in a file. The file must have one password per line.
This package is useful for security, pentests and forensics investigations.
There are three ways to install bruteforce-salted-openssl
on Kali Linux . We can use apt-get
, apt
and aptitude
. In the following sections we will describe each method. You can choose one of them.
Install bruteforce-salted-openssl Using apt-get
Update apt database with apt-get
using the following command.
sudo apt-get update
After updating apt database, We can install bruteforce-salted-openssl
using apt-get
by running the following command:
sudo apt-get -y install bruteforce-salted-openssl
Install bruteforce-salted-openssl Using apt
Update apt database with apt
using the following command.
sudo apt update
After updating apt database, We can install bruteforce-salted-openssl
using apt
by running the following command:
sudo apt -y install bruteforce-salted-openssl
Install bruteforce-salted-openssl Using aptitude
If you want to follow this method, you might need to install aptitude first since aptitude is usually not installed by default on Kali Linux. Update apt database with aptitude
using the following command.
sudo aptitude update
After updating apt database, We can install bruteforce-salted-openssl
using aptitude
by running the following command:
sudo aptitude -y install bruteforce-salted-openssl
How To Uninstall bruteforce-salted-openssl on Kali Linux
To uninstall only the bruteforce-salted-openssl
package we can use the following command:
sudo apt-get remove bruteforce-salted-openssl
Uninstall bruteforce-salted-openssl And Its Dependencies
To uninstall bruteforce-salted-openssl
and its dependencies that are no longer needed by Kali Linux, we can use the command below:
sudo apt-get -y autoremove bruteforce-salted-openssl
Remove bruteforce-salted-openssl Configurations and Data
To remove bruteforce-salted-openssl
configuration and data from Kali Linux we can use the following command:
sudo apt-get -y purge bruteforce-salted-openssl
Remove bruteforce-salted-openssl configuration, data, and all of its dependencies
We can use the following command to remove bruteforce-salted-openssl
configurations, data and all of its dependencies, we can use the following command:
sudo apt-get -y autoremove --purge bruteforce-salted-openssl
References
Summary
In this tutorial we learn how to install bruteforce-salted-openssl
using different package management tools like apt, apt-get and aptitude.