Back to News
Advertisement

Show HN: I Dedicated 4 Years to Mastering Offline Password Cracking

bbojta-lepenye about 6 hours ago 24 comments

RU version is available. Content is displayed in original English for accuracy.

Hi everyone,

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

Advertisement

⚡ Community Insights

Discussion Sentiment

100% Positive

Analyzed from 720 words in the discussion.

Trending Topics

#book#password#hashcat#lost#video#cracking#things#relevant#linux#great

Discussion (24 Comments)Read Original on HackerNews

aqsa_sajjad7 minutes ago
This is a really impressive project, especially starting at 14. The point about there being no single comprehensive resource rings true, I've tried to learn about password security before and always ended up jumping between five different tabs just to understand one concept.
raphmanabout 4 hours ago
Thanks for sharing. This looks interesting. Impressive achievement.

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!

dugidugoutabout 1 hour ago
What did you find slightly imprecise?
eigenrickabout 2 hours ago
This is an amazing achievement for someone of any age, but to publish a book with this much research at 18 is phenomenal. I heartily congratulate you.

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.

gabrielsrokaabout 4 hours ago
Great job. The book is 427 pages.

Why not put the video on YouTube?

bradgranathabout 1 hour ago
Are you drunk? He’s lucky Google and Amazon haven’t noticed yet. If he wants to keep access to his accounts he should pull them down immediately and distribute via torrent.
isityettimeabout 1 hour ago
Why? Don't they both sell other books on cracking and pentesting and whatever? There are tons of videos on YouTube about hashcat and aircrack-ng and rainbow tables and blah blah blah.

You think this stuff is some kind of secret or illicit knowledge?

The video is just less than half a minute of him flipping through some pages in the book anyway.

Tamklomo29 minutes ago
Because of a Hashcat tutorial book and video?

Even Claude will help you setup hashcat and co without complaining?

Footprint0521about 1 hour ago
The video url is down? This sounds super interesting!
nilirlabout 1 hour ago
I love the book cover! Great job, Bojta.
andaiabout 3 hours ago
Congratulations! The book looks great.

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?

TeaVMFan44 minutes ago
I too would be interested in hearing about the writing and formatting process. I described my own process as a software engineer and first-time novelist here: https://frequal.com/forwriters/
sijmenabout 3 hours ago
Congratulate on finishing such a big project on a complicated topic, and putting in all this effort so that others can learn as well. I enjoyed reading the first few pages on Amazon
kelsey98765431about 2 hours ago
can you discuss your coverage of password mask attacks, specifically is there any advances since EBM
paulpauper42 minutes ago
relevant https://en.wikipedia.org/wiki/2022_LastPass_data_breach

probably a lot of ppl lost crypto this way.

Tamklomo27 minutes ago
I don't think so. Every lastpass vault is encrypted by the users password.

Wikipedia states that there were some field unencrypted, sure, but not the critical data.

More people probably lost crypto by forgetting their passwords like a friend of mine. 10k gone

latchkeyabout 1 hour ago
when i was running 150k amd gpus... i really wanted to use the cluster to run hashcat to help people recover lost things. i couldn't convince management that that was a profitable business to run.
dantillberg26 minutes ago
> help people recover lost things

You mean "lost things" in quotes. Management may have been more concerned about jail time.

Tamklomo24 minutes ago
Plenty of valid reasons to recover lost things and not just 'lost things'.
latchkey21 minutes ago
Yes that was what i was implying.
Advertisement
saberienceabout 1 hour ago
There’s a reason there are no books about this, because most people are not interested in cracking local/offline passwords.

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.

virtualritz22 minutes ago
When I lived in Adelaide, Australia 2006 or 2007, flexible-neck LED lamps that you plugged into an USB port to have light on your keyboard (backlit keyboards were not the norm on laptops) were a novelty item.

People simply didn't /know/ about them/that they existed at all.

I went to a computer/electronics shop in town and asked for them.

The guy told me: "We don't stock them because people don't ask for them."

Tamklomo25 minutes ago
The reason is, that using hashcat is not complicated for people who have linux experience and the amount of people wanting to crack a password is probably not that high.

Otherwise you do find plenty of people on YT walking you through hashcat. The first YT Video alone has 7 Million views: "how to HACK a password // password cracking with Kali Linux and HashCat"

I wish him luck, great drive to do this, i hope it works out well enough, books are just in general not easy to sell.

papascrubs36 minutes ago
Uh, what?

I'd say that this is a bit relevant to the entire field of cyber security and a good chunk of development roles. If you're not concerned about how password hashing (which is a key component of understanding cracking) works as developer-- I'm not sure what to say. While not all of the in-depth research is probably needed. It's definitely relevant to many technical fields. I work in offensive security and we use tools like this daily in our industry. And no we are not cyber criminals.