News for hackers. Stuff that matters.
Re:Breaking the D-Link DIR3060 Firmware Encryption – Recon –... by scohesc on Wednesday August 19, 2020 @02:10PM (#24213809)
I'm not an expert (so I might be wrong here question-wise), but it seems to me that using the same type of encryption "key" to lock down firmware on various devices sounds like a very ill-advised way to do things.

It seems like it would be possible that once you find the "key" for one router, you could potentially exploit a bunch of other router/switch models as well. Am I incorrect in this thinking?

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.

Re:Breaking the D-Link DIR3060 Firmware Encryption – Recon –... by dvaun on Wednesday August 19, 2020 @02:17PM (#24213911)
IIRC there have been similar issues in the past with other hardware (what comes to mind are "smart" items such as locks, wifi cameras, etc.).

As for software, there was an issue earlier this year with Exchange Server failing to generate unique keys [0] (prev. discussion[1]).

[0]: https://www.thezdi.com/blog/2020/2/24/cve-2020-0688-remote-c...

[1]: https://news.ycombinator.com/item?id=22424260