Password Cracking with Brute Force Algorithm and Dictionary Attack Using Parallel Programming
Ibrahim Alkhwaja, Mohammed Albugami, Ali Alkhwaja et al. · Applied Sciences · 2023
Studying password-cracking techniques is essential in the information security discipline as it highlights the vulnerability of weak passwords and the need for stronger security measures to protect sensitive information. While both methods aim to uncover passwords, both approach the task in different ways. A brute force algorithm generates all possible combinations of characters in a specified range and length, while the dictionary attack checks against a predefined word list. This study compares the efficiency of these methods using parallel versions of Python, C++, and Hashcat. The results show that the NVIDIA GeForce GTX 1050 Ti with CUDA is significantly faster than the Intel(R) HD Graphics 630 GPU for cracking passwords, with a speedup of 11.5× and 10.4× for passwords with and without special characters, respectively. Special characters increase password-cracking time, making the process more challenging. The results of our implementation indicate that parallel processing greatly improves the speed of password-cracking techniques. The brute force algorithm achieved a speedup of 1.9× with six cores, while the dictionary attack showed a speedup of 4.4× with eight-core static scheduling. Studying password-cracking techniques highlights the need for stronger security measures to protect sensitive information and the vulnerability of weak passwords.
Cited by 41 works. doi:10.3390/app13105979 Open-access PDF
Authors
- Ibrahim Alkhwaja
- Mohammed Albugami
- Ali Alkhwaja
- Mohammed Abdualrhman Alghamdi
- Hussam Abahussain
- Faisal Alfawaz
- Abdullah Almurayh
- Nasro Min‐Allah
References
- Parallel active dictionary attack on WPA2-PSK Wi-Fi networks
- Password recovery using MPI and CUDA
- Constant memory optimizations in MD5 Crypt cracking algorithm on GPU-accelerated supercomputer using CUDA
- An Energy-Efficient Accelerator Based on Hybrid CPU-FPGA Devices for Password Recovery
- A New Distributed Brute-Force Password Cracking Technique
- Password Recovery for RAR Files Using CUDA
- An Efficient Brute Force Attack Handling Techniques for Server Virtualization
- Optimized Password Recovery for SHA-512 on GPUs
- Analysis of GPGPU-Based Brute-Force and Dictionary Attack on SHA-1 Password Hash
- Optimized Password Recovery for Encrypted RAR on GPUs