Slashdot Mirror


Thunderbolt Vulnerabilities Leave Computers Wide-Open, Researchers Find (itnews.com.au)

Bismillah writes: Researchers have published the results of exploring how vulnerable Thunderbolt is to DMA attacks, and the answer is "very." Be careful what you plug into that USB-C port. Yes, the set of vulnerabilities has a name: "Thunderclap." "Thunderbolt, which is available through USB-C ports on modern laptops, provides low-level direct memory access (DMA) at much higher privilege levels than regular universal serial bus peripherals," reports ITNews, citing a paper published from a team of researchers from the University of Cambridge, Rice University and SRI International. "This opens up laptops, desktops and servers with Thunderbolt input/output ports and PCI-Express connectors to attacks using malicious DMA-enabled peripherals. The main defense against the above attacks is the input-output memory management unit (IOMMU) that allows devices to access only the memory needed for the job to be done. Enabling the IOMMU to protect against DMA attacks comes at a high performance cost however. Most operating systems trade off security for performance gains, and disable the IOMMU by default."

"Apple's macOS uses the IOMMU, but even with the hardware defense enabled, the researchers were able to use a fake network card to read data traffic that is meant to be confined to the machine and never leave it," the report adds. "The network card was also able to run arbitrary programs at system administrator level on macOS and could read display contents from other Macs and keystrokes from a USB keyboard. Apple patched the vulnerability in macOS 10.12.4 that was released in 2016, but the researchers say the more general scope of such attacks remains relevant."

51 of 90 comments (clear)

  1. Good replacement for Firewire then by omnichad · · Score: 4, Insightful

    Considering this is Apple's choice of replacement for Firewire, this is not any worse of a tradeoff. Firewire already had DMA. Between this and Spectre/Meltdown, Trusted Computing (as anything other than DRM) is becoming more and more impossible.

    1. Re:Good replacement for Firewire then by Dog-Cow · · Score: 1

      I think it's macOS 10.12.4 that was released in 2016.

    2. Re:Good replacement for Firewire then by tsqr · · Score: 1

      Apple patched the vulnerability in macOS 10.12.4 that was released in 2016, but the researchers say the more general scope of such attacks remains relevant.

      Reading that literally, Apple patched a vulnerability discovered in 2018/9 in 2016?! What are they trying to say here?

      I believe they're trying to say something along the lines of, "macOS 10.12.4, that was released in 2016, has been patched by Apple." Unfortunately, they're not very good at constructing sentences.

  2. off by default by redback · · Score: 1

    The default configuration of Thinkpads running win10 requires you to give the device permission (admin rights required) before it will connect. You can do an always allow for devices, or turn security off in the bios.

  3. I think I've got it by mattyj · · Score: 3, Funny

    So if I leave my laptop out when I go to the bathroom at Starbucks and nobody steals it, and I come back and there's some weird thing hanging off a Thunderbolt port, I guess I unplug it? Sage advice, this.

    1. Re:I think I've got it by Jeremi · · Score: 4, Funny

      So if I leave my laptop out when I go to the bathroom at Starbucks and nobody steals it, and I come back and there's some weird thing hanging off a Thunderbolt port, I guess I unplug it?

      By the time you're back from the bathroom, the weird Thunderbolt thing has already copied out your private information and been removed again. Its owner is now in line to buy a Frappucino, to be paid for from your bank account :)

      --


      I don't care if it's 90,000 hectares. That lake was not my doing.
    2. Re:I think I've got it by coofercat · · Score: 2

      I was in a coffee shop (not starbucks though, because they don't sell coffee) a couple of weeks back and a lady asked if I could watch her stuff while she went to the toilet. I suggested that she lock the screen before she went.

      Granted, I'm trustworthy, and I live in a generally low crime sort of area, so the risk is pretty low. However, if you can't even get people to lock the screen, then stuff like this is just lightyears away.

  4. A direct path in? by AHuxley · · Score: 2

    Fast path into a computer to get data in and out.
    Who would have thought?
    Would have more security slowed the data rate down?

    --
    Domestic spying is now "Benign Information Gathering"
  5. Right idea, wrong conclusion by SuperKendall · · Score: 1

    It's not the devices that are the problem here, but the shitty proprietary software that runs on them.

    You have that exactly backwards.

    With this level of direct system access, even the most bullet proof of open source code is not going to ever fully protect you.

    But you are right to say "don't buy proprietary CRAP", emphasis on crap - as in, do not buy cheap devices to plug into your expensive hardware. That is a perfect philosophy for all things electronic - don't buy the cheapest chargers, cables, USB hubs, drives, SD cards and so on, and you can avoid a lot of potential grief. Save up a little and buy something quality - or as quality as external computer devices can get anyway.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
    1. Re:Right idea, wrong conclusion by Aighearach · · Score: 2

      Probably over 85% of devices are the cheapest device, but in a nicer case. If you don't know enough to choose the good parts, you're screwed; paying more doesn't help, that just nonsense. Often the peak of quality in on a mid-range item.

    2. Re:Right idea, wrong conclusion by bill_mcgonigle · · Score: 1


      buy something quality

      It was people who bough Cisco routers who got NSA implants, not people buying Netgear.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  6. Non-Issue with latest software by nateman1352 · · Score: 4, Informative

    For this reason, Windows now has IOMMU virtualization enabled to prevent DMA attacks (starting with Windows 10 RS4/1803/April 2018 Update): https://twitter.com/AmarSaar/status/985618204184768513 In conjunction, tianocore also has IOMMU based DMA protection for 2 years now: https://github.com/tianocore/edk2/tree/master/IntelSiliconPkg/Feature/VTd. So even if the OS isn't up yet DMA attacks are still locked out. Assuming you are running a recent OS and firmware, this is now a non-issue.

    1. Re:Non-Issue with latest software by WaffleMonster · · Score: 1

      For this reason, Windows now has IOMMU virtualization enabled to prevent DMA attacks (starting with Windows 10 RS4/1803/April 2018 Update): https://twitter.com/AmarSaar/s... In conjunction, tianocore also has IOMMU based DMA protection for 2 years now: https://github.com/tianocore/e.... So even if the OS isn't up yet DMA attacks are still locked out. Assuming you are running a recent OS and firmware, this is now a non-issue.

      The problem myself and others face with allowing VTd virtualization is that for some this will be the only lever available for stopping Intel AMT from being accessed externally.

      When enabled and your computer is off it's still listening on TCP ports. When stealth mode firewall is on with all incoming ports blocked the port is still open. Virtualization is the only thing that physically allows the network hardware (wired and wireless) to be shared concurrently with both the host and management engine.

    2. Re:Non-Issue with latest software by nateman1352 · · Score: 2

      AMT doesn't need VTd turned on to access the network, so keeping VTd off for that reason does absolutely nothing. AMT has its own dedicated side band access to the network hardware. AMT only works with Intel networking gear (NIC/Wi-Fi) so the AMT firmware has all the drivers for the NIC built in. Actually, VTd HELPS mitigate AMT concerns because with it turned on AMT is unable to execute arbitrary DMA reads/writes to system RAM, VTd limits AMT's DMA to only the ranges of RAM that the OS allows.

      By the way... there is a much better way to "stop Intel AMT"... just don't buy a system that is "VPro" branded. If the system doesn't have VPro then AMT isn't even present... it gets permanently fused off at the Intel factory. Intel has a special sticker for VPro, so labeling of systems is very clear: https://www.laptopmag.com/articles/intel-vpro-faq

    3. Re:Non-Issue with latest software by mathew7 · · Score: 1

      Actually, VTd HELPS mitigate AMT concerns because with it turned on AMT is unable to execute arbitrary DMA reads/writes to system RAM, VTd limits AMT's DMA to only the ranges of RAM that the OS allows.

      I doubt IOMMU can stop AMT. I'm pretty sure they tap directly to the memory controller, bypassing IOMMU. After all, isn't the ME (backend for AMT) scandal related to inabillity to block it with the OS?

    4. Re:Non-Issue with latest software by WaffleMonster · · Score: 1

      AMT doesn't need VTd turned on to access the network, so keeping VTd off for that reason does absolutely nothing. AMT has its own dedicated side band access to the network hardware.

      This simply isn't true. Without VTd the NICs can't be used by both AMT and the host system concurrently. My commentary was based on first hand real world observation of what actually occurs:

      When VTd is enabled there is a an active IP stack responding to pings and incoming TCP requests when the computer is turned completely off.

      When VTd is enabled and all ports are firewalled in the operating system you can still establish incoming TCP connections to ports that not only bypass the firewall but are completely unknown to the host operating system.

      When VTd is disabled both of these things cease.

      Actually, VTd HELPS mitigate AMT concerns because with it turned on AMT is unable to execute arbitrary DMA reads/writes to system RAM, VTd limits AMT's DMA to only the ranges of RAM that the OS allows.

      The opposite is true.

      I don't care about conspiracy theories involving AMT doing shady shit all by itself. I care about AMT being remotely commanded by someone exploiting a vuln or who is able to obtain a properly signed cert and has the ability to broadcast DHCP. You can't send commands to things that are unable to receive them.

      By the way... there is a much better way to "stop Intel AMT"... just don't buy a system that is "VPro" branded. If the system doesn't have VPro then AMT isn't even present... it gets permanently fused off at the Intel factory. Intel has a special sticker for VPro, so labeling of systems is very clear:

      Certainly good advice yet generally useless as it applies only when buying new systems. Keeping VTd disabled where AMT is unable to be "disabled" is applicable to a much wider audience.

  7. Re:Comfortable with that tradeoff by omnichad · · Score: 1

    USB-C hubs don't pass Thunderbolt signalling. So a cheap USB-C hub would actually protect you from a Thunderbolt device disguised as USB-C.

  8. "Protect" you by SuperKendall · · Score: 2

    USB-C hubs don't pass Thunderbolt signalling. So a cheap USB-C hub would actually protect you from a Thunderbolt device disguised as USB-C.

    You are assuming the hub itself is not really thunderbolt in disguise meant to spy on you - obviously it's not going to pass thunderbolt stuff around, with it's primary mission accomplished. That is primarily what I was warning about.

    How would anyone know? It's all the same connector (or it can be anyway), and some hubs come with bundled unpluggable cables to attach to your computer.

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
    1. Re:"Protect" you by omnichad · · Score: 1

      They said cheap. Currently, I don't think you'd find a cheap Thunderbolt anything.

  9. You know what they say... by Hallux-F-Sinister · · Score: 5, Funny

    If you are close enough to hear the Thunderbolt Port, then you are close enough to get struck by a lightning cable.

    --
    Our reign has gone on long enough. Indeed. Summon the meteors.
  10. does this also happen with lightning cables. by Anonymous Coward · · Score: 1

    Thunderbolt and lightning,
    Very, very frightening me.

  11. "uses" the IOMMU by drinkypoo · · Score: 1

    "Apple's macOS uses the IOMMU, but even with the hardware defense enabled, the researchers were able to use a fake network card to read data traffic that is meant to be confined to the machine and never leave it,"

    Clearly they're either not using the IOMMU very well, their network stack is garbage, or both. So uh... which is it?

    --
    "You're right," Fisheye says. "I should have set it on 'whip' or 'chop.'"
    1. Re:"uses" the IOMMU by UnknowingFool · · Score: 2

      The last line says: "Apple patched the vulnerability in macOS 10.12.4 that was released in 2016, but the researchers say the more general scope of such attacks remains relevant." So they are complaining about a bug that was patched more than 2 years ago

      --
      Well, there's spam egg sausage and spam, that's not got much spam in it.
  12. Vulnerability doesn't exist on Macs since 2016 by Anonymous Coward · · Score: 1

    nt

  13. Sigh by SuperKendall · · Score: 1

    They said cheap. Currently, I don't think you'd find a cheap Thunderbolt anything.

    Do I seriously have to spell this out on Slashdot of all places? The whole POINT would be that people thought they were buying a non-thunderbolt device, it might actually cost $1 million to make or whatever by secretly including Thunderbolt and advanced spying hardware and cellular hardware (to transmit what it found), but you don't care because what you are seeking to obtain is more valuable.

    Since I'm having to lay out every minute detail of such a potential plot, imagine an Amazon seller of USB-C hubs where most of them are indeed just cheap $10 hubs. But if any address you are to ship to matches a database Russia or China has provided you, the "special" model is shipped...

    Starting to get the picture here? Don't buy cheap hardware, at least not if you care about your data security (or maybe even don't want your devices fried by bad power regulation which is less espionage than simple cheap hardware).

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
    1. Re:Sigh by omnichad · · Score: 2

      But if any address you are to ship to matches a database Russia or China has provided you, the "special" model is shipped...

      So now Amazon is a Russian operative?

  14. Slowed it and used a lot more CPU. *IS* the comput by raymorris · · Score: 2

    Yes, "more security" would have slowed the data rate. Probably more noticeablw would have been that data transfers would use a LOT more CPU.

    These ports are like PCIe - you're adding new parts to your computer, plugging them into the motherboard. You probably shouldn't be trying to protect your computer from a malicious CPU, or RAM that I spying on you - these parts ARE your computer. So is your hard drive - whether you connect it via SATA, PCIe, Lightning, or mSATA. You aren't going to protect your computer against a malicious hard drive or graphics card, and the Lightning port is a port for hard drives and graphics.

    If you want to connect to something while keeping it separate, having it not be part of your system, you can use the network port for that. That's the port for connecting to other things, untrusted things.

    We COULD go back to the days of having separate, different types of ports for a keyboard, a printer, a display, etc. Then you'd know that what looks like a display can only act as a display, display, because it's connected to the VGA port, not the keyboard port.

  15. Which replaces PCI. Network card for untrusted by raymorris · · Score: 5, Insightful

    That's true. These ports are like PCIe - you're adding new parts to your computer, plugging them into the motherboard. You probably shouldn't be trying to protect your computer from a malicious CPU, or RAM that I spying on you - these parts ARE your computer. So is your hard drive - whether you connect it via SATA, PCIe, Lightning, or mSATA. You aren't going to protect your computer against a malicious hard drive or graphics card, and the Lightning port is a port for hard drives and graphics.

    If you want to connect to something while keeping it separate, having it not be part of your system, you can use the network port for that. That's the port for connecting to other things, untrusted things.

    We COULD go back to the days of having separate, different types of ports for a keyboard, a printer, a display, etc. Then you'd know that what looks like a display can only act as a display, display, because it's connected to the VGA port, not the keyboard port.

    1. Re:Which replaces PCI. Network card for untrusted by Anonymous Coward · · Score: 4, Insightful

      The problem isn't when I plug something into my machine, but when some passerby or government agency plugs something into my machine. The whole issue is that this port is like a hooker on the corner on a Saturday night. Something plugged into a port on a computer should get access to exactly what I let it have access to with my root account, not automatically have access to everything stored in memory or transferred between memory, HDD or other parts of that same computer. Unless of course, the root account has allowed such access.

    2. Re:Which replaces PCI. Network card for untrusted by AmiMoJo · · Score: 2

      No, the problem is plug-and-play. If the OS didn't install a driver and immediately allow the device to operate as soon as it was plugged in, we wouldn't have this problem. Same with USB but to a less severe extent.

      You can actually do that on Windows. I don't know about MacOS.

      https://docs.microsoft.com/en-...

      Another thing that really helps is encrypted RAM. It makes DMA attacks far less effective.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    3. Re:Which replaces PCI. Network card for untrusted by AmiMoJo · · Score: 3, Informative

      When connected the Thunderbolt device needs to negotiate the link and and request resources. By default it can't just DMA the entire memory space. The host has to read configuration parameters and configure the IOMMU to allow it.

      Part of the problem is that the OS does a lot of that automatically, even if there is no driver available. For example when you connect a USB device the OS reads descriptors (metadata) from it, which means that there is a potential attack on the parser for that data. Thunderbolt is no different.

      --
      const int one = 65536; (Silvermoon, Texture.cs)
      SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
    4. Re:Which replaces PCI. Network card for untrusted by thegarbz · · Score: 1

      No, the problem is plug-and-play. If the OS didn't install a driver and immediately allow the device to operate as soon as it was plugged in, we wouldn't have this problem.

      Not true. There's a myriad of devices in your computer attached to various devices that are completely OS independent and create a security risk. Do you have a driver for your RAM stick?

    5. Re:Which replaces PCI. Network card for untrusted by epine · · Score: 1

      You aren't going to protect your computer against a malicious hard drive or graphics card, and the Lightning port is a port for hard drives and graphics.

      Jane Random servicewoman who comes into your house would have trouble opening your case, installing a device, and rebooting your computer all in the time it takes you to hit the head to squeeze a drop.

      An actual case might even be locked and alarmed, too.

      Personally, if I was wearing a protective cup, I'd hang my balls on the inside. But perhaps that's just me.

    6. Re:Which replaces PCI. Network card for untrusted by AC-x · · Score: 1

      We COULD go back to the days of having separate, different types of ports for a keyboard, a printer, a display, etc. Then you'd know that what looks like a display can only act as a display, display, because it's connected to the VGA port, not the keyboard port.

      Or we could just have our OS tell us what the device is presenting as and prompt to enable DMA, obviously actual malicious peripherals would still be a vector but it somewhat blocks evil maid attacks (if you locked your computer) and hacked USB thumb drives.

    7. Re:Which replaces PCI. Network card for untrusted by thegarbz · · Score: 1

      The problem isn't when I plug something into my machine, but when some passerby or government agency plugs something into my machine.

      If this is a concern for you then install system services that disable port access. There are plenty out there, even my motherboard came with one.

      The whole issue is that this port is like a hooker on the corner on a Saturday night.

      Yes but the risk of a hooker doesn't mean we should give up on awesome sex. If you want physical security, use physical security.

  16. Why does Thunderbolt exist? by MSTCrow5429 · · Score: 1

    Not using Mac, I might be missing something, but why would someone use Thunderbolt instead of USB 3.x?

    --
    Slashdot: Playing Favorites Since 1997
    1. Re:Why does Thunderbolt exist? by Megol · · Score: 1

      It's PCIe plus USB plus video via one cable. Plug in a Thunderbolt to PCIe adapter into your laptop and insert whatever card you want into that adapter.
      Plus it's much faster and lower latency than USB.

    2. Re:Why does Thunderbolt exist? by Junta · · Score: 1

      Note that thunderbolt is a common feature of non-Apple PCs as well.

      One facet is that it supports 4x PCIe, so it can provide a much better performing connection than usb-c by itself.

      --
      XML is like violence. If it doesn't solve the problem, use more.
  17. An *unchecked* direct path in by Anonymous Coward · · Score: 1

    Yes, "more security" would have slowed the data rate. Probably more noticeablw would have been that data transfers would use a LOT more CPU.

    Actually, no. You don't strictly need to abandon DMA (for PIO) to fix this.

    The thing is that these DMA transfers give full access to the computer's memory to whatever is on the other side of that cable. This is not strictly necessary. Add a (hardware) fence, so set aside a range where DMA can happen and keep everything else out of it, and you can have both "more security" and all that juicy speed.

    Same with firewire. The solution then was the same, too. If the controller can't do it on its own (firewire could) you can do it with IOMMU, either way will work.

  18. Re:Slowed it and used a lot more CPU. *IS* the com by grep+-v+'.*'+* · · Score: 1

    Ummm, WHAAAT?!? Deja vu? Did anyone else notice that same black cat walking past the doorway?

    --
    If the universe is someone's simulation -- does that mean the stars are just stuck pixels?
  19. Use boltd by zdzichu · · Score: 4, Interesting

    On Linux we have a solution – using Thunderbolt security levels to authorize external devices:
    https://christian.kellner.me/2...

    This goes as far as blocking new devices connected while the screen is locked, so noone will connect spy device and exfiliate your data while you are away from your computer.

    --
    :wq
  20. Re:Slowed it and used a lot more CPU. *IS* the com by AmiMoJo · · Score: 1

    That isn't really the case for any modern systems which use an IOMMU. By default the new device is firewalled off completely, and normally won't be given complete access to the entirety of RAM or anything like that.

    The problem is that if you connect something like a GPU the OS helpfully auto-configures it and mirrors the screen onto it, including copying all the hidden bitmaps composited behind the lock screen into its RAM. It automatically mounts the Thunderbolt hard drive and starts reading and parsing the filesystem. Perhaps the attacker knows of an exploit in the Intel NIC driver, so pretends to be an Intel NIC and the OS helpfully loads that driver up, ready for some code injection.

    All it really needs for mitigation is to block the initial configuration of new devices when the computer is locked and before login.

    --
    const int one = 65536; (Silvermoon, Texture.cs)
    SJW, n: "Someone I don't like, and by the way I'm a fuckwit" - AC
  21. Nothing new by thegarbz · · Score: 1

    Firewire, Express Card, Thunderbolt is just the latest iteration of high speed buses that create security problems.

    Fortunately it's one I can protect myself against. A thunderbolt device won't randomly download itself into my port while I'm browsing porn.

  22. Performance by Bengie · · Score: 1

    https://www.kernel.org/doc/ols...

    Looks like IOMMU is roughly a 15% cpu overhead because of memory virtualization overhead causing increased cache invalidation. But can be up to 60% overhead for events 256bytes and smaller. This might apply for keyboard key presses where the datastructure for the event is larger than the data to indicate which key was pressed or a UDP flood on a network interface, most other hardware devices are going to be dealing in 512byte+ chucks of data at a time. ~15% cpu cost should be the most common.

    15% additional CPU cost on IO seems cheap to me. Most of my IO requires virtually no CPU because of offloading and DMA access. To give an example. Transferring 940Mb/s(114MiB/s) over Ethernet copying a file from one Windows machine to another over SMB results in about 0.5% cpu usage on my quad core. A 15% increase would push it to 0.575%

    1. Re:Performance by Junta · · Score: 1

      This might apply for keyboard key presses

      Well, I doubt you'll find a keyboard that is DMAing, so it wouldn't apply there. Even if it did, no one types fast enough for this to even be a blip.

      15% cost will matter a great deal to some, not at all to others.

      --
      XML is like violence. If it doesn't solve the problem, use more.
  23. In other news: Water wet! by Casandro · · Score: 1

    I mean seriously, you are running PCI-E over some external port. Of course you can easily access everything, you are on the system bus you have virtually the same rights as the CPU.

    1. Re:In other news: Water wet! by kent.dickey · · Score: 2

      But it's just a USB-C connector.

      A malicious USB-C anything could be created (keyboard, mouse, flash drive) that really was Thunderbolt, and there's really no way for the user to tell. This does mean you should never plug in an untrusted USB-C flash drive (unless it's through a hub which would not allow the Thunderbolt traffic) into a Thunderbolt connector. It could be much worse than getting an ordinary virus.

      It also means your system may be vulnerable to unwanted searches through this vulnerability. Every time you fly internationally, customs agents can copy the entire contents of your laptop.

  24. Article says apple isn't vulnerable by goombah99 · · Score: 1

    What crappy misleading presentation. they say Even the apple was vulnerable, but oh wait, that was on the unpatched apple code, so nevermind.

    --
    Some drink at the fountain of knowledge. Others just gargle.
  25. That's an option on desktop, not laptop by raymorris · · Score: 1

    That's certainly an option you have on desktops. You can avoid putting any high-performance ports external and install these things internally. On a laptop, not so much.

    It does seem wise for an OS to not connect new peripherals while it's locked. I don't know offhand how each OS handles that.

  26. Great quesruin. US gvt standard since 1983 by raymorris · · Score: 1

    > This doesn't work. You've created a distinction inside your head that no one else shares.

    No one except people who have spent an hour or more learning about information security, any time within the last 35 years.

    > Does everything have to be trusted? Is nothing trusted?

    Excellent question! An important question. It's so important, it's one of the first things you learn if you study information security.
    What is trusted is called the Trusted Computing Base.
    It's defined quite thoroughly in the Trusted Computer System Evaluation Criteria (TCSEC), popularly known as the Orange Book. This is a DoD standard first issued in 1983.

    The TCB is composed of the things that must be trusted in order to build any sort of meaningful security - your CPU, your RAM, your bootloader, etc. User applications do not have to be trusted, they can be controlled by security systems.

    The Trusted Computing Base is what *enforces* security policy, everything outside the TCB is subject to security policy. You can chmod a file or set a SELinux security context on a file, then you have to trust the kernel to enforce that chmod. Make sense?

    Generally, the TCB is the hardware in your system and the basic software - the microcode, bios, bootloader, and at least parts of the kernel.

    Note it's the trustED computing base, not trustWORTHY. After definitely what is trusted, what must be trusted, we then set out to certify them as trustworthy.

    > Also, I'd like to ask if mice are secure devices. And keyboards. And monitors and speakers and headphones and USB fans and UPSes.

    Mice and keyboards provide unfiltered input to the TCB (the bios, etc) and are trusted - so you need to make sure they are trustworthy. Speakers and headphones, plugged into an audio output port, are not.

    > Nor do we train people to make any distinction between "secure" and "unsecure" ports. At most, we train people not to plug in unknown USB sticks

    You haven't been to the trainings I give, nor watched them on YouTube.

    > Do we put labels on unsecure ports to identify them? Do we put labels on secure ports? Condoms? Banana peels Anything?

    As I said before, on most modern consumer-level computers, your port for untrusted connections is the RJ-45 port. The USB and lightning ports are for adding new hardware to the system. Hardware is trusted (so make sure it's trustworthy). Anything that is not part of your system, not trusted, should use the port designated for connecting to the world outside of your system. That's the network port.

    1. Re:Great quesruin. US gvt standard since 1983 by raymorris · · Score: 1

      > OK, so how exactly do I plug a USB mass storage device into that port and get it working? Oh that's right, I can't.

      https://www.wd.com/products/ne...

      If your budget is under $50

      https://www.amazon.com/gp/aw/d...

      > isn't terribly relevant to the point I'm making.

      Your point seems to be that users do stuff things?
      That's true. And therefore we shouldn't tell them what's smart to do instead?

      The fact is, if you install new hardware into your PCIe bus, you are implicitly trusting that hardware. Do you disagree? Or is your point that users attach crap to their bus? And therefore ... what? Stop telling them that's risky?