What problem does it solve?
Incident responders often miss hidden persistence mechanisms when cleaning compromised systems, allowing malware to survive reboots and reinfect hosts after remediation. This Skill provides a systematic workflow to enumerate registry run keys, services, scheduled tasks, WMI subscriptions, COM hijacks, and Linux autostart vectors so no persistence mechanism is overlooked.
Core Features & Use Cases
- Windows Persistence Enumeration: Parses registry hives (Run keys, services, NTUSER.DAT), scheduled task XML files, WMI event subscriptions, COM object registrations, and startup folders from forensic images.
- Linux Persistence Enumeration: Checks cron jobs, systemd services, SSH authorized_keys, rc.local, profile scripts, LD_PRELOAD, kernel modules, and PAM configurations.
- Suspicious Entry Detection: Flags indicators like encoded PowerShell, LOLBins (certutil, mshta, rundll32), and binaries in temp or ProgramData paths, then compiles a structured persistence report.
- Use Case: During incident response on a compromised Windows host, mount the forensic image, run the workflow to enumerate all autostart locations, and produce a report listing four suspicious persistence entries requiring removal before declaring remediation complete.
Quick Start
Investigate all persistence mechanisms on the mounted forensic image at /mnt/evidence and generate a report of suspicious autostart entries.