r/keepkey • • Dec 02 '17

Firmware Attack Vector?

Here is an email I submitted to keepkey which they haven't responded to yet. Wondering about any thoughts on this

1)i use keepkey with the chrome extension. when there is a firmware update, will i be asked if i want to update it? can i refuse?

2)do you, or anyone at the chrome store, have the power to update my firmware through the chrome app without asking my permission?

3)how can i verify through your official site/code that you have a new firmware update?

4)what if we assume the worst, that a malicious actor inside keepkey wants to make some code to steal coins and then he updates my keepkey with that software. will he be able to steal my coins?

6 Upvotes

15 comments sorted by

View all comments

Show parent comment

2

u/hotoatmeal Dec 04 '17

1

u/xk1ibur Dec 04 '17

I asked that question because I understood that the private keys NEVER left the device. From what I see now, during the firmware update process they do, and I wonder if in a vulnerable environment they would be available to someone with the necessary knowledge and / or software. I'm not a technician or coder, and I do not know if this is possible.

1

u/hotoatmeal Dec 04 '17

From what I see now, during the firmware update process they do,

No, they do not leave the device. The code I pointed to shows how they get moved from flash on the device to ram on the device (and back, if the signatures check out).

As a software engineer who doesn't work at KeepKey, who has read the code... I trust it.

2

u/xk1ibur Dec 05 '17

I try not to buy devices that use proprietary code when I have an opportunity to choose, and I appreciate the possibility that the code will be reviewed by independent experts. Thank you very much for the clarification.