Skip to main navigation Skip to search Skip to main content

RS-Stack: Defense against Stack Buffer Overflow Attack with Random Shadow Stack

  • Zhou Hongwei
  • , Ke Zhipeng
  • , Zhang Yuchen
  • , Guo Ruichao
  • , Li Shengsheng
  • , Yuan Jinhui*
  • *Corresponding author for this work
  • Information Engineering University
  • Zhongyuan University of Technology

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Shadow stack is a method to prevent stack buffer overflow attack. However, in the existing shadow stack solutions, it is often supposed that the shadow stack is safe, but the reality is not always the case. To overcome it, this paper presents a stack buffer overflow attack defense method based on dynamic shadow stack, which is called RS-Stack. The outstanding advantage of RS-Stack is that the shadow stack address is random, and it is difficult for attackers to locate the shadow stack. In order to further improve the security, RS-Stack separates the shadow stack address for protection, which makes it difficult for attackers to destroy the contents of the shadow stack. RS-Stack provides double protection for shadow stack. We have partly implemented RS-Stack, and the experiment shows that the shadow stack address splitting protection introduce heavily performance overhead. In order not to affect the performance too much, the address split protection is optional, and this mechanism is only used in the environment with high security requirements.

Original languageEnglish
Title of host publication2022 IEEE 2nd International Conference on Data Science and Computer Application, ICDSCA 2022
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages1432-1436
Number of pages5
ISBN (Electronic)9781665472005
DOIs
StatePublished - 2022
Externally publishedYes
Event2nd IEEE International Conference on Data Science and Computer Application, ICDSCA 2022 - Dalian, China
Duration: 28 Oct 202230 Oct 2022

Publication series

Name2022 IEEE 2nd International Conference on Data Science and Computer Application, ICDSCA 2022

Conference

Conference2nd IEEE International Conference on Data Science and Computer Application, ICDSCA 2022
Country/TerritoryChina
CityDalian
Period28/10/2230/10/22

Keywords

  • buffer overflow
  • return Address
  • shadow stack

Fingerprint

Dive into the research topics of 'RS-Stack: Defense against Stack Buffer Overflow Attack with Random Shadow Stack'. Together they form a unique fingerprint.

Cite this