Log Analysis and Anti-Forensics

Analyze Linux and Windows logs to detect timestomping and verify log integrity.

2|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/ersinkoc/PhantomStrike --skill log-analysis-and-anti-forensics
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Log Analysis and Anti-Forensics
Source: https://github.com/ersinkoc/PhantomStrike/tree/main/skills/post-exploit/log-clearing
Command: npx skills add https://github.com/ersinkoc/PhantomStrike --skill log-analysis-and-anti-forensics

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Log analysis and anti-forensics helps security teams identify where logs are stored, detect tampering, and reconstruct attacker activity during authorized assessments. It provides awareness of timestomping, audit trails, and log integrity checks to ensure reliable forensic evidence.

Core Features & Use Cases

  • Linux log locations and system logs analysis
  • Windows Event Logs and PowerShell traceability
  • Timestomping detection and audit-trail reconstruction for incident response
  • Log integrity verification and evidence collection guidance
  • Use Case: Reconstruct an intrusion timeline during a sanctioned security assessment and verify that logs captured attacker steps.

Quick Start

Analyze logs from Linux and Windows to identify tampering, timestomping, and audit-trail evidence in a sanctioned security assessment.

Frequently Asked Questions about Log Analysis and Anti-Forensics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect timestomping in Windows Event Logs during an incident response?

Detecting timestomping in Windows Event Logs requires analyzing audit trails and verifying log integrity to spot manipulated timestamps. This Skill provides guidance for querying Windows Event Logs and reconstructing attacker activity during incident response.

What is the best way to reconstruct an attacker's timeline using Linux logs?

Reconstructing an attacker timeline using Linux logs involves querying system logs, systemd journals, and auditd data. This Skill helps identify Linux log locations, verify audit trail integrity, and trace attacker steps during authorized security assessments.

How do I verify log integrity and check for tampering across Linux and Windows environments?

Verifying log integrity and detecting tampering across Linux and Windows environments requires cross-OS audit analysis and log integrity checks. This Skill provides guidance for identifying tampering, detecting anti-forensic techniques, and verifying captured forensic evidence.

How do I enable auditd and query the systemd journal for forensic analysis?

Enabling auditd and querying the systemd journal for forensic analysis involves configuring Linux audit trails and extracting system log data. This Skill offers guidance for setting up auditd, running systemd journal queries, and analyzing Linux log locations for incident response.

Does this log analysis approach work for both Linux and Windows audit trails?

Yes, this log analysis approach works for both Linux and Windows audit trails by performing cross-OS audit analysis. It covers Linux log locations, Windows Event Logs, and PowerShell traceability to help reconstruct attacker activity and verify log integrity.

What are the limitations of relying on system logs when investigating anti-forensic techniques?

Relying on system logs when investigating anti-forensic techniques carries the limitation that attackers may use timestomping or log clearing to erase audit trails. This Skill helps identify tampering and verify log integrity, but incomplete logging can still hinder timeline reconstruction.