Back to FerroSentry

Changelog

v0.2.33

Official releases, new features, and fixes for FerroSentry.

GitHub Releases

v0.2.33

2026-11-27
Added
  • Real-time detection: File integrity (including every `authorized_keys`) and new-address logins (AUTH-002) are now checked every 10 seconds instead of every hour, so a key added by an intruder or a login with stolen credentials is reported within seconds. It needs no extra dependency and adds almost no load: it hashes a dozen small files and reads only the new lines of `auth.log`. Failed-login counts (AUTH-001) are still reported hourly, with the same thresholds.

v0.2.32

2026-11-26
Added
  • Secrets audit (SECRETS-001): Reports credentials stored in plaintext on the server: `~/.aws/credentials`, npm, PyPI, Docker, GitHub CLI and Kubernetes tokens, `.git-credentials`, `.netrc`, SSH private keys without a passphrase, and `.env` files that any user can read. These are the first things an intruder with stolen credentials, or a malicious npm package, collects. Only the path and the type are sent, never the content.
  • New login address (AUTH-002): A successful SSH login from an address never seen for that user raises a finding (high if it used a password). Stolen credentials produce successful logins, which the failed-login check cannot see. Known addresses are learned from the existing `auth.log` on first run and kept in `/var/lib/ferro-sentry/known_logins.json`, so restarts and updates do not repeat them.
  • SSH keys integrity: File integrity now also watches every user's `~/.ssh/authorized_keys` (and `administrators_authorized_keys` on Windows), and reports when one appears, the usual way to keep access after stealing a key.

v0.2.31

2026-11-14
Security
  • Dependencies: sb-agent-core 0.4.3 (`zip` 9.x and `self_update` 1.3.3), and `rustls` 0.23.46. This closes the Dependabot alerts for `zip` (critical) and `rustls`.
Fixed
  • SSH hardening: The fix now closes password login on cloud images too (Ubuntu with cloud-init and `ssh_pwauth`). Its file was `99-securyblack-hardening.conf`, read after `50-cloud-init.conf`, and sshd keeps the first value it reads, so `PasswordAuthentication yes` stayed on while the panel reported success. The file is now `00-securyblack-hardening.conf` (the old one is removed), and after writing it the agent checks with `sshd -T` that every setting took effect; if one did not, it rolls everything back and says which.
  • SSH audit: Findings use the settings sshd actually applies (`sshd -T`), not a guess from the files, which picked up whichever value came last. Without root it reads the files in sshd's order. The fail2ban port check uses the same value.
  • Fail2ban: Installing fail2ban from the panel now applies its configuration. The package starts fail2ban with its defaults, and the agent wrote `jail.local` afterwards without restarting the service, so the 1-hour ban and the SSH port were never loaded (bans lasted 10 minutes, and with SSH on a port other than 22 the jail watched the wrong one) while the panel reported success. The agent now restarts fail2ban after writing the file, reports an error if the file cannot be written, and checks with `fail2ban-client` that the sshd jail watches the SSH port and uses the 1-hour ban.
  • Firewall: Adding a `deny` or `reject` rule now refuses to close the SSH port to everyone (the port SSH actually listens on, including ranges like `1:65535` and the `ssh`/`OpenSSH` names), so the owner cannot lock themselves out from the panel. Blocking one source IP, `limit` and UDP-only rules are still allowed.

v0.2.30

2026-10-29
Security
  • Fail2ban: The whitelist only accepts IP addresses and CIDR ranges, and `bantime`/`findtime` only accept a number with an optional unit (`10m`, `1h`, `1w`, `-1`). Before, a value with line breaks could add new sections or actions to `jail.local`, which fail2ban runs as root. If any entry is invalid, the whole change is rejected and nothing is written.

v0.2.29

2026-10-23
Added
  • Signed commands (S4): Before running each order, the agent reports whether its signature checks out (`sig:ok` or the reason it does not) (sb-agent-core 0.4.2). Unsigned orders are still accepted: this only measures the fleet before signatures become mandatory.
Fixed
  • Logs: Old log files are deleted again; only the last 7 days are kept (sb-agent-core 0.4.1). Rotated files (`ferro-sentry.log.YYYY-MM-DD`) were never removed.

v0.2.28

2026-10-16
Security
  • Commands: Verify S4 signed commands (ed25519 signature, expiry, replay protection) via `sb-agent-core` `command_intake`. During the transition any verification failure (unsigned, invalid or expired) is accepted with a warning.

v0.2.27

2026-10-15
Changed
  • No functional changes. First release that agents on 0.2.26 install through the signature-verifying updater.

v0.2.26

2026-10-14
Security
  • Auto-update: Only installs ed25519-signed releases (`sb-agent-core` 0.3).

v0.2.25

2026-09-16
Added
  • CrowdSec: Implement CrowdSec management commands (decisions, bouncers status, security scenarios).

v0.2.24

2026-09-16
Added
  • Fail2ban: Add `get_logs`, `get_config`, `set_config` commands and attack ranking insights.

v0.2.23

2026-09-16
Fixed
  • Fail2ban: Prevent byte offset panic during jail status regex parsing.

v0.2.22

2026-09-16
Added
  • Fail2ban: Implement remote command intake for ban/unban IP operations and jail status reporting.

v0.2.21

2026-09-16
Fixed
  • Windows: Incorporate `sb-agent-core` Windows Server 2019 compatibility and UTF-8 installer fixes.

v0.2.20

2026-09-15
Added
  • Remediations: Implement 1-click automated security remediations for SSH hardening, unattended updates, and fail2ban setup.

v0.2.19

2026-09-13
Added
  • Firewall: Automated detection and alerting for Docker UFW bypass.

v0.2.18

2026-09-13
Fixed
  • Firewall: Emit resolved finding event automatically once UFW firewall is active.

v0.2.17

2026-09-13
Added
  • Firewall: Remote unattended UFW installation command.

v0.2.16

2026-09-13
Added
  • Firewall: Remote UFW rule management with anti-lockout protection.

v0.2.15

2026-09-13
Added
  • Process Sentinel: Consolidate findings by executable path and add scan cache reset.