Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 03-14-2006, 02:26 PM   #1 (permalink)
 
True Techie

Join Date: Mar 2006

Posts: 112

syringe

Send a message via Yahoo to syringe
Default mscash to md4 ??

Hi

I found this somewhere:

Quote:
MSCASH = MD4( MD4(password ) || lowercase(username) )

Can somebody please explain every step of generating an mscash hash (first generate the md4 hash of the plain text password.......)?

and is there any way to revert an mscash hash to an md4 hash, when the salt (=username) is known?

I'd be very grateful for a reply
syringe is offline  
Old 03-14-2006, 09:40 PM   #2 (permalink)
 
Ultra Techie

Join Date: Sep 2005

Posts: 638

tommyboy123x is on a distinguished road

Send a message via AIM to tommyboy123x
Default

it looks like a way to check to see if the password and username are accepted in some login screen or something. My guess is that MSCASH is a sort of variable or possible access to a db file. The password you log in with is encrypted with the MD4 algorithm, paired with the lowercase(username), and either stored as the variable or checks the file MSCASH to see if it has that username/password combo

again, this is only a guess... a little more info would be necessary to accuratelly tell what it does such as what the file is called where the text came from, what language this is in, etc etc
__________________

Some real (as in actual) surveys that pay money!
tommyboy123x is offline  
Old 03-15-2006, 06:43 PM   #3 (permalink)
 
Ultra Techie

Join Date: Jul 2005

Posts: 530

TheHeadFL

Send a message via AIM to TheHeadFL
Default

Since MDx functions are "message digest" functions, the answer is that no, there is no way to get the original hash from the MSCACH hash, since MD4 (like the more common MD5) is a one-way hash type function.
__________________
Desktop machine: 2 x Opteron 246, Asus K8N-DL, 2GB PC3200 ECC Reg., XFX GeForce 6600GT, 74gb WD Raptor, 2 x 19\" LCDs, Windows XP x64
Server machine: Intel P4 3.0GHz 2MB EM64T, ECS i865pe, 1GB PC3200, 36gb WD Raptor, Windows Server 2003
Laptop: Dell Inspiron 9100 (Intel P4 3.2GHz 1MB Prescott, i865pe, 512MB PC3200, Mobility Radeon 9700, DVD+R/DL Burner), Windows XP
Linux: P3 450Mhz, 386MB ram, Slackware 10.1 (Running mySQL/Apache)
TheHeadFL is offline  
Old 03-16-2006, 06:44 AM   #4 (permalink)
 
True Techie

Join Date: Mar 2006

Posts: 112

syringe

Send a message via Yahoo to syringe
Default

hello tommyboy,

it is fine to assume, to guess and to think, but at least try to
make a little bit of research. You can provide yourself with the information needed in this case. The MSCash is nothing wrapped in mystery, it is simply the hashing mechanism of Microsoft to store Domain login credentials on the local machine.

Quote:
By default Windows 2000, XP and 2003 systems in a domain or Active Directory tree cache the
passwords and credentials of previously logged in users. This is done so that the users can still
login again if the Domain Controller or ADS tree can not be reached either because of Controller
failure or network problems. These cached passwords are stored as hashes in the local systems
registry at the values HKEY_LOCAL_MACHINE\SECURITY\CACHE\NL$1 though NL$10.

syringe is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On