~/talk

Lessons Learned Applying Compiletime Hardening Options for Security-Critical Program Binary in Linux

links:none on file
slides:none on file

Rebuilds 159 high-priority Debian binaries (setuid/setgid and network services) with safe stack and CFI enabled, hitting ~86–93% success for services and ~90%+ for setuid/setgid; main failures come from C++/Clang incompatibilities, legacy assembly (RDSEED/RDRAND register clobbers), and widespread C callback type mismatches that trigger CFI faults. Solutions include linker flags, Clang as CC, and using a sanitizer blacklist to suppress 52 CFI and 74 safe-stack test failures so hardened .deb packages are produced.

AI-written summary · about

  1. 0:00Intro
  2. 0:33Why Compile-time Hardening is important?
  3. 2:39Control Flow Hijacking
  4. 4:41Mitigation Techniques
  5. 11:21The Concept of LLVM SafeStack
  6. 12:37LLVM CFI
  7. 16:47Security-Critical Program Binary
  8. 18:58Rebuilding with Safestack and CFI
  9. 20:20Rebuilding for Systemd Package
  10. 29:53Checking security status of Systemd
  11. 30:38Rebuilding for Target Packages
  12. 31:43Rebuilding for Service
  13. 32:50Rebuilding for setuid/setgid
  14. 33:28Lessons Leamed
  15. 36:35Conclusion
~/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.