Hades - eBPF based HIDS

May 24, 2026 · View on GitHub

Hades - eBPF based HIDS

English | 中文

Hades is a Host-based Intrusion Detection System based on eBPF and netlink(cn_proc). Now it's still under development. PRs and issues are welcome!

Declaration: This project is based on Tracee and Elkeid. Thanks for these awesome open-source projects.

Overview

This is a demo backend for now, still under dev

Architecture

Agent part is mainly based on Elkeid version 1.7.

Agent Part

data

Data Analysis

data

Plugins

Capability


EDriver

Here are 21 hooks over tracepoints/kprobes/uprobes. The fields are extended just like Elkeid(basically).

For details of these hooks.

eBPF driver hook details

HookStatus & DescriptionID
tracepoint/syscalls/sys_enter_execveON700
tracepoint/syscalls/sys_enter_execveatON698
tracepoint/syscalls/sys_enter_memfd_createON614
tracepoint/syscalls/sys_enter_prctlON(PR_SET_NAME & PR_SET_MM)1020
tracepoint/syscalls/sys_enter_ptraceON(PTRACE_PEEKTEXT & PTRACE_POKEDATA)1021
kprobe/security_socket_connectON1022
kprobe/security_socket_bindON1024
kprobe/commit_credsON1011
k(ret)probe/udp_recvmsgON(53/5353 for dns data)1025
kprobe/do_init_moduleON1026
kprobe/security_kernel_read_fileON1027
kprobe/security_inode_createON1028
kprobe/security_sb_mountON1029
kprobe/call_usermodehelperON1030
kprobe/security_inode_renameON1031
kprobe/security_inode_linkON1032
uprobe/trigger_sct_scanON1200
uprobe/trigger_idt_scanON1201
kprobe/security_file_permissionON1202
uprobe/trigger_module_scanON1203
kprobe/security_bpfON1204


Collector

S stands for sync(real-time), P stands for periodicity, C stands for configuration-based

collector event details

EventTypeID
processesP1001
crontabP2001
sshdconfigP3002
ssh loginS3003
userP3004
sshconfigP3005
yumP3006
host detectC3007
appsP3008
kmodP3009
diskP3010
systemdP3011
interfaceP3012
iptableP3013
bpf_programP3014
jarP3015
dpkgP3016
rpmP3017
containerP3018
socketP5001


NCP

Netlink CN_PROC


Contact

Input Hades to get the QR code

Hades has joined 404Starlink