iOS: About diagnostic capabilities
support.apple.com
support.apple.com
[1]: http://useyourloaf.com/blog/2012/02/07/remote-packet-capture...
So does this mean a private key ripped off a paired Bluetooth speaker ends up pwning me? If you are taking case of IT, I think a valid hacking scenario also needs to be considered. Furthermore, all the data in available un-encrypted. I don't know how comfortable I would be with that. Also, once trusted means permanently a slave?
The "pairing" refers to when you connect via a USB cable and say "trust this computer". (The iOS device must be unlocked.)
An encrypted copy of the some keys are sent to the computer. These allow the iOS device to decrypt data that normally can only be decrypted after the passcode is entered. (Making it possible to back up the device without entering the passcode.) Those encrypted keys can only be decrypted by a trusted computing module on that specific device. So you are kinda screwed if someone has both your laptop and your iphone, and they have Apple-level access to the iphone. I recommend using file vault or other full disk encryption to protect your laptop.
http://www.apple.com/ipad/business/docs/iOS_Security_Feb14.p...
I hadn't seen the packet capture thing before, but after reading the slides a quick google search turned up the link to the apple dev util that you referenced.
I'm also not sure how big of deal the "doesn't require developer mode" thing is, since the issues he raises require pairing records, and I believe you can enable developer mode if you have that much access. I've never had the device ask for confirmation when I turned on developer access.
And if there is, the question is, who has access to that method and how well that access is protected (from rogue employees with access to keys for example)
At this point, I would still consider all data on my phone to be accessible to law enforcement and criminals (assuming they have stolen the keys) provided they have physical access to the device.
I'm basing the data stored on the device on that assumption and, for example, keep ssh keys separately encrypted and don't store the pass phrase.
The great security concept behind TouchID isn't so much that it's using biometric login, but that it makes using a secure passcode viable. Nobody is willing to type in a 15 character password every time they unlock their iPhone - but most security people are willing to do it during bootup, and then use touch ID to submit their passcode the rest of the time.
Also brute-forcing must be done on the device because the UID key is involved, so you either need to jailbreak without erasing stuff or have Apple's keys (which allow you to jailbreak without erasing stuff).
yes. Which is I'm a very happy user of TouchID. My passphrase is 25 characters long, containing letters, numbers and even symbols.
I furthermore hope that I'll be able to recognize threats early which will allow me to shut off the phone quickly enough, forcing a passcode entry.
That's beside my point though: If law enforcement and/or criminals get to use these diagnostic services without my passcode being entered, then all of this is moot because they would just access the data and not bother with the passphrase to begin with.
The article in apples knowledge base does neither confirm nor deny that there is access to these diagnostic services that doesn't require the phone to be unlocked, so I assume that there is a backdoor and I have planned my usage accordingly.
What I'm concerned about is the backdoor that allows pairing without previously unlocking the device. Apple does neither confirm nor deny it exists, so we have to assume it exists.
And when it exists, it could have been given to various law enforcement agencies or stolen by criminals which now use it for identity theft.
Which is why I prefer my hardware not to be backdoored.
They've been easing off that recently (which is a serious plus), although I'm not sure this information would have been censored before, maybe just behind the developer paywall where most people couldn't easily see it.
http://www.apple.com/ipad/business/docs/iOS_Security_Feb14.p...
Apple also seems to be opening up a bit. The lack of secrecy gag-order on most of the WWDC information was very surprising.
The pessimistic view (which I'm sure has factored in) is that they're only publishing such things to poke at Google.
Google can try to post some similar information but in most cases they don't control the hardware so they can't verify as much of the chain. On the other hand if Google is providing access to someone they may not be able to publish such detailed information and Apple can play the "Where's your document" game.
Why do you consider this pessimistic? I, for one, would love to live in a world where all the smart phone vendors started aggressively competing on how they each protected my privacy and security.
The balancing act they've chosen for themselves is to keep the masses of technical users confident enough in the products to use them, but dienganged enough that they avoid really thinking about the security model of the device they've embedded their life into.
At some point, it doesn't even matter if the unmodifiable security decisions they make are right or wrong for a user that "owns" a device but not the signing keys to change the software on it. We all see it as something along the lines of "this design could go real bad, but probably isn't." That position relies on masses of consumer confidence, good will and raising the cost of alternatives. They have to nip this in the bud, because even though there is unease at the fringes, it's not large enough to rock the boat. For now.
pcapd supports diagnostic packet capture from an iOS device to a trusted computer. This is useful for troubleshooting and diagnosing issues with apps on the device as well as enterprise VPN connections. You can find more information at developer.apple.com/library/ios/qa/qa1176.
If you actually follow that link, you come out to a page detailing how to do packet captures for different Apple devices, including iOS: iOS does not support packet tracing directly. However, if you're developing for iOS you can take a packet trace of your app in a number of different ways:
If the problem you're trying to debug occurs on Wi-Fi, you can put your iOS device on a test Wi-Fi network. See Wi-Fi Capture for details.
If your app uses HTTP, you can configure your iOS device to use a debugging HTTP proxy (such as Charles HTTP Proxy).
In iOS 5 and later you can use the remote virtual interface facility.
There does not seem to be a mention of that pcapd capability in there...https://developer.apple.com/library/Mac/qa/qa1176/_index.htm...
OS 5 added a remote virtual interface (RVI) facility that lets
you use OS X packet trace programs to capture traces from an
iOS device. The basic strategy is:
1. Connect your iOS device to your Mac via USB.
2. Set up an RVI for that device. This creates a virtual
network interface on your Mac that represents the iOS device's
networking stack.
3. Run your OS X packet trace program, and point it at the RVI
created in the previous step.
If you don't pair the iOS device with the Mac, the technique won't work.http://www.libimobiledevice.org/
edit: com.apple.mobile.house_arrest also exposes much more than you see in iTunes; there are various applications to use it, such as iExplorer.
"Oh, and… there’s a bypass switch for pairing anyway"
--- Next Slide ---
"An electronic alternative to interdiction could be deployed by spoofing Apple’s certificates and configuring / pairing the device out of the box."
"OR by penetrating a targeted organization, supervisor records can be used to pair with and access any device they’re supervising. "
> "Oh, and… there’s a bypass switch for pairing anyway"
Nice conjecture. Please show us actual evidence of that.