Integrating Static Analyses for High-Precision Control-Flow Integrity

被引:0
|
作者
Kasten, Florian [1 ]
Zieris, Philipp [1 ]
Horsch, Julian [1 ]
机构
[1] Fraunhofer AISEC, Garching, Germany
关键词
Control-Flow Integrity; Static Data-Flow Analysis; Whole-Program Analysis; Pointer Analysis; LLVM; SVF; Multi-Layer Type Analysis;
D O I
10.1145/3678890.3678920
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Memory corruptions are still one of the most prevalent and severe security vulnerabilities in today's programs. For this reason, several techniques for mitigating software vulnerabilities exist and are used in production systems. An important mitigation involves the prevention of invalid control flow transfers. Attackers often corrupt function pointers to subvert a forward-edge in a program's call graph. Forward-edges can be protected using Control-Flow Integrity (CFI), for which practical implementations already exist. However, current CFI implementations are often imprecise, allowing more control flow transfers than necessary. This often leaves sufficient leeway for an attacker to successfully exploit a program. This paper presents High-Precision CFI (HPCFI), a concept and implementation for precise forward-edge CFI protection of indirect calls in C and C++ programs using a combination of type analysis and static data-flow analysis for determining valid forward-edges. HPCFI is implemented as LLVM compiler passes that perform a precise type analysis and utilize the Static Value-Flow (SVF) framework to conduct a static data-flowanalysis. The combination of type analysis and static data-flow analysis offers higher precision than conventional heuristic-based approaches. Our evaluation, using all compatible benchmarks from SPEC CPU 2017, demonstrates that HPCFI can be effectively applied to large projects with an average performance overhead of only 1.3%, while improving the precision of established CFI mechanisms, such as Clang CFI, by up to 99% and 40% on average.
引用
收藏
页码:419 / 434
页数:16
相关论文
共 50 条
  • [41] Feel Me Flow: A Review of Control-Flow Integrity Methods for User and Kernel Space
    Diez-Franco, Irene
    Santos, Igor
    INTERNATIONAL JOINT CONFERENCE SOCO'16- CISIS'16-ICEUTE'16, 2017, 527 : 477 - 486
  • [42] A robust internal control for high-precision DNA methylation analyses by droplet digital PCR
    Pharo, Heidi D.
    Andresen, Kim
    Berg, Kaja C. G.
    Lothe, Ragnhild A.
    Jeanmougin, Marine
    Lind, Guro E.
    CLINICAL EPIGENETICS, 2018, 10
  • [43] A robust internal control for high-precision DNA methylation analyses by droplet digital PCR
    Heidi D. Pharo
    Kim Andresen
    Kaja C. G. Berg
    Ragnhild A. Lothe
    Marine Jeanmougin
    Guro E. Lind
    Clinical Epigenetics, 2018, 10
  • [44] Surface integrity during high-precision cutting of hardened steels
    Mamalis, AG
    Horváth, M
    Kundrák, J
    Mészáros, I
    Paulmier, D
    PRECISION ENGINEERING, NANOTECHNOLOGY, VOL. 2, 1999, : 483 - 486
  • [45] High-precision interferometric measurement of slow and fast temperature changes in static fluid and convective flow
    Ge X.
    Zielińska J.A.
    Maldonado S.
    Experiments in Fluids, 2023, 64 (11)
  • [46] Static-Dynamic Control Flow Integrity
    Liu, XiaoLong
    Wei, Qiang
    Ye, ZiWei
    2014 NINTH INTERNATIONAL CONFERENCE ON P2P, PARALLEL, GRID, CLOUD AND INTERNET COMPUTING (3PGCIC), 2014, : 189 - 196
  • [47] Security Analysis of Processor Instruction Set Architecture for Enforcing Control-Flow Integrity
    Shanbhogue, Vedvyas
    Gupta, Deepak
    Sahita, Ravi
    PROCEEDINGS OF THE 8TH INTERNATIONAL WORKSHOP ON HARDWARE AND ARCHITECTURAL SUPPORT FOR SECURITY AND PRIVACY, HASP '19, 2019,
  • [48] ELECTRONIC POWER FREQUENCY CONVERTER FOR HIGH-PRECISION INTEGRATING METERS
    FRIEDL, R
    LANGE, W
    SEYFRIED, P
    MESSTECHNIK, 1971, 79 (10): : 223 - &
  • [49] RAGuard: A Hardware Based Mechanism for Backward-Edge Control-Flow Integrity
    Zhang, Jun
    Hou, Rui
    Fan, Junfeng
    Liu, Ke
    Zhang, Lixin
    McKee, Sally A.
    ACM INTERNATIONAL CONFERENCE ON COMPUTING FRONTIERS 2017, 2017, : 27 - 34
  • [50] RCecker: A Lightweight Rule-based Mechanism for Backward Control-Flow Integrity
    Li, Xiaoxin
    Li, Jiazhen
    Hou, Rui
    Meng, Dan
    17TH ACM INTERNATIONAL CONFERENCE ON COMPUTING FRONTIERS 2020 (CF 2020), 2020, : 158 - 164