GIAC
GCIH · Question #569
Canaries help to implement what protective mechanisms in the stack?
The correct answer is D. Integrity. When the return pointer gets pushed on the stack, the system calculates a keyed hash of the return pointer. This keyed hash result, known as a canary, will be used later as an integrity check of the return pointer to make sure it hasn't been altered by an attacker.
Vulnerability Exploitation & Privilege Escalation
Question
Canaries help to implement what protective mechanisms in the stack?
Options
- AAvailability
- BConfidentiality
- CSecrecy
- DIntegrity
How the community answered
(59 responses)- A2% (1)
- B5% (3)
- C2% (1)
- D92% (54)
Explanation
When the return pointer gets pushed on the stack, the system calculates a keyed hash of the return pointer. This keyed hash result, known as a canary, will be used later as an integrity check of the return pointer to make sure it hasn't been altered by an attacker.
Topics
#stack canaries#buffer overflow protection#memory integrity#exploit mitigation
Community Discussion
No community discussion yet for this question.