Penetration Testing mailing list archives
Re: Format of SAM File
From: Ron <ron () skullsecurity net>
Date: Thu, 09 Jul 2009 15:06:19 -0500
Hernandez IV, Miguel wrote:
All, Looking for a reference that describes the format of the windows SAM file. From what I can tell, the first column is the username and third column is the password hash, but I want to know what information is contained in the other columns. Google searches on "format windows SAM file", "understand windows SAM file", and other related searches have proved frustrating. I should mention that the SAM file was obtained using pwdump6 in case that is relevant. The format I am seeing is as follows: Username:number:password hash:another hash?:blank:blank:blank Any help is much appreciated.Miguel
Hi Miguel,There's no "standard" format, but the format that's most often used (by pwdump and fgdump, for example) is:
username:rid:lanman:ntlm:::rid is basically the user id on the system -- 500 = admin, 501 = guest, 1000+ = standard users.
lanman and ntlm are two different types of hashes -- lanman is weak, ntlm is reasonable.
I'm not sure what, if anything the last three spots are. Hope that helps! Ron ------------------------------------------------------------------------ This list is sponsored by: Information Assurance Certification Review BoardProve to peers and potential employers without a doubt that you can actually do a proper penetration test. IACRB CPT and CEPT certs require a full practical examination in order to become certified.
http://www.iacertification.org ------------------------------------------------------------------------
Current thread:
- Format of SAM File Hernandez IV, Miguel (Jul 09)
- Re: Format of SAM File Ron (Jul 10)
- RE: Format of SAM File Pete.LeMay (Jul 10)
- Re: Format of SAM File Jeffrey Walton (Jul 10)
- Re: Format of SAM File Tim (Jul 10)
- Re: Format of SAM File Chris Brenton (Jul 10)
- Re: Format of SAM File David Howe (Jul 10)
- Re: Format of SAM File David Howe (Jul 10)
- Re: Format of SAM File Marc Ouwerkerk (Jul 10)
- RE: Format of SAM File Anthony Miracle (Jul 10)
- Re: Format of SAM File Ron (Jul 10)