News for hackers. Stuff that matters.
Re:Breaking the D-Link DIR3060 Firmware Encryption – Recon –... by stefan_ on Wednesday August 19, 2020 @02:28PM (#24214121)
Encryption for firmware updates is only to obscure the contents. The imgdecrypt binary here also references RSA_verify and similarly public-key cryptography sounding names so I assume they are using that to authenticate the firmware images (checking for a D-Link signature).

Of course this is D-Link and the product is an embedded garbage router, so chances are high they are doing it entirely wrong.

Re:Breaking the D-Link DIR3060 Firmware Encryption – Recon –... by 0xricksanchez on Thursday August 20, 2020 @04:44AM (#24221240)
You're right with your assumptions! If you go to part 3 pretty much to the bottom of the article there's a good summary of what fields are included in their firmware verification headers.

TL;DR: They verify the length of the encrypted and decrypted firmware as well as multiple RSA signatures.

As much as I like pushing security vectors on embedded/IoT devices... This approach of obscuring what is being pushed in an update may not be the right approach imo.