~/talk

Hacking and Securing C++

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

A simple microcontroller embedded device playground is used with a custom one‑byte‑type serial protocol to demonstrate concrete failures: uninitialized stack buffers leak a prior login password in a temperature message leak, freeing-but-not-nulling a heap buffer enables a use-after-free login bypass, and a stack overflow lets attackers hijack return addresses for code execution via return-oriented programming. Demos compile and run; fixes shown include initialization, RAII/smart pointers, secure memory wiping caveats, non‑executable stack and ASLR where available.

AI-written summary · about

  1. 0:00Hacking and securing C++
  2. 1:48Presentation setup and goals
  3. 8:51Memory model and endianness
  4. 10:41Stack behavior and vulnerabilities
  5. 21:20Heap allocation and dangling pointers
  6. 26:17Buffer overflows and control flow hijacking
  7. 41:31Mitigating with ASLR
  8. 54:10Best practices and C++ usage
  9. 55:36Q&A
~/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.