Create an account Home  ·  Topics  ·  Downloads  ·  Your Account  ·  Submit News  ·  Top 10  
Modules
· Home
· Content
· FAQ
· Forensic Downloads
· Forensics Feedback
· Forums
· Recommend Us
· Statistics
· Surveys
· Top 10
· Topics
· Training Reviews
· Web Links
· Your Account

Our Membership

Latest: vacckev
New Today: 3
New Yesterday: 1
Overall: 26163

Computer Forensics
This is a free and open peer to peer medium for digital and computer forensics professionals and students. Please help us maintain it by contributing and perhaps linking to us from your own website.

Recent Posts

 computer forensics or information security
 LinkedIn Forensic Toolset - Beta Testers
 duplicators which can image without removing hard drive
 SMART for Linux - copy mount point
 Stegnography

Computer Forensics World Forums


Pages Served
We received
28692878
page views since August 2004

Security Sources

Firewalls
Cryptography
ISO 17799 ISO 27001
ISO 17799 Toolkit
ISO 27001 & 27000
Disk Analysis
Security Policies

Computer Forensics World: Forums

Computer Forensics World :: View topic - User not present in SAM
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

User not present in SAM
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Computer Forensics World Forum Index -> Technical Issues
View previous topic :: View next topic  
Author Message
dttafor
Newbie
Newbie


Joined: Jul 06, 2012
Posts: 10

PostPosted: Fri Jul 06, 2012 4:01 pm    Post subject: User not present in SAM Reply with quote

Hi guys!

I'm new to Computer Forensics and I have encountered an issue that some of you may find really trivial. Nevertheless... I am trying to extract users passwords hashes from the SAM file I got off the machine under investigation. The problem is that I only see three accounts in the SAM file:
Administrator
Guest (not active)
ASPNET


And I can't see the main user's account - the one I need to find the password to! Why is this account not in the SAM file? Where can I find it and the hash of it's password?

PS: to examine the SAM file I have been using "SAMInside" and "Cain and Abel" - both programs see ONLY the three users listed above, and none see the user I need.

Any help will be greatly appreciated!
Thank you.

Cheers,
dttafor
Back to top
View user's profile
athulin
Newbie
Newbie


Joined: Oct 19, 2007
Posts: 181

PostPosted: Fri Jul 06, 2012 5:35 pm    Post subject: Re: User not present in SAM Reply with quote

dttafor wrote:
And I can't see the main user's account - the one I need to find the password to! Why is this account not in the SAM file? Where can I find it and the hash of it's password?


SAM is what defines user accounts on a Windows system ... if you don't find the account where you are looking, it is not an current account on the system. (It may have been one in the past, though.)

Alternatively ... you're looking in the wrong place. The account you want to find is perhaps not a local account, but a domain account. In that case, you'll find the relevant SAM on the domain controller.
Back to top
View user's profile
dttafor
Newbie
Newbie


Joined: Jul 06, 2012
Posts: 10

PostPosted: Mon Jul 09, 2012 9:29 am    Post subject: Re: User not present in SAM Reply with quote

athulin wrote:
Alternatively ... you're looking in the wrong place. The account you want to find is perhaps not a local account, but a domain account. In that case, you'll find the relevant SAM on the domain controller.


Thanks for your prompt reply and I apologize for not getting back to you over the weekend.

Most probably, you are right and it is a domain account, because this is a user in a large corporate office and these accounts are all created centrally by the IT department. Nevertheless, the question persists: if the hash for the password is not in the local SAM file, where can this hash be found locally on the machine?

It is certain that the hash of the password is present on the machine, because the user can login into the system even when the laptop is offline. We don't have access to the SAM of the domain controller, therefore we have to find the hash on the machine.

Any help/links to knowledge on this issue will be appreciated.
Thank you.

Cheers,
dttafor
Back to top
View user's profile
PreferredUser
Newbie
Newbie


Joined: Jan 01, 2007
Posts: 927
Location: USA

PostPosted: Mon Jul 09, 2012 9:43 am    Post subject: Reply with quote

h t t p : / / support . microsoft . com/kb/913485

One of many Technet articles on cached credentials.
Back to top
View user's profile
dttafor
Newbie
Newbie


Joined: Jul 06, 2012
Posts: 10

PostPosted: Mon Jul 09, 2012 3:12 pm    Post subject: Reply with quote

PreferredUser wrote:
h t t p : / / support . microsoft . com/kb/913485

