How to install hashcat 6.2.5 on ubuntu 18

Installing Hashcat 6.2.5 on Ubuntu 18 can be a bit tricky, but with the right steps, it can be done quickly and easily. Hashcat is a powerful password cracking tool that can be used to recover lost or forgotten passwords for various platforms, including Windows, Linux, and macOS. In this blog post, we will go over the steps required to install Hashcat 6.2.5 on Ubuntu 18, from downloading the software to configuring it for use.


Before installing Hashcat on Ubuntu 18, there are a few prerequisites that must be met in order for the installation to be successful.

  1. Operating System: Hashcat is compatible with Ubuntu 18, so make sure that your system is running this version of Ubuntu.
  2. Hardware: Hashcat requires a powerful GPU in order to crack passwords quickly. It’s recommended to have a GPU with at least 4GB of memory and support for CUDA or OpenCL.
  3. Drivers: Make sure you have the latest GPU drivers installed on your system. These drivers are required for Hashcat to communicate with your GPU and make use of its capabilities.
  4. Internet connection: Hashcat requires an internet connection to download the necessary dependencies and to download the software.
  5. Basic knowledge of the command line: Installing Hashcat requires some basic knowledge of the command line. Knowing how to navigate the file system, extract files, and run commands is essential.
  6. Legal considerations: As mentioned earlier, cracking passwords without proper authorization is illegal in many places, so make sure you are aware of the laws in your jurisdiction and that you have the necessary permissions before attempting to use Hashcat.

Step by Step guide To Install Hashcat 6.2.5 On Ubuntu 18

Step 1: Download Hashcat

The first step in installing Hashcat 6.2.5 on Ubuntu 18 is to download the software. The latest version of Hashcat can be downloaded from the official website at Make sure you download the version that is compatible with your system, in this case, Hashcat 6.2.5 for Ubuntu 18.

Step 2: Install Required Dependencies

Before installing Hashcat, you will need to install some required dependencies. Open a terminal and enter the following command to install the necessary dependencies:

sudo apt-get install build-essential p7zip-full

This command will install the build-essential package, which includes all the tools needed to build Hashcat, as well as the p7zip-full package, which is required to extract the downloaded Hashcat file.

Step 3: Extract the Hashcat File

Once the dependencies are installed, you can extract the downloaded Hashcat file. Use the following command to extract the file:

7z x hashcat-

This command will extract the Hashcat file to the current directory.

Step 4: Compile Hashcat

With the file extracted, you can now compile Hashcat. Use the following command to compile the software:


This command will build the Hashcat software, and you should see several lines of output indicating that the software is being built.

Step 5: Configure Hashcat

Once Hashcat is compiled, you can configure it by editing the hashcat.hcstat2 file. This file contains various settings for Hashcat, such as the number of threads to use, the amount of memory to use, and the number of hash types to support. You can use a text editor such as nano or vim to edit the file.

Step 6: Test Hashcat

With Hashcat installed and configured, you can now test it to make sure it is working properly. Use the following command to test Hashcat:

./hashcat -b

This command will run Hashcat in benchmark mode and will display the performance of your system.

Step 7: Use Hashcat

Once you have verified that Hashcat is working properly, you can start using it to crack passwords. Hashcat supports a wide range of hash types, and you can use the -m option to specify the hash type you want to use.

For example, to crack an MD5 hash, you would use the following command:

./hashcat -m 0 -a 0 hash.txt dictionary.txt

This command will use Hashcat to crack an MD5 hash using a dictionary attack, and the hash.txt and dictionary.txt files are the files containing the hash and the dictionary respectively.

Testing Hashcat

After installing Hashcat on Ubuntu 18, it’s important to test the software to ensure that it is working properly.

One way to test Hashcat is to run it in benchmark mode using the following command:

./hashcat -b

This command will run Hashcat in benchmark mode and will display the performance of your system. The benchmark will test the performance of your GPU and the software, showing you the speed at which it can crack different types of hashes.

Another way to test Hashcat is to use it to crack a known hash. This can be done by generating a test hash, and then running Hashcat against it using the correct options and wordlists.

Also Read : OSIE Visual Effect

It’s important to note that you should use test hashes and wordlists, and not real hashes or wordlists that belong to someone else, as cracking real passwords without authorization is illegal in many places.

After testing Hashcat, you should also verify that it is able to crack the hashes you expect it to, and that the results match the expected outcome.


Installing Hashcat 6.2.5 on Ubuntu 18 is not a difficult task, but it does require some knowledge of the command line. With the steps outlined in this blog post, you should be able to install and configure Hashcat on your Ubuntu 18 system in no time. Remember that Hashcat is a powerful tool, and it should be used responsibly. It is intended for use in password recovery and penetration testing, and should not be used to crack passwords without the proper authorization.

It’s also important to keep in mind that cracking password without permission is illegal in many places. If you’re not sure whether you are allowed to crack a password or not, please consult a lawyer or a legal expert.

In addition, you should also make sure to keep your Hashcat software up to date to ensure that it can handle the latest password cracking techniques and hash types. You can check for updates on the official Hashcat website, and download the latest version as soon as it is available.

Also Read : How to make a bullet point on keyboard

Overall, Hashcat is a powerful and versatile tool that can be used to recover lost or forgotten passwords, and with the right steps, it can be easily installed and configured on an Ubuntu 18 system. Whether you’re a system administrator, a penetration tester, or a security researcher, Hashcat is a valuable tool that can help you recover lost or forgotten passwords and keep your systems secure.


Please enter your comment!
Please enter your name here