Linux Forensics Commands
1. File and Metadata Analysis
dentifies the type of a file:
Extracts human-readable strings from binary files:
Displays detailed file metadata, including timestamps:
Extracts metadata from multimedia files:
Creates a hex dump of a file:
Displays disk usage of a directory or file:
Lists mounted filesystems:
Unmounts a filesystem:
Shows block devices in a tree structure:
Views logs from
systemd
systems :
provides detailed metadata and statistics about a packet capture (PCAP) file
jq filters
2. System Information Gathering
Hostname and OS details:
Kernel version and architecture:
System uptime and load:
3. User Information
Logged-in users and history:
Check sudoers file:
4. Process Investigation
List running processes:
Identify network-related processes:
Lists open files by processes
Displays memory maps of processes
Traces system calls made by a process.
5. File and Directory Investigation
List directory contents:
List hidden files:
Search for recent file modifications:
Find files with specific extensions:
6. Network Investigation
Active network connections:
Network interface information:
DNS resolutions:
Capture packets with tcpdump:
Analyze packets with tshark:
7.Package and Service Analysis
List installed packages:
Running services:
8.Hashing and File Integrity
Calculate file hash:
Compare file hashes:
Last updated