MOAT: Towards Safe BPF Kernel Extension
MOAT: Towards Safe BPF Kernel Extension
复制标题
MOAT:迈向安全的 BPF 内核扩展
DOI:
10.48550/arxiv.2301.13421
复制
发表时间:
2023
期刊:
影响因子:
--
通讯作者:
Fengwei Zhang
中科院分区:
文献类型:
--
作者:
Hongyi Lu;Shuai Wang;Yechang Wu;Wanning He;Fengwei Zhang
The Linux kernel extensively uses the Berkeley Packet Filter (BPF) to allow user-written BPF applications to execute in the kernel space. The BPF employs a verifier to check the security of user-supplied BPF code statically. Recent attacks show that BPF programs can evade security checks and gain unauthorized access to kernel memory, indicating that the verification process is not flawless. In this paper, we present MOAT, a system that isolates potentially malicious BPF programs using Intel Memory Protection Keys (MPK). Enforcing BPF program isolation with MPK is not straightforward; MOAT is designed to alleviate technical obstacles, such as limited hardware keys and the need to protect a wide variety of BPF helper functions. We implement MOAT on Linux (ver. 6.1.38), and our evaluation shows that MOAT delivers low-cost isolation of BPF programs under mainstream use cases, such as isolating a BPF packet filter with only 3% throughput loss.
登录
查看更多内容
DOI:
10.1109/cgo53902.2022.9741267
发表时间:
2022
期刊:
CGO '22: Proceedings of the 20th IEEE/ACM International Symposium on Code Generation and Optimization
影响因子:
--
作者:
Vishwanathan, Harishankar;Shachnai, Matan;Narayana, Srinivas;Nagarakatte, Santosh
通讯作者:
Nagarakatte, Santosh
DOI:
--
发表时间:
2022
期刊:
43rd IEEE Symposium on Security and Privacy
影响因子:
--
作者:
Sunjay Cauligi, Craig Disselkoen
通讯作者:
Sunjay Cauligi, Craig Disselkoen
DOI:
--
发表时间:
2019
期刊:
--
影响因子:
--
作者:
Vikram Narayanan;Abhiram Balasubramanian;Charles Jacobsen;Sarah Spall;Scotty Bauer;Michael Quigley;Aftab Hussain;Abdullah Younis;Junjie Shen;Moinak Bhattacharyya;A. Burtsev
通讯作者:
Vikram Narayanan;Abhiram Balasubramanian;Charles Jacobsen;Sarah Spall;Scotty Bauer;Michael Quigley;Aftab Hussain;Abdullah Younis;Junjie Shen;Moinak Bhattacharyya;A. Burtsev
DOI:
--
发表时间:
2020
期刊:
14th USENIX Symposium on Operating Systems Design and Implementation (OSDI 20
影响因子:
--
作者:
Nelson, Luke;Van Geffen, Jacob;Torlak, Emina;Wang, Xi
通讯作者:
Wang, Xi