Dahua config backup encrypted?

I can't do it with this file, please help, nvr
C:\Tools>python3 ./DahuaConfigBackupDecEnc.py --infile configFileExport.backup --key nvr
[*] Dahua Config Backup Decrypt/Encrypt by bashis <mcw noemail eu> (2021) [*]

Decrypt "configFileExport.backup", key: nvr
[!] MD5 mismatch, decryption failed (correct key?)
 

Attachments

  • Like
Reactions: Tabrez-Akhtar
I can't do it with this file, please help, nvr
C:\Tools>python3 ./DahuaConfigBackupDecEnc.py --infile configFileExport.backup --key nvr
[*] Dahua Config Backup Decrypt/Encrypt by bashis <mcw noemail eu> (2021) [*]

Decrypt "configFileExport.backup", key: nvr
[!] MD5 mismatch, decryption failed (correct key?)
From what device this file?
Model, firmware version? (Screenshot, photo)
 
we have a model: DHI-NVR5216-4KS2 , but admin password forgotten.
I now know the configFileExport.backup should be export from the NVR web interface.
but I don't know that before, I only export the config from SmartPSS ,
and then I clear all camera and re-add using a backup password, but I still lost the main admin password, please help.

attached file 20240220_bak.pssdata it is a 7zip file, it was export from SmartPSS v2.003 , but there is a password to this 7z, I try the model number, and SN, all fail.
please change the attached file extension from zip to 7z
please help recover the SmartPSS login password, and the camera admin password.
thank you.
 
Last edited:
we have a model: DHI-NVR5216-4KS2 , but admin password forgotten.
I now know the configFileExport.backup should be export from the NVR web interface.
but I don't know that before, I only export the config from SmartPSS ,
and then I clear all camera and re-add using a backup password, but I still lost the main admin password, please help.
If you have real access to SmartPSS so you need export device to xml
and then use hash at bot. Remember forgoted password not free.

attached file 20240220_bak.pssdata it is a 7zip file, it was export from SmartPSS v2.003 , but there is a password to this 7z, I try the model number, and SN, all fail.
please change the attached file extension from zip to 7z
please help recover the SmartPSS login password, and the camera admin password.
thank you.

Open this file. Inside setting & hash
1708506843222.png
 
I can't open this zip file, is it possible share the 7zip password? thank you,
If you have real access to SmartPSS you don't need this 7zip file. All data AS IS inside the files at data catalog.
Inside hash, not open password.
 
I found the NVR admin login password in an old file, and SmartPSS was set to auto login.
I have delete all the camera on the SmartPSS. and re-add them using the backup password, but 2 of the camera admin password still missing. that is why I ask for the 7zip password, as that file was the only file I export before I delete all the camera from SmartPSS.

I also able login the camera console using python, and able to get the admin password hash by command "user -u", do you know a method to crack this hash?
in the console, the export config, password are mark as *

or do you know a way to reset the camera admin password without knowing the previous password?
 
Last edited:
I also able login the camera console using python, and able to get the admin password hash by command "user -u", do you know a method to crack this hash?
Possible

if you get admin to nvr and don't know password from 2 ipc, connected to nvr you need get backup from nvr.
It's really all yours?
if you acces to ipc using python scrypt, just reset it, or add another user with admin priveledge and use it as is if it yours or reset ipc.
 
they all belongs to the company, but the 2 ipc admin password was lost due to people come and go.
I can not find anything tutorial on how to use the python script to reset the admin password without knowing the original admin password. I already added a backup admin to the ipc, and try use this backup admin to delete the original admin, but fail due to the original admin was mark as reversed, please help.
I try export the config from ipc and decrypt it, success, but there is no admin password inside the decrypted config file.
 
Use new account with admin right or reset this ipc.
You need backup from nvr with this connected ipc.
Backup from ipc not contain password.
Show ouput from python script and all ipc settiing & backup from ipc.
 
Hello, I'm trying to add an extension VTH to an existing apartment building however nobody knows what the VTO admin password.

The extension VTH adds fine however after changing both to include the #0 and #1 after the room number they no longer receive calls from the VTO, I looked through the setup guide an it requires the room to be updated on the VTO.

Can anyone help to decrypt the config backup to retrieve the password as resetting the password of the VTO will require setting up 20 apartments.

VTH model: vth2421f_R

I tried the Python script however I keep having an issue with the MD5 mismatch.

Thank you :headbang:
 

Attachments

No problem with script
5H08C24PAZD9866

Thanks for replying, Am I doing something wrong?


python d:/DahuaConfigBackupDecEnc.py --infile d:/DeviceConfig192.168.1.124.backup --key 5H08C24PAZD9866
[*] Dahua Config Backup Decrypt/Encrypt by bashis <mcw noemail eu> (2021) [*]

Decrypt "d:/DeviceConfig192.168.1.124.backup", key: 5H08C24PAZD9866
[!] MD5 mismatch, decryption failed (correct key?)