Landlock LSM: Securing sandbox Linux without root rights
Landlock LSM: Anwendungs-Sandboxing direkt im Linux-Kernel ohne Root Stellen Sie sich vor, Sie öffnen eine unbekannte PDF-Datei oder starten ein skriptartiges Tool aus einem verdächtigen Repository. Normalerweise müsste man entweder den gesamten Host infizieren riskieren oder aufwändige Virtualisierung (VMs, LXC) aufsetzen. Was wäre, wenn der Linux-Kernel jede beliebige Anwendung in einen Käfig…
Landlock, a Linux Security Module (LSM), introduced in kernel 5.13, allows a process to restrict its own access rights to files and network objects without requiring root privileges. This provides a sandboxing solution that can limit the damage caused by running untrusted applications. Landlock uses simple rules and does not require complex policies like SELinux or AppArmor.
A command-line tool, firejail, supports Landlock and can be used to test its functionality. With Landlock, users can run applications in isolation, restricting their access to certain directories and files.
Written by urgent.news from Dev.to's report — not a translation of it. Machine-written — may contain errors; check the original before relying on it.