One of many Technet articles on cached credentials.


Thank you for the link, the info looks useful to understand the underpinning principles but it does not pinpoint the system location to look at. Maybe you are aware of other knowledge that can point directly to where the hash is stored?

Thanks so much.

Cheers,
dttafor
Back to top
View user's profile
athulin
Newbie
Newbie


Joined: Oct 19, 2007
Posts: 181

PostPosted: Mon Jul 09, 2012 5:14 pm    Post subject: Re: User not present in SAM Reply with quote

dttafor wrote:
Nevertheless, the question persists: if the hash for the password is not in the local SAM file, where can this hash be found locally on the machine?


Googling for information on cracking crashed credentials will give you lots of references.

From a registry perspective, they're in

HKEY_LOCAL_MACHINE\SECURITY\CACHE\NL$1 through NL$10

but don't expect cleartext. One pretty good description can be found here:

http : // www . passcape . com/domain_cached_passwords

I tend to rely on Encase for extracting this information -- alternatively tools like dumpcache etc. I think Cain (from oxid . it) allows for importing cached passwords from registry hives as well, but it's ages since I used it, as it is difficult to export data from Cain.
Back to top
View user's profile
dttafor
Newbie
Newbie


Joined: Jul 06, 2012
Posts: 10

PostPosted: Tue Jul 10, 2012 3:31 pm    Post subject: Re: User not present in SAM Reply with quote

athulin wrote:

Googling for information on cracking crashed credentials will give you lots of references.

From a registry perspective, they're in

HKEY_LOCAL_MACHINE\SECURITY\CACHE\NL$1 through NL$10

but don't expect cleartext. One pretty good description can be found here:

http : // www . passcape . com/domain_cached_passwords

I tend to rely on Encase for extracting this information -- alternatively tools like dumpcache etc. I think Cain (from oxid . it) allows for importing cached passwords from registry hives as well, but it's ages since I used it, as it is difficult to export data from Cain.


athulin, thanks so much for your help!
The domain user was indeed in the indicated keys

HKEY_LOCAL_MACHINE\SECURITY\CACHE\NL$1 through NL$10

And the link on domain cached passwords was very very helpful. Especially the "Network Password Recovery Wizard" program. Even the trial version retrieves the hash for you, which I am going to decrypt in another program now.

I just have three minor questions left now:

1. Cain and Abel requires txt input of hash in the following format:
Username:RID:LMHash:NTLMHash::
where RID is the relative identifier (RID). When I retrieve hash from the SAM file using SAMInside, it indicates the RID right there. For example, admin's RID is always 500 and the guest user's RID is 501.
But when I use NPRW, it doesn't have a column "RID", but instead has "User ID" - please see images below.
Therefore, I wanted to ask whether RID and User ID are the same thing. If not, then where do I find the RID for domain users?

2. More importantly, could somebody please recommend me a free tool for decrypting NTLM hash via broot force? I was planning on using Cain and Abel, but it lacks smart brute force decryption. What I mean is, that I know that the password starts with the letter "R", followed by 5-6 non-capital letters, and the last two symbols are a digit and an exclamation mark. I'm looking for a tool that would allow to specify this format of the password (i.e. the types of symbols not only for the whole password, but for every symbol of the password separately), and hence, reduce the number of combinations to be tested.

3. Likewise, I would greatly appreciate directions toward the best tool for NTLM decryption via dictionaries and the best tool for NTLM decryption via rainbow tables. Also, preferably free tools.

Any help will be greatly appreciated!
Thank you.

Cheers,
dttafor



Back to top
View user's profile
dttafor
Newbie
Newbie


Joined: Jul 06, 2012
Posts: 10

PostPosted: Fri Jul 20, 2012 9:16 am    Post subject: Reply with quote

Hi guys!

Any thoughts on this?

More importantly, could somebody please recommend me a free tool for decrypting NTLM hash via broot force? I was planning on using Cain and Abel, but it lacks smart brute force decryption. What I mean is, that I know that the password starts with the letter "R", followed by 5-6 non-capital letters, and the last two symbols are a digit and an exclamation mark. I'm looking for a tool that would allow to specify this format of the password (i.e. the types of symbols not only for the whole password, but for every symbol of the password separately), and hence, reduce the number of combinations to be tested.

Cheers,
dttafor
Back to top
View user's profile
cybercop
Newbie
Newbie


Joined: Nov 01, 2005
Posts: 435
Location: Marion, Indiana, USA

