Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Ethical Password Cracking

You're reading from   Ethical Password Cracking Decode passwords using John the Ripper, hashcat, and advanced methods for password breaking

Arrow left icon
Product type Paperback
Published in Jun 2024
Publisher Packt
ISBN-13 9781804611265
Length 168 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
James Leyte-Vidal James Leyte-Vidal
Author Profile Icon James Leyte-Vidal
James Leyte-Vidal
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Part 1: Introduction and Setup
2. Chapter 1: Password Storage: Math, Probability, and Complexity FREE CHAPTER 3. Chapter 2: Why Crack When OSINT Will Do? 4. Chapter 3: Setting Up Your Password Cracking Environment 5. Chapter 4: John and Hashcat Rules 6. Part 2: Collection and Cracking
7. Chapter 5: Windows and macOS Password Cracking 8. Chapter 6: Linux Password Cracking 9. Chapter 7: WPA/WPA2 Wireless Password Cracking 10. Chapter 8: WordPress, Drupal, and Webmin Password Cracking 11. Chapter 9: Password Vault Cracking 12. Chapter 10: Cryptocurrency Wallet Passphrase Cracking 13. Part 3: Conclusion
14. Chapter 11: Protections against Password Cracking Attacks 15. Index 16. Other Books You May Enjoy

Cracking Webmin hashes

In order to crack our Webmin hashes, we will leverage the same cracking mode that we would use for a Linux hash of the same type: SHA512. A quick run of hashcat –help and passing the output to grep SHA512 will help us find what we need, as shown in Figure 8.20:

Figure 8.20 – Looking for the right mode for UNIX-style sha512 hashes

Figure 8.20 – Looking for the right mode for UNIX-style sha512 hashes

We see our $6 sequence here under mode 1800, so let’s try that for cracking when using our RockYou wordlist. As always, use rules or better-targeted wordlists if you need to! Let’s run this hash (saved into a file called Webmin.txt) using the following command:

hashcat –a 0 –m 1800 webmin.txt rockyou.txt

This is shown in Figure 8.21:

Figure 8.21 – Starting our Webmin cracking operation against the SHA512 password hash

Figure 8.21 – Starting our Webmin cracking operation against the SHA512 password hash

In this case, hashcat cracked this hash quite quickly, but not for the reasons you might think; the correct...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image