Stack Protection

GPTKB entity

Statements (32)
Predicate Object
gptkbp:instanceOf Security Feature
gptkbp:alsoKnownAs gptkb:Stack_Smashing_Protection
StackGuard
gptkbp:category gptkb:Computer_Security
Software Security
Compiler Feature
gptkbp:detects Stack buffer overflows
gptkbp:effect Error message on stack corruption
Program aborts on detection
gptkbp:enables Compiler flag
gptkbp:exampleFlag -fstack-protector
/GS
https://www.w3.org/2000/01/rdf-schema#label Stack Protection
gptkbp:implementedIn gptkb:GCC
gptkb:Clang
gptkb:Microsoft_Visual_Studio
gptkbp:introducedIn 1997
gptkbp:inventedBy gptkb:Crispin_Cowan
gptkbp:limitation Can be bypassed with information leaks
Does not protect against all buffer overflows
May not protect non-stack buffers
gptkbp:prevention Code execution via stack buffer overflow
gptkbp:purpose Mitigate stack buffer overflow attacks
gptkbp:relatedTo gptkb:Data_Execution_Prevention
gptkb:Address_Space_Layout_Randomization
gptkb:Control_Flow_Integrity
gptkbp:usedIn Embedded Systems
User Applications
Operating System Kernels
gptkbp:uses Canary value
gptkbp:bfsParent gptkb:Windows_Defender_Exploit_Protection_for_Exploit_Mitigation
gptkbp:bfsLayer 8