JFC-Group / JF-Customisation

Firmwares, Tips and Tricks regarding JF
149 stars 37 forks source link

Decryption keys for JCOW411 #23

Closed hayzamjs closed 1 year ago

hayzamjs commented 1 year ago

Hey guys!

How do I get the decryption keys for my specific model which is ARCNTF1_JCOW411_R2.21 or JCOW411 ? I'm trying to dump the plain data (or get telnet access) inorder to get the details to connect the fiber directly to another box I have (using an SFP module).

hayzamjs commented 1 year ago

I got it done, posting the steps for people who run across this issue in the future.

I got the firmware file from here, extracted the ubifs from it using ubireader (after running it through binwalk). Once the firmware was extracted I found the required server.key file here /rootfs_ubifs/pfrm2.0/etc/server.key.

I needed the key to extract the dbglog that I downloaded using this guide, which was super helpful. I decrypted the encrypted tar file using this command:

openssl aes-128-cbc -d -pass file:server.key -in reliance-dbglog-enc.tgz -out x.tgz

Now I was able to browse through the contents of dbglog and was able to get the system.db file that I wanted.