~/talk

Generate seccomp profiles for containers using bpf

Talkat DevConf.CZ 2020 · 2020-01-24..01-26· [security, linux-and-operating-systems]
links:none on file
slides:none on file

Generates per-container seccomp profiles by attaching an eBPF tracepoint sys_enter program and a short daemon launched via an OCI pre-start hook, recording syscalls only from the container’s PID namespace (compare to PID 1) after prctl indicates seccomp is applied. Prototype requires root/cap_sys_admin, produces a profile that tightened the default (default shipped profile leaves hundreds of calls; research says containers typically need ~60–70 calls), blocked extra calls in demos, supports merging an input profile for CI and showed minimal overhead.

AI-written summary · about

  1. 0:00Seccomp and container security
  2. 1:27Standard seccomp profile issues
  3. 2:50Why ptrace and audit fail
  4. 3:52BPF and eBPF solution
  5. 5:59PID namespace process tracking
  6. 7:04OCI hooks for syscall monitoring
  7. 8:35Generating seccomp profile demo
  8. 10:40Testing and extending profile
  9. 12:41Original vs new profile comparison
  10. 14:05Runtime requirements and limits
  11. 15:12Q&A on container isolation
  12. 16:36Testing code path coverage
  13. 17:41Performance impact of eBPF
  14. 19:06Why static analysis fails
  15. 19:47Production deployment recommendations
  16. 20:07Conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.