Where Credentials are Stored?
General Concept
Linux Credential Storage
π /etc/shadow File
/etc/shadow Fileroot@htb:~# cat /etc/shadow
...SNIP...
htb-student:$y$j9T$3QSBB6CbHEu...SNIP...f8Ms:18955:0:99999:7::: <username>:<encrypted password>:<last change>:<min age>:<max age>:<warning>:<inactivity>:<expiration>:<reserved>π Hash Format:
ID
Algorithm
π /etc/passwd File
/etc/passwd FileWindows Authentication & Credential Storage

π§© Authentication Process
DLL
Description
LSASS (Local Security Authority Subsystem Service)
SAM Database
Domain-Based Authentication
Credential Manager

Last updated