Shadow File
MITRE ATT&CK™ OS Credential Dumping: /etc/passwd and /etc/shadow - Technique T1003.008
Theory
Practice
unshadow passwd.txt shadow.txt > passwords.txtjohn --wordlist=wordlist.txt passwords.txt
# If the hash in /etc/shadow contains the $y$ prefix, specify the hash format to "crypt".
# btw, $ye$ is the scheme of the yescrypt.
john --format=crypt --wordlist=wordlist.txt passwords.txtResources
Last updated