~/talk

Using seccomp to limit the Linux kernel attack service

Talkat NDC Security 2023 · 2023-01-16..01-19· [security, linux-and-operating-systems]
slides:none on file

Explains how Linux seccomp actually limits syscalls by loading BPF bytecode filters that inspect syscall numbers and up to six register arguments, showing working examples that kill the process or return specific errno values; demonstrates building filters by hand and with libseccomp and notes a simple filter that inspects six BPF instructions and slows a tight getppid loop ~20x without JIT off; covers ABI/architecture pitfalls, how to block open/openat flags, and tools around seccomp and BPF.

AI-written summary · about

  1. 0:00Seccomp introduction
  2. 3:14Reducing kernel attack surface
  3. 12:01BPF virtual machine role
  4. 27:18BPF instruction set
  5. 34:06Practical seccomp filter
  6. 45:17Arch-specific syscalls
  7. 52:05Tools for seccomp filters
  8. 56:26Performance impact
  9. 58:31Challenges with seccomp
  10. 1:01:19Resources and conclusion
~/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.