{"title":"Backward Edge Pointer Protection Technology Based on Dynamic Instrumentation","authors":"Yiwei Zou, Tao Zhang, Mengyuan Pan, Zongfu Luo","doi":"10.1109/ICCC56324.2022.10065707","DOIUrl":null,"url":null,"abstract":"Buffer overflow is an important security issue. Many countermeasures have been proposed, e.g., DEP, shadow stack. However, existing DEP is facing the problem of being bypassed by attackers through information leakage attacks. To address the shortcomings of current backward edge pointer integrity protection in preventing buffer overflow attacks, this paper proposes a shadow stack based backward edge pointer integrity protection scheme through dynamic instrumentation, and implements a prototype system based on the DynamoRIO framework. Shadow stack mechanism can achieve effective protection for return address integrity by maintaining a one-to-one mapping relationship between the shadow stack and the program stack. Meanwhile, test cases were designed to evaluate the effectiveness, runtime performance and compatibility of the plugin. Experiment results show that the security plugin is compatible with most programs and can run with an average overhead of about 10% to 15%. This is acceptable when comparing to stack shield with 22% overhead.","PeriodicalId":263098,"journal":{"name":"2022 IEEE 8th International Conference on Computer and Communications (ICCC)","volume":"18 11","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2022 IEEE 8th International Conference on Computer and Communications (ICCC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCC56324.2022.10065707","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Buffer overflow is an important security issue. Many countermeasures have been proposed, e.g., DEP, shadow stack. However, existing DEP is facing the problem of being bypassed by attackers through information leakage attacks. To address the shortcomings of current backward edge pointer integrity protection in preventing buffer overflow attacks, this paper proposes a shadow stack based backward edge pointer integrity protection scheme through dynamic instrumentation, and implements a prototype system based on the DynamoRIO framework. Shadow stack mechanism can achieve effective protection for return address integrity by maintaining a one-to-one mapping relationship between the shadow stack and the program stack. Meanwhile, test cases were designed to evaluate the effectiveness, runtime performance and compatibility of the plugin. Experiment results show that the security plugin is compatible with most programs and can run with an average overhead of about 10% to 15%. This is acceptable when comparing to stack shield with 22% overhead.