Timeloops: System Call Policy Learning for Containerized Microservices

arxiv(2022)

引用 0|浏览10
暂无评分
摘要
In this paper we introduce TIMELOOPS a novel technique for automatically learning system call filtering policies for containerized microservices applications. At run-time, TIMELOOPS automatically learns which system calls a program should be allowed to invoke while rejecting attempts to call spurious system calls. Further, TIMELOOPS addresses many of the shortcomings of state-of-the-art static analysis-based techniques, such as the ability to generate tight filters for programs written in interpreted languages such as PHP, Python, and JavaScript. TIMELOOPS has a simple and robust implementation because it is mainly built out of commodity, and proven, technologies such as seccomp-BPF, systemd, and Podman containers, with fewer than 500 lines of code. We demonstrate the utility of TIMELOOPS by learning system calls for individual services and two microservices benchmark applications, which utilize popular technologies like Python Flask, Nginx (with PHP and Lua modules), Apache Thrift, Memcached, Redis, and MongoDB. Further, the amortized performance of TIMELOOPS is similar to that of an unhardened system while producing a smaller system call filter than state-of-the-art static analysis-based techniques.
更多
查看译文
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要