Automating Seccomp Filter Generation for Linux Applications

被引:17
|
作者
Canella, Claudio [1 ]
Werner, Mario [1 ]
Gruss, Daniel [1 ]
Schwarz, Michael [2 ]
机构
[1] Graz Univ Technol, Graz, Austria
[2] CISPA Helmholtz Ctr Informat Secur Germany, Saarbrucken, Germany
基金
欧洲研究理事会;
关键词
seccomp; Linux; automated syscall filtering;
D O I
10.1145/3474123.3486762
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Software vulnerabilities undermine the security of applications. By blocking unused functionality, the impact of potential exploits can be reduced. While seccomp provides a solution for filtering syscalls, it requires manual implementation of filter rules for each individual application. Recent work has investigated approaches to automate this task. However, aswe show, these approaches make assumptions that are not necessary or require overly time-consuming analysis. In this paper, we propose Chestnut, an automated approach for generating strict syscall filters with lower requirements and limitations. Chestnut comprises two phases, with the first phase consisting of two static components, i.e., a compiler and a binary analyzer, that statically extract the used syscalls. The compiler-based approach of Chestnut is up to factor 73 faster than previous approaches with the same accuracy. On the binary level, our approach extends over previous ones by also applying to non-PIC binaries. An optional second phase of Chestnut is dynamic refinement to restrict the set of allowed syscalls further. We demonstrate that Chestnut on average blocks 302 syscalls (86.5 %) via the compiler and 288 (82.5 %) using the binary analysis on a set of 18 applications. Chestnut blocks the dangerous exec syscall in 50 % and 77.7 % of the tested applications using the compiler- and binary-based approach, respectively. For the tested applications, Chestnut blocks exploitation of more than 61 % of the 175 CVEs that target the kernel via syscalls.
引用
收藏
页码:139 / 151
页数:13
相关论文
共 50 条
  • [41] Automating requirements analysis and test case generation
    Abha Moitra
    Kit Siu
    Andrew W. Crapo
    Michael Durling
    Meng Li
    Panagiotis Manolios
    Michael Meiners
    Craig McMillan
    Requirements Engineering, 2019, 24 : 341 - 364
  • [42] StrokeBank: Automating Personalized Chinese Handwriting Generation
    Zong, Alfred
    Zhu, Yuke
    PROCEEDINGS OF THE TWENTY-EIGHTH AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2014, : 3024 - 3029
  • [43] DriverGen: Automating the Generation of Serial Device Drivers
    Zhai, Jiannan
    Du, Yuheng
    Hughes, Shiree
    Hallstrom, Jason O.
    INTERNET OF THINGS: IOT INFRASTRUCTURES, IOT 360, PT II, 2016, 170 : 325 - 330
  • [44] LiveAction: Automating Web Task Model Generation
    Amershi, Saleema
    Mahmud, Jalal
    Nichols, Jeffrey
    Lau, Tessa
    Attanasio Ruiz, German
    ACM TRANSACTIONS ON INTERACTIVE INTELLIGENT SYSTEMS, 2013, 3 (03)
  • [45] Automating requirements analysis and test case generation
    Moitra, Abha
    Siu, Kit
    Crapo, Andrew W.
    Durling, Michael
    Li, Meng
    Manolios, Panagiotis
    Meiners, Michael
    McMillan, Craig
    REQUIREMENTS ENGINEERING, 2019, 24 (03) : 341 - 364
  • [46] Automating Question Generation From Educational Text
    Bhowmick, Ayan Kumar
    Jagmohan, Ashish
    Vempaty, Aditya
    Dey, Prasenjit
    Hall, Leigh
    Hartman, Jeremy
    Kokku, Ravi
    Maheshwari, Hema
    ARTIFICIAL INTELLIGENCE XL, AI 2023, 2023, 14381 : 437 - 450
  • [47] Automating Weight Function Generation in Graph Pebbling
    Flocco, Dominic
    Pulaj, Jonad
    Yerger, Carl
    arXiv, 2023,
  • [48] Automating weight function generation in graph pebbling
    Flocco, Dominic
    Pulaj, Jonad
    Yerger, Carl
    DISCRETE APPLIED MATHEMATICS, 2024, 347 : 155 - 174
  • [49] Automating kinetic solvent effects for mechanism generation
    Slakman, Belinda
    West, Richard
    ABSTRACTS OF PAPERS OF THE AMERICAN CHEMICAL SOCIETY, 2015, 250
  • [50] SimR: Automating Combat Simulation Database Generation
    Holden, Lance
    Dexter, Richard M.
    Shine, Denis R.
    DATA AND DECISION SCIENCES IN ACTION, 2018, : 291 - 302