Host: WSL2 on Windows
Distribution: Ubuntu 24.04.4 LTS
Kernel:
6.6.87.2-microsoft-standard-WSL2 (x86_64)
This page records observed results. Capabilities that could not be exercised without root are marked BLOCKED, not PASS.
Environment
Unprivileged audit:
Capability matrix
Privileged validation
Validated with an operator-authenticated sudo session on 2026-11-10.sudo scripts/e2e-root.shreturned E2E PASS.- All seven tracepoints attached.
- The lifecycle session completed and remained inspectable as the invoking user.
- SIGINT exited
130and finalized the session asinterrupted. - The database was owned by the invoking user with mode
600. - Phase 5 run one: 72 events, including 64 file opens and one IPv4 connect.
- Phase 5 run two: 315 events, including IPv4
127.0.0.1:1and IPv6::1:1. - Both sessions verified
validwith zero findings. /etc/hostnameopened successfully.ringbuf_lostwas zero in the validated sessions.
- Collector
/procenrichment generated recursiveopenatevents. Self-originated samples are now filtered before enrichment. - The session lock directory was created as root before the privilege drop, causing the writer to fail. The lock is now acquired after the drop and is user-owned.
Reproduce the validation
WSL2 notes
- WSL2 exposes a real Linux kernel and real tracepoints. This is not emulated eBPF.
unprivileged_bpf_disabled=2is host hardening, not a SYSCALL defect.- Tracefs being root-only is normal. Use sudo or scoped capabilities.
- Do not weaken
unprivileged_bpf_disabledor tracefs permissions to make a test pass. - If attach fails after a successful load, preserve the exact libbpf error.
- The Phase 5 syscall tracepoints exist in the 6.6 WSL2 ABI and attached under root.
- WSL2 localhost networking may refuse an unused port. A refused connect is still valid evidence.
- If the workbench window is blank under WSLg:
What remains unproven
- A native Linux host run, beyond WSL2.
- Stress and sustained-loss behavior.
- Crash injection leaving a permanent
recordingsession. - A privileged CI lane with explicit provisioning.