~/talk

“Secure Coding Best Practices: Your First Line Is The Last Line Of Defense (1 of 2)”

Talkat CppCon 2018 · 2018-09-23..09-28· [security]
links:none on file
slides:none on file

Walks through concrete C/C++ mistakes (unsafe strncpy use, unchecked std::string lengths, std::copy heap overflow, dangerous cast to enums) and shows a live buffer-overflow exploit that uses a NOP-sled to overwrite a return address and achieves privilege escalation to root on a system with ASLR disabled. Covers mitigations (ASLR, stack canaries, back_inserter, length checks), testing gaps (static analysis misses, fuzzing and sanitizers recommended) and operational fixes like internal bug bounties; the exploit demonstration works and produces a core dump when it fails.

AI-written summary · about

  1. 0:00Introduction and personal story
  2. 1:04The state of secure coding today
  3. 2:07Why perimeter security fails
  4. 3:32Evolution of cyber threats
  5. 6:03The three lies we tell ourselves
  6. 7:06Who are the attackers
  7. 9:20Insiders and unpatched systems
  8. 10:01What is a critical system
  9. 11:24Attack vectors and surfaces
  10. 13:11Your first line is the last line
  11. 13:55Buffer overflow vulnerabilities
  12. 17:29Enumeration pitfalls
  13. 19:16Heap overflow and standard copy
  14. 21:02Eliminating compiler warnings
  15. 21:23Infinite loops and complexity
  16. 23:11Capturing by value
  17. 24:12Bug bounty programs
  18. 27:23What hackers look for
  19. 29:33Buffer overflow exploit demo
  20. 39:12Countermeasures ASLR and stack canaries
  21. 46:58Failure analysis and core dumps
  22. 49:28Tools and testing strategies
  23. 51:03The arms race of exploits
  24. 55:24Compiler and language security
~/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.