3. Services and internals enumeration

What services and applications are installed?

What services are running?

What sockets are in use?

What users, admins, and groups exist on the system?

Who is current logged in? What users recently logged in?

What password policies, if any, are enforced on the host?

Is the host joined to an Active Directory domain?

What types of interesting information can we find in history, log, and backup files

Which files have been modified recently and how often? Are there any interesting patterns in file modification that could indicate a cron job in use that we may be able to hijack?

Proc checks

Current IP addressing information

Anything interesting in the /etc/hosts file? cat /etc/hosts

Are there any interesting network connections to other systems in the internal network or even outside the network?

What tools are installed on the system that we may be able to take advantage of? (Netcat, Perl, Python, Ruby, Nmap, tcpdump, gcc, etc.)

Can we access the bash_history file for any users and can we uncover any thing interesting from their recorded command line history such as passwords?

Are any Cron jobs running on the system that we may be able to hijack?

Monitoring running processes

Configuration files

find / -type f \( -name *.conf -o -name *.config \) -exec ls -l {} \; 2>/dev/null

Scripts

find / -type f -name "*.sh" 2>/dev/null | grep -v "src\|snap\|share"

Also check network information: What is our IP address? ip a Does our system have any other interfaces?