analyzing-linux-system-artifacts
Agent skill frommukul975/Anthropic-Cybersecurity-Skills
Examine Linux system artifacts (auth logs, cron/systemd persistence,
How to install analyzing-linux-system-artifacts
install analyzing-linux-system-artifacts
# install the Anthropic-Cybersecurity-Skills pack with the skills CLI
npx skills add mukul975/Anthropic-Cybersecurity-Skills# or add only this skill to Claude Code: copy the folder
skills/analyzing-linux-system-artifacts/
# into
~/.claude/skills/analyzing-linux-system-artifacts/ (all projects)
.claude/skills/analyzing-linux-system-artifacts/ (one project)
1# Analyzing Linux System Artifacts23## When to Use4- When investigating a compromised Linux server or workstation5- For identifying persistence mechanisms (cron, systemd, SSH keys)6- When tracing user activity through shell history and authentication logs7- During incident response to determine the scope of a Linux-based breach8- For detecting rootkits, backdoors, and unauthorized modifications910## Prerequisites11- Forensic image or live access to the Linux system (read-only)12- Understanding of Linux file system hierarchy (FHS)13- Knowledge of common Linux logging locations (/var/log/)14- Tools: chkrootkit, rkhunter, AIDE, auditd logs15- Familiarity with systemd, cron, and PAM configurations16- Root access for complete artifact collection1718## Workflow1920### Step 1: Mount and Collect System Artifacts2122```bash23# Mount forensic image read-only24mount -o ro,loop,offset=$((2048*512)) /cases/case-2024-001/images/linux_evidence.dd /mnt/evidence2526# Create collection directories27mkdir -p /cases/case-2024-001/linux/{logs,config,users,persistence,network}2829# Collect authentication logs30cp /mnt/evidence/var/log/auth.log* /cases/case-2024-001/linux/logs/31cp /mnt/evidence/var/log/secure* /cases/case-2024-001/linux/logs/32cp /mnt/evidence/var/log/syslog* /cases/case-2024-001/linux/logs/33cp /mnt/evidence/var/log/kern.log* /cases/case-2024-001/linux/logs/34cp /mnt/evidence/var/log/audit/audit.log* /cases/case-2024-001/linux/logs/35cp /mnt/evidence/var/log/wtmp /cases/case-2024-001/linux/logs/36…
Excerpt shown under the repository's Apache-2.0 license.
More skills in Anthropic-Cybersecurity-Skills
- ▸abusing-dpapi-for-credential-access
- ▸abusing-shadow-credentials-for-privesc
- ▸achieving-cmmc-level-2-compliance
- ▸acquiring-disk-image-with-dd-and-dcfldd
- ▸analyzing-active-directory-acl-abuse
- ▸analyzing-android-malware-with-apktool
- ▸analyzing-api-gateway-access-logs
- ▸analyzing-apt-group-with-mitre-navigator
- ▸analyzing-azure-activity-logs-for-threats
- ▸analyzing-bootkit-and-rootkit-samples
- ▸analyzing-browser-forensics-with-hindsight
- ▸analyzing-campaign-attribution-evidence
