Linux endpoint detection and response¶
Linux EDR typically uses eBPF programs for kernel-space telemetry, auditing subsystems, and process lineage
tracking through /proc monitoring. Container-aware monitoring covers namespace crossings and pod-to-pod
communications in orchestrated environments. The main detection areas are privilege escalation (SUID binaries,
capability abuse), persistence (cron jobs, systemd services), and memory-only malware or kernel rootkits.
Kernel-level monitoring¶
Technique |
Description |
Tools |
|---|---|---|
eBPF hooks |
Real-time syscall tracing |
|
Auditd rules |
Custom event logging |
|
LSM (Linux Security Modules) |
Mandatory access control |
SELinux ( |
Filesystem integrity¶
Technique |
Implementation |
Example |
|---|---|---|
Inotify watches |
Real-time file change monitoring |
|
SUID/SGID hunting |
Find privileged executables |
|
Immutable files |
Protect critical configs |
|
Container security¶
Runtime container monitoring:
docker exec <container> ps aux
sudo sysdig -c spy_users
Threat hunting with open source¶
Tool |
Purpose |
Command example |
|---|---|---|
Osquery |
SQL-based endpoint queries |
|
Falco |
Behavioural detection |
|
Lynis |
Compliance auditing |
|