What you can read is what you can't execute

被引:0
|
作者
Li, YongGang [1 ]
Cai, JiaZhen [1 ]
Bao, Yu [1 ]
Chung, Yeh-Ching [2 ]
机构
[1] CUMT, Sch Comp Sci & Technol, Xuzhou 221116, Jiangsu, Peoples R China
[2] Chinese Univ Hong Kong, Shenzhen 518172, Guangdong, Peoples R China
关键词
Code reuse attacks; Operating systems; Software and system safety; Access control; Code probes; MEMORY;
D O I
10.1016/j.cose.2023.103377
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Due to the address space layout randomization (ASLR), code reuse attacks (CRAs) require memory probes to get available gadgets. Code reading is the basic way to obtain code information. In theory, setting the code to be unreadable can prevent code reading. However, the pages are loaded dynamically, and the existing methods cannot set all code as unreadable at one time. They can only control code permissions page-by-page via time-consuming page tracking. Moreover, since some special users need to read code, turning off the read permission will affect their execution. To solve these problems, this paper proposes a method AntiRead. It rebuilds the buddy system for memory allocation. The new buddy system places code pages in a specific memory pool to manage their read permissions. In the presence of AntiRead, what is obtained by adversaries through code reading is either randomized code or non-executable code. Experiments and analysis show that AntiRead can prevent the code that has been read from being used as gadgets without affecting the normal code reading. In addition, the CPU overhead introduced by AntiRead is 1.8%.& COPY; 2023 Elsevier Ltd. All rights reserved.
引用
收藏
页数:12
相关论文
共 50 条
  • [1] Speed Reading: You Can't Always Get What You Want, but Can You Sometimes Get What You Need?
    Balota, David A.
    PSYCHOLOGICAL SCIENCE IN THE PUBLIC INTEREST, 2016, 17 (01) : 1 - 3
  • [2] You Can Run but You Can't Read: Preventing Disclosure Exploits in Executable Code
    Backes, Michael
    Holz, Thorsten
    Kollenda, Benjamin
    Koppe, Philipp
    Nuernberger, Stefan
    Pewny, Jannik
    CCS'14: PROCEEDINGS OF THE 21ST ACM CONFERENCE ON COMPUTER AND COMMUNICATIONS SECURITY, 2014, : 1342 - 1353
  • [3] You can't always remember what you want: The role of cortisol in self-ascription of assigned goals
    Quirin, Markus
    Koole, Sander L.
    Baumann, Nicola
    Kazen, Miguel
    Kuhl, Julius
    JOURNAL OF RESEARCH IN PERSONALITY, 2009, 43 (06) : 1026 - 1032
  • [4] What you learn is more than what you see: what can sequencing effects tell us about inductive category learning?
    Carvalho, Paulo F.
    Goldstone, Robert L.
    FRONTIERS IN PSYCHOLOGY, 2015, 6
  • [5] What You See Is What You Get-Reloaded: Can Jackdaws (Corvus monedula) Find Hidden Food Through Exclusion?
    Schloegl, Christian
    JOURNAL OF COMPARATIVE PSYCHOLOGY, 2011, 125 (02) : 162 - 174
  • [6] Evolutionary consumer psychology: Ask not what you can do for biology, but ...
    Kenrick, Douglas T.
    Saad, Gad
    Griskevicius, Vladas
    JOURNAL OF CONSUMER PSYCHOLOGY, 2013, 23 (03) : 404 - 409
  • [7] Where you are, what you want, and what you can do: The role of master statuses, personality traits, and social cognition in shaping ego network size, structure, and composition
    Brashears, Matthew E.
    Brashears, Laura Aufderheide
    Harder, Nicolas L.
    NETWORK SCIENCE, 2020, 8 (03) : 356 - 380
  • [8] You see what you look for: Targets and distractors in visual search can cause opposing serial dependencies
    Rafiei, Mohsen
    Chetverikov, Andrey
    Hansmann-Roth, Sabrina
    Kristjansson, Arni
    JOURNAL OF VISION, 2021, 21 (10):
  • [9] You can't take it with you: The translation of memory across development
    Richardson, Rick
    Hayne, Harlene
    CURRENT DIRECTIONS IN PSYCHOLOGICAL SCIENCE, 2007, 16 (04) : 223 - 227
  • [10] WHAT YOU DON'T KNOW WON'T HURT YOU, UNLESS YOU DON'T KNOW YOU'RE WRONG
    O'reilly, Tenaha
    Sabatini, John
    Wang, Zuowei
    READING PSYCHOLOGY, 2019, 40 (07) : 638 - 677