Cred Hunting
Configuration Files
Configuration files are core of the functionality of services in Linux, so analyzing it would be very useful.
Credentials in Configuration Files
Databases
Notes
Scripts
Cronjobs
SSH Keys
Private Keys
Public Keys
History
Bash
Logs
Memory
Mimipenguin
Tool to dump the login password from the current linux user from here [LINK]
Lazagne
Very good credentials extraction tool. Works for Linux and Windows and you can find it here [LINK]
Passwd
The /etc/passwd
file contains information about every existing user on the system and can be read by all users and services. x
in password info section means that hash is stored in shadow file
venator17:
x:
1000:
0:
carnifex17,,,:
/home/carnifex17:
/bin/bash
<username>:
<password info>:
<UID>:
<GUID>:
<Full name/comments>:
<home directory>:
<shell>:
Shadow
The /etc/shadow
file contains hashes for users.
venator17:
$y$j9T$3QSBB6CbHEu...SNIP...f8Ms:
18955:
0:
99999:
7:
:
:
:
<username>:
<encrypted password>:
<day of last change>:
<min age>:
<max age>:
<warning period>:
<inactivity period>:
<expiration date>:
<reserved field>
Hash structure is
$<type>$<salt>$<hashed>
Last updated