JFC-Group / JF-Customisation

Firmwares, Tips and Tricks regarding JF
139 stars 36 forks source link

JCOW404.key unable to decrypt my enc file #11

Closed akiratoriyama closed 1 year ago

akiratoriyama commented 2 years ago

OpenSSL gives the following error

*** WARNING : deprecated key derivation used. Using -iter or -pbkdf2 would be better. bad decrypt 20080000:error:1C800064:Provider routines:ossl_cipher_unpadblock:bad decrypt:providers\implementations\ciphers\ciphercommon_block.c:124:

itsyourap commented 1 year ago

Can you tell me your firmware version?

akiratoriyama commented 1 year ago

SRCMTF1_JCOW404_R2.15

itsyourap commented 1 year ago

Yes! The encryption password changed in the latest firmwares. Basically now the encryption key is specific for specific devices. The encryption key is a mixture of our router's serial number concatenated with the output of the command /usr/bin/prolinecmd acspwd display. Since the value of acspwd is unique for every device, I assume that there is no way to get root for now.

itsyourap commented 1 year ago

Also the first five characters of acspwd matches the last five characters of your default Wi-Fi SSID name. I don't know about the origin of the next eleven characters.

For example, if your default SSID is JioFiber-XrHGa, the first five characters of acspwd is XrHGa. Also if your router's serial number is suppose RSVOTKHEM097251, The complete encryption password would be RSVOTKHEM097251XrHGaXXXXXXXXXXX where XXXXXXXXXXX is the unknown eleven character string.

itsyourap commented 1 year ago

There is a solution to this 🎊

Use the WEB-UI to downgrade your router firmware to a version that used to work with this method.

neelahagga commented 1 year ago

Use the WEB-UI to downgrade your router firmware to a version that used to work with this method.

Where can I find such a version for JCO4032? @itsyourap

itsyourap commented 1 year ago

@neelahagga Idk- I didn't get a firmware for JCO4032 yet

itsyourap commented 1 year ago

Use this to get Root: https://github.com/itsyourap/JioFiber-Home-Gateway/blob/master/Instructions/Alternate-Way-To-Get-Root-Access-JioFiber-ONT-Home-Gateway.md