News for hackers. Stuff that matters.
Re:Forcing suspects to reveal phone passwords is unconstitut... by abakker on Friday September 25, 2015 @09:54AM (#10278119)
All we really need is a real passcode, and then a second special passcode that wipes the phone instantly if typed.

so, my normal code might be 123456, but if someone asks what my code is and I say 345678, then the phone does a data wipe that isn't obvious from the outside, and just deletes all credentials, cookies, history, documents, etc.

Is this workable?

Re:Forcing suspects to reveal phone passwords is unconstitut... by ctdonath on Friday September 25, 2015 @10:03AM (#10278171)
Not a new idea. There has long been a meme going around that if you enter your ATM PIN backwards, it will let you access your bank account but silently calls the police to your location (AFAIK it's just an urban myth). False passwords have a much older history than that.

Investigators are going to take a very dim view of such events, and probably didn't get to the point of demanding access without having documented sensible reason to believe the evidence is there - and may very well have actionable proof that you destroyed evidence, which will not turn out in your favor.

Re:Forcing suspects to reveal phone passwords is unconstitut... by dalke on Friday September 25, 2015 @10:20AM (#10278287)
"AFAIK it's just an urban myth"

Your doubt tells us that your PIN is not a palindrome. The second most common PIN is 1-1-1-1, followed by 0-0-0-0 (says http://www.datagenetics.com/blog/september32012/ ), and looking at the top 20 numbers, over 10% of the people have a palindromic PIN. (If selected randomly, that should be 2%.)

So either the police get called a lot, or there's some special flag that say "palindrome PIN - false alarm" (and it must be supported for international cards) ... or it's simply not true.

Re:Forcing suspects to reveal phone passwords is unconstitut... by ChuckMcM on Friday September 25, 2015 @06:36PM (#10281132)
Excellent reasoning. On my home security alarm if you enter your pin +1 or -1 the alarm disables and it does send the distress signal to the police. Its an advertised feature.
Re:Forcing suspects to reveal phone passwords is unconstitut... by tehwebguy on Friday September 25, 2015 @11:16AM (#10278625)
My home security system has a "duress code" that will disable the alarm sound and silently alert the company. It's not the reverse of the normal one, it's a different one that can be set.
Re:Forcing suspects to reveal phone passwords is unconstitut... by shanecleveland on Friday September 25, 2015 @11:44AM (#10278775)
Our system has the same thing. I can see how this would be a useful feature across other devices/technology – If I sign in this way, do this, etc.
Re:Forcing suspects to reveal phone passwords is unconstitut... by tedunangst on Friday September 25, 2015 @05:38PM (#10280855)
I wonder what you're supposed to when the guy holding the gun says "Give the alarm code. Good. Now give me the duress code."
Re:Forcing suspects to reveal phone passwords is unconstitut... by tfigment on Friday September 25, 2015 @09:21PM (#10281723)
You give him any code. Its not like he is going to use it. If there is a pattern like ChuckMcM's where its +1 then give then give that one. Of course in all probability this scenario will never happen and the xkcd wrench is used instead.
Re:Forcing suspects to reveal phone passwords is unconstitut... by cbhl on Friday September 25, 2015 @12:16PM (#10278989)
How likely are you to actually remember the code when you're under duress, though?
Re:Forcing suspects to reveal phone passwords is unconstitut... by ChristianBundy on Friday September 25, 2015 @12:54PM (#10279260)
More than 0%, which makes it more useful than not.
Re:Forcing suspects to reveal phone passwords is unconstitut... by tsotha on Friday September 25, 2015 @04:31PM (#10280504)
You could make it an easy one. Say your normal code is 5829. The panic code should be something like 1111. You'll never key it in accidentally, and people have codes like that, so it won't tip off an assailant.
Re:Forcing suspects to reveal phone passwords is unconstitut... by rhizome on Friday September 25, 2015 @10:08PM (#10281814)
the thing is, it's not the worst thing in the world if a bad person guesses it.
Re:Forcing suspects to reveal phone passwords is unconstitut... by ClintEhrlich on Friday September 25, 2015 @10:10AM (#10278236)
The ATM feature you mentioned is not totally apocryphal. It's a software called SafetyPIN, which has apparently been patented but not commercially adopted.
Re:Forcing suspects to reveal phone passwords is unconstitut... by phlo on Friday September 25, 2015 @11:09AM (#10278588)
We used to have something similar in a previous workplace of mine. Doors were unlocked by touching an RFID badge to a reader and then entering a PIN. If you entered PIN+1 instead, everything worked as normal and a silent alarm was triggered.

The same place also had a security system for a critical data center room: Opening the door from the outside (i.e. entering) would increment a counter by one, opening it from the inside would decrement it. If the room, according to that counter, was supposed to be empty, any movement within would trigger the same silent alarm. The system worked safely up to the point where two people entered together, one of them left the room and the other one's badge had a temporary malfunction. We were quite impressed with how quickly a large assortment of police would show up, guns blazing and all ;-)

Re:Forcing suspects to reveal phone passwords is unconstitut... by biafra on Friday September 25, 2015 @07:26PM (#10281343)
Having always a +1 for a duress code seems like a bad idea. What if a criminal asks for your code and types in the code you gave -1? If it works he now knows you tried to to set him up. If it does not, he can still try the PIN you gave him.
Re:Forcing suspects to reveal phone passwords is unconstitut... by todd8 on Saturday September 26, 2015 @07:15AM (#10282756)
I hope the bad guys don't read hacker news.
Re:Forcing suspects to reveal phone passwords is unconstitut... by dalke on Friday September 25, 2015 @10:22AM (#10278300)
Re:Forcing suspects to reveal phone passwords is unconstitut... by MichaelGG on Friday September 25, 2015 @05:03PM (#10280665)
FFS what a terrible patent[1]. It really is basically "hey what if people put their PIN in backwards; we could call the cops" written out to many pages long. How any patent examiner could read this and think "yes this is novel and obviously required effort worth protecting" is beyond me.

1: https://www.google.com/patents/US5731575

Re:Forcing suspects to reveal phone passwords is unconstitut... by throwawaykf05 on Friday September 25, 2015 @07:02PM (#10281237)
This is a frequent misunderstanding, but the patent system is not subjective. It cannot be, really, if you think about it. It is a legal system and hence has to be as objective as possible.

So patent examiners cannot just look at something and say, "this is crap, no patent for you". They have to prove a patent application invalid. There are many ways to do this, but the most common is by showing sufficient prior art. If they cannot find one or more previously published works that disclose each and every element of the claim, they must allow it. Apparently the examiner could not find evidence of somebody thinking of this before, and so it was allowed, regardless of how novel it appears to us now.

Another way to find an application invalid is to show that it does not disclose enough detail about how to implement the invention. That is probably why this patent (and most others) are really long-winded.

Re:Forcing suspects to reveal phone passwords is unconstitut... by MichaelGG on Friday September 25, 2015 @07:50PM (#10281431)
I read a summary on Wikipedia[1] and that helps. But why should the fact that someone didn't think (or document their thoughts) on something be evidence of non-obviousness?

I think of touch UIs and the patents there, for example Apple's rubber-band scrolling patent[2]. Sure, it's quite probable that no one thought of this before if they weren't designing touch UIs. And even if they were, they might have thought of that, plus several other ideas, while developing. Why should this make any difference?

For instance, no one has made scrolling that intentionally segfaults if you scroll fast enough (or insert other silly thing here). You won't find prior art on this. Should it be eligible for a patent just because it's novel? There should be some sort of criteria where the effort required to invent something is taken into account. If it's likely to come about merely as a result of playing in the space, then what does the public gain by issuing a patent?

What knowledge is contained in the "reverse PIN dials cops" that merits protection? Even if nobody had that idea before (or bothered to document it), what does that matter? If you patent can be constructed just by asking a simple question ("think of some ways to alarm when being robbed at an ATM"), well that should be grounds for it not being valid.

Edit: Another example. Things like algorithms. Look at a simple database indexing system: ISAM. Sort your data, sample every so often to form an index. Repeat if the index is too large. Ta-da. Going back far enough, this was very novel. But any worker that had to figure this problem out would arrive at the same solution. It's nearly as fundamental as binary search.

1: https://en.wikipedia.org/wiki/Inventive_step_and_non-obvious...

2: http://patft.uspto.gov/netacgi/nph-Parser?Sect1=PTO1&Sect2=H...

Re:Forcing suspects to reveal phone passwords is unconstitut... by throwawaykf05 on Friday September 25, 2015 @11:39PM (#10282008)
> Should it be eligible for a patent just because it's novel? There should be some sort of criteria where the effort required to invent something is taken into account. If it's likely to come about merely as a result of playing in the space, then what does the public gain by issuing a patent?

One line of reasoning is that there are not enough people "merely playing in some space" to find more solutions to problems. This is not just theoretical. There is empirical evidence based on historical data that showed how the introduction of patent protection to previously ineligible arts influenced innovation. It finds there was more innovation in areas where previously protection was not available or where it was too easy for competitors to rip off your inventions. See http://www.jstor.org/stable/4132712 for instance.

> If you patent can be constructed just by asking a simple question...

Many scientists, mathematicians and engineers will tell you that the best way to solve a difficult problem is by framing it correctly. Put another way, you have to first ask the right questions. The solution may become obvious then, but it may be very hard to first ask the right question. And hindsight is a very powerful bias. What may seem like a simple question today may not actually have been so before it was posed.

This is also one of the many problems with requiring effort as a criteria. Besides being difficult to quantify in general, how do you measure the effort required to formulate the right question? How do you quantify flashes of insight? Maybe a person has 20 years of experience in some field X, but sees a problem and reaches a solution in 20 seconds. Was the effort required 20 seconds or 20 years?

Re:Forcing suspects to reveal phone passwords is unconstitut... by colanderman on Friday September 25, 2015 @10:09AM (#10278223)
If that weren't an urban myth it must suck to be one of those 1% of suckers with palindromic PINs.
Re:Forcing suspects to reveal phone passwords is unconstitut... by MacsHeadroom on Friday September 25, 2015 @10:57AM (#10278521)
12% of suckers
Re:Forcing suspects to reveal phone passwords is unconstitut... by rnovak on Friday September 25, 2015 @11:42AM (#10278764)
oh man, I'd get killed because it'd be pretty obvious when I start mouthing a 12-digit pin to try and figure out what it is backwards.....
Re:Forcing suspects to reveal phone passwords is unconstitut... by aianus on Friday September 25, 2015 @06:19PM (#10281060)
You have a 12 digit ATM PIN? I didn't know you could do that and I'm 99% certain that card won't work anywhere overseas.
Re:Forcing suspects to reveal phone passwords is unconstitut... by rnovak on Friday September 25, 2015 @07:13PM (#10281290)
Yeah, I just looked and that appears to be true.

Wells Fargo and a couple others allow anywhere from 8-16 as their maximum, though I reduced mine to 12 because some ATM's were kind of finicky at the longer lengths.

Luckily (hah) working for a US company so I don't get enough time off to actually go overseas, so it's never been something I had to worry about.

Edit: It doesn't seem so weird anymore either. I used to get questions all the time from Cashiers, like "Wow, I didn't know your PIN could be longer than 4". But I haven't been asked about it in 1-2 years.

Re:Forcing suspects to reveal phone passwords is unconstitut... by toast0 on Friday September 25, 2015 @07:27PM (#10281351)
my credit union assigned me a 5 digit pin... most atms will accept it, but for those that don't, the first 4 digits work :/
Re:Forcing suspects to reveal phone passwords is unconstitut... by mrits on Friday September 25, 2015 @03:22PM (#10280145)
Awesome, my pin is 4444
Re:Forcing suspects to reveal phone passwords is unconstitut... by tsotha on Friday September 25, 2015 @04:44PM (#10280565)
Not really, no, because it turns out cops aren't actually stupid. When they arrest you and take your phone (or anything electronic, really) the first thing they do is clone the memory. You might succeed in wiping out a copy by giving them the alternate password, but that's just going to add to your charge list.

There was a case a few years back (discussed on HN) where a gang had software installed on everyone's phone that caused a remote wipe when activated. The cops did a big raid, and even though they took everyone's phone someone they hadn't caught yet was able to wipe them.

The cops changed their SOP so that when they get ahold of your phone the first thing they do is yank the battery.

Re:Forcing suspects to reveal phone passwords is unconstitut... by nadams on Friday September 25, 2015 @05:05PM (#10280684)
> When they arrest you and take your phone (or anything electronic, really) the first thing they do is clone the memory

Depends on the situation. If it's a raid due to software piracy - then probably. If they pulled you over for speeding and arresting you - they probably won't or even know what to look for.

And I really can't think of a way to clone a device like an Android device without unlocking it. ADB now a days requires your explicit permission from a prompt. And if you are like "oh they have ways" I would be very interested in that because that sounds like whatever they are doing are using an exploit or some sort of back door.

Re:Forcing suspects to reveal phone passwords is unconstitut... by cvwright on Friday September 25, 2015 @06:41PM (#10281152)
Behold the Samsung Anyway Jig: http://forum.xda-developers.com/showthread.php?t=1629359

The link is a few years old. No idea if there is a current version that works on modern phones, but it seems reasonable to assume there would be.

Re:Forcing suspects to reveal phone passwords is unconstitut... by nadams on Friday September 25, 2015 @08:15PM (#10281509)
I found this article [1] and I'm already suspect of FUD.

The first part talks about bluetooth pairing with the device - which requires unlocking. The second page talks about unlocking an iPhone with plist files from a synced computer. So it's not a matter of some magical device that can backdoor a phone - but rather using interfaces that already exist.

I found this company [2] and it has the usual marketing ploy - but a quick google search doesn't reveal any actual reviews of people using it. I can paragraphs of marketing spin but no one actually saying "we used this to get into cell phones that were password protected".

I'm not saying it's not possible - I just find it hard to believe without it making modifications to the underlying software (ie flashing a ZIP on android that zeros out the pin password or something).

[1] http://arstechnica.com/tech-policy/2011/04/michigan-state-po...

[2] http://www.cellebrite.com/Mobile-Forensics/Products/ufed-tou...

Re:Forcing suspects to reveal phone passwords is unconstitut... by tsotha on Friday September 25, 2015 @05:21PM (#10280769)
>And I really can't think of a way to clone a device like an Android device without unlocking it. ADB now a days requires your explicit permission from a prompt. And if you are like "oh they have ways" I would be very interested in that because that sounds like whatever they are doing are using an exploit or some sort of back door.

No, they don't need to use any kind of exploit. They have hardware that allows them to clone the the device's memory. I doubt it has to be on at all.

There's no way to secure a device if the attacker has physical access. The best you can do is secure the data with encryption.

Re:Forcing suspects to reveal phone passwords is unconstitut... by MichaelGG on Friday September 25, 2015 @05:10PM (#10280712)
How do you yank the battery and clone memory on an iPhone?
Re:Forcing suspects to reveal phone passwords is unconstitut... by Wingman4l7 on Friday September 25, 2015 @08:50PM (#10281630)
You don't. You drop it into a Faraday bag and then later mess with it in a Faraday glovebox.
Re:Forcing suspects to reveal phone passwords is unconstitut... by tsotha on Friday September 25, 2015 @05:25PM (#10280788)
What I meant is they yank the battery as soon as they get the phone. I believe you can clone the memory without powering the device if you have the right hardware. If not they could always disconnect the antenna before powering up.
Re:Forcing suspects to reveal phone passwords is unconstitut... by funwithjustin on Friday September 25, 2015 @05:54PM (#10280951)
The question stands. How do you quickly yank a battery from an iPhone?
Re:Forcing suspects to reveal phone passwords is unconstitut... by mahyarm on Friday September 25, 2015 @06:55PM (#10281212)
You don't do it quickly.

But what I wonder is how they circumvent the entire trust mechanic when the phone is locked. When the phone is locked most of the storage is encrypted too.

Re:Forcing suspects to reveal phone passwords is unconstitut... by tsotha on Friday September 25, 2015 @07:08PM (#10281268)
I wasn't trying to say they can somehow get your plain text - this is just a copy of encrypted data. What they can do is keep you from tricking them into destroying the data they have.
Re:Forcing suspects to reveal phone passwords is unconstitut... by opnitro on Friday September 25, 2015 @07:38PM (#10281388)
Yeah, but isn't the whole point of the secure enclave on the iPhone so that the decryption has to be done on device?
Re:Forcing suspects to reveal phone passwords is unconstitut... by tsotha on Friday September 25, 2015 @09:18PM (#10281708)
Yes. The A7 came out after anything I've read on the subject, so it may be more difficult. But really all this means is they need to get the copy without destroying the phone and have some way to put it back. The point isn't to brute force the data somehow, but rather to protect it from being destroyed while the wheels of justice crush you.

I've always thought the way to deal with this is to use a OTP scheme. If you have a one time pad that's as large as your data set (assuming we're talking about some reasonably small number of critical documents here), you could generate the cyphertext from your key and then generate another key that translates your cyphertext into something innocuous - grocery lists or whatever.

There's no way the court could prove the key you gave them isn't the right key.

Re:Forcing suspects to reveal phone passwords is unconstitut... by MichaelGG on Friday September 25, 2015 @10:11PM (#10281822)
It'd probably be best to do this on a format that can plausibly have such extra data (assuming you generate more operational data than you do plausible cover data). An encrypted disk file is probably a good bet. So long as it's not too egregious, it'll probably be OK. "Yes I have a 64MB encrypted disk, even though my working set is only 2MB."
Re:Forcing suspects to reveal phone passwords is unconstitut... by tsotha on Friday September 25, 2015 @06:30PM (#10281110)
I'm pretty sure there's a lead you can cut.
Re:Forcing suspects to reveal phone passwords is unconstitut... by Crito on Friday September 25, 2015 @08:56PM (#10281651)
In fact, I wager that you could find a spot on any phone model that you could hit with a narrow drillbit to disconnect the power. You could make a jig that you put the phone into and guides the drillbit into just the right spot.

It would only take seconds to use, but you would need to be prepared for the specific phone model.

Maybe you could even have a CNC machine preloaded with the data for a wide variety of phone models. You put the phone down on the work surface, key in the model, and the CNC machine deftly cuts through the right power lead. Less portable, but would require less precise planning.

Re:Forcing suspects to reveal phone passwords is unconstitut... by funwithjustin on Friday September 25, 2015 @08:26PM (#10281542)
I'm pretty sure you just made that up.
Re:Forcing suspects to reveal phone passwords is unconstitut... by tsotha on Friday September 25, 2015 @08:37PM (#10281584)
I'm a little confused here. Are you trying to say there's no way you can disconnect the battery of an iPhone even if you don't care whether or not it works when you're done? Really? I begin to doubt your fitness for this conversation.
Re:Forcing suspects to reveal phone passwords is unconstitut... by nickodell on Friday September 25, 2015 @06:12PM (#10281037)
When you say 'memory,' are you talking about volatile or nonvolatile memory?
Re:Forcing suspects to reveal phone passwords is unconstitut... by tsotha on Friday September 25, 2015 @06:29PM (#10281106)
Nonvolatile, of course.
Re:Forcing suspects to reveal phone passwords is unconstitut... by nickodell on Friday September 25, 2015 @08:52PM (#10281637)
I was under the impression that you couldn't run a bruteforcer against these phones because the key is kept inside of a hardware security module. Couldn't the duress code just wipe the key in the HSM?

If they can copy the HSM, that wouldn't help, but in that case, it doesn't really seem like they need your help getting the PIN in the first place.

Re:Forcing suspects to reveal phone passwords is unconstitut... by tsotha on Saturday September 26, 2015 @12:09AM (#10282065)
>I was under the impression that you couldn't run a bruteforcer against these phones because the key is kept inside of a hardware security module. Couldn't the duress code just wipe the key in the HSM?

That's something I hadn't considered. Is it set up that you can create and destroy the keys but never get access to them?

Re:Forcing suspects to reveal phone passwords is unconstitut... by mindslight on Friday September 25, 2015 @12:17PM (#10279003)
You're assuming your device is still in control, and hasn't been imaged. This isn't the way a proper forensic process actually works.

More important to the issue at hand, I believe that in at least one case the reason for the passcode/phrase being "testimony" isn't so much that you're revealing what's in the locked container, but that you're demonstrating that you have access to/control over its contents. So entering your erasecode would undermine this point. A courier could not know a passphrase yet be deputized to erase the contents, but that is going to be an uphill argument.

What we really want is a proper layered steganographic filesystem, with an arbitrary number of unlockable levels. But we need an OS and apps that play nicely with that as well.

Re:Forcing suspects to reveal phone passwords is unconstitut... by monochromatic on Friday September 25, 2015 @10:01AM (#10278160)
And then they get you for destruction of evidence?
Re:Forcing suspects to reveal phone passwords is unconstitut... by roosterjm2k2 on Friday September 25, 2015 @10:08AM (#10278207)
Wouldn't they have to prove that there was evidence pertaining specifically to the current case to get you for destroying evidence?
Re:Forcing suspects to reveal phone passwords is unconstitut... by knodi123 on Friday September 25, 2015 @10:41AM (#10278410)
It must be the case that evidence can be either damning or exculpatory, and either way you're not allowed to destroy it. Otherwise destroying evidence would be incentivized, because once they can actually prove that the damning evidence was present before you destroyed it.... that proof is as good as having the evidence in the first place.

A judge isn't a robot. If you say "I hit an emergency button to reformat my hard drives as the cops were breaking down the door, because I was preparing to sell those drives on ebay and needed to clean them up", the judge is not obligated to respond "Shoot, I can't prove otherwise, you're free to go."

Re:Forcing suspects to reveal phone passwords is unconstitut... by wang_li on Friday September 25, 2015 @04:57PM (#10280629)
"What the hell did you people do to my computer? Where's all my shit? I'm going to sue you assholes!!!"
Re:Forcing suspects to reveal phone passwords is unconstitut... by knodi123 on Friday September 25, 2015 @06:29PM (#10281105)
That's probably a decently clever approach. Thank goodness most criminals aren't clever. Or at least, so we assume based on the percentage of them who get caught.... Oh dear.
Re:Forcing suspects to reveal phone passwords is unconstitut... by zmb_ on Friday September 25, 2015 @12:05PM (#10278912)
Not for "anticipatory obstruction of justice". It doesn't matter whether what you destroyed is important to a case or not. There does not even need to be a case at all. You can still be charged if you deleted something, and maximum penalty is imprisonment for 20 years. Hanni Fakhoury, EFF attorney, gave a talk about this at ShmooCon 2012[1].

[1] https://www.youtube.com/watch?v=LzssKvRwrzQ

Re:Forcing suspects to reveal phone passwords is unconstitut... by Lawtonfogle on Friday September 25, 2015 @04:35PM (#10280523)
Doesn't this mean that even clearing your browsing cache is a crime? I deleted temp files recently because they were taking up a bunch of space. I did it to free up space but there could've been evidence there for some investigation (maybe some virus on my machine left evidence of who wrote the virus in temp files that would've allowed the feds to track down the creator).

This seems like one of those laws that sounds good at first but makes a lot of normal behavior illegal, thus allowing the legal system to be able to pick and choose who gets punished.

Re:Forcing suspects to reveal phone passwords is unconstitut... by secabeen on Friday September 25, 2015 @05:22PM (#10280775)
The burden is on the prosecution to prove that "The accused acted at least “in relation to” or “in contemplation’” of such issue or matter." https://en.wikipedia.org/wiki/Obstruction_of_justice#Obstruc...
Re:Forcing suspects to reveal phone passwords is unconstitut... by tedunangst on Friday September 25, 2015 @11:44AM (#10278777)
That's not hard. At the time of arrest, suspect was observed using Facebook. Here are the correlating logs from Facebook. After unlocking suspect's device using provided code, no Facebook login credentials were present, thus proving that the suspect used the erase code and not the usual code.
Re:Forcing suspects to reveal phone passwords is unconstitut... by Lawtonfogle on Friday September 25, 2015 @04:32PM (#10280513)
My defendant favors using private browsing mode for a number of reasons including preventing friends from being able to access his personal accounts and to lower the risk of tracking and accidentally acquiring viruses.
Re:Forcing suspects to reveal phone passwords is unconstitut... by tedunangst on Friday September 25, 2015 @05:24PM (#10280785)
Here are the Facebook logs from the past two weeks all using the same session token, demonstrating that your client is lying. And now when you try to explain that ok, maybe some information was deleted but that's only because it was embarrassing, and it wasn't evidence of any crime whatsoever, you'll have zero credibility...
Re:Forcing suspects to reveal phone passwords is unconstitut... by openasocket on Friday September 25, 2015 @10:40AM (#10278408)
They could almost certainly get you for interfering with an investigation, though.
Re:Forcing suspects to reveal phone passwords is unconstitut... by enraged_camel on Friday September 25, 2015 @10:43AM (#10278432)
Exactly. Unless the device has untamperable auditing running behind the scenes that shows stuff was deleted, there's virtually no way for the police to know.
Re:Forcing suspects to reveal phone passwords is unconstitut... by wpietri on Friday September 25, 2015 @11:18AM (#10278629)
Probably not. Erasing leaves marks.

The only marketable purpose for an instant erasure system like that is protection of information (personal or commercial). To build that, you'd make something that zeros all the files and deletes them, deletes and overwrites all the contacts, and such.

But the structures left after that don't look like a brand new device. They look like you had a bunch of things and then erased them. Cops won't know what you erased, but they'll know you handed them a phone that was recently erased.

Now maybe somebody will build an app tuned for obstruction of justice, so it tries to make the phone look brand new. And maybe you'll be very lucky and they'll get it working perfectly on your specific phone. But then you have to explain how you have a brand new phone that was actually purchased a year ago. And how it has no record of any of the calls that your phone carrier will have records of. The obvious conclusion is that you wiped it sometime after your last call and with special software that only appeals to people planning on hindering an investigation.

Is that enough to convict you for obstruction of justice? I have no idea; it probably depends on how much a prosecutor cares. But is it enough to convince cops you are vigorously hiding something? You bet.

Re:Forcing suspects to reveal phone passwords is unconstitut... by PhantomGremlin on Friday September 25, 2015 @05:23PM (#10280781)
make something that zeros all the files and deletes them, deletes and overwrites all the contacts

No, there's no need for anything that complicated.

In principle, encrypting all data on a phone is really simple to implement. In practice, it's carefully thought out to avoid edge cases. The general idea is something like this:

   when first activated, the
   phone generates a random 256-bit AES key

   phone uses this random AES key to encrypt
   all data stored on the phone

   phone retains this random key in a special
   location, and encrypts this key by using
   the user-provided PIN
To quickly erase all data on the phone, all that's necessary is to overwrite the key in the special location with random data. From that point on, there is no feasible way to recover anything on the phone. Period.

It isn't necessary to erase an entire device. It's merely necessary to replace a 32-byte field (that contains the true AES key) with 32-bytes of random data.

From then on, it doesn't matter what the PIN is. Data on the phone is jibberish unless and until the proper 256-bit AES key is produced. That key no long exists, so from that point on the only way to recover the data is by brute forcing AES, by trying all possible 2^256 combinations.

They look like you had a bunch of things and then erased them

No, what remains is indistinguishable from the case where the correct PIN hasn't been provided. Having "things" on the phone is no evidence of guilt. There is absolutely no evidence that the phone was erased. All that is known is that the provided PIN isn't able to decrypt the data.

Re:Forcing suspects to reveal phone passwords is unconstitut... by wpietri on Monday September 28, 2015 @04:55PM (#10293133)
Good point. If the phone OS supports encryption and allows this sort of auto-destruction of keys, then that's a lot better.

What we were discussing is abakker's proposal for something that "wipes the phone", and I think my comments are still relevant to that approach.

Of course, a suddenly unreadable phone is still suspicious, but if your plan were perfectly implemented, it might be impossible to prove obstruction of justice.

Re:Forcing suspects to reveal phone passwords is unconstitut... by realusername on Friday September 25, 2015 @12:28PM (#10279071)
It depends, is there any legal requirement that the device actually has to record a call log normally ?
Re:Forcing suspects to reveal phone passwords is unconstitut... by wpietri on Monday September 28, 2015 @07:25PM (#10293833)
Not sure how that matters. Is there any legal requirement to keep your receipts? No, but if you suddenly throw them out because you think the police might find them useful, that's still obstruction of justice.
Re:Forcing suspects to reveal phone passwords is unconstitut... by grecy on Friday September 25, 2015 @10:04PM (#10281808)
interestingly, I didn't destroy any evidence. I just verbally said something and they took action which destroyed the evidence. It was their action that destroyed it, not my words.
Re:Forcing suspects to reveal phone passwords is unconstitut... by geofft on Friday September 25, 2015 @10:34PM (#10281883)
Clever! A judge will surely look favorably on your ingenuity in making the technical facts of your actions not a violation of a pedantic reading of the law, and disregard the intent of your actions.

Similarly, did you know you can legally murder anyone by poisoning their food? You didn't make them eat the poison, they voluntarily ate the food. It gets ruled a suicide.

For more on this and other little-known facts about the law, please subscribe to my YouTube Guide to Being a Sovereign Citizen, only $199/month.

Re:Forcing suspects to reveal phone passwords is unconstitut... by paulsutter on Friday September 25, 2015 @05:55PM (#10280958)
If you share the information-destroying code, then you're the one who caused the destruction of evidence after an investigation is underway. Which you don't want.

Perhaps some software that clears the phone when someone tries to break into the phone / copy data? A prudent security precaution for all sorts of reasons.

Re:Forcing suspects to reveal phone passwords is unconstitut... by Shivetya on Friday September 25, 2015 @01:55PM (#10279605)
I really don't see why not. My home security system has a code similar, disables the alarm but sends a signal to send police now without calling.

I could even see it with touch sensors, that being teaching it that the middle finger wipes the puppy.

With regards to the court decision, I am not sure it will stand in this context. The phones belong to the employer and not the employees. So how as an employer do you retain some access over your provided phones? I can see both sides here. To be honest as a company I don't think its worth the legal ramifications to have power over the content of the phone as it just opens a can of worms

Where I work we are required to pass code our phones if we access the corporate internet or exchange servers but we are not required to divulge our phone contents, passcode, nor place software on the phone giving the company any such ability.

Re:Forcing suspects to reveal phone passwords is unconstitut... by stillsut on Friday September 25, 2015 @02:34PM (#10279852)
Or after 3 unsuccessful tries, the system wipes itself. Try: macworld, oops...macw0rld, oops... macwor1d!

There's no law against incompetence, true?

Re:Forcing suspects to reveal phone passwords is unconstitut... by MichaelGG on Friday September 25, 2015 @05:12PM (#10280721)
A: They'll probably try to clone the memory. B: If a judge thought you were doing this intentionally, they'd hit you with contempt (or other things).
Re:Forcing suspects to reveal phone passwords is unconstitut... by logn on Friday September 25, 2015 @03:35PM (#10280205)
A more fun solution would be to count the time it takes to enter the password. If it's too slow, then wipe the data. Or more advanced, count the tempo, beat and duration of key presses. "Your honor, my password is 1234121234... but be sure to type the 4's as dotted eighth notes, take a rest after the 2's, and moderato!"
Re:Forcing suspects to reveal phone passwords is unconstitut... by bri3d on Friday September 25, 2015 @04:53PM (#10280610)
Re:Forcing suspects to reveal phone passwords is unconstitut... by spacemanmatt on Friday September 25, 2015 @04:32PM (#10280505)
port-knocking to a funky beat
Re:Forcing suspects to reveal phone passwords is unconstitut... by nadams on Friday September 25, 2015 @05:08PM (#10280699)
> Is this workable?

I know in the Windows Mobile/Blackberry days if you typed in the incorrect password so many times it would reset the device.

However, with many Android devices now a days have the ability to have a "guest mode" - that is activated using a different unlock code. This mode can be limited to not even be able to make/receive calls. Arguably most people won't know what this "mode" is and if they are in it.

Re:Forcing suspects to reveal phone passwords is unconstitut... by aianus on Friday September 25, 2015 @01:07PM (#10279317)
Or alternatively, you can have multiple layers of encryption a la Truecrypt Hidden Volumes (http://www.howtogeek.com/109210/the-htg-guide-to-hiding-your...)

The first layer contains something embarrassing but legal like gay porn, and the second layer contains the stuff you really want to hide.

You just unlock the first layer and act really embarrassed if forced and never acknowledge the existence of the second layer.

Re:Forcing suspects to reveal phone passwords is unconstitut... by retbull on Friday September 25, 2015 @01:23PM (#10279410)
Police do know about this and can (hypothetically) check to see if there is another encrypted volume inside. Also didn't Truecrypt shut down because they had some huge security vulnerability.
Re:Forcing suspects to reveal phone passwords is unconstitut... by dogecoinbase on Friday September 25, 2015 @02:29PM (#10279814)
Most implementations so far have been kind of shaky (e.g. relying on having a bunch of "unpartitioned" space on the drive, which would seem weird), but it's technically feasible to have a single encrypted volume which decrypts to two results based on the key. For plausible deniability, one would have to make sure the clean volume had recent browsing history, et cetera. Maybe this is a real-world use for ad-browsing bots.
Re:Forcing suspects to reveal phone passwords is unconstitut... by aianus on Friday September 25, 2015 @01:26PM (#10279429)
How can they check? It's certainly possible that Truecrypt has some implementation issues, but I can't see why it's not theoretically possible to do this well.
Re:Forcing suspects to reveal phone passwords is unconstitut... by function_seven on Friday September 25, 2015 @02:47PM (#10279928)
Here's some good reading. Looks like they can't irrefutably establish a hidden volume's presence, but there are lots of clues nonetheless.

http://security.stackexchange.com/questions/9058/is-it-possi...

Re:Forcing suspects to reveal phone passwords is unconstitut... by aianus on Friday September 25, 2015 @03:55PM (#10280306)
Well, driving around in a $300k car that you can't explain purchasing is a HUGE clue that you're a drug dealer but it's not enough on its own to charge you with anything. You won't get thrown in jail until you cough up the location of the stash house based on the car alone.

What do the proponents of these encryption laws expect the penalties to be for 'suspicion of possession of encrypted material'? I don't see any way to create effective deterrents here without making it easy to persecute anyone for any reason. Imagine cops planting USB keys with random bits on minorities they don't like, etc.

Edit: or worse, 15-year-olds planting USB keys with random bits on teachers they don't like and claiming it's CP and then watching them get fired and go to prison for 'refusal to decrypt' shudder

Re:Forcing suspects to reveal phone passwords is unconstitut... by function_seven on Friday September 25, 2015 @05:06PM (#10280686)
Sure, everything you said is correct. But the alleged drug dealer will probably face an IRS audit and get charged with tax evasion, based on the fact the he has an unusually expensive car. The car's existence will provide investigators with a path to follow in tracking down the suspect's finances, laundering activities, income sources, etc. It's not the entirety of the case (like you said, not enough to charge you with a crime), but it is a clue that an investigator can launch from.

Just because something isn't proof, doesn't mean it isn't evidence. And if I am doing something my government disproves of, I'm going to try and be mindful of all evidence that can expose that. (Note that I'm NOT making any value judgements here) If an inner-hidden volume isn't as hidden as I thought it was, then that's a security risk to me.

Re:Forcing suspects to reveal phone passwords is unconstitut... by aianus on Friday September 25, 2015 @05:20PM (#10280763)
My point is that either:

a) 'forced decryption' legislation is toothless. That is, suspicion, but not proof that encrypted material exists and is within your power to decrypt is not enough to throw you in jail for contempt or some other charge.

b) It becomes extremely easy for bad actors like racist cops or asshole teenagers to frame anyone and everyone they want and put them in prison forever.