StackGuard+$\text{StackGuard}^+$: Interoperable alternative to canary‐based protection of stack smashing

Abstract This paper introduces a novel software‐based approach to enhancing stack smashing protection in C/C++ applications, specifically targeting return‐oriented programming attacks, which remain a significant threat to firmware and software security. Traditional canary‐based protections are vulnerable to brute‐force and format string attacks. Additionally, many stack protection mechanisms require access to the source code or recompilation, complicating the security of existing binaries. This paper proposes a new method, aptly named , that modifies the canary‐based protection mechanism by altering the code responsible for canary insertion and verification. This change ensures the integrity of the return address while maintaining the original code size, allowing for seamless interoperability without the need for recompilation or additional hardware. The approach can be automated using a Python script, which modifies existing canary‐based binaries with only 26 bytes of machine code on the 86‐64 platform. Moreover, this approach can be easily adapted to other platforms, including 86 and ARM64.

Authors

Institutions

Publication Details

Journal
Electronics Letters
Published
2024-10-01
DOI
https://doi.org/10.1049/ell2.13310
Citations
1
Primary Topic
Security and Verification in Computing
Type
article
Field-Weighted Citation Impact
0.35

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

StackGuard+$\text{StackGuard}^+$: Interoperable alternative to canary‐based protection of stack smashing

Jeong‐Nyeo Kim, Kang-Min Kim, Seungkwang Lee
1 citations
Electronics Letters
Security and Verification in Computing
0.35
article

StackGuard+$\text{StackGuard}^+$: Interoperable alternative to canary‐based protection of stack smashing

Jeong‐Nyeo Kim, Kang-Min Kim, Seungkwang Lee
article en
1 citations

Abstract

Abstract This paper introduces a novel software‐based approach to enhancing stack smashing protection in C/C++ applications, specifically targeting return‐oriented programming attacks, which remain a significant threat to firmware and software security. Traditional canary‐based protections are vulnerable to brute‐force and format string attacks. Additionally, many stack protection mechanisms require access to the source code or recompilation, complicating the security of existing binaries. This paper proposes a new method, aptly named , that modifies the canary‐based protection mechanism by altering the code responsible for canary insertion and verification. This change ensures the integrity of the return address while maintaining the original code size, allowing for seamless interoperability without the need for recompilation or additional hardware. The approach can be automated using a Python script, which modifies existing canary‐based binaries with only 26 bytes of machine code on the 86‐64 platform. Moreover, this approach can be easily adapted to other platforms, including 86 and ARM64.

Electronics LettersVol. 60(19)
Electronics and Telecommunications Research Institute (KR), Dankook University (KR)
Defense Acquisition Program Administration
Life below water
Openalex Percentile: Top 33%
Security and Verification in Computing
0.35
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

StackGuard+$\text{StackGuard}^+$: Interoperable alternative to canary‐based protection of stack smashing — Jeong‐Nyeo Kim, Kang-Min Kim, et al. · Electronics Letters (2024) | TGRS Research Map | TGRS