The Rootkit Exorcist: Summoning Local AI to Investigate Suspicious Scripts 👻
This is a submission for the Hacktoberfest Open-Source AI Challenge Week 4: Ghost in the Machine The...
First seen by Oriel on .
AI summary
The Rootkit Exorcist is a Python CLI that combines heuristic static script analysis with locally run Llama 3.2 1B explanations, offering SOC and theatrical reporting modes.
- The scanner reads scripts as text without executing them and detects potential cron persistence, download-and-execute commands, and encoded PowerShell commands.
- Each detection includes matching evidence, script location, severity, an explanation, and a MITRE ATT&CK mapping.
- Ollama passes scanner findings to Llama 3.2 1B for supplementary explanations and investigative steps; the model does not select detections.
- The tool exports Markdown reports and includes five passing unit tests covering detection rules, benign input, and a cron-listing false positive.
- Indicators are heuristic rather than proof, AI explanations can overstate maliciousness, and the project does not directly detect rootkits.
#python #ollama #static analysis #cybersecurity
Generated by gpt-5.6-sol. Check the original for details.
Metric trends
Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained
Reactions
Total public reactions reported by the source; distinct from points and likes.
- DEV Community: 7, latest observation ; 0 over observed period since
Comments
Comment count reported by the source.
- DEV Community: 0, latest observation ; 0 over observed period since
Aliases
| Source | External ID | URL |
|---|---|---|
| DEV Community | 4929053 | https://dev.to/data_secchronicles/the-rootkit-exorcist-summoning-local-ai-to-investigate-suspicious-scripts-an1 Read discussion |