Linux Forensics Cheatsheet
Linux Forensics Cheatsheet
Timezone information:
Location: /etc/timezone
Can be read using cat, vim or any text editor or viewer
Log files
Network Interfaces:
Location: /etc/network/interfaces
Syslogs:
Can be read using cat, vim or any text editor or viewer
Location: /var/log/syslog
Can be read using cat, vim or any text editor or viewer.
Command: ip address show
Use grep or similar utility to filter results as per requirement
The above command is suitable only for live analysis
Authentication logs:
Open network connections:
Location: /var/log/auth.log
Command: netstat –natp
Can be read using cat, vim or any text editor or viewer.
The above command is suitable only for live analysis
Use grep or similar utility to filter results as per requirement
Running processes:
Third-party logs:
Command: ps aux
Location: /var/log
The above command is suitable only for live analysis
Logs for each third-party application can be found in their
specific directories in this location
DNS information:
Location: /etc/hosts for hostname resolutions
Can be read using cat, vim or any text editor or viewer