CPEH-001 · Question #1042
StackGuard (as used by Immunix), ssp/ProPolice (as used by OpenBSD), and Microsoft's /GS option use _____ defense against buffer overflow attacks.
The correct answer is A. Canary. Canaries or canary words are known values that are placed between a buffer and control data on the stack to monitor buffer overflows. When the buffer overflows, it will clobber the canary, making the overflow evident. This is a reference to the historic practice of using…
Question
Options
- ACanary
- BHex editing
- CFormat checking
- DNon-executing stack
How the community answered
(39 responses)- A72% (28)
- B5% (2)
- C8% (3)
- D15% (6)
Explanation
Canaries or canary words are known values that are placed between a buffer and control data on the stack to monitor buffer overflows. When the buffer overflows, it will clobber the canary, making the overflow evident. This is a reference to the historic practice of using canaries in coal mines, since they would be affected by toxic gases earlier than the miners, thus providing a biological warning system.
Topics
Community Discussion
No community discussion yet for this question.