Bruteforce (online password attack) with hydra – tool
There are main two types of password attacks online and offline. Brute force attack is a trial-and-error method used to obtain information such as a user password or personal identification number (PIN). It is also called online password attack.
If you don’t know password cracking, In IT security password cracking is the methodology of guessing passwords that are stored in database.
warning: Everything shown here is for the only educational purpose only, to show the readers how hackers used this technique in order to avoid the attacks. Hacking is the crime and we are not responsible for the way you use it.
There are three types of passwords
- Dictionary attacks – using a list of traditional passwords.
- Password phishing – masquerading as a trustworthy entity.
- Brute force attacks – generating all possible combinations.
Hydra is a brute force password cracking tool. It is one of the best and well-known tool used by the people for the brute force attack.
- cmd: xhydra
- Enter 192.168.1.1 as your target.
- Use http-get as the method.
- Port 80.
- Pick a word list saved on your computer.
- Click start!
How to Install Hydra Tool on Windows and Crack WIFI Passwords
- Download Hydra from THC’s website.
- Extract Hydra in a nice location.
cmd: tar zxvf hydra-7.1-src.tar.gz
- Change to the newly made directory.
cmd: cd <new directory>
- cmd: ./configure
- cmd: make
- cmd: sudo make install
Step 1: Install
How to install on Hydra Tool on Windows:
Download and install CYGWIN – Linux-like environment for Windows.
Navigate to the directory where Hydra is placed
Open CYGWIN and type the command: cd C:\hydra-7.3
Next “./configure“, then “make” and finally “make install“
For help- type: hydra
For help for module- type: hydra –U “module-name”
Step 2: Generate password
Here we are going to hack the wifi router using the brute forcing technique.
This is my router login screen. I am trying username and password as ‘admin’, because most of them have this. I am cracking password here, you can try both. Now enter random numbers and you will see something like in screen.
Step3: open hydra
You will see something like in the screen
Now tune the hydra, give the inputs like no. of attacks etc. and you will see something like shown in the picture below
Step 4 result
At the end of processing you will see the result in yellow highlighted fonts, like this. And you got that, congrats.