Define the attacker capabilities that LinSpec helps to evaluate.
- Local user access (unprivileged)
- Ability to execute code
- Knowledge of kernel exploitation techniques
- Weak
kptr_restrict - dmesg exposure
- Weak ptrace restrictions
- User namespace abuse
- SYN flood (DoS)
- BPF JIT exploitation
- Spectre
- Meltdown
| Attack Type | LinSpec Check |
|---|---|
| Info Leak | kptr_restrict |
| Injection | ptrace_scope |
| DoS | tcp_syncookies |
| Kernel Exploit | bpf_jit_harden |
| Side-channel | CPU mitigations |
LinSpec evaluates attack feasibility, not just configuration.
It provides an estimation of how difficult it would be for an attacker to successfully exploit the system.