From firmware to RCE: Attacking Hikvision NVRs
summary
Research on two zero-day vulnerabilities (CVE-2025-66177) in Hikvision NVRs and related devices, showing firmware extraction, decryption, emulation, and static/dynamic analysis to find and exploit the bugs. The team rebuilt an exploit for a real device from memory dumps after controlled crashes, bypassed DEP/ASLR via info leaks and ROP, maintained service availability to keep the exploit transparent, and packaged the attack as a Metasploit module that auto-detects firmware versions; a live demo and public release are planned.
AI-written summary · about
chapters (14)
- 0:00Introduction
- 3:07Firmware extraction
- 4:33Static analysis of SADP
- 10:53Emulation and PoC
- 14:04Exploit challenges
- 17:56Bypassing protections
- 21:31Metasploit module
- 28:14Live exploit demo
- 31:25Exploit repository
- 31:45Persistence on device
- 32:49UART root shell
- 34:36Vendor response
- 35:41Key takeaways
- 38:07Research process & Q&A
