Where does Windows keeps passwords?

Ayubjon

New member
Local time
9:57 AM
Messages
10
I wonder where does Windows (namely Windows 7) keeps a user password? The password that we enter when Windows starts. And how does it keep them? Are they encrypted? What is encryption algorithm?

Please share links to articles, videos where these questions are explained. Thank you in advance.
 

My Computer

OS
Windows 7 Enterprise 32bit
Hello Ayubjon and welcome to the forums :party:

Where do I begin!

Windows passwords aren't encrypted, but they are hashed. The hashing algorithm is LM and NTLM. The passwords are stored in the SAM file:

%WinDir%\system32\config\SAM

This is actually a registry hive and can only be accessed by NT AUTHORITY\SYSTEM.

As an administrator, you can change the permissions of this registry hive and load it under HKLM, but I wouldn't recommend it. If you want to see your SAM file, there are much easier methods to do this.

Security Accounts Manager - Wikipedia, the free encyclopedia

Tom
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Build #1
OS
Windows 8.1 Pro x64
CPU
Intel i7 3770K @4.5GHz
Motherboard
ASUS P8Z77-V PRO
Memory
Corsair Vengeance 2x4GB DDR3 1600MHz Low Profile (White)
Graphics Card(s)
Gigabyte Radeon HD 7850 (2GB GDDR5)
Sound Card
Integrated on motherboard
Monitor(s) Displays
23" LG LCD/LED IPS
Screen Resolution
1920*1080
Hard Drives
Samsung EVO 128GB SSD
Seagate Barracuda 2GB 7200rpm
2x Seagate FreeAgent [500gb]
PSU
Corsair TX650W V2 (80+ Bronze)
Case
NZXT Phantom 410 White
Cooling
Corsair H100 Water Cooler
Keyboard
Microsoft Desktop 2000 Wireless Keyboard
Mouse
Microsoft Desktop 2000 Wireless Mouse
Internet Speed
95 Mb/s Download 70 Mb/s Upload
Antivirus
MSE + MBAM Pro
Browser
Firefox
Back
Top