Skip to main content
  1. Technology/

Installing OSSEC 3.6.0 on Debian 10 (Buster) How-To

2 mins· ·
Security System Administration Security Ossec Hids Monitoring Linux
Vicente Manuel Muñoz Milchorena
Author
Vicente Manuel Muñoz Milchorena
Cybersecurity Professional | Writer and Editor | People Person
Table of Contents

This guide covers the installation of OSSEC 3.6.0 as a local agent on Debian 10 (Buster). The process has been tested and works consistently on both x64 and ARM systems.

Because this installation process always catches me by surprise when I need to do it, and while I don’t do it often, it’s always the setup that bothers me the most. Here’s a straightforward guide to get OSSEC 3.6.0 running on your Debian 10 system.

Installation
#

Install Required Dependencies
#

First, install the necessary packages. I usually run a minimalist version of Debian, so these packages may not come with your current installation:

apt install wget build-essential libpcre2-dev zlib1g-dev inotify-tools libevent-dev libssl-dev

Download OSSEC 3.6.0
#

With the dependencies installed, download the OSSEC 3.6.0 package:

wget https://github.com/ossec/ossec-hids/archive/3.6.0.tar.gz

Extract the Package
#

Unpack the newly downloaded .tar.gz file:

tar -zxvf 3.6.0.tar.gz

Run the Installation
#

Navigate into the extracted folder, locate the install.sh script, and run it:

cd ossec-hids-3.6.0
./install.sh

During the installation process:

  1. Select your preferred language
  2. Choose “local” for the installation type
  3. Follow the remaining prompts with default settings

This process should also work for other OSSEC modes, but I typically use local installation and pull logs through other methods for my setup.

Conclusion
#

That’s it! You now have OSSEC 3.6.0 running on your Debian 10 system. The installation process is straightforward once you have all the dependencies in place.

Have fun monitoring your system!

Related

OSSEC 3.3.0 HIDS Setup and Usage
2 mins
Security System Administration Security Ossec Hids Monitoring Linux
Solución para problemas de sonido ALSA en Debian Wheezy
4 mins
Tutoriales Linux Linux Debian Alsa Audio Troubleshooting
Bebe
1 min
Panic Humor
Duelo del Cairo
1 min
Sad Satirical
Sentimiento apocaliptico
1 min
Estres