~/talk

A little Introduction to Control Flow Integrity

Talkat Meeting C++ 2025 · 2025-11-06..11-08· [security]
links:none on file
slides:none on file

Concrete defenses and limits: memory protections (ASLR, NX) plus stack canaries reduce exploitability; hardware and compiler features aim to stop hijacking even with arbitrary reads/writes so long as page permissions don’t change. Implementations include shadow stacks (Intel CCT, guarded control stack) and pointer authentication (ARM PAC, Apple A12 → ARM64E); software approaches include Microsoft Control Flow Guard and Clang CFI. PAC’s small tag can be as weak as 15 bits (~1/32k guess, worst case 3 bits → 1/8). Shadow stacks are deployed and effective; PAC and IBT/BTI trade performance, compatibility, and granularity.

AI-written summary · about

  1. 0:00Introduction to security
  2. 10:05Stack canaries
  3. 17:52ASLR
  4. 20:14Non-executable memory
  5. 23:15ROP and JOP
  6. 28:38Broadening the threat model
  7. 34:26Shadow stacks
  8. 37:04Pointer authentication
  9. 52:13Forward edge CFI
  10. 59:02Microsoft CFG
  11. 1:07:03Clang CFI
  12. 1:18:27Hardware CFI
  13. 1:22:06PAC for call targets
  14. 1:27:42Q&A and conclusion
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.