A security researcher demonstrates how to crack DVRIP/Sofia password hashes used by Xiongmai-based IP cameras. The post explains the custom hashing algorithm (MD5-derived, 8-character output), shows how to extract hashes from devices using two CVEs (CVE-2025-65857 and CVE-2024-3765 authentication bypass vulnerabilities), and provides a Python dictionary attack tool that compares wordlist entries against the retrieved hash. Full source code is available on GitHub.
Table of contents
IntroductionGet Kostas Ereksonas’s stories in your inboxObtaining DVRIP/Sofia Hash From DeviceDictionary AttackConclusionSort: