Get the Monday email →
Loading player…

Devcon Mumbai | Lotus Stage 1 - Day 4

Devcon

Transcript

them on because you I don't have security if you do that.. And if you think about ROM, chips, ROM do not exist, really nowadays. I mean, people are just using Flash with special access conditions. And of, course, it's different because then creative hackers manage to find exploits, usually. So, you can have multiple application now running on a hardware wallet.

You have multiple ways to implement that. You can do an open source firmware which doesn't really support multiple applications. So then you just flash the firmware for multiple application. You can use the multi application OS that it will support application loaded at runtime. Then you have to think about access because all applications might be able to access the same keys.

You don't want that to happen. So you can protect access conditions per applications and those you don't really have multiple applications, but you can have an application acting as a loader R40 or once. So there a way to there are ways to cheat, I would say. Another question you can ask yourself is do you want your product to be stateful, stateless? If you meaning is it a going to- is it going to keep the seed inside the.

If you want it. to be stateful it must be hardened against physical theft, the way people do this is different chips. So you would have one less secret chip running the code, and then one more secret chip accessing the data, then you would pair those chips together to prevent people from just accessing the other chips. There is, a cool trick also done by Trezor T with an SD card, which is a, so it would in a passphrase randomly and use it on the SD card so you can just remove it. You have some open security chip available, which are interesting if you want to go through those design and still be open.

There is the tropic square today tropic 01 and direct by crossbar. Then. Then, if you want to be state-less you don't need to protect the a storage But you still need to have in the executed cut path and because you don't want your application to be changed on your a device You will get the seed from an external resource. It could be an SD card It could be just scanning a paper scanning a QR with a seed This is popular in the Bitcoin space with seed signer which started a seed QR. QR from that But, of course, you still have to trust the way the device is running your code.

So there can be some, well, there can be some bad. things going there. So, genuine check, which is something that you are going to use to know if your device is legitimate or not. One thing which is, which is good to keep in mind is that it's not only done for security reasons. You could use it as something commercial a you could say example I'm running a service and if I'm a genuine device to it, I'm going to have extra benefits for the users You can sponsor transactions, you can have better APIs, that's an idea to do, I don't think many people are doing this at the moment R.

Of course, to do that you need a strongly protected secret device and then you have privacy questions because if you use one key per device, this This is a global UID, so people could be able scope of it, because when you do a, generally a check, usually you verify that one chip knows the secret, but it might not be your expectation, you might think that the genuine check is checking the whole status of the device, which is usually not the case. I mean, there are ways to implement this, be talking about just in the next slide, I think. Yes, a. A little bit more. So if if we talk about implants now, because implants are in touch, so the genuine check was still passing with.

The implant was just looking at the bus between the security and the screen and reading everything from the screen. So you can think about it like an OCR with a SIM card sending data read on the screen to the outside world. And of course, the screen is dangerous. Because it's displaying onboarding data. So it's displaying your seed.

And once you have the seed, you can steal the money. You can exploit complexity. Every time you have complexity in a a device, R people will think about what happens if R fail, what happens if I can replace it, what happens if I can fool if I can pull it, or if I can R another part of the device to think it's talking to a chip but it's not one. So you have several strategies to try to protect the implement first. you can make them easy to detect by the user R.

to create the implant. You can make it passively harder to add an implant, basically by having a strong, hard to open case. You can use ultrasonic welding, for example, potting. But, this is going to hurt observability, so it's going to, well, again, another trade- off. You can make actively hard to put an it, by using a mesh, which will be some kind of wires, put around your PCBs, plus a battery that will erase the secret.

that if the mesh is cut, which is also hard to do and not super-reliable. Or you could use some kind of a super-new trick to detect the implant by using the own properties R of the implant against it. Mark Karpeles has a been doing that for the ledger implant, trying to detect it on a live device without opening it by trying to make make the antenna, basically. So yeah, that's good, but that's a bit complicated for an end user. So in my opinion, the right way to deal with implants is to make them harmless.

It might be a bit odd to say that. So how do we do that. I think we win if the attacker needs both an implants and malware to be able to do something bad. So first, we want simple, cheap solutions solutions. We want to reduce complexity.

We want to make things as simple as we can. something dangerous when we are generating the Memonique or when we are importing a Memonique or entering a pass. So the way to close that is quite easy when you think about it without changing the hardware. First, you need to know that you are talking to the real is validated by the secure element So, you have an encrypted channel, between the R and the secure element checking that what what is sent comes really from the secure element the. Secure element is still generating, the 24 words you have 12 on the host, and then the implant cannot see the full seed because it would need malware to be able to see Well, economic reasons, and I think people should contribute to open designs on those DIY devices.

Typically. You want to be able to switch parts. You want to be able to use different MCU. You want to be able to use different screens. You want to make it easy for people to just mix stuff, order from different suppliers and avoid being being tracked.

Then if you are making a pre-built device device, genuineness is still very important but it should be easy to Rinspect. You want to so you can use the tricks I have been talking about before, and yeah, so that's it. If you want to know a little bit more, you can, I have linked to this slide, this talk and a few other talks I gave at DEFCON while still thinking about hardware and a little bit more on the bell chip, which is on the chip that I have been using a lot for testing zoos and crossbar. So maker. of a bow chip.

It's running a hackathon you can register and you can have some fun with this chip as well as much as I had thank you for such a detailed topic these days, no worries. And let's jump to questions. We just have a few of them now, but remember, remember that you can keep asking a question as we speak, so do not lose your opportunity. First question is, when is clear sign-in live on these devices? That will.

Do The next one is pretty comic, comic one- is Veggie a serious project? Do you think about branding can be better? It's a very very very serious project And I think the bonding is the bonding is Genius because you want to make a things. But you want to make self custody fun and it's the first time This is right, right, so I think the bonding is genius And others please the design is clean. It's using a secure element so it's yeah I would definitely recommend to build one all right moving up next what commercial or DIY device would you use today me ledger I was expecting that okay let's move on who should use which wallet to be secure now it's really it a very personal question, if you want to check everything, then I would recommend using a Do It Yourself wallet with a secret ship so that you a can just play with it, you can open it, you can build one yourself if you want.

But it's really personal, I think the first question to ask is to look at this talk, I mean, understand this talk well, and look at your personal risk and then make an educated decision. Okay, up next, we have a pretty up voted question. Re you thought about making your hardware wallet post quantum? Yes of course and I think the next question is kind of related, so we will jump to the other one. Universal signer in AI AI world.

AI. The best thing today to beat AI is another AI. I think that's definitely the way you want to design critical software today today. You want to do that. You want.

You want to do it with AI. You want to do it with formal proofs. formal AI is the best at generating formal proofs. So yeah. Why not?

Okay. Okay. And that was it with the questions and for this session. Huge round of applause to Nicolas. R.

I.I.P. you

Automatic transcript — names and jargon may be misspelled.