SoK: On the Effectiveness of Control-Flow Integrity in Practice

被引:0
|
作者
Becker, Lucas [1 ]
Hollick, Matthias [1 ]
Classen, Jiska [2 ]
机构
[1] Tech Univ Darmstadt, Darmstadt, Germany
[2] Univ Potsdam, Hasso Plattner Inst, Potsdam, Germany
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Complex programs written in memory-unsafe languages tend to contain memory corruption bugs. Adversaries commonly employ code-reuse attacks to exploit these bugs. Control-flow Integrity (CFI) enforcement schemes try to prevent such attacks from achieving arbitrary code execution. Developers can apply these schemes to existing code bases by setting compiler flags, requiring less effort than rewriting code in memory-safe languages. Although many works propose CFI schemes and attacks against them, they paid little attention to schemes deployed to end-users. We provide a systematic categorization and overview of actively used CFI solutions. We then conduct a large-scale binary analysis on 33 Android images of seven vendors and two Windows builds for different hardware architectures to study CFI utilization in practice. We analyzed over 77,000 files on the Android images. We found that depending on the variant, up to 94% of binaries and 93% of libraries are unprotected. All analyzed binaries depend on unprotected libraries, therefore rendering CFI enforcement ineffective. Further, we look at the development of CFI coverage over time on Android and find it stagnating. CFI roll-out is closer to complete on the Windows builds, but not all files are protected yet (2.63% unprotected). Consequently, our results show that the adoption of CFI protection is lacking, putting devices at risk. Additionally, our results highlight a large gap between the state of the art in research and the reality of deployed systems.
引用
收藏
页码:189 / 209
页数:21
相关论文
共 50 条
  • [31] A Security Analysis of Labeling-Based Control-Flow Integrity Schemes
    Demicco, David
    Cole, Matthew
    Wang, Shengdun
    Prakash, Aravind
    2022 IEEE 29TH INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING, DATA AND ANALYTICS WORKSHOP, HIPCW, 2022, : 47 - 52
  • [32] TitanCFI: Toward Enforcing Control-Flow Integrity in the Root-of-Trust
    Parisi, Emanuele
    Musa, Alberto
    Manoni, Simone
    Ciani, Maicol
    Rossi, Davide
    Barchi, Francesco
    Bartolini, Andrea
    Acquaviva, Andrea
    2024 DESIGN, AUTOMATION & TEST IN EUROPE CONFERENCE & EXHIBITION, DATE, 2024,
  • [33] 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
  • [34] Widening for Control-Flow
    Hardekopf, Ben
    Wiedermann, Ben
    Churchill, Berkeley
    Kashyap, Vineeth
    VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION: (VMCAI 2014), 2014, 8318 : 472 - 491
  • [35] Control-Flow Decoupling
    Sheikh, Rami
    Tuck, James
    Rotenberg, Eric
    2012 IEEE/ACM 45TH INTERNATIONAL SYMPOSIUM ON MICROARCHITECTURE (MICRO-45), 2012, : 329 - 340
  • [36] 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,
  • [37] 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
  • [38] 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
  • [39] A Procrastinating Control-Flow Integrity Framework for Periodic Real-Time Systems
    Mishra, Tanmaya
    Wang, Jinwen
    Chantem, Thidapat
    Gerdes, Ryan
    Zhang, Ning
    PROCEEDINGS OF 31ST INTERNATIONAL CONFERENCE ON REAL-TIME NETWORKS AND SYSTEMS, RTNS 2023, 2023, : 132 - 142
  • [40] Hard Edges: Hardware-Based Control-Flow Integrity for Embedded Devices
    Christou, George
    Vasiliadis, Giorgos
    Athanasopoulos, Elias
    Ioannidis, Sotiris
    EMBEDDED COMPUTER SYSTEMS: ARCHITECTURES, MODELING, AND SIMULATION, SAMOS 2021, 2022, 13227 : 275 - 287