6 ms·
Injecting malware into iOS devices via malicious chargers
- bretpiatt 13y agoRather than using for evil, this sounds like an unpublished API that can be used to side load apps without needing to jailbreak the device. Excited to learn more.
- ryanpetrich 13y agoSo far as I can tell, this uses the standard method for sideloading apps via a provisioning profile, but speaks the iOS's USB device protocol directly instead of relying on the MobileDevice libraries from Apple.
- X-Istence 13y agoSo someone has to pay Apple money to get the provisioning profile in the first place...
- eridius 13y agoOh, that's it? That's not really news, then. How are they hiding it from the user though? I would expect that would require modifying and restoring the SpringBoard plist to the device, but surely the user will notice if their phone goes into a restore session.
- blinkingled 13y ago>All users are affected, as our approach requires neither a jailbroken device nor user interaction. That's the bad part! Somebody screwed up big time if the package manager does not insist on user permission for installs that are initiated without proper authentication token. (Google does this for app installs from store over the Internet - but you and your device both need to be obviously logged in to your Google account for that to work.)
- micampe 13y agoFrom the same page: > The vulnerability involves discrepancies in how Android applications are cryptographically verified & installed, allowing for APK code modification without breaking the cryptographic signature; that in turn is a simple step away from system access & control. Bugs happen.
- blinkingled 13y ago> (Bugs happen) Yeah that's the point - having a closed device doesn't magically make it more secure. FTA - > Apple iOS devices are considered by many to be more secure than other mobile offerings. Also the Android bug is different class - the vulnerability description doesn't really say what is required to be able to modify the APK in transit which is key to being able to exploit the bug. From the sparse description it sounds like somebody needs to do a SSL MITM or the user needs to install an APK from untrusted source and get fooled into thinking since its signature matches it must be from the original author. (Just to be sure failing to detect APK modification is horrible but whether or not it is easily exploitable is a different thing altogether.) In iOS charger case - it's clear that it's just a matter of plugging in your device to a malicious charger.
- micampe 13y agoOr I can put an APK on the store or on XDA with the exploit already in it.
- blinkingled 13y agoWhat would that accomplish? User will still need to find your APK, trust you, want your APK for some reason and then install it. Here you are relying on high level of user stupidity. It's not like this bug allows you to login to some other developer's account and replace the original APK.
- mikeash 13y agoThe iOS "package manager" does not insist on user permission for such installs because it simply does not allow them at all. Or rather, it's not intended to allow them. Obviously they found a bug, but it's not a matter of forgetting to ask the user. Apple does not intend for this kind of thing to be possible even if the user wants it.
- icpmacdo 13y agoThis seems like a genius idea.
- kens 13y agoThe potential for injecting malware via chargers was described in 2011 at DefCon, although it looks like they didn't actually infect devices. http://krebsonsecurity.com/2011/08/beware-of-juice-jacking/ http://krebsonsecurity.com/2011/08/beware-of-juice-jacking/
- JDGM 13y agoIf I understand the page correctly this is a description of a talk that will be presented in just under 2 months. What happens in this situation? Would Apple try to get them not to give the talk? Will Apple patch the problem in the meantime? Does anyone get sued?
- freehunter 13y agoApple could try, but there's no reason they couldn't give the talk. Apple could patch the problem, that's a possibility. Why would anyone get sued? It's completely legal for a security researcher to test their own devices. These guys aren't exploiting people on a widespread basis, they're researchers presenting a new exploit. That's what the Black Hat conference is all about.
- JDGM 13y agoI don't know anything about the law, I just assumed that this kind of thing isn't something big companies really want being spread around and I've gotten used to living in a world where legal action or at least the threat of it is a default response. Good to hear it's not like that in this situation!
- adlpz 13y agoAs people commented on Reddit, this is not significantly different from any jailbreak using a computer. This is USB we are talking about, and the malicious charger in this case is a full-featured Linux computer. So yes, they are installing unsigned software through USB on an iPhone by plugging it into a USB socket in a computer. That is just normal jailbreaking, and has been done forever, isn't it?
- caseysoftware 13y agoI think the big difference here is that people willingly plug their phones into the airport kiosk chargers, share chargers, use car-based usb plugs, and generally don't even think of it as an attack vector. On another note, I've been amazed by the number of people who let others plug phones into their computer for a quick charge. I'll let people borrow my wall charger if I'm sitting there but no one plugs anything into my computer.
- deleted 13y ago[deleted]
- unimpressive 13y ago>no one plugs anything into my computer. I believe the same, including vice versa for that matter. (That is, I would never plug a phone into somebodies computer.)
- jonknee 13y agoI believe "normal" jailbreaking requires the phone to be unlocked. This works without any user action. When the phone is locked everything is supposed to be encrypted and secured.
- meowface 13y agoI'm unfamiliar with the exact process of jailbreaking; if a phone is unlocked but plugged into a separate computer, you can essentially run arbitrary code on the phone if you are controlling the computer it's connected to?
- npsimons 13y agoApple iOS devices are considered by many to be more secure than other mobile offerings. This sounds like weasel words (eg, "some people believe"), and even if it's true, why does this misconception exist?
- freehunter 13y agoBecause Android allows a hell of a lot more access with their apps than iOS does. iOS aims for extremely locked-down security, Android aims for more openness.
- pinko 13y agoSeems like it might be handy to travel with a tiny "USB sanitizer" dongle that simply passes through power and not data. Does such a thing exist? Edit: not quite a dongle, but something like http://amazon.com/dp/B009W34XMM http://amazon.com/dp/B009W34XMM should fit the bill, no? Edit 2: http://amazon.com/dp/B0042LF23I http://amazon.com/dp/B0042LF23I looks exactly right, although build quality appears to be an issue.
- jonknee 13y agoThat would be trickier with Apple's proprietary adapter since the pins are dynamic.
- pinko 13y agoI don't understand. As along as the extension passes power through, it shouldn't matter if the other end of the cable you plug into them is dock or lightning connector, right? The reviews seem to indicate as much, since people report success charging iPads with them.
- jonknee 13y agoAh, I thought you meant a pass through connecter you would plug into your phone.
- jvdongen 13y agoYes - it is called the "apple 12w usb power adapter" and costs $19 ;-)
- pinko 13y agoOf course if you can use your own brick there is no issue. But there are times when all I have easy access to is a random USB port, and not wall power.