FerroSentry: Security audits and real-time alerts for your servers
A Rust agent that audits your Linux servers every hour and watches critical files and SSH logins in real time: open ports, SSH configuration, firewall and Docker bypass, pending security updates, SUID binaries, cron persistence, suspicious processes, failed logins and logins from new addresses, plaintext secrets, changes to SSH authorized keys and fail2ban/CrowdSec. Findings go to SecuryBlack Cloud, where you can also ask it to apply fixes.
What it does
Finds the common ways a server ends up exposed, and fixes them only when you ask.
Posture audit
Checks listening ports, the SSH settings sshd actually applies (root login, password authentication, port 22, X11 forwarding, MaxAuthTries), UFW and the iptables INPUT policy, Docker bypassing UFW, pending and security updates (apt, dnf, yum), unattended upgrades, SUID/SGID binaries in temporary directories, world-writable files in /etc and sudo logging.
Intrusion signals
Every 10 seconds: successful SSH logins from an address never seen for that user, and changes to /etc/passwd, /etc/shadow, /etc/sudoers, sshd_config, every user's authorized_keys and other critical files against a SHA-256 baseline. Every hour: failed logins in /var/log/auth.log, processes running from /tmp or /dev/shm or from deleted binaries and suspicious cron entries.
Plaintext secrets
Finds credentials left in plaintext: AWS keys, npm, PyPI, Docker, GitHub CLI and Kubernetes tokens, .git-credentials, .netrc, SSH private keys without a passphrase and .env files any user can read. Only the path and type are reported, never the content.
Fixes when you ask
SSH hardening that checks sshd really applied it, UFW rules with anti-lockout protection, unattended upgrades, and installing and managing fail2ban and CrowdSec, including ban and unban. OS upgrades only run if you set allow_remote_os_upgrade = true on the server.
Signed updates and commands
The daily self-update only installs releases signed with SecuryBlack's offline ed25519 keys. Commands from the panel carry an ed25519 signature bound to your server (enforcement is rolling out). Every outbound connection is listed in SECURITY.md.
Four steps, one binary
Open source under Apache 2.0. Read it on GitHub.
Audit
Every hour, runs its twelve audit modules: ports, packages, SSH, file integrity (including authorized_keys), permissions, persistence, processes, firewall, fail2ban/CrowdSec, logins (failed, and successful from new addresses), plaintext secrets and an inventory of Let's Encrypt certificates. Critical files and SSH logins are also checked every 10 seconds.
Normalize
Tags each finding with the host name, a severity and a suggested fix, drops duplicates within a scan and, for some checks, sends a resolved event when the problem goes away.
Report
Posts each finding as JSON to the SecuryBlack API with your token, hands it to the local SecuryBlack agent over gRPC, or writes it to a local JSONL file.
Fix on request
Runs a remediation only when a command arrives on its token-protected local socket, normally sent from the panel.