Host Compromise Assessment
Introduction
Collect General Information
Description: Display the current date and time. Verify the timezone.
Command: date
Example: date #Displaying the Current Date and Time
date +"%Y-%m-%d %H:%M:%S" #Displaying the Date in a Specific Format
sudo date -s "2025-01-14 13:53:00" #Setting the System Date and Time
date -u #Displaying the Date in UTCDescription: Timezone information
Command: cat
Example: cat /etc/timezoneDescription: System information
Command: uname
Example: uname -aReview Activities
Hunting Unusual Files
Logon activities
Review Processes
Installed Programs
File Investigation
Persistent Mechanisms
Review Account
Persistent Areas of Interest
Webshell
Cron Tasks
Services and Systemd
SSH Daemon
Login Shell
rc scripts
Infected Binaries
Pluggable Authentication Modules (PAM)
Message of the Day (MOTD)
Unusual System Resources
Hunting Rootkit
To hunt via 3rd party software
Hunting and Check Files and Processes
Disk imaging using dd
References
Last updated