arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1711.08108cs.CR
收藏

PartiSan:通过运行时间分区实现快速灵活的清理

PartiSan: Fast and Flexible Sanitization via Run-time Partitioning

Julian Lettner, Dokyung Song, Taemin Park, Stijn Volckaert, Per Larsen, Michael Franz

摘要:

杀毒程序可以检测C/C++代码中无法进行静态分析的安全漏洞。目前的做法是不断地模糊和净化内部预发布构建。启用清理的构建很少公开发布。这在很大程度上是由于消毒剂的高存储和处理要求。我们提出了PartiSan,一个运行时间分区技术,加快消毒,并允许他们以更灵活的方式使用。我们的核心思想是将执行划分为产生运行时间开销的净化切片和全速运行的未净化切片。有了PartiSan,清理不再是一个全有或全无的命题。可以将单个构建分发给每个用户,而不管他们是否愿意启用清理以及他们的主机系统的功能。PartiSan可以自动调整清理量以适应性能预算,或者在主机缺乏足够资源时禁用清理。运行时间分区所提供的灵活性也意味着我们可以动态地在不同类型的消毒剂之间交替;今天,开发人员必须提前选择一种类型的消毒剂。最后,我们表明,运行时间分区可以加快模糊运行的消毒分区,只有当模糊发现一个输入,导致崩溃或发现新的执行路径。

英文摘要:

Sanitizers can detect security vulnerabilities in C/C++ code that elude static analysis. Current practice is to continuously fuzz and sanitize internal pre-release builds. Sanitization-enabled builds are rarely released publicly. This is in large part due to the high memory and processing requirements of sanitizers. We present PartiSan, a run-time partitioning technique that speeds up sanitizers and allows them to be used in a more flexible manner. Our core idea is to partition the execution into sanitized slices that incur a run-time overhead, and unsanitized slices running at full speed. With PartiSan, sanitization is no longer an all-or-nothing proposition. A single build can be distributed to every user regardless of their willingness to enable sanitization and the capabilities of their host system. PartiSan can automatically adjust the amount of sanitization to fit within a performance budget or disable sanitization if the host lacks sufficient resources. The flexibility afforded by run-time partitioning also means that we can alternate between different types of sanitizers dynamically; today, developers have to pick a single type of sanitizer ahead of time. Finally, we show that run-time partitioning can speed up fuzzing by running the sanitized partition only when the fuzzer discovers an input that causes a crash or uncovers new execution paths.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