A simple Linux persistence detector with a web dashboard. It finds suspicious cron, systemd, startup, and SSH persistence patterns and shows results in a modern UI.
- scans common persistence locations on Linux
- writes a JSON report to
reports/findings.json - serves a live dashboard at
http://localhost:5051 - exports findings as JSON, CSV, or PDF
cd /home/meriem/cyber-projects/persistance-detection-tool
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txtpython3 main.pyThis generates reports/findings.json and saves a simple report file.
python3 backend/app.pyOpen http://localhost:5051 in your browser.
The poc/ folder contains harmless sample persistence fixtures.
Copy one into the scanned path, run the scanner, then remove it.
Example for cron:
sudo cp poc/cron/poc_crontab /etc/cron.d/poc-test
python3 main.py
sudo rm /etc/cron.d/poc-test- Use the project on a test system or inside a lab environment.
- Remove POC files after testing.