27 ms·
Legit-Looking iPhone Lightning Cables Will Hijack Your Computer
- MichaelApproved 7y ago> One idea is to take this malicious tool, dubbed O.MG Cable, and swap it for a target's legitimate one. MG suggested you may even give the malicious version as a gift to the target Even more frightening, people selling them as seemingly legitimate cables on Amazon? People will pay you and you get a new botnet. How many could you sell before it's discovered? How can I, as a consumer, even tell? Amazon will even allow you to sell your malcable under the Apple brand.
- Scoundreller 7y agoYour attack would need to be targeted since you can’t connect to your cable over-the-internet, only over the wifi interface, limiting you to that range.
- ebg13 7y agoThe article says > "But the cable can be configured to act as a client to a nearby wireless network. And if that wireless network has an internet connection, the distance basically becomes unlimited."
- wlesieutre 7y agoSure but it needs a password to the network. I don’t have any random public hotspots available near my computer.
- DenisM 7y agoAre you sure you don't have XFinityWIFI next to you? Most people live near one.
- Scoundreller 7y agoI’m in Canada. Our ISPs would never provide such a service in a million years.
- derefr 7y agoI don't know about other Canadian cities, but in Vancouver, there are both Telus and Shaw hotspots randomly strewn throughout the city. The Telus ones exist in public/government buildings as a co-sponsorship with the municipal government; the Shaw ones exist at the numerous charging stations for bike-share bikes, as a different co-sponsorship. Admittedly, you aren't really likely to run into either if you're not downtown. Then there's the Shaw hotspots which they expose on a dedicated side-channel of the routers of people who pay for their business Internet plans, which allow arbitrary other Shaw customers with authenticated MAC addresses to connect to them. Those are all over the place, and it'd be pretty easy to steal a list of a few hundred registered MACs and rely on that network to connect.
- Scoundreller 7y agoNot a thing in Robbers/Bhell territory.
- wlesieutre 7y agoChecked last night and yes I do. Guess I'll be keeping a closer eye on my USB cables. I rarely plug my phone into a computer, but I suppose this works just as well for any other USB device with a removable cord. USB-C is probably safe for now on account of the smaller connectors.
- Scoundreller 7y agoI suppose it could do some keyboard and mouse actions to extract your current wifi network’s password, copy to a file and spin up a tiny flash drive emulator to copy it onto.
- roywiggins 7y agoThe thing can scan for open wifi and phone home, so anyone within range of a Starbucks would be vulnerable.
- deleted 7y ago[deleted]
- ceejayoz 7y agoGiven that it can do things like open a terminal, I'd think it could automatically be set to install botnet malware. Sell a few hundred thousand on Amazon and you're in good shape. The wifi's just so you can control it remotely.
- michaelt 7y agoIf you were mailing the cables to random people, you wouldn't use wifi, it's true. You'd just want the fake keyboard to just use a terminal to download and install a trojan. If you can fire off a successful "curl | bash" on an internet-connected machine, wireless isn't needed. Of course, without wifi you've only got a USB Rubber Ducky clone [1] whereas with wifi, you've got an NSA COTTONMOUTH clone [2] which I imagine is much more likely to get your talk accepted at DEFCON :) [1] https://shop.hak5.org/collections/physical-access/products/usb-rubber-ducky-deluxe https://shop.hak5.org/collections/physical-access/products/u... [2] https://en.wikipedia.org/wiki/NSA_ANT_catalog https://en.wikipedia.org/wiki/NSA_ANT_catalog
- Scoundreller 7y agoAt that point, just pre-load the cable with a flash drive and copy the malware onboard.
- nixpulvis 7y agoSeeing now why counterfeits are a serious problem for resellers!
- eridius 7y agoOpening up a terminal while the user is actively using their computer is going to be a huge red flag and give the whole game away. Presumably with a local attack, the attacker will wait until the user is distracted or away from their computer before taking control.
- michaelt 7y agoYes, if you did a scattershot attack some users would notice for sure. But if the terminal only flashes up for 100ms, plenty won't notice or will think it was just a glitch.
- misiti3780 7y agoI do not buy electronics on amazon for this very reason.
- reaperducer 7y agoI do not buy electronics on amazon for this very reason. Ditto. Further, I do not buy lightning cables or iPhone chargers from anywhere but an Apple Store. This has been a good idea for years, even before this, when HN was all aflutter about fake chargers frying phones, or with embedded computers that tried to hack your phone.
- judge2020 7y agoBought some a few months ago and my issue is the price premium. $20 for a 1 meter long lightning cable feels like highway robbery but I've never had an issue with them failing so it's worth it.
- lisper 7y agoThink of it as $1 for the cable and $19 for the provenance guarantee.
- 4ntonius8lock 7y agoI've always used premium power cables just because of the possibility of shorts from cheap cables. I wonder what HN thinks of Anker cables? I've always loved them because they are rugged and well made. Though I know they are a Chinese company...
- hiharryhere 7y agoI bought a pack of three Anker lightning cables because of the praise they got here on HN. Unfortunately all three weakened near the connector within a few months to the point where they only intermittently charge. Really disappointing.
- 7y ago
- Proven 7y agoHow can you tell? How can Amazon tell? If you want a legit cable, you can buy it from Apple. Nothing gives you the right to force others - or use the government do that on your behalf - to do something you don't want or cannot do yourself.
- deleted 7y ago[deleted]
- ikeboy 7y agoAmazon hasn't allowed unauthorized sellers sell Apple products since January
- 3JPLW 7y agoI've not found many details about how this is actually working — there's some info on his D̴̹̭͂ë̷̗́̃̿̓̾͜ṃ̸͔͚̗̙̪̎̄̋ȏ̸̝̤̱͜n̶͇͇͙̻̩͑͑S̴̳̩̮̥͚̥̚ė̸̟̃͋͂͝e̷̪̲̪̰̣̿̀͠d̵̡̂͗ cable here [1], but apparently the O.MG cable is "a very different piece of hardware that does a whole lot more." Does anyone have any insight into how this attack works? My guess is that it acts like a hub that exposes both the iPhone lightning connector and a keyboard/mouse. And then the keyboard/mouse is controllable via some near-range wireless like WiFi or bluetooth? I suppose it could even scan for open networks and try to join to allow a more remote exploit. Anyone find more information anywhere? 1. https://github.com/O-MG/DemonSeed https://github.com/O-MG/DemonSeed
- Scoundreller 7y agoIt says it has a wifi chip. So the attack is limited by that distance. It probably switches on the Keyboard/Mouse Logic as necessary. But from there you could play an “Open Terminal” and be quite creative. Don’t know if you could send much information back, but I don’t see why it couldn’t have a few gb of flash storage to copy from/to, e.g. occasional screenshots to see what’s there. Or files.
- egdod 7y agoMaybe not distance-limited. > "But the cable can be configured to act as a client to a nearby wireless network. And if that wireless network has an internet connection, the distance basically becomes unlimited." he added.
- lucianfelix 7y agoYou could easily use the host computer's internet connection to upload data or to execute commands downloaded from a control server.
- Scoundreller 7y agoIf that was your vector, you wouldn’t bother with wifi at all. I think the real value of this attack is against air-gapped computers... that people charge their wireless devices with? That would be stupid.
- scohesc 7y agoI don't see how Hak5 can create exact replicas of Apple Lightning cables with hacking tools embedded in them and NOT have Apples dream litigation team blasting down their doors It's pretty amazing how technology has gotten so small we can hide a wifi chip and keyboard emulator into the end of a USB port plug.
- ege_erdogan 7y agoI have this USB-C looking like this[0] (not the same one though). The thing is whenever it is plugged into my MacBook Pro, the hub starts to overheat, even when there is nothing connected to it. I once tried plugging it into the MBP adapter and charging my phone through the USB port on it, and it did not heat at all. I am suspecting it is running some program in the background (a miner maybe). Is there a way I can check if such a program is running? [0] https://www.amazon.com/Purgo-Adapter-2018-2016-Delivery-Thunderbolt/dp/B07K5ZR6HS/ref=sr_1_17?keywords=usb+c+hub&qid=1565706339&s=gateway&sr=8-17 https://www.amazon.com/Purgo-Adapter-2018-2016-Delivery-Thun...
- Eric_WVGG 7y agoYou could install Little Snitch on your Mac to see if it phones home. IMO more likely that it's shoddy hardware; either way it's munching your battery, so I'd send it to the recyclers and find something more reputable.
- qrbLPHiKpiux 7y agoAsk your dentist to take an x-ray of the cable you may be concerned about. We're all digital and it only takes a second. If your guy is cool, he'll do it.
- ceejayoz 7y agoThat won't be much good against random third-party cables from Amazon, where you don't have a "it should look like this" scan to compare against.
- qrbLPHiKpiux 7y agoI told you _my_ dentist was cool. This is a 3rd party Amazon cable. https://i.imgur.com/RdxDYF4.png https://i.imgur.com/RdxDYF4.png Just acquired.
- MichaelApproved 7y agoNice! How about the other end?
- qrbLPHiKpiux 7y agoHere's the other end: https://i.imgur.com/RioQXMn.png https://i.imgur.com/RioQXMn.png
- MichaelApproved 7y agohaha that's great. You really have a good dentist.
- falcolas 7y agoTry it with a USB-C. They all have chips in them as part of the spec. Identifying a rogue chip will be a bit harder.
- ceejayoz 7y ago
- perfectphase 7y agoThere's an interview with MG talking about these cables on the Amp Hour podcast this week https://theamphour.com/the-amp-hour-454-mike-grover/ https://theamphour.com/the-amp-hour-454-mike-grover/
- lostgame 7y agoI still don't get why iPhones don't use USB-C. OOTB, there's issues between a brand new iPhone and a brand new MacBook Pro.
- jmull 7y agoI think it's just an accident of timing and history. The old 30-pin connector (inherited from the iPod) had various issues so I think Apple was eager to replace it. The lightning connector was their solution. It predates USB-C by a few years, so that wasn't an option at the time (I guess it might have been on Apple's radar by the time the lightning cable was introduced, but if so, they must have made the call not to wait.) Since USB-C has made its way to some iPads, my guess is Apple is in the process of phasing out lightning connectors entirely.
- ReverseCold 7y ago> Since USB-C has made its way to some iPads, my guess is Apple is in the process of phasing out lightning connectors entirely. It could also be more that Apple is trying to position the iPad Pro as a "laptop replacement" - and their laptop has type-C ports - so having the same port makes it feel and work more like a laptop.
- kccqzy 7y agoInstead I've heard that Apple essentially designed the USB-C standard after the successful design of Lightning, and gave the standard to USB-IF. (Apple is a member of the USB-IF.)
- macintux 7y agoI’ve heard here from someone who claimed to have been involved that Apple’s contributions were relatively late and minor, but I don’t have any idea how to judge the accuracy of either assertion. And it’s possible both viewpoints have merit depending on what aspects of the standard are considered significant.
- eridius 7y ago
- paulsutter 7y agoReally need a setting “never trust any device ever”. I’ve never once had a use case with my phone to do anything but charge. Really hate when I plug in my phone to charge in a car and the car takes over my UI. All bad ideas. If I want to move photos I use the network.
- judge2020 7y agoCar takes over the phone's UI? Is that an Android thing? I've only ever heard of carplay/android auto taking over the Car's UI (and replacing it with a much better UI).
- kemayo 7y agoIf we're speaking of an iPhone, if you plug one into a CarPlay receiver then it lightly interrupts the phone use. The iPhone gets a big CarPlay splash screen (which you can dismiss), and switching apps on the car display will also switch them on the phone. This is changing in the upcoming iOS 13, so the car display and the phone will be much more independent[1]. As someone who's often a passenger with their phone plugged in, I'm happy for this. [1]: https://www.macstories.net/stories/carplay-in-ios-13-a-big-leap-forward/ https://www.macstories.net/stories/carplay-in-ios-13-a-big-l...
- excalibur 7y agoMoving large amounts of data over the network can be cumbersome. MicroSD cards can come in pretty handy.
- gambiting 7y agoThis device shows up as a keyboard - should keyboards never be trusted ever? How would that work?
- throwaway5d097 7y agoFirst thought was whitelisting USB vendor and device IDs, but I guess those could be spoofed. A button above every USB port? Going back to PS/2 could be an option? Guess that wouldn't be too different from allowing all devices only on a single USB port.
- jcheng 7y ago> Now MG wants to get the cables produced as a legitimate security tool Can someone explain how these could be considered a "legitimate" security tool? What legitimate use would require the cable to look like a genuine Apple cable? (I'm honestly asking.)
- par 7y agoonsite pentesting for example. You want to train your employees to be aware of random cables and usb drives laying around, this is a good test to ensure your training worked.
- kccqzy 7y agoThe vendor is Hak5. Among the products they currently sell is a USB drive lookalike that's actually a keyboard that can send preprogrammed keystrokes.
- jiveturkey 7y ago> up to 300 feet which means 50 feet, which is still impressive in that it's a useful distance. I remember the earlier version being more like 5 feet, which sounds pitiful but is still enough. In fact no wifi at all (0 ft) is enough to plant software (CMD-space Terminal RET curl | bash && exit) if you take your chances that the target is inattentive. I learned of the earlier version here on HN but I can't find the link now. It was maybe 4 months ago? Given that the attack is that it's a USB keyboard, nothing to do with the lightning aspect, except that the victim is likely to need a lightning cable at some point, any USB dongle will do. Given the attack methodology for this specific device, of being in visual distance of the victim, just use an unpaired apple keyboard. Macs will automatically pair to them, so you just need to turn it on when the victim looks away (a brief 2-second overlay appears on the screen upon connecting). You could force this by creating a distraction: drop a glass. No dependence then on the victim using the cable.
- tunesmith 7y agoIs there a piece of cheap validation hardware where you can plug in both ends of your cable and a little display will tell you what kind of cable it is and if it is legitimate?
- dredmorbius 7y agoProving a negative is hard. Though checking to see what USB / PCI devices are advertised could be useful. Device / USB whitelisting looks like it will need to be a default thing Real Soon Now.
- caf 7y agoEven just a device with a USB port that reports No Device / Hub / Keyboard / Storage / Other through a set of LEDs would be reasonably useful.
- dredmorbius 7y agoThat's an interesting idea. Multiple LEDs, colour-coded, or ...?
- caf 7y agoI was thinking multiple indicator LEDs, so for example the lightning cable in the original article would light up the 'Hub' and 'Keyboard' lights.
- avian 7y agoMaybe just have something like the USB killer [1] to "sterilize" cables. Zap the cable with a high voltage/high energy pulse, beyond what normal on-die ESD protection could handle. A bunch of copper and plastic won't get damaged (unless you really get crazy and it arcs over and carbonizes or something), but it will probably burn out any covert semiconductors in the cable. It's hard to absorb high energy pulses in small packages. [1] https://usbkill.com/ https://usbkill.com/
- BluSyn 7y agoAny thoughts on how someone could validate a set of cables to ensure no trojans exist?
- hansdieter1337 7y agoGet a USB condom! https://shop.syncstop.com/products/usb-condom?variant=35430087052 https://shop.syncstop.com/products/usb-condom?variant=354300...
- jimrandomh 7y agoReposting from 4 months ago (https://news.ycombinator.com/item?id=19609745 https://news.ycombinator.com/item?id=19609745): It's a severe discredit to the major operating system vendors that plugging in a USB stick can still compromise a system. If a USB device identifies itself as a keyboard, the system shouldn't accept its keystrokes until either that keyboard has typed the user's login password, or the user uses a different input device to authorize it. If it identifies itself as a storage device, the filesystem driver should be hardened. If it identifies itself as an obscure 90s printer with a buggy driver written in C, it should prompt the user to confirm the device type before it loads the driver. It's 2019. Why the f* haven't Windows, MacOS and Linux all implemented these basic precautions?
- gitgud 7y ago>If a USB device identifies itself as a keyboard, the system shouldn't accept its keystrokes until either that keyboard has typed the user's login password, or the user uses a different input device to authorize it. An interesting solution, it would definitely prompt the user to understand what the device is trying to do. But I'm sure that it's extremely hard to prevent something malicious, once it has physical access to a port on your computer...
- josephg 7y agoExcept for running wacky voltages through your computer, there's no fundamental reason why USB devices should be harder to protect against than malicious network traffic. The model is very similar - in both cases they're serial data transports. USB just uses devices instead of services, and drivers instead of programs.
- squarefoot 7y ago"An interesting solution, it would definitely prompt the user to understand what the device is trying to do." But then it could simply wait for the user to enter the password (1), then read it by sniffing the traffic from the keyboard and store it internally for later use, since it's all in clear ad it cannot be encrypted before entering the machine unless most (all) USB consumer hardware get some heavy modifications. 1- very simple algorithm: store in the internal flash memory whatever the user enters between connecting the keyboard and hitting the 2nd enter key; if it's mostly the same words, then it's very likely an user/password pair. "But I'm sure that it's extremely hard to prevent something malicious, once it has physical access to a port on your computer... " Very true. Malicious plug in hardware was just a matter of time; we badly need some active protection for these things, or it would be a mess. This is the perfect weapon in the hands of people with a thing for vandalism, I hope mainstream media won't cover that story.
- digsy 7y agoI saw Kevin Mitnik (FBIs most wanted hacker in the 1990s) at a conference plug one of these into laptop with a fully patched version of Windows 10 and one of the very common security suite of apps. The laptop was completely compromised in seconds. From a remote laptop, he had complete access to the target machines full filesystem, started the webcam and turned on the microphone without any notifications to the target user and connected a bluetooth hard drive remotely. And this was using a rogue cable that he just bought off ebay. I was honestly shocked at how easy it would be to compromise someones machine. I'll never look at a USB cable the same way.