| Mandatory Access Control (AppArmor) | AppArmor LSM | Implemented & Verified | Active via `lsm=landlock,lockdown,yama,integrity,apparmor,bpf`. 12 dedicated profiles in strict enforce mode (flags=(enforce)). Zero complain mode in production. |
| Interactive Sandbox (Bubblewrap) | snigdha-sandbox | Implemented & Verified | Unprivileged user, mount, PID, IPC, and UTS namespaces. Private volatile tmpfs, masked sensitive files, and restricted home storage. |
| System Call Filtering (Seccomp-BPF) | snigdha-seccomp-compiler | Implemented & Verified | Compiles strict BPF bytecode attached at launch. Blocks ptrace, kexec_load, reboot, kernel module insertions, bpf, keyrings, and raw sockets. |
| Session D-Bus Filtering | xdg-dbus-proxy | Implemented & Verified | Filters D-Bus messages, rejecting unauthorized calls to NetGuard1, Persistence1, and systemd1 with AccessDenied. |
| System Service Hardening | systemd Drop-ins | Implemented & Verified | 9 drop-ins enforcing ProtectSystem=strict, PrivateTmp=yes, RestrictSUIDSGID=yes, ProtectKernelTunables=yes, and capability restrictions. |
| System-wide Tor Enforcement | NetGuard nftables | Implemented & Verified | table inet snigdha nat_output redirects all non-Tor TCP to Tor TransPort (9040). Filter output chain drops non-redirected traffic. Fail-closed on Tor failure. |
| DNS Leak Interception | NetGuard DNS | Implemented & Verified | UDP port 53 queries are redirected to Tor DNSPort (5353). Direct TCP DNS, DoT (853), and unauthorized resolvers are dropped fail-closed. |
| UDP & Leak Elimination | NetGuard Firewall | Implemented & Verified | Outbound non-Tor UDP traffic dropped fail-closed (meta l4proto udp drop), eliminating QUIC bypass, NTP leaks, and WebRTC STUN leaks. |