arrow
Return

KPointer: Keep the code pointers on the stack point to the right code

delete2022-09-01
delete4
PRE
AI
L
Li, YongGang
C
Chung, Yeh-Ching
B
Bao, Yu
L
Lu, Yi
G
Guo, ShanQing
L
Lin, GuoYuan *
DOI:10.1016/j.cose.2022.102781delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Affected by vulnerabilities, the control data on the stack is easily destroyed, which provides the most convenient conditions for code reuse attacks (CRAs). The operating system (OS) does not impose strict restrictions on the control flow paths. It allows instructions to jump to any location in the same address space. The OS will prevent code execution if and only if an execution error occurs. However, attackers can use stack overflow to accurately tamper with the control data on the stack and avoid execution errors. Although canary technology has been widely adopted, it turns out that this method can be bypassed. The traditional shadow stack technology can only protect the backward control flow and is invalid for the forward control flow. In contrast, the defense effect of the control flow integrity methods is better. Unfortunately, they either cannot get rid of the source code dependence on the protected objects, or cannot provide high-precision instruction boundaries. All these problems make it difficult to eliminate the CRAs based on stack overflow. Faced with these problems, this paper proposes a new security method KPointer. It filters the vulnerable data by tracking the overwriting operation to the stack data. Next, these data will be tracked to locate the jump instructions related to them. Finally, we use new security strategies to determine whether the current instruction is illegal. Experiments and analysis show that KPointer has a good protection effect on the CRAs based on stack overflow. It does not depend on the source code of the protected objects and only introduces 2.7% performance overhead to the CPU. (c) 2022 Elsevier Ltd. All rights reserved.
Keywords:
Integrity
System architectures
Security and protection
Software and system safety
Code reuse attacks
MagBox: Keep the risk functions running safely in a magic box
err2023-03-01
err2
PREAI
errLi, YongGang; Lin, GuoYuan; Chung, Yeh-Ching; Ma, YaoWen; Lu, Yi; Bao, Yu
errShare
errSave
CPP: A lightweight memory page management extension to prevent code pointer leakage
err2022-09-01
err1
errOAAI
errYing, Jiameng; Hou, Rui; Zhao, Lutan; Yuan, Fengkai; Zhao, Penghui; Meng, Dan
errShare
errSave
Signature-Based Protection from Code Reuse Attacks
err2015-02-01
err9
errOAAI
errKayaalp, Mehmet; Schmitt, Timothy; Nomani, Junaid; Ponomarev, Dmitry; Abu Ghazaleh, Nael
errShare
errSave
Efficiently Securing Systems from Code Reuse Attacks
err2014-05-01
err24
errOAAI
errKayaalp, Mehmet; Ozsoy, Meltem; Abu Ghazaleh, Nael; Ponomarev, Dmitry
errShare
errSave
The Impact of Code Review on Architectural Changes
err2021-05-01
err14
errOAAI
errPaixao, Matheus; Krinke, Jens; Han, DongGyun; Ragkhitwetsagul, Chaiyong; Harman, Mark
errShare
errSave
Toxic Code Snippets on Stack Overflow
err2021-03-01
err62
errOAAI
errRagkhitwetsagul, Chaiyong; Krinke, Jens; Paixao, Matheus; Bianco, Giuseppe; Oliveto, Rocco
errShare
errSave
NG-MVEE: A New Proposed Hybrid Technique for Enhanced Mitigation of Code Re-Use Attack
err2023-01-01
err1
errOAAI
errEL-Zoghby, Ayman M.; Elsayed, Mahmoud Said; Jurcut, Anca D.; Azer, Marianne A.
errShare
errSave

Journal

C
Computers and Security
IF:
5.4
Papers:
4.6K
Citations:
1.8W

Organization

Shandong University cover
Shandong University
Scholars:
8.8K
Papers: 2.4K
Citations: 4.2W
Cited Papers

Cited Papers

Favipiravir (T-705) protects against peracute Rift Valley fever virus infection and reduces delayed-onset neurologic disease observed with ribavirin treatment
err2014-04-01
err0
errOAAI
errDionna Scharton; Kevin W. Bailey; Zachary Vest; Jonna B. Westover; Yohichi Kumaki; Arnaud Van Wettere; Yousuke Furuta; Brian B. Gowen
errShare
errSave
Control-Flow Integrity: Precision, Security, and Performance
err2017-04-04
err212
errOAAI
errBurow, Nathan; Carr, Scott A.; Nash, Joseph; Larsen, Per; Franz, Michael; Brunthaler, Stefan; Payer, Mathias
errShare
errSave