Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Stack canary, address-space layout randomisation, non-executable memory, control-flow integrity?

Ook bekend als: stack canary · address-space layout randomisation · non-executable memory · control-flow integrity

Definition 29.3 University Computer Science — Year 3 · Hoofdstuk 29 — Software Security

A stack canary is a value that the compiler stores between a function’s arrays and its saved registers on entry, and checks on exit, ending the program if it changed. Address-space layout randomisation (ASLR) loads the stack, the heap, the libraries and the program at random addresses at each run, so that an attacker cannot know where code or data lies. Non-executable memory marks the stack and the heap as not executable, so that bytes written there cannot run as instructions. Control-flow integrity (CFI) checks at run time that every indirect jump, call and return goes to a target that the program’s code allows.

Lees in het hoofdstuk →