Landrun offers an efficient solution for executing Linux processes in a secure, unprivileged environment. Built with Landlock LSM, it ensures kernel-level security with minimal overhead, making it user-friendly. Options for fine-grained access control and TCP network management further enhance its capabilities, catering to varied user needs.
A lightweight and secure sandbox environment for executing Linux processes using Landlock LSM. Designed with kernel-level security and minimal overhead in mind, landrun offers an effective alternative to traditional sandboxing tools like firejail.
Executing commands within the secure sandbox is straightforward. Use the basic syntax:
landrun [options] <command> [args...]
landrun --ro /usr/bin --ro /lib --ro /lib64 --ro /path/to/dir ls /path/to/dir
landrun --ro /usr/bin --ro /lib --ro /lib64 --rw /path/to/dir touch /path/to/dir/newfile
landrun --ro /usr/bin --ro /lib --ro /lib64 --exec /usr/bin/bash
Landrun enhances security through:
Landrun requires a minimum of Linux kernel version 5.13 with a later version necessary for advanced networking features:
| Feature | Minimum Kernel Version | Landlock ABI Version |
|---|---|---|
| Basic filesystem sandboxing | 5.13 | 1 |
| Network TCP restrictions | 6.8 | 5 |
Plans for future enhancements include:
By employing Landlock, landrun provides developers with a robust tool for secure application execution, protecting against vulnerabilities while maintaining flexibility and performance.
No comments yet.
Sign in to be the first to comment.