User ID password encryption key

How would I get the private encryption key for a user's password in a windows 2008 AD domain?
LVL 1
jimmylew52Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Russ SuterCommented:
What exactly are you trying to accomplish? Are you trying to get the user's password or are you trying to get the encryption key that Windows uses to encrypt the password? This might be a moot question since neither can be obtained. Imagine the security holes if you could?
0
jimmylew52Author Commented:
Here is what has been requested of me for an active directory user:

uid,password(encrypted) and key
0
Russ SuterCommented:
OK, well you're out of luck because that information does not exist. The UID is easy to obtain but Active Directory does not store passwords. It stores a one-way hash of the password. Authentication is performed by hashing the user's input and then checking if the hash matches the stored hash. Hashes cannot be reversed. Even if you were able to obtain the key used to create the hash, the only thing you could do with it is perform a brute force attack to try and guess the password.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Cliff GaliherCommented:
Passwords aren't encrypted with a key per-se in AD.  They are hashed.  Which is a totally different concept.  And authentication is handled through the various windows APIs or protocols available (preferably Kerberos v5 in a modern Windows AD domain.)
0
jimmylew52Author Commented:
Thanks for the confirmation of what I expected.
0
nociSoftware EngineerCommented:
The only thing with hashes is that they may have collisions.
(different passphrases that have the same outcome.  This is where rainbow tables are used for).
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Encryption

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.