finds.dev

ossec/ossec-hids

OSSEC is an Open Source Host-based Intrusion Detection System that performs log analysis, file integrity checking, policy monitoring, rootkit detection, real-time alerting and active response.

View on GitHubHomepage ↗

★ 5,020CGPL-2.0updated May 2026

// the take

OSSEC is a host-based intrusion detection system written in C that does log analysis, file integrity monitoring, rootkit detection, and active response (auto-blocking via firewall rules). It's been around since the mid-2000s and is aimed at sysadmins who need compliance-friendly HIDS on Linux/BSD/Windows without paying for a commercial solution.

The rule engine is genuinely deep — thousands of pre-built decoders and rules covering Apache, nginx, SSH, sudo, PAM, Cisco IOS, and dozens more, each with real log samples in the test suite. Active response scripts are practical and varied: nftables, pf, ipfw, Cloudflare WAF, AWS WAF, PagerDuty, Slack. The agent/server architecture scales to thousands of monitored hosts without re-architecting. CodeQL CI is wired up, which matters for a C codebase parsing untrusted log data.

The project is essentially in maintenance mode — Wazuh forked it years ago and that's where active development, modern features (like API-driven management and ML-based anomaly detection), and a real web UI live; most teams choosing OSSEC today are choosing the wrong fork. Configuration is XML-heavy and installation is still a shell script that writes files to /var/ossec; there's no container-native deployment story and the Kubernetes world has mostly moved on. The web UI situation is grim — the official OSSEC web UI is a separate, barely-maintained PHP project. Windows agent support exists but is clearly second-class. If you need OSSEC, you almost certainly want Wazuh instead.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
5,020
Forks
1,072
Language
C
License
GPL-2.0
Last commit
27 May 2026

// nearby

If ossec-hids isn't quite it.

All repos →