Getting Started
Getting Started with HARDN
HARDN is an open-source Linux hardening tool for Debian and Ubuntu systems. It automates security configuration, launches a built-in SIEM dashboard, and runs continuous monitoring via the LEGION daemon. This guide walks you through building and running HARDN.
Requirements
Debian 12 (Bookworm) or Ubuntu 22.04 / 24.04 LTS
Root or sudo access
x86_64 architecture
512 MB RAM minimum
Installation
Build HARDN from source using Make:
# Clone the repository
$ git clone https://github.com/Security-International-Group/HARDN
$ cd HARDN
# Build the Debian package
$ sudo make build
[INFO] Building HARDN Debian package...
[OK] Build successful.
Running HARDN
# Run HARDN, applies hardening and launches the SIEM
$ sudo make hardn
[INFO] Launching service manager + SIEM dashboard...
[OK] hardn.service active
[OK] legion-daemon.service active
# Open the interactive service manager
$ sudo hardn-service-manager
[INFO] HARDN Service Manager ready.
# Check service status
$ sudo systemctl status hardn.service
$ sudo systemctl status legion-daemon.service