LsStk: Lightweight solution to preventing Stack from buffer overflow vulnerability
Authors:
- 20 December 2023
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 1-7
Abstract
Buffer overflow is a significant vulnerability in computer systems, and despite numerous techniques and approaches proposed to protect programs from exploitation, many existing software and hardware-based prevention mechanisms have proven ineffective in mitigating this threat. The presented study introduces a lightweight prevention technique (LsStk). The approach involves implementing an encryption algorithm to safeguard the function return address, making it resilient to exploitation by adversaries. The algorithm integrated at the compiler level, utilizes epilogue and prologue functions to encrypt the return address and protect it from adversarial tampering. Given its minimal footprint, the solution is well-suited for adaptation in embedded IoT (Internet of Things) devices.To evaluate the effectiveness of our proposed technique, we conducted a statistical analysis using various 32-bit servers. We compared the performance of our method with existing prevention mechanisms. Our approach is designed to be adaptable at both the hardware CPU architecture level and as a software-level patch for the GCC compiler. Our analysis leads to the conclusion that our proposed technique significantly enhances security against such attacks.Keywords
This publication has 27 references indexed in Scilit:
- SOK: Side Channel Monitoring for Additive Manufacturing - Bridging Cybersecurity and Quality Assurance Communities2023
- FRoMEPP: Digital forensic readiness framework for material extrusion based 3D printing processForensic Science International: Digital Investigation, 2023
- LOW-MAGNITUDE INFILL STRUCTURE MANIPULATION ATTACKS ON FUSED FILAMENT FABRICATION 3D PRINTERS2022
- A simple countermeasure to mitigate buffer overflow attack using minimalistic hardware-integrated software simulation for FPGA2022
- Simulation of Solar angles for maximizing Efficiency of Solar Thermal Collectors2019
- oneM2M Architecture Based Secure MQTT Binding in Mbed OS2019
- Risk Assessment of Buffer "Heartbleed" Over-Read Vulnerabilities2015
- Bypassing Data Execution Prevention on MicrosoftWindows XP SP22007
- Defending embedded systems against buffer overflow via hardware/software2004
- The RC5 encryption algorithm1995