Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/0xmfbk/ebpf-container-escape-framework
Defensive ToolsContainer SecurityIntrusion DetectionIncident ResponseLog Analysis
GitHub0xmfbk/ebpf-container-escape-framework

ebpf-container-escape-framework

Audit only eBPF EDR for Linux 5.15+ LTS: 14 kernel hooks, 15 actions (13 MITRE techniques), process lineage, SIEM export, K8s/Docker ready.

View RepositoryWebsite
918125 days agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    795
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    520
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    439
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    346
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    267
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    264

Explore all tools

Browse our collection of tools

View all tools →
Share

🛡️ eBPF Container Escape EDR

Audit only eBPF runtime sensor for Linux - container escape detection, hardened by design.

CI Version Go Kernel Coverage Memory License

19 detection actions · 24 BPF programs · BPF-LSM resolved-path rules · IPv6 · wire format v4

eBPF EDR v3.1.0 terminal walkthrough

Support the project:

Support on PayPal   Support on Ko-fi

[!IMPORTANT] Detection & audit only non enforcing. No BPF program returns -EPERM; no syscall is ever blocked. This is a runtime observation plane, not a prevention plane. See docs/SECURITY.md and THREAT_MODEL.md.


✨ Highlights

🎯 Canary filesPlant invisible paths in a kernel O(1) map - any touch fires a CRITICAL alert instantly, including openat2 and probes of nonexistent files
🛡️ Evasion-resistantopenat2 hooked · unshare(CLONE_NEWUSER) escalates to CRITICAL · self-exclusion is PID-based (unspoofable via prctl) · release_agent matched anywhere under /sys/fs/cgroup/
🧠 BPF LSM modeOn kernels with bpf in the active LSM list, lsm/file_open classifies kernel-resolved paths (bpf_d_path) - io_uring opens and user-string races closed in one step; falls back to tracepoints automatically
🌐 Full-stack network visionIPv4 and IPv6 connects with configurable suspicious-port severity
📈 Observability built-inHand-rolled Prometheus /metrics (zero deps), Sensor_Heartbeat synthetic alerts for SIEM silence detection, degraded/last_err health fields
🏥 Self-healingsystemd Type=notify + WatchdogSec=30 and K8s liveness probes on a 10s heartbeat - a hung sensor restarts itself (verified live with SIGSTOP)
🔐 Least-privilege deploymentprivileged: false + CAP_BPF/PERFMON/SYS_ADMIN only, seccomp RuntimeDefault, Secrets for SIEM tokens, system-node-critical priority
⚡ Fast and small~0.7% idle CPU, 0 ring-buffer drops at 25,000 forks, 33–43 MB RSS, zero-dependency Go daemon
📤 SIEM-nativeJSON · ECS 8.11 · OCSF 1.3.0 · CEF · LEEF 2.0 → file/stdout/syslog/HTTPS-webhook (Splunk HEC) with batching, retry and circuit breaker

🚀 Quick Start

git clone https://github.com/0xmfbk/ebpf-container-escape-framework.git
cd ebpf-container-escape-framework

make check-env                 # read-only probe: toolchain, BTF, tracefs, LSM, systemd
sudo make deps                 # one-shot bootstrap: clang, libbpf, bpftool, Go 1.26+
make kernel userspace emulation
sudo -E make verify            # full suite: 104 checks (97 core + 7 SIEM) on Debian/6.12
sudo ./install.sh              # systemd service (hardened unit, config preserved)

Requirements: kernel ≥ 5.15 with CONFIG_DEBUG_INFO_BTF (/sys/kernel/btf/vmlinux), root with CAP_BPF CAP_PERFMON CAP_SYS_ADMIN. make deps/make check-env work on Debian, Ubuntu and WSL2 (docs/WSL2.md).


📡 Detection Coverage - 19 actions

#ActionSeverityMITREHook
1Container_Namespace_UnshareHIGHT1611kprobe __x64_sys_unshare - CLONE_NEWUSER escalates to CRITICAL
2Container_Pivot_Root_EscapeCRITICALT1611kprobe __x64_sys_pivot_root
3Sensitive_File_AccessHIGHT1003.008/etc/shadow · runtime sockets (docker/containerd/crio/k3s)
4Process_ExecutionINFOT1059.004sys_enter_execve
5Network_ConnectionINFO/HIGHT1071sys_enter_connect - IPv4 + IPv6, configurable suspicious ports
6Process_InjectionHIGHT1055.008sys_enter_ptrace
7Log_TamperingHIGHT1562.001unlinkat · truncate · rename/renameat/renameat2 · write-intent opens (O_TRUNC/O_WRONLY)
8Ebpf_TamperingHIGHT1562.001sys_enter_bpf (load/attach/link cmds)
9Perf_Event_OpenMEDIUMT1562.001sys_enter_perf_event_open (suppressed by default)
10Suspicious_MountHIGHT1611sys_enter_mount
11Namespace_SwitchHIGHT1611sys_enter_setns
12Chroot_EscapeHIGHT1611sys_enter_chroot
13Executable_MemoryMEDIUMT1620sys_enter_mprotect (PROT_EXEC) (suppressed by default)
14Core_Pattern_ModificationCRITICALT1611core_pattern · modprobe · uevent_helper
15Cgroup_Release_AgentCRITICALT1611any release_agent/notify_on_release under /sys/fs/cgroup/
16Canary_TriggeredCRITICALT1552.001canary map hit - fires even for nonexistent paths
17Memfd_CreateMEDIUMT1055.012sys_enter_memfd_create - fileless payloads
18ExecveatMEDIUMT1620sys_enter_execveat - fd/memfd execution
19Kernel_Module_LoadHIGHT1547.006sys_enter_init_module + finit_module

Two detection classes for the file path rules (actions 3, 14, 15, 16):

Download Tool