Enumerating the System

System enumeration

hostname

#check kernal
uname -a
cat /proc/version

#check processes
ps aux
ps aux | grep root
ps aux | grep <user>

User enumeration

whoami
id

#checking privileges
sudo -l

#sensitive file permissions
cat /etc/shadow
cat /etc/group
history
cat .bash_history

Network enumeration

Credential hunting

Password hunting

SSH hunting

to find credentials

Last updated