Skip to main navigation Skip to search Skip to main content

Hardstack: Prevent stack buffer overflow attack with LBR

  • Hongwei Zhou
  • , Keda Kang
  • , Jinhui Yuan*
  • *Corresponding author for this work
  • Zhongyuan University of Technology

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

Abstract

Stack buffer overflow attack can temper with software control flow by continuously injecting data into stack and overwriting function return address. In this paper, we propose a new method to solve buffer overflow attack with the support of Intel LBR, which we call it HardStack. Usually, the function return address is stored in the stack, and it is easy to be overwritten. In our opinion, HardStack changes this situation. In HardStack, the return address is calculated on hardware information and software information together. In this way, even if the attacker tampers with the data in the stack, he fail to hijack the software control flow without modifying on LBR. Our discussion show that HardStack increases the delay by thousands of times in a certain call, but which has no obvious effect on the running of the software.

Original languageEnglish
Title of host publicationProceedings - 2019 International Conference on Intelligent Computing, Automation and Systems, ICICAS 2019
EditorsYun Bai, Diego Cabrera, Qibing Yu, Ziqiang Pu
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages888-892
Number of pages5
ISBN (Electronic)9781728161068
DOIs
StatePublished - Dec 2019
Externally publishedYes
Event2019 International Conference on Intelligent Computing, Automation and Systems, ICICAS 2019 - Chongqing, China
Duration: 6 Dec 20198 Dec 2019

Publication series

NameProceedings - 2019 International Conference on Intelligent Computing, Automation and Systems, ICICAS 2019

Conference

Conference2019 International Conference on Intelligent Computing, Automation and Systems, ICICAS 2019
Country/TerritoryChina
CityChongqing
Period6/12/198/12/19

Keywords

  • Buffer overflow
  • Control flow
  • LBR

Fingerprint

Dive into the research topics of 'Hardstack: Prevent stack buffer overflow attack with LBR'. Together they form a unique fingerprint.

Cite this