<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/cracking-dvrip-sofia-hashes-with-python-ndmbxd5bw" -->

---
title: Cracking DVRIP/Sofia Hashes With Python | daily.dev
description: A security researcher demonstrates how to crack DVRIP/Sofia password hashes used by Xiongmai-based IP cameras. The post explains the custom hashing algorithm...
canonical: https://daily.dev/posts/cracking-dvrip-sofia-hashes-with-python-ndmbxd5bw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Cracking DVRIP/Sofia Hashes With Python | daily.dev
og:description: A security researcher demonstrates how to crack DVRIP/Sofia password hashes used by Xiongmai-based IP cameras. The post explains the custom hashing algorithm...
og:url: https://daily.dev/posts/cracking-dvrip-sofia-hashes-with-python-ndmbxd5bw
og:image: https://api.daily.dev/og/posts/NdmBXd5bW.png
og:image:alt: Cracking DVRIP/Sofia Hashes With Python
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Cracking DVRIP/Sofia Hashes With Python

**[InfoSec Write-ups](https://daily.dev/sources/infosecwriteups)** · 5 min read · 0 upvotes · 0 comments

## Summary

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.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://infosecwriteups.com/cracking-dvrip-sofia-hashes-with-python-e7596a6004bf>

## Similar posts on daily.dev

- [DVRIP/Sofia Protocol Dissector for Wireshark \(Written in Lua\)](https://daily.dev/posts/dvrip-sofia-protocol-dissector-for-wireshark-written-in-lua--8ktpa4rtr) · InfoSec Write-ups · 0 upvotes · 0 comments
- [Hackers compromise 14,500 Dahua web cameras in 35-day campaign](https://daily.dev/posts/hackers-compromise-14-500-dahua-web-cameras-in-35-day-campaign-qsc9ak4ht) · BleepingComputer · 0 upvotes · 0 comments
- ['Hundreds' of Iranian hacking attempts hit IP cameras](https://daily.dev/posts/hundreds-of-iranian-hacking-attempts-hit-ip-cameras-9xpi8yzlr) · The Register · 0 upvotes · 0 comments
- [HTB: CCTV](https://daily.dev/posts/htb-cctv-2ljtex9ul) · 0xdf hacks stuff · 0 upvotes · 0 comments

---

Tags: [#security](https://daily.dev/tags/security), [#python](https://daily.dev/tags/python)

[View this post on daily.dev](https://daily.dev/posts/cracking-dvrip-sofia-hashes-with-python-ndmbxd5bw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Cracking DVRIP/Sofia Hashes With Python","url":"https://daily.dev/posts/cracking-dvrip-sofia-hashes-with-python-ndmbxd5bw","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/cracking-dvrip-sofia-hashes-with-python-ndmbxd5bw"},"datePublished":"2026-04-01T08:30:13.464Z","dateModified":"2026-04-01T08:30:44.889Z","description":"A security researcher demonstrates how to crack DVRIP/Sofia password hashes used by Xiongmai-based IP cameras. The post explains the custom hashing algorithm...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2aab03be3198276c291c28c727210160?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/2aab03be3198276c291c28c727210160?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"InfoSec Write-ups","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"InfoSec Write-ups","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/f0dc21b5bbfd46fda36f7b4b53dd1705","url":"https://daily.dev/sources/infosecwriteups"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/cracking-dvrip-sofia-hashes-with-python-ndmbxd5bw","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"security,python","timeRequired":"PT5M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"InfoSec Write-ups","item":"https://daily.dev/sources/infosecwriteups"},{"@type":"ListItem","position":3,"name":"Cracking DVRIP/Sofia Hashes With Python"}]}
```