PostPosted: Fri Jul 20, 2012 11:44 am    Post subject: Reply with quote

With the time you have been spending on trying to find an app that would allow you to specify the format as such, you could have already used a set of rainbow tables and cracked it.
Back to top
View user's profile
dttafor
Newbie
Newbie


Joined: Jul 06, 2012
Posts: 10

PostPosted: Mon Jul 23, 2012 9:01 am    Post subject: Reply with quote

cybercop wrote:
With the time you have been spending on trying to find an app that would allow you to specify the format as such, you could have already used a set of rainbow tables and cracked it.


Does this mean that the preferred method is rainbow tables? Are they more efficient?
Back to top
View user's profile
cybercop
Newbie
Newbie


Joined: Nov 01, 2005
Posts: 435
Location: Marion, Indiana, USA

PostPosted: Mon Jul 23, 2012 11:03 am    Post subject: Reply with quote

I am sincerely concerned about your situation. If there is any chance at all of a case landing in court, your lack of knowledge to this point is going to make anything you try to present as evidence questionable at best. You should really consult with a local collegue and get them to help you even if that means turning the case over to them. It is quite obvious that you are in way over your head here.
Back to top
View user's profile
dttafor
Newbie
Newbie


Joined: Jul 06, 2012
Posts: 10

PostPosted: Mon Jul 30, 2012 10:00 am    Post subject: Reply with quote

cybercop wrote:
I am sincerely concerned about your situation. If there is any chance at all of a case landing in court, your lack of knowledge to this point is going to make anything you try to present as evidence questionable at best. You should really consult with a local collegue and get them to help you even if that means turning the case over to them. It is quite obvious that you are in way over your head here.


Yes, that's because I'm learning. This is not a court case. I thought I could get some advice on this forum that would direct my skill development. Is it that much to ask?
Back to top
View user's profile
PreferredUser
Newbie
Newbie


Joined: Jan 01, 2007
Posts: 927
Location: USA

PostPosted: Mon Jul 30, 2012 12:41 pm    Post subject: Reply with quote

dttafor wrote:
Yes, that's because I'm learning. This is not a court case. I thought I could get some advice on this forum that would direct my skill development. Is it that much to ask?
People are plenty willing to assist, however it is exasperating to not get all the facts up front.
Back to top
View user's profile
dttafor
Newbie
Newbie


Joined: Jul 06, 2012
Posts: 10

PostPosted: Tue Jul 31, 2012 10:22 am    Post subject: Reply with quote

PreferredUser wrote:
People are plenty willing to assist, however it is exasperating to not get all the facts up front.


What facts are you implying??
All I'm asking is to direct me to a tool that can do this:

Quote:
could somebody please recommend me a free tool for decrypting NTLM hash via broot force? I was planning on using Cain and Abel, but it lacks smart brute force decryption. What I mean is, that I know that the password starts with the letter "R", followed by 5-6 non-capital letters, and the last two symbols are a digit and an exclamation mark. I'm looking for a tool that would allow to specify this format of the password (i.e. the types of symbols not only for the whole password, but for every symbol of the password separately), and hence, reduce the number of combinations to be tested.
Back to top
View user's profile
cybercop
Newbie
Newbie


Joined: Nov 01, 2005
Posts: 435
Location: Marion, Indiana, USA

PostPosted: Tue Jul 31, 2012 11:36 am    Post subject: Reply with quote

The biggest problem you are going to find with your software request involves the word "free". What you are seeking requires complex algorithms and a whole lot of development and testing time. Just forget the "smart" part and crack it with something like ophcrack that uses rainbow tables.

I would be happy to write you a "smart" password cracking tool, but I seriously doubt you would be willing to cover the development costs.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    Computer Forensics World Forum Index -> Technical Issues All times are GMT + 10 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB 2.0.10 © 2001 phpBB Group
phpBB port v2.1 based on Tom Nitzschner's phpbb2.0.6 upgraded to phpBB 2.0.4 standalone was developed and tested by:
ArtificialIntel, ChatServ, mikem,
sixonetonoffun and Paul Laudanski (aka Zhen-Xjell).

Version 2.1 by Nuke Cops © 2003 http://www.nukecops.com

Forums ©

 

TMs property of their respective owner. Comments property of posters. © 2007 Computer Forensics Science World.
Digital forensic computing news syndication: Computer Forensics Training News or UM Text
Software is copyrighted phpnuke.org (c)2003, and is free under licence agreement. All Rights Are Reserved.