Skip to content

Never Enough About Cameras: Firmware Keys Hidden Under the Rug

Alexandru Lazar

Demonstrates remote code execution vulnerabilities in popular Dahua perimeter surveillance cameras discovered through firmware key extraction.

Summary

In this technical reverse engineering session on the DEF CON 33 Creator Stage, a hardware security researcher explores firmware cryptographic flaws and vulnerability discovery in commercial IP cameras. Opening at 00:00, the presenter details the reverse engineering process required to inspect protected embedded device firmware images.

At 05:02, the speaker details cryptographic recovery techniques, demonstrating how tracing AES substitution boxes (S-boxes) and inspecting call hierarchies in disassemblers helps locate embedded decryption routines. At 10:00, the presentation uncovers flawed obfuscation schemes, highlighting hardcoded static keys and rudimentary byte-increment loops deployed by manufacturers in failed attempts to conceal encryption secrets.

Moving to vulnerability analysis at 15:01, the researcher dissects exposed device RPC functions and memory safety vulnerabilities in camera management daemons. Concluding at 20:02, the speaker demonstrates crafting return-oriented programming (ROP) gadget chains to achieve unauthenticated remote root execution, while reviewing the responsible disclosure and remediation timeline with the vendor. (AI summary — Gemini Flash)

Related talks