Privilege Escalation Hash Type
I am trying to learn about privilege escalation and at one point the tutorials says to try a registry search for passwords.


reg query HKCU /f password /t REG_SZ /s


[font=Tahoma, Verdana, Arial, sans-serif]reg query HKLM /f password /t REG_SZ /s[/font]

[font=Tahoma, Verdana, Arial, sans-serif]I have some passwords that returned that seem to be encrypted, what encryption do they use?[/font]
while you are on that learning trip, I think it wouldn't hurt to read this about "encrypted passwords":
Thanks for the article and mild rebuke. Actually I have been guilty of using the wrong terminology and my understanding is clearer now.

Although, in my question above I thought I asked a legitimate question.

If passwords are retrieved from the registry are they stored as base64?
Passwords from the registry can be everything. Which password are you talking about?
It can be Windows passwords (LM, NTLM), it can be application password (FTP, etc.), please be more specific about the one(s) your have found.
Here is one of the results from the registry pull.

Password REG_SZ xxxxxxmCO6g=

(I x'd out half of the password)
There is no generic answer to that, it depends on the software that put the info there. The password could be hashed, encrypted or simply encoded.
The '=' at the end *migth* be a padding, often used by base64/32 encoding.
+1 you need to know how the software writes it.
Thanks for the info. I'll take a deeper look.