StackSpecter: Detecting Stack Buffer Overflows for the Xtensa Architecture
This paper presents a new approach, StackSpecter, for stack buffer overflow detection, specifically for architectures with register windows. It uses a combination of plausibility checks for stack pointers and obfuscation using a secret XOR key. This combination allows it to give similar security guar-antees as stack canaries but without the need of adjustments to the stack frame layout. StackSpecter was implemented by modifying the FreeRTOS operating system of a ESP32 microcontroller. The performance overhead was evaluated using BEEBS, showing an average overhead of only 0.114%, a large improvement compared to stack canaries, and a worst-case overhead of 64.854% compared to an unprotected application.
Authors
- Kai Lehniger (ORCID: https://orcid.org/0000-0002-3274-2469)
- Peter Langendörfer
Institutions
- Leibniz Institute for Neurobiology (DE)
Publication Details
- Published
- 2024-11-27
- DOI
- https://doi.org/10.1109/itnac62915.2024.10815333
- Primary Topic
- Parallel Computing and Optimization Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00