Source Downloads

Latest development snapshots
Web UI
Latest Stable Release (2.9.2) Checksum Signature
Server/Agent Unix ossec-hids-2.9.2.tar.gzRelease Notes   GPG Unix
Agent Windows ossec-agent-win32-2.9.2.exe   GPG Windows
Virtual Appliance ossec-vm-2.8.3.ovaREADME VA Checksum  
Docker Container atomicorp/ossec-docker    

Ubuntu, and Debian and others

12 (precise)
14 (trusty)
16 (xenial)
7 (wheezy)
8 (jessie)

Yum/DNF Automated Installation on Centos, Redhat, or Fedora

Automated installer:

# Add Yum repo configuration
wget -q -O - | sudo bash

# Server
sudo yum install ossec-hids-server

# Agent
sudo yum install ossec-hids-agent

Manual Yum/DNF installation on Centos, Redhat, Amazon Linux or Fedora

  1. Download the atomic-release file for your distribution
  2. Install the atomic-relase package (Note: This includes the OSSEC GPG key)
sudo rpm -Uvh atomic-release*rpm
  1. Install ossec package
# Server
sudo yum install ossec-hids server

# Agent
sudo yum install ossec-hids-agent

APT Automated Installation on Ubuntu and Debian

# Add Apt sources.lst
wget -q -O - | sudo bash

# Server
apt-get install ossec-hids-server

# Agent
apt-get install ossec-hids-agent

Manual APT Installation on Ubuntu and Debian

  1. Add the GPG key
wget -q -O -  | sudo apt-key add -
  1. Add the repo configuration to sources.list
source /etc/lsb-release

# Ubuntu
echo "deb $DISTRIB_CODENAME main" >>  /etc/apt/sources.list.d/atomic.list

# Debian
echo "deb $DISTRIB_CODENAME main" >>  /etc/apt/sources.list.d/atomic.list

GPG / PGP key

Key Manual Download Link
Package Signing Key
Source Signing Key c

Before you install any package from our project, we recommend that you verify it using our PGP key. Follow these two steps if you are not used to using gpg. You first need to import our public key:

# wget
# gpg --import OSSEC-ARCHIVE-KEY.asc

And then verify each file against its signature:

ossec-test# gpg --verify file.asc

You should get the following result:

gpg: Signature made Tue 20 Dec 2016 11:35:58 AM EST using RSA key ID 2D8387B7
gpg: Good signature from "Scott R. Shinn <>"
Primary key fingerprint: B50F B194 7A0A E311 45D0  5FAD EE1B 0E6B 2D83 87B7

Note that the signing key was changed in December 2016. The previous signing key “6F11 9E06 487A AF17 C84C E48A 456B 17CF A390 1351” has expired. If you get an warning saying “gpg: Note: This key has expired!”, make sure to update the key and run the “import” command again (as specified above).

Contribute back!

If you find ossec useful and would like to contribute back to the community, please contact us. We have a lot of work to do and any help is appreciated.