As we all know, a few weeks ago there was a presentation about Trezor “glitches cause stitches” attacks at DEFCON 25. These attacks are possible because Trezor is using non-secure chips made by STMicroelectronics. The most important question everyone should ask is:

“Is the SMT32F05 vulnerable to fault injection?”

“Absolutely, yes!” — that’s the answer we got at DEFCON 25. So, the STM32F05 chip is really doomed for this purpose.

STM32F05 chip (Keepkey wallet)

There is absolutely nothing that Trezor can do about it. They can’t replace all existing hardware. And the really bad news is that this also applies to Keepkey and to the upcoming Trezor Model T — it also uses similar STMicroelectronics chip, STM32F4!

A simple version of the hack revealed here also works without fault injection and is demonstrated below.

Trezor so far greatly downplays the importance of this hack. There is no long-term access needed to copy all your secret information from Trezor using this hack, it can be done just in 15 seconds. If your Trezor is stolen, you don’t even have time to transfer you funds to a new address. Government authorities can access all your Bitcoins and other crypto currencies without even asking for your consent. If you are crossing an international border, TSA can easily check your balances, etc. IRL, Trezor is as safe as leaving your cash or wallet on the table. On top of all that, your Trezor can be restored to its original state or replaced with identical Trezor with the same configuration and you wouldn’t even notice any difference until it is too late.

The Hack

This is one of the hacks that was discovered more than six months ago. A proof-of-concept version of this hack was developed on March 29th, 2017. Since Trezor has finally provided the hot-fix for this particular hack we can also fully disclose how it works.

Here we demonstrate how the hack works without even needing “fault injection”.

Your seed words are never supposed to be accessible outside of the Trezor device. This should be the most well-kept secret — but it’s not! This is the only reason why Trezor should exist.

Not only extracts this hack your 24-word seed but also your PIN code and Device Label! WTF!! With this information, you could make exact copy of the Trezor device!

1. We start with an empty Trezor device:

2. Let’s name it “Leak55”:

3. Usually people have 4 digit PINs. Let’s have an insane 9 digit PIN. No need to remember it anyway…

4. Now the Trezor device is ready to display us 24 words that make up the private key. We assume that these words are only kept inside the Trezor device and stored really securely...

5. OK, let’s disconnect and shut down the device.