
HiveSec is an open-source Linux audit event processing framework built on top of the Linux Audit subsystem.
It subscribes as an Audispd plugin, receiving Linux audit events in real time. These events are deserialized into high-level Python objects, allowing developers to focus on analysis rather than log parsing. The hivesec Python package provides the framework and programming interface for building custom applications that monitor, analyze, and respond to Linux audit events in real time.
+----------------------+
| Linux Audit |
| (audispd) |
+----------------------+
|
Audit Events
|
v
+----------------------+
| HiveSec Daemon |
+----------------------+
|
Dispatches Events
|
v
+----------------------+
| AuditEventHandlers |
+----------------------+
^
|
Registers
|
+----------------------+
| HiveSec Applications |
+----------------------+
hivesecd is the daemon that is subscribed to Audispd as a plugin. Upon receiving Linux Audit events, it follows the Observer design pattern to distribute them to all registered HiveSec applications.
hivectl is the CLI tool to interact with:
It needs to be ran as root or with sudo, since it performs administrative actions.