Hi! > > We normally trust the hardware NOT to be malicious. (Because if hacker > > has physical access to hardware and lot of resources, you lost). > > That is what we originally thought, however the world has changed and we > need to be better about this, now that it is trivial to create a "bad" > device. I'm not disagreeing. > > This is still true today, but maybe trusting USB devices is bad idea, > > so drivers are being cleaned up. PCI drivers will be WORSE in this > > regard. And you can't really protect against malicious CPU, and it is > > very very hard to protect against malicous RAM (probably not practical > > without explicit CPU support). > > > > Linux was designed with "don't let hackers near your hardware" threat > > model in mind. > > Yes, it originally was designed that way, but again, the world has > changed so we have to change with it. That is why USB has for a long > time now, allowed you to not bind drivers to devices that you do not > "trust", and that trust can be determined by userspace. That all came > about thanks to the work done by the wireless USB spec people and kernel > authors, which showed that maybe you just don't want to trust any device > that comes within range of your system :) Again, not disagreeing; but note the scale here. It is mandatory to defend against malicious wireless USB devices. We probably should work on robustness against malicious USB devices. Malicious PCI-express devices are lot less of concern. Defending against malicious CPU/RAM does not make much sense. Notice that it is quite easy to generate -100V on the USB and kill your motherboard. Also notice that malicious parts of the hardware don't need to be electrically connected to the rest of system, and that they don't even have to contain any electronics. You just have to be careful. https://en.wikipedia.org/wiki/The_Thing_(listening_device) Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Attachment:
signature.asc
Description: Digital signature