ProcRoute:基于进程的作用域路由授权
ProcRoute: Process-Scoped Authorization of Split-Tunnel Routes
AI总结:
ProcRoute通过将路由访问建模为访问控制问题,限制内部路由仅对授权应用开放,提升路由管理的安全性与效率,实验证明其在性能和可扩展性上的优势。
摘要:
在大多数分割隧道VPN/ZTNA部署中,安装内部路由会授权整个设备而非特定应用使用该路由。未授权的恶意进程可通过重用本应用于企业应用的路由访问内部服务。我们提出了ProcRoute系统,通过将路由访问建模为访问控制问题:应用身份是主体,带有端口和协议约束的目的地前缀是资源,总默认拒绝决策函数调解每次连接()和UDP sendmsg()到内部目的地的请求。没有授权的进程保留外部访问但根据我们的威胁模型被拒绝内部路由。我们描述了ProcRoute的正式模型,一个基于cgroup v2和eBPF套接字地址钩子的Linux原型,以及两个互补的评估。在两台机器的WireGuard部署中,ProcRoute与WireGuard基线匹配,并比nftables cgroup-matching配置快13%,连接延迟p50为93μs(比基线高3.6μs),政策扩展到5000个前缀,撤销时间亚毫秒级。单机回环微基准测试确认了低钩子开销:内部允许路径上2.7μs,82/82次未经授权的pivot尝试被阻止,政策重载期间120万次连接尝试中无零次短暂允许。
英文摘要:
In most split-tunnel VPN/ZTNA deployments, installing an internal route authorizes the entire device, not a specific application, to use it. An unprivileged malicious process can therefore reach internal services by reusing routes intended for corporate applications. We present ProcRoute, a system that restricts internal-route access to explicitly authorized applications. ProcRoute models route access as an access-control problem: application identities are principals, destination prefixes with port and protocol constraints are resources, and a total, default-deny decision function mediates every connect() and UDP sendmsg() to an internal destination. Processes without a grant retain external access but are denied internal routes under our threat model. We describe ProcRoute's formal model, a Linux prototype built on cgroup v2 and eBPF socket-address hooks, and two complementary evaluations. In a two-machine WireGuard deployment, ProcRoute matches the WireGuard baseline and 13% faster than an nftables cgroup-matching configuration, with a p50 connect latency of 93 $μ$s (+3.6 $μ$s over baseline), flat policy scaling to 5,000 prefixes, and sub-millisecond revocation. Single-machine loopback microbenchmarks confirm low hook overhead: 2.7 $μ$s on the internal-allow path, 82/82 unauthorized pivot attempts blocked, and zero transient allows across 1.2 million connection attempts during policy reload.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。