Cracking Passwords Version 1.1
by: J. Dravet
February 15, 2010Abstract
This document is for people who want to learn to the how and why of password cracking. There isa lot of information being presented and you should READ IT ALL BEFORE you attempteddoing anything documented here. I do my best to provide step by step instructions along with thereasons for doing it this way. Other times I will point to a particular website where you find theinformation. In those cases someone else has done what I attempting and did a good or great joband I did not want to steal their hard work. These instructions have several excerpts from acombination of posts from pureh@te, granger53, irongeek, PrairieFire, RaginRob, stasik, andSolar Designer. I would also like to thank each of them and others for the help they have providedme on the BackTrack forum.I will cover both getting the SAM from inside windows and from the BackTrack CD, DVD, or USB flash drive. The SAM is the Security Accounts Manager database where local usernames and passwords are stored. For legal purposes I am using my own system for this article. The first stepis to get a copy of pwdump. You can choose one fromhttp://en.wikipedia.org/wiki/Pwdump.Update: I used to use pwdump7 to dump my passwords, however I have come across a new utilitycalled fgdump fromhttp://www.foofus.net/fizzgig/fgdump/This new utility will dump passwordsfrom clients and Active Directory (Windows 2000 and 2003 for sure, not sure about Windows2008) where pwdump7 only dumps client passwords. I have included a sample hash.txt that hassimple passwords and should be cracked very easily. NOTE: Some anti-virus software packagesflag pwdump* and fgdump as trojan horse programs or some other unwanted program. If necessary, you can add an exclusion for fgdump and/or pwdump to your anti-virus package so itwon't flag them. However it is better for the community if you contact your anti-virus vendor andask them to not flag the tool as a virus/malware/trojan horse.You can find the latest version of this document athttp://www.backtrack-linux.org/
Contents
1LM vs. NTLM2Syskey3Cracking Windows Passwords3.1Extracting the hashes from the Windows SAM3.1.1Using BackTrack Tools3.1.1.1Using bkhive and samdump v1.1.1 (BT2 and BT3)3.1.1.2Using samdump2 v2.0.1 (BT4)3.1.1.3Cached Credentials3.1.2Using Windows Tools3.1.2.1Using fgdump3.1.2.2Using gsecdump
Cracking Passwords Version 1.1file:///D:/password10.html1 of 452/15/2010 3:48 PM
Add a Comment
Arafat Slimenleft a comment