by Zak · 3mo ago · 0 comments
There's no deception required to protect sensitive data or avoid the seizure of an expensive phone. Consent to unlocking the phone, refuse to unlock the drive. The drive gets seized and you go on your way (if you're a US citizen entering the USA).
Some time ago, Android with a custom recovery could come close to that, but it was fussy and as far as I know, no longer viable. Increased use of TPMs for storing credentials seems to be at least one of the reasons.
One of the laws that's enforced pretty well in the USA is the protection against unreasonable search. Most of the time, a search requires showing a judge evidence that the search is more likely than not to reveal evidence of a crime. Exceptions are narrow and specific; the government's options to punish someone who refuses to decrypt data at the border are limited to brief detention and seizure of the medium.
Not yet tested is the idea that erasing data on the spot satisfies the purpose of the border search exception, which is to prevent importation of things that are illegal to import. This case might address that question.
Edit to add that its also more difficult than it should be to protect and exercise the right against unreasonable search. If a cop knocks on your door its a consent-based interaction. You can simply not respond, but if you do happen to crack the door they can and will look in for any signs to claim as probable cause. Further there are cases where a person stepped out to talk and when they turned around and walked inside the cop slid right in behind them and later claimed in court the open door was implied consent. (I don't have a link to the court docs unfortunately.)
Sure, but there are also many instances today of evidence getting thrown out in court due to cops not getting a warranty and poisoning the tree and all its fruit. Rights don't just enforce themselves, there are and have to be a number of layers to the onion to help reduce the violation numbers at each stage.
And there are also many instances of the city being sued, those cops being sued, losing qualified immunity, losing their jobs, etc, because we do still have recourse when cops do the wrong thing.
If your rights were violated, you stand to get a big payout, and get the cops fired that violated your rights. We aren't powerless, yet.
"In United States criminal law, the border search exception is a doctrine that allows searches and seizures at international borders and their functional equivalent without a warrant or probable cause. Generally speaking, searches within 100 miles (160 km) of the border are more permissible without a warrant than those conducted elsewhere in the United States."
https://en.wikipedia.org/wiki/Border_search_exception
213 milion people live in this zone.
then consider this paired with the implementation of mass data sharing between the alphabet agencies, surveillance data sharing from private companies like Amazon Ring, Flock, Clearview, etc. and NSPM-7 ordering agencies to create JTTFs to target organizations like BLM
then consider the unmitigated use of force by federal law enforcement agencies like ICE
I think if this were 1995 your point might be fair but those days are unfortunately long gone
> In a full banana republic, technical compliance with the law will not prevent consequences for failing to do what the authorities want. In a jurisdiction with perfect rule of law, it always will.
I think you may be misunderstanding that many laws, even in fair, just societies, are intentionally designed to be flexible. The real world is so variable and messy that in many cases it isn't feasible for a law to be written such it can be unambiguously determined whether or not a specific action violated the law. Laws often rely on humans using context to judge whether something violates the spirit of a law, and in a just society, this is a good thing.
My point is that I don't believe the idea of "perfect rule of law" is sensible. Law is always necessarily a bit fuzzy and nebulous.
The alternative is complying with the spirit of the law, which is an eternal guessing game. Who knows whether it's legal or not, we have to wait for the Supreme Court to decide what Congress _actually_ meant. It implies that the law means something beyond what anybody bothered to actually write down, and nobody has any idea what that is until the Judiciary interprets it into "actual law".
Americans aren't standing up against this, but they might have considerably more interest if the government was instead trying to ban encrypting data in cloud storage for everyone.
There's also just the fact it's ridiculous I can't have a spare phone ready to go in a few minutes and get it back exactly as I left it.
Substitute cloud storage for a USB stick if you do it at your departure hotel.
There are absolutely technical solutions to the implementations of tyranny. Otherwise we wouldn’t bother with encryption. Violence can’t solve math problems.
Like whatever arbitrary thing they decide it should look like that day.
I'm serious, this is the law in Germany. It's also a great demonstration of a shitty law that people prefer to avoid complying with, which surely has something to do with the topic.
Inc. hiding by leaving it your home country?
the government would have no ability to access the data if he didnt bring it on his person here.
hell, he could have just continued to not given his password and left his phone with them, too.
It's worth noting wiping a device shortly before an anticipated search could also be considered destruction of evidence in the same way. It doesn't have to be done after a request for the data to be considered that.
> There's no deception required to protect sensitive data or avoid the seizure of an expensive phone. Consent to unlocking the phone, refuse to unlock the drive. The drive gets seized and you go on your way (if you're a US citizen entering the USA).
This was likely the best move for him to take. They could have held him for a while and wasted his time but eventually would have had to give him access to a lawyer and let him go. Unless they had a recording of him entering a PIN/password, they were nearly certainly not going to get his data from it. He very likely didn't gain anything from wiping it.
He did help every GrapheneOS user by spreading awareness of the duress PIN/password. It was designed around an adversary aware of it and therefore not wanting to attempt using a PIN/password obtained via coercion. In the future, we want to integrate the feature into the secure element rate limiting for key derivation so it can't be avoided by exploiting the OS.
The backup tool on GrapheneOS doesn't work for a large percentage of app data. And it often silently fails to backup some data, so you don't even know where the gaps are.
There have been promises of a better solution for years, but I haven't seen any movement yet.
"My patients survive most of the time and when they don't I get notifications"
Look, if we are talking about a warranted search in the US then I'd agree with you. However, the entire point of CPB's unwarranted search authority is to stop contraband from coming in.
This would be like arguing that throwing away materials illegal in the US before boarding a plane is destruction of evidence.
Like, even if we assume exactly what CBP's claim is true, it was to stop CSAM. And the person had in fact had CSAM. Destroying the CSAM before getting to the US would be legal even though the US doesn't like it.
Further, if the data is actually backed up, then you haven't actually destroyed it and CBP or another agency can provide you with a search warrant for what they are looking for. But I'd note that this is far outside of CBP's authority. They are for stopping contraband, not FBI work.
The only reason they can charge him with this is that he destroyed it after being notified that it was being seized. If he has deleted it before then there would be nothing they could charge him with.
And the whole reason they wanted in his phone (the real reason) was to figure out who he worked with in the stop cop city protest. That's why he was really targeted in the first place.
You can still do it on modern Android devices, as long as the bootloader is unlocked. Yes, the file system is encrypted, but a modern custom recovery is able decrypt and mount it.
Not by default, but you have to enable it in developer settings, and then it does a full wipe, so if you plan to root your phone anyway, you do that when you buy it (buy, test hardware, oem unlock + factory reset, root, actually start using).
- non-US Samsung phones
- Most Sony, HTC, Motorola are unlocked
- Chinese brands like Xiaomi
Not all Pixels are unlocked; carrier-bought US phones are usually OEM locked.
I have my passwords on proton pass with 2fa. I back my pics to private cloud storage. I keep 2fa backup codes in my wallet.
Wiping the phone on a whim is a minor inconvenience. Full image restoration would be neat.
The whole problem as I see it is that people for some reason submit all their life to a device they can not control. And when it bites them they go all suprised.
The "secure enclaves" and other related stuff have made this harder in the recent years.
Point being that relying on a hidden trick (rather than encryption) is a very risky bet.
How is this any different than refusing to unlock the phone? It just seems you've added unnecessary extra steps.
It's the same thing. They punched in a code, they are presented with a wiped phone. Can they prove the guy gave them a distress password and wasn't simply carrying a wiped phone to begin with? No, but they just need to imply that is the reason to charge him with the felony.
> It's the same thing. They punched in a code, they are presented with a wiped phone.
No, the behavior between the two is in fact visibly and obviously different.
The regular passcode unlocks the phone. The duress passcode reboots the phone and resets it. I know this because this is literally what previous articles said happened when they entered the passcode in regards to this case.
See for yourself:
But it's irrelevant in this case because the guy confessed.
When you enter the duress code, you get an animation while it resets, and then it reboots to a factory reset state.
It is directly observable which code was entered. You can claim that it was something else, but your claim is easily dismissed as bullshit.
This was exactly what was observed and recorded by the officials in this case.
It doesn't even care about plausible deniability.
Best you can get away with is lack of suspicion. Have a secondary phone with some standard apps on that you use now and then so theyhave a history and just look like you are just not a technical person and read novels on dead trees instead. A lot of work but likely works.
In other words, the HN crowd.
They don't get any indication that there was data there to be deleted, and you don't just factory reset but flash w an image of a clean phone that's been used. It has apps, it has accounts, it looks to the untrained eye (because that's who's looking at it) like a phone that was used normally by someone who has done nothing wrong.
in before those fucking "I hAvE nOtHiNg tO hIdE" twats
CBP: Customs & Border Protection
This isn’t my territory, so excuse my ignorance, but I’d love to know how
There could be issues with the TPM chips, having to re-enroll fingerprints or something, but not a problem in the case of a border search, since they can't pull out anything. So you could backup your whole system, install a clean ubuntu without anything special on the system (just if they check), and then download the image wherever you are and do whatever you want.
So on a Luks encrypted xubuntu, o can dd to an external and then my laptop can fall in a lake the next day and I run some simple command to unwind that on a fresh laptop and I’m off to the races?
I presume it’s much slower than rsync, since it’s comprehensive each time.
Are there any gotchas?
This sounds too simple to be true—but again, my knowledge on backup is very unprofessional
The problem with dd is, that you can't really run it on a running system, because stuff is constantly being written to the drive (this is same for rsync too, but usualy the damage is smaller), so you have to boot a live linux from usb, dd the whole drive to an external drive, and then after swimming ashore, boot a live linux on the new laptop, and dd the backup to the new drive.
It’s harder for people who don’t use cloud services and have to do things like copy TOTP seeds, but in this scenario you want those to live on a Yubikey with a PIN anyway.
… yeah I doubt that nowadays honestly
At the border you have the same right to refuse to provide the pin/password on boot of your otherwise encrypted phone as you do to refuse to provide the key for an encrypted USB. (That right differs slightly depending on whether you are a US citizen or not).
What the subject in question of this new story did was cause the border official to inadvertently destroy the evidence on the phone and therefore indirectly destroyed the evidence himself.
(I'm not making a commentary as to whether or not it's a valid charge and criticism, or not. I'm just saying that's the material difference between your scenario and the original scenario)
The transfer and backup system are pretty much the same mechanisms.
Restoring is probably order of ~1 hour to go through all the setup. Then some hours to sync any data and updates that need to be redownloaded, apps reinstalled, etc.
You're always been able to backup and restore your iPhone to your local Windows PC or a Mac using free first party software from Apple.
Backing up and restoring an iPhone is extremely easy. You don't need to imagine all of this flash drive or encrypted imaging stuff. You plug it into your computer and do a backup. You can then wipe the phone through the menus. Restoring from the same computer is easy.