Malware patterns
Looks for reverse shells, droppers, crypto-miners, suspicious scripts, and hidden executable payloads.
Standalone Linux security scanner
antivirus.sh checks Linux servers for malware, suspicious persistence, runtime indicators, package integrity issues, and basic network signals — without requiring an agent.
What it checks
Looks for reverse shells, droppers, crypto-miners, suspicious scripts, and hidden executable payloads.
Inspects suspicious processes, temporary-directory binaries, fileless memfd activity, and rootkit signals.
Reviews cron jobs, systemd units, shell startup files, udev rules, rc.local, and authorized_keys entries.
Checks security-critical package integrity and watches for connections commonly used by botnets or miners.
Usage
Start read-only on production systems, then move to interactive or automatic safe fixes when you are ready.
sudo bash antivirus.sh --audit
Report only, change nothing.
sudo bash antivirus.sh
Interactive scan with confirmations.
sudo bash antivirus.sh --fix
Apply safe fixes automatically.
sudo bash antivirus.sh --scan /var/www
Scan a specific path.
Safety model
Findings are designed to be reviewed. Malicious files are quarantined rather than deleted, and audit mode keeps production checks read-only.