Show HN: I Dedicated 4 Years to Mastering Offline Password Cracking
I am Bojta Lepenye, and first of all, I want to thank the core developers of Hashcat. In my experience, it is quite literally the most capable tool available for offline password cracking across a wide range of use cases.
I have spent the last 4 years (from age 14 to 18) extensively working with Hashcat and the tools surrounding it, and I have documented what I have learned throughout that time (since January 18, 2022) in my first book. During that period, I also had to continuously update and rewrite major sections as the field evolved. One example was the introduction of GPU support for Argon2 and other memory-hard password hashing algorithms, which significantly changed some cracking workflows.
My passion for this book, or its “quick starter,” if you will, came from an ethically conducted penetration test I performed with full authorization at my school. This is something I am both hesitant and quite proud to acknowledge.
At the beginning, I simply wrote down everything I had learned from YouTube videos and online blogs. However, not long after starting my project, I realized I practically knew nothing about password security, and that small 10 to 15 pages I had written would never be enough if someone was looking for a professional guide to cracking passwords.
The other main driving force behind the book was the fact that while researching online, browsing forums, reading academic papers and white papers, watching videos, exploring blogs, inspecting presentations, and examining infographics, I did not find a single source that comprehensively covers and explains everything one needs to understand about offline password cracking. Literally. Not one.
Therefore, I continued my research and learned about password hashing algorithms, the security properties of hash functions, advanced hash cracking techniques, password analysis, attack optimization, and much, much more.
From the very beginning, I wanted to share this knowledge with the community because having access to a resource like this would have helped me tremendously when I first started learning password cracking.
I sincerely hope this work will be useful to both beginners and experienced professionals alike, and I look forward to hearing your thoughts and feedback.
I have also put together a little video to give you a little sneak peek into it. It is on Google Drive. It is the official domain, and you do not need to download anything. Here it is: https://drive.google.com/file/d/13LeysSZO8Mx-LGKt8UQjUGBKOYH...
If you are interested, the book is now publicly available on Amazon, and can be read for free with a Kindle Unlimited subscription: https://www.amazon.com/dp/B0GX36XRCD
30 comments
[ 3.8 ms ] story [ 44.5 ms ] threadWhy not put the video on YouTube?
This book is currently not really relevant for me, so I just skimmed the samples on Amazon. I found the technical content to be reasonably accurate and interesting although sometimes a little bit verbose (e.g., the section about 'what is a password') or slightly imprecise. In general, I think this book might have benefited from a thorough copyediting pass. There are quite a few grammar errors and unpolished sentences in the book, e.g.:
> The reason why Linux is imperative is that well, for one, most of the tools we will use, while indeed have builds for other systems, like Windows, in this book we will work with Linux.
Wishing you success and keep on writing!
I would love to hear more about the process of writing and preparing it for publishing. It's self-published? How did you do the typesetting and the diagrams?
I've hopped through the book and it seems carefully laid out and organized. I may come back at you with questions once I've read further. Cheers.
I work in info sec - I've always been interested in password cracking and hashcat specifically, but have never had the time to devote to really dig into it. I'll check it out.
Well done!
In fact, the people most interested in password cracking are usually criminals.
But good luck with the book. It’s just not a hugely in demand topic.
She is really amazing!
probably a lot of ppl lost crypto this way.
online services/anything you can autofill with pw manager:
random generated password as long as possible + MFA like hardware token (UF2)
FDE device/pw manager/anything you can't autofill:
Passphrase containing at least 8 random words (Diceware) + if possible MFA like keyfile or hardware token
Does anyone have a good cloud-hosted password cracker? I can't seem to brute force it, no matter how long I let John the ripper run.
Haven't read the book or used Hashcat, I have a question. Is there anything yet to generate rainbow tables out of password regex?
These are the kinds of real-world constraints where you actually learn how tools like Hashcat work under pressure.
You are going to do big things in the industry!
I have followed a similar path in other technical subjects, and have authored a couple of books on those journeys. I look forward to reading yours.
Some people have brought up style and structure issues with your book.. try to take this in stride. Writing for publication is its own whole thing, and involves a lot more than just putting ideas to print. Creating text that conveys the spirit, personality, and information that you want it to is nontrivial, and it takes time and practice to master. It’s easy, as a reader, to feel the rough spots in a literary work… but that does not mean that the reader would do any better when confronted with writing a book level tome, so hear the critique but don’t overthink the critic.
Even though writing well was a side quest to my otherwise very technical focus, I found a joy in developing my literary voice… and I would encourage you to keep uncovering yours.
Don’t be bullied into writing “correctly”. If you want to ponder the senselessness of life you can read one of millions of “correctly” written papers that will have you wanting to end it all just so you don’t have to go on. In these informative but wasted pages you won’t find a shred of the author, and only find yourself bored by the subject that so enthralled them to spend a thousand hours or more writing about it. What a wasted opportunity. They became so focused on writing correctly that they lost their voice entirely. Their writing may inform, but it will rarely inspire.
In these little bits of your writing I have skimmed so far, there’s plenty of warts but I feel you in the work. Your passion is contagious, and I am encouraged to learn. Sure, work out the warts, but don’t be bullied into writing “correctly” by sticking to formality and convention.
Writing is about informing, inspiring, and guiding the frame of mind of the reader. Your work does that because your voice shines through. Sure, it could be easier to read, sometimes clearer, and you should work on that if you want to, but don’t sacrifice your voice in the process. The best written work has a definite personal opinion on how to write a voice, and it’s usually not the “correct” way.
Humans writing like humans is what makes writing worthwhile in the third industrial age. Frolic in your humanity and keep up the good work. Don’t let the well intentioned bastards keep you down, especially if they have a point.