1

bin file extracted from a ZXHN H168N V3.1. RouterPassView is able to decrypt the file successfully but the tool can't re-encrypt the file, it gave me some info about the method used to decrypt here they are

File Type: 29 Encrypted Data Start Position: 227 Encryption Algorithm: AES-128 Encryption Key: 34303263333864653339626564363635 Compression: zlib/deflate

am a noob when it comes to this stuff so idk how to code my own tool does anyone know a tool that i could use to decrypt and re-encrypt the file

1
  • They use zlib encryption in the firmware, have you tried encrypting it with zlib and repack it with binwalk squashfs? Edit: would you mind sharing decrypted firmware? So, I’ll have a look into it. – Jason S May 2 at 1:48
2

You can use the zcu module (written by Mark Streetster) to decrypt/encrypt your config.bin file.

2
  • i tried that but it didn't work even when i specified the key it gave me an error that i can't remember what type/version should i use – Luser Nov 28 '20 at 21:49
  • @Ammar Yasser If you want to upload a copy of your config.bin file I will check it out. – user2017 Nov 29 '20 at 22:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.