OSSEC — Old but Still Useful Host Intrusion Detection
Why It Matters
OSSEC has been around for a long time. It’s not shiny or modern-looking, but it does the job: watching what happens inside the operating system. Most people know it as a HIDS — Host Intrusion Detection System. It tracks logs, checks file integrity, looks for rootkits, and generally points out things you don’t want happening on your servers. Many companies keep it because it’s free, reliable, and fits well when compliance requires host-level monitoring.
How It Works
You set up one OSSEC server, then drop agents on machines you care about. Those agents send over system logs, registry changes (on Windows), file modifications, and other signals. The server applies a big set of rules — sometimes too many — and then throws alerts when patterns match. It can just log, or it can kick off scripts to react (block an IP, restart a service, send a warning). It’s powerful, but noisy if left unconfigured, so most admins spend the first days cutting down false positives.
Technical Profile
Aspect | Notes |
Platforms | Linux, Windows, BSD, Solaris |
What it does | Host intrusion detection, log analysis, file integrity checks |
Data it uses | Logs, syscalls, registry entries, rootkit scans |
Responses | Alerts, syslog forwarding, active response scripts |
Integrations | SIEM systems, custom pipelines |
License | Open source (GPL) |
Deployment Notes
– Install the OSSEC manager on a central host.
– Push agents to servers and workstations.
– Test with default rules, then tune aggressively (to avoid drowning in alerts).
– Forward alerts to syslog or SIEM for correlation.
– Use active response carefully — it can block admins as easily as attackers.
Where It Fits
– Compliance audits where HIDS is a checkbox.
– SOCs that want host-level visibility in addition to network IDS.
– Incident response and forensics.
– Smaller orgs that need intrusion detection but can’t budget for commercial HIDS.
Caveats
– Steep learning curve: config files, rule tuning, lots of text.
– Default setup is noisy — expect false positives.
– No slick GUI; management is old-school.
– It doesn’t fix problems, only tells you they exist.