If you've got bits encrypted, great - but there's a lot of stuff you can't encrypt in iOS and Android, in general, unless you work really hard at it ..
If you've got bits encrypted, great - but there's a lot of stuff you can't encrypt in iOS and Android, in general, unless you work really hard at it ..
http://www.cellebrite.com/mobile-forensic-products/ufed-touc...
This device, advertised to law enforcement agencies, plugs into the phone (or sometimes connects by Bluetooth), exploits it, recovers deleted data, and copies all your texts, contacts, browsing history, GPS history, etc. to a flash drive for the operator. If it's an iPhone it can't exploit, the operator can copy some plists from your iTunes library (which you'd also have with you at a border crossing) onto the device, bypassing the PIN.
Locking your phone or deleting data is pretty much worthless if you're trying to hide from well-equipped law enforcement agency.
They largely depend on public exploits. If you have a fully up-to-date iOS device the odds are lower that someone using one of these kits can image it without a passcode. The companies that make these kits are really dumb and employ bottom-of-the-barrel developers that aren't really capable of writing good code, let alone finding jailbreak-type bugs in mobile stuff.
They also don't have the money (or the contacts) to buy the bugs, so, stick to phones that can't be jailbroken and you're probably safe against these imagers...
And yes, you can do a full block copy - with the cooperation of the OS - if you know the back door. A lot of these Border Patrol devices depend on it.
(1) It is almost certain that JTAG is not exposed on an iPhone, as this would be a massive and obvious error on Apple's part, though I do not actually have proof of this.
(2) No type of debug interface is exposed via the dock connector, as this would also be a massive security hole. Rather, as previously stated, imaging software uses exploits, often for bugs previously found by jailbreakers and since patched. (Note that people have used the kernel debugger over the serial interface on some dock connector pins, but only as a convenience after exploiting the kernel to enable this functionality. It is normally disabled.)
(3) A raw block copy of the NAND is useless, because the data is encrypted using the UID key hidden in the hardware AES engine.
(4) Even if you get an exploit running, some information (sensitive information minus the information that's required for operation while locked) is encrypted with the passcode. You can bruteforce the passcode, the process of testing a particular passcode requires using the aforementioned UID key, which you can only ask the hardware AES engine to encrypt and decrypt things with, not actually retrieve. Therefore, without some really powerful hardware attacks, bruteforcing must be conducted at a fixed rate on the phone itself, rather than offline on a compute cluster. If you use a 4 digit passcode, this isn't much help, since it doesn't take long to try 10,000 possibilities, but a good password will take a long time to bruteforce.
Not perfect - among other things, as previously mentioned, you're screwed if they also have the computer you sync the phone with - but not bad.
See: http://images.apple.com/iphone/business/docs/iOS_Security_Oc...