9 ms·
The new MacBook's single port comes with a security risk
- aetherson 12y agoI upvoted, because it's a good thing to be aware of, but I don't think you can call this a "major" security risk. It's not like you're going to see a million people get attacked by a single charger cable out on the internet. If you're someone who has a lot of really sensitive data on your laptop, sure. But, then, most of those people are probably not all that interested in the MacBook, and at any rate they should already be pretty cautious about physical access to the sensitive machine.
- adrianm 12y agoThe article (especially the headline) implies that the new Macbook is somehow more at risk because of its reliance on one USB port. But if the root of the problem is USB more generally, wouldn't the only "secure" design preclude the inclusion of any USB ports whatsoever? My issue with the article is that by singling out the Macbook (due to its single port) they are not actually contributing any useful information back to the consumer about its potential security. If I'm missing something, I would appreciate clarification.
- placeybordeaux 12y agoIf there is a USB port and a power port a super parinoid person could never use the USB port, or even fill it with glue. Not an option here. This is also talking about how combining them also allows for the potential of charger based attacks, a charger is something that absolutely has to be plugged in at some point.
- jontro 12y agoI guess the paranoid user can use an usb condom if so.
- stellar2014 12y agoTime to make usb-c syncsyop http://syncstop.com/ http://syncstop.com/
- TylerE 12y agoA paranoid user wouldn't use a power port, either. At least not without whipping out a multimeter first.
- untog 12y agoWell, the main difference is that even just to charge your laptop you'll need to plug in a USB plug - and people share laptop chargers a lot. Agree that the article is largely a fuss over nothing, though.
- Someone1234 12y agoThe article also ignores that many of these USB issues are actually solvable in software (both uEFI and in the OS). The only USB issue which REALLY isn't solvable is the fact that USB devices can simulate a USB hub and then attach fictional human interface devices (i.e. keyboards and mice) which they can then use to take over the computer and or otherwise cause problems.
- masklinn 12y agoWell you could build a system which requires explicitly allowing HIDs. The only HID for which it's a serious issue might be a keyboard, and for those the OS could segregate the alleged keyboard and require specific actions to allow it.
- placeybordeaux 12y agoThis is written like it is a novel situation. Smart phones have had this problem almost since inception. Would be nice to see a hardware switch to deactivate the pins that aren't needed for power.
- Someone1234 12y agoThat switch sounds like a tech' support nightmare. Even WiFi switches are a massive PITA that are almost more trouble than they're worth. I'd suggest that if people want safe USB that they just buy a USB "condom" (i.e. an adapter that goes between the power and port, and disconnects the data wires). Although does USB-C use any of the data pins to determine if it is safe to transmit power? I just ask because Apple's USB implementation sends different amount of power based on how the device responds across several non-power related pins.
- stellar2014 12y agoSyncstop claims to work with any mobile device win/apple/android/blackberry. Anyone tried syncstop with apple devices? [edit] corrected typo
- masklinn 12y ago> Although does USB-C use any of the data pins to determine if it is safe to transmit power? Power Delivery 2.0 signals via Vbus (the 5V line) and additionally via CC when using the Type C connector. PD2 is specified for Type A, Type B and Type C connectors.
- 3pt14159 12y agoThe difference is that smart phones (at least the iPhone) have a "trust this computer?" prompt. It is unclear whether the new Macbook will. Edit: This will presumably disable any usage of the non-power lines.
- jontro 12y agoUSB Type C does not support DMA as the article states. I think there might be some confusion on the attack vector here. BadUSB requires cooperation from the OS/BIOS/a driver.
- sharth 12y agoOne of the suggested alternate modes in the specification is a PCIe bus. This would most likely support bus mastering, and thus a full DMA engine. This certainly requires some host cooperation, but I imagine that the fear is that these drivers start to be distributed in the OS by default. One of the BadUSB vectors is a USB keyboard, which is a fairly well expected driver to be included with the OS.
- drakenot 12y agoIs it possible to whitelist USB (or Thunderbolt for that matter) devices and prevent all others from connecting? It is fairly common for me to connect a USB keyboard, but it is pretty rare for me to connect an unknown keyboard.
- masklinn 12y agoIt's possible to filter based on vendor ID and device ID, but deviceid is shared (it's more of a product id), and both can be faked of course. On Linux it's handled via udev, on Windows via group policies (since Server 2008/Vista), on OSX it might be possible via MDM, in the Server application (I'm not sure)
- Animats 12y agoRight. A USB device can't do anything unless the OS lets it. We went through this with "autorun" on CDs and DVDs. For years, Windows would run anything that looked executable if you put it in the obvious place. That didn't end well. Those defaults were finally changed. What's needed is to turn off automatic hot plugging for USB devices. The era when you can plug in a USB device and have it go live without user interaction is over. We're going to need clear OS dialogs - "The USB device you just plugged in claims to be a keyboard - did you just plug in a keyboard?" You should't be able to boot from a USB device without doing something to enter a maintenance mode. There's nothing special about USB Type C here. It's just that the asymmetry of USB is being dealt with. Asymmetrical USB has created an amusing hierarchy. Desktop computers were masters. Phones were slaves. Then came tablets. Are they masters or slaves?
- justinph 12y agoThis is a mostly useless article. Every computer with USB ports has this problem. If you want to use it as, you know, a computer, you're probably gonna need to plug some stuff into it at one time. You could make the argument that now that it has one port, it's easier to secure because you only have to secure one side of the computer instead of two.
- zzleeper 12y agoAre you kidding? It means that if you go to a coffes hop and plug your laptop, you can become compromised. Sure, random people in a starbucks won't, but it's a boon for industrial espionage!
- sharth 12y agoSo... bring your own charger? Does your coffee shop normally provide you a laptop charger?
- scott_karana 12y agoCoffee shops and airports don't provide laptop chargers, but they do sometimes provide USB chargers, which are now the same thing!
- mvid 12y agoAre the power requirements the same? My assumption would be that usb wall chargers wouldn't have the juice to keep your laptop battery at a steady state, let alone charge. The provided iphone wall charger is 5 watts, the provided apple laptop charger is 60 watts.
- scott_karana 12y agoI suspect airport chargers are more like 1 watt, but the problem is whether end-users will hook their laptops up to the insecure charger, not the efficiency or lack thereof :)
- hsshah 12y agoI have a similar concern with charging my phone using USB ports in public places. Got a reminder last week while returning from an international trip. The plane had both power outlet and USB port for charging (Really glad they had them there). To charge my phone, first I connected to USB port (since I had the cable handy)and surprisingly got a message about authorizing the computer etc. I had the power adapter as well so pulled it out and charged using it instead. We need a way to give us assurance that port is in just power mode.
- drakenot 12y agoIsn't USB-c more secure because it doesn't have DMA like Thunderbolt does? I've seen several articles on HN in the past year that detail serious compromises that are possible via just plugging in a Thunderbolt cable.
- rimunroe 12y agoI think so, but I am reminded of this sage advice: https://twitter.com/jdub/status/575887350158372864 https://twitter.com/jdub/status/575887350158372864 > Never plug in an unknown USB key or cable. Never plug in an unknown Lightning cable. Never touch computers. Everything is a computer. Run.
- benmgreene 12y ago"On a standard machine, users worried about USB attacks could simply tape over their ports" ^^ Oh yeah, that would do it. Damn Apple for disabling the tape-over fix!