780 B
780 B
Perf Guard
This repository includes a server guard for persistent miner-style malware IOC patterns.
Install on server
Run from repo root as root:
bash scripts/security/install-perf-guard.sh
Or install full security baseline (recommended):
bash scripts/security/install-security-stack.sh
What it does
- Runs every 15 seconds via
systemdtimer. - Kills suspicious processes by known IOC patterns.
- Removes known IOC files and directories.
- Cleans suspicious root cron and startup hooks.
- Locks suspicious user
sysupdateif present. - Writes logs to
/var/log/perf-guard.log.
Check status
systemctl status perf-guard.timer --no-pager
systemctl status perf-guard.service --no-pager
tail -n 100 /var/log/perf-guard.log