Game 14
Challenge: Password cracking from Linux shadow file
Tool: John the Ripper
Step 1: Extract Archive
tar xf evidence.tarStep 2: Examine Shadow File
The shadow file contains a hashed password entry:
suninatas:$6$QlRlqGhj$BZoS9PuMMRHZZXz1Gde99W01u3kD9nP/zYtl8O2dsshdnwsJT/1lZXsLar8asQZpqTAioiey4rKVpsLm/bqrX/:15427:0:99999:7:::Step 3: Prepare for Cracking
Combine passwd and shadow files:
unshadow passwd shadow > unshadowStep 4: Crack Password
Use John the Ripper with a wordlist:
john unshadow --wordlist=~/wordlists/rockyou.txtOutput:
iloveu1 (suninatas)iloveu1