Categories
Security

creddump Decrypting Decoding Security for Windows

creddump will dump passwords from user’s credential files and show them in they’re cleartext form
creddump is a software application that will dump passwords from user’s credential files and show them in they’re cleartext form.

Credential Manager is a new SSO solution that Microsoft offers in Windows Server 2003 and Windows XP to provide a secured store for credential information.

Credential Manager allows you to input user name and passwords for various network resources and applications once, and then have the system automatically supply that information for subsequent visits to those resources without your intervention.

One example is the command:
net use * \computer_nameshare_name /user:user_name password /savecred

Credential Manager stores user’s credentials in the following files:

– Enterprise Credential Set:
Documents and Settings%Username%Application DataMicrosoftCredentials%UserSID%Credentials

– Local Credential Set:
Documents and Settings%Username%Local SettingsApplication DataMicrosoftCredentials%UserSID%Credentials

On WindowsXP, the application “Stored User Names and Passwords”, that can be found under Start-> Settings-> Control Panel-> User Accounts-> ?count% -> Manage my network passwords, allows you to manage this kind of credentials.

HOW IT WORKS:

The program follows the same methodology used by Todd Sabin in his PWDUMP2 program to decrypt credential files. It uses the “DLL injection” technique to run a thread in the same security context of the Local Security Authority Subsystem process.

The thread’s executable code must first be copied to the address space of LSASS process and this requires an account with the SeDebugPrivilege user right.

By default only Administrators have this right. Once injected and executed, the thread will run with the same access privileges of the Local Security Authority Subsystem and will use the native undocumented LsaICryptUnprotectData API from LSASRV.DLL to decrypt the credentials file.

The thread stores the output of this API in a temporary file named cred.txt located in the same directory of the program. Finally, user’s credentials are dumped and put ont the screen.

Credential Manager can store various kind of passwords, they can be saved as MultiByte or WideChar strings, security BLOBS and certificates too. The choice of the final encryption method is left to the user.

The program will try to recognize plaintext passwords stored as MultiByte strings or WideChar strings, and will also decode Passport and Standard (no entropy) credential BLOBS originally stored using the CryptProtectData API.

USAGE:

Copy the executable files (creddump.exe, creddump.dll) in the same directory and type creddump at the command prompt.

See Demo – Download – Visit Author Site

Please comments and give ratings. You may also report of broken or incorrect link using comments box below. Thanks!