News for hackers. Stuff that matters.
Re:Adding a “duress” password with PAM Duress (2021) by jrm4 on Sunday March 06, 2022 @01:14PM (#30579619)
This just reminds me of all the very cool and clever things we could be doing, but arent. I imagine a world in which your phone is actually a general purpose computer, that can be meaningfully backed up by you, solely under your control.

So when you're travelling somewhere heavy, you backup your whole phone to a trusted server (I hate even saying 'cloud' here) and wipe it (or better yet, "duressify" it, e.g. you put in grandma's number and a little porn and thats it) and be on your merry way. Restore your backup at your destination.

Re:Adding a “duress” password with PAM Duress (2021) by elliekelly on Sunday March 06, 2022 @04:04PM (#30581245)
A while back a woman in Boston was abducted at random, forced at knifepoint to withdraw money at an ATM, and then brutally murdered before anyone even knew she was missing. In response the state proposed requiring ATM security features like a panic button, active monitoring of the surveillance cameras, or some sort of alarm system. Of course the banks pushed back because of the long-term implementation costs and also because of the supposedly risk false alarms.

But one of the ideas that I thought sounded like a good compromise was a duress PIN. The idea being that a customer could opt to set a PIN that would work exactly like their normal/“real“ PIN (dispense funds, etc.) except it would silently alert police. It didn’t happen, in the end. Partially because the banks were strongly opposed to the “overreach” and partially because the public outrage about the abduction died down before anything meaningful could happen in response.

It was a neat idea, though.

Re:Adding a “duress” password with PAM Duress (2021) by hedora on Sunday March 06, 2022 @10:37PM (#30583975)
In Copenhagen the ATMs used to have "anti gas attack" stickers on them. No idea what they did, or protected against.

A friend of a friend got roofied at bar. In the morning, she found she'd withdrawn a large amount of cash from an ATM. (Could have been much, much worse.)

To add insult to injury, the bank produced a video of her drugged out and "voluntarily" entering her pin with a shadowy figure in a black hoodie behind her. The bank claimed this was proof the transaction was voluntary and non-fraudulent, and refused to cover the withdraw.

This was somewhere in Europe. I'm 99% sure the transaction would be refunded in the US, though I've never heard of such muggings here.

Re:Adding a “duress” password with PAM Duress (2021) by nullwarp on Sunday March 06, 2022 @01:21PM (#30579680)
A security company I contracted for has a policy when people are traveling to certain countries that they can't bring a company laptop or phone with them. They have to purchase a laptop while in the country to use and log onto the systems from there.
Re:Adding a “duress” password with PAM Duress (2021) by ohyoutravel on Sunday March 06, 2022 @01:27PM (#30579740)
I’m curious because this seems worse in many ways than purchasing in your home country and carrying across. I understand you go through the airport with a fresh laptop and that gives the opportunity for the airport security agents to mess with it, but in all recent travels when I’ve done this the only time I haven’t seen the laptop directly is when it’s in the X-ray machine for 30 secs. Seems like purchasing in visiting country would be less secure. Can you elaborate?
Re:Adding a “duress” password with PAM Duress (2021) by kmeisthax on Sunday March 06, 2022 @02:21PM (#30580274)
Carrying devices across a border gives the Nation State Actors both physical access to your machine and a legal basis to mess with it - either by searching the device for secrets or by installing malware onto it. Some countries are better at this than others. I wouldn't bother doing this if I was just going from, say, the US to Canada[0]. However, China is notorious for messing with any Android[1] phones that cross their borders. Depending on what countries your company trades with, this policy might make sense.

In contrast, bulk shipments of imported devices are not usually tampered with in the same way[2]. Some countries do have similar restrictions on data import, but they can't mess with or spy on that data because you actually have end-to-end encryption in that case.

[0] I have heard reports of immigration officers demanding device passwords in such a case, but it's rare. If you're really paranoid, enough to want to do this when crossing US borders, I should point out that you should never live within 100 miles of them. Anything 100 miles or closer to a US border gives the US government power to demand your papers; furthermore, the people in border control treat this as a blank check to search for anything they want.

https://www.aclu.org/other/constitution-100-mile-border-zone

[1] I have yet to hear reports of iPhone users getting their phones searched.

[2] Yes I know "Tailored Access Operations" exist, but this usually involves shipping intercepts, not someone buying a device in a store.

Re:Adding a “duress” password with PAM Duress (2021) by raincom on Sunday March 06, 2022 @02:34PM (#30580417)
If CBP gets suspicious, they will ask for the device password to gather evidence from one's phone to deport back. This happened to a couple of people I know of.
Re:Adding a “duress” password with PAM Duress (2021) by jon-wood on Sunday March 06, 2022 @05:59PM (#30582143)
I haven’t travelled to China since before Covid was a thing, but when I went previously border control weren’t at all interested in our phones, and more or less waved us into the country once they’d checked our visas. To say they mess with any Android phone crossing the border is either massive hyperbole, or they’re doing it remotely as you run them through X-ray scanners.
Re:Adding a “duress” password with PAM Duress (2021) by hedora on Monday March 07, 2022 @11:55AM (#30590161)
If they can mess with them remotely, then it's game over for any sort of security property you think the phone has; there's no reason to think they have more capabilities than other governments or some of the larger organized crime syndicates.
Re:Adding a “duress” password with PAM Duress (2021) by Nextgrid on Sunday March 06, 2022 @01:45PM (#30579924)
Purchasing within the country is more secure unless you assume all devices sold within the country are compromised and monitored in real-time which seems unfeasible.

Of course for this to be effective you should just purchase it in-person in a mall or something, and ideally don't provide any identifying information so they can't "customize" the device just for you, otherwise all bets are off and at that point it indeed becomes more secure to just bring your own and not let it out of your sight.

Re:Adding a “duress” password with PAM Duress (2021) by ohyeshedid on Sunday March 06, 2022 @08:34PM (#30583195)
> Purchasing within the country is more secure unless you assume all devices sold within the country are compromised and monitored in real-time which seems unfeasible.

One preinstalled mitm cert, or sketch CA, is within the realm of feasibility.

Re:Adding a “duress” password with PAM Duress (2021) by Nextgrid on Wednesday March 09, 2022 @12:50PM (#30617700)
An MITM cert or compromised CA used to spy on the entire country would require the adversary to be able to capture, store, process and search through all that traffic in near-real-time. Sounds pretty much impossible both from a infrastructure as well as manpower point of view.
Re:Adding a “duress” password with PAM Duress (2021) by londons_explore on Sunday March 06, 2022 @01:30PM (#30579784)
I assume the "and log in from there" consists of a very limited login that only allows access to videocalls and a few other basics to allow work to get done... Not the whole document repository of the whole company.
Re:Adding a “duress” password with PAM Duress (2021) by jrm4 on Sunday March 06, 2022 @05:22PM (#30581866)
If you presume encryption (SSL et al) in its present state generally works, this strikes me as obviously superior? I genuinely don't understand the argument? You carry your password in your head, buy the new machine, phone home, and you're good? Ditch the machine on the way home if it's that serious.
Re:Adding a “duress” password with PAM Duress (2021) by kevin_thibedeau on Sunday March 06, 2022 @02:09PM (#30580166)
If you're an espionage target they'll arrange more than 30 seconds of alone time for your laptop. Either overtly at customs/security or discretely when you're away from the machine.
Re:Adding a “duress” password with PAM Duress (2021) by TheOtherHobbes on Sunday March 06, 2022 @01:43PM (#30579912)
There's plenty that's crazy about the current system. But I'd assume in your example state actors would be tracking and possibly copying your server accesses. And perhaps your server. (Cross border? Blocked. VPN? Blocked. On-prem? Easy to raid. "Don't keep logs"? Actually we do. Open source encryption? One contributor just happens to be from an intelligence agency and added some weaknesses. And so on...)

Security is really hard. For every "obvious" solution there's always going to be a back door. For every known backdoor there's going to be a covert back door which you're not going to be aware of, or a honey trap which looks like a trusted independent solution but is really state owned.

If you want a truly secure solution you're probably going to have to wait for some kind of bio-linked technology where your personal data is embedded in your physical body, and forced access either wipes it, or kills you, or perhaps both, depending on the settings.

Re:Adding a “duress” password with PAM Duress (2021) by fennecfoxen on Sunday March 06, 2022 @01:49PM (#30579964)
> There's plenty that's crazy about the current system. But I'd assume in your example state actors would be tracking and possibly copying your server accesses. And perhaps your server.

Some of us have only passing interaction with state actors, e.g. when visiting a foreign country for a short term, or when crossing the border into a nominally free society with legal privacy rights (cough TSA / ICE cough). There is thus in practice ample need for solutions not secure against an all-seeing surveillance state.

Re:Adding a “duress” password with PAM Duress (2021) by ben_bai on Sunday March 06, 2022 @03:09PM (#30580756)
The phone is a general purpose computer, and you can run LineageOS on it, with a custom bootloader.

Then you basically have 3 partitions boot, system, data. encrypting and uploading "data" can be done. It still requires little manual work, i.e. i don't know if an app can do it.

Re:Adding a “duress” password with PAM Duress (2021) by jrm4 on Sunday March 06, 2022 @05:23PM (#30581870)
Oh I get that it's theoretically possible, but could it be "normalized?"
Re:Adding a “duress” password with PAM Duress (2021) by nunez on Sunday March 06, 2022 @02:42PM (#30580496)
Android's profiles system is the closest thing we have to this; if only Android's backup/restore facility were more seamless.