by hayst4ck · 3y ago · 0 comments
I know people who have two factor codes and password vaults on their phone's that if compromised by a competent attacker could compromise nearly every major corporation in America.
Imagine if a foreign intelligence agency managed to get a border guard asset.
Even from a reciprocity point of view, if we search other people's phones, that sets expectations that ours can get searched too. It's dangerous precedent all around.
That is a national security concern.
And, no, I don’t mean “warrantless searches of those devices raise national security concerns”, I mean, that state of affairs irrespective of US government search policies is a national security concern.
I'm interested in reading that if you have a link.
And not for nothing, but a yubikey isn’t exactly protected from border agents either. At least a phone has some legal protections now.
Needing a warrant, means you have to articulate why you want to invade someone's private life, and it further provides a chain of accountability.
It prevents rogue employees(peace officer, border patrol) from doing whatever they want, it provides oversight, it provides a second set of eyes, it provides for adherence to legislation and court decisions!
Yet I see people thinking it's some sort of horrible requirement. So bizarre.
So that can be pretty serious for senior staff, infrastructure team members, and so on.
This is actually a favored method to do an end-run around your rights: just get a foreign state to violate them instead.
> Documents leaked by Snowden in 2013 revealed that the FVEY has been spying on one another's citizens and sharing the collected information with each other, although the FVEY nations maintain that this was done legally. It has been claimed that FVEY nations have been sharing intelligence in order to circumvent domestic laws, but only one court case in Canada has found any FVEY nation breaking domestic laws when sharing intelligence with a FVEYs partner.[11][12][13][14]
https://www.aclu.org/other/constitution-100-mile-border-zone
But then there's also this:
> In practice, Border Patrol agents routinely ignore or misunderstand the limits of their legal authority in the course of individual stops, resulting in violations of the constitutional rights of innocent people. These problems are compounded by inadequate training for Border Patrol agents, a lack of oversight by CBP and the U.S. Department of Homeland Security, and the consistent failure of CBP to hold agents accountable for abuse. No matter what CBP officers and Border Patrol agents think, our Constitution applies throughout the United States, including within this “100-mile border zone.”
I guess we could go back to 1910 and only import stuff and admit people in coastal cities. Make everyone from Europe fly to JFK on the way to Atlanta.
Stop keeping that information on their phone: not always possible. Many highly-secure places require you to coordinate with an application on your phone when authenticating. In my experience, there is rarely a non-mobile option presented to users.
That means any and all of that information is already in the hands of the US government.
This whole strategy depends on the fact that by the time you realize you might not want to have your "real" phone on you, you can't do anything about it.
From a technical perspective we need a phone where you can dump out the main memory chips and swap in a blank firmware image quickly.
I suspect it's possible to design a phone which entirely uses removable storage, but beyond devboard-like systems, I'm not aware of any.
There is also a way to restore the deleted info from a backup server once you have the phone back.
> Imagine if a foreign intelligence agency managed to get a border guard asset.
Sounds like a great reason for Corp IT to not allow anything too important to go on mobile devices.
(Which is already how Corp IT in most well-ran firms operates, not because they are afraid of compromised border assets, but because they are afraid of a million other, mundane reasons for why corp access on a phone can turn into a security and compliance problem.)
Border agents with unchecked discretionary power is also a slight against rule of law and I think warrants are a check on that power. Maybe they are more checked than I believe them to be or have less discretionary power than I believe them to have. I am open to the idea that I am wrong.
There is absolutely a distinction to be made between a foreigner and a citizen and their respective personal properties.
We have the Visa application and interview process for that.
> There is absolutely a distinction to be made between a foreigner and a citizen and their respective personal properties.
Could you pinpoint this distincrion?
What would I be allowed to carry through US border as a citizen but not as a foreigner? Guns? Cocaine? Illegal french cheese?
I think you are resting in fallse comfort that your possesions are more protected than those of unwashed foreign masses.
But that distinction is not relevant in this case. Case in point: your luggage.
Try using your status as a citizen to refuse your luggage to be inspected for contraband or taxable imports when returning to your home country from one with which it does not share a tax and customs union, and see how that goes.
US soft power can influence international norms.
US agents not having access to travel devices means US international travelers can reduce their risk exposure. Travelers can chose not to visit countries that will search their devices. If the US searches phones, it is is much harder for a US traveler to manage the risk.
So, as much as I like the idea of being free to take my phone to another nation without my rigorous digital hygiene routine, I know that the US is never going to cast off its great defensive and offensive SigInt advantages. And I doubt this kind of case could ever make it past an appellate court, because every appellate judge knows that limiting Presidential power in any way immediately dashes any hopes of making it the running for a Supreme Court appointment.
Where do you get that idea? Pretty sure there are several three-letter agencies in the US that would disagree with that statement.
Learning the language and customs of a foreign country to a deep enough level to fool even people looking for you into believing that you're a native doesn't seem like a remotely intractable problem.
If you want to think about the attack surface, look at companies that serve other companies and ask "what can someone with root on all of this companies machines do?" and more importantly "How mature are these companies security teams?" Imagine compromising a law firm, a public relation agency, or a newspaper. A VPN provider, a corpnet provider, or a cloud provider.
My password vault doesn't have my ssh keys, but it does have my no 2fac required github recovery tokens. Phones have a lot more than just security tokens. They could provide information useful for phishing or extortion, too.
I think you asked this because I used a rather grand example and that's fair. If I were to look at my post critically I think I under-stated both the potential security mitigations in place by competent security teams and the difficulty of really compromising someone's phone, and therefore somewhat overstated the problem.
When playing war games, you give your opponent every conceivable advantage somewhat grounded in reality, and I have given this idealized attacker the advantage of an incompetent security team, easy compromise of phone, and lack of political consequences for taking a phone out of someone's sight and/or compelling them to enter passwords by threat of force.
If you had an intelligence agency with a significant amount of APT penetration, you might look up every person who requests a visa on LinkedIn and determine if they can amplify the position of your APTs. Maybe you have compromised a taxi app or and and know what hotel they are going to and you can steal a notebook when they leave the room.
I think phone out of your possession is a credible attack, maybe less so today, absolutely 10 years ago it was. Pegasus is a thing, and there were definitely rumors that Chinese police had a little USB stick they could put into peoples phones that would install an app that then disappears from the home screen.
For as long as I can remember, it is hammered into every person who works around security that "no physical security means no security." Losing possession of your phone is the loss of physical security.
My wife's laptop just got compromised a couple of weeks ago, and I've been diving down the security rabbit hole of figuring out how it happened, what's going on on my network and my computer and phones etc. It has been a rude awakening as to the sheer amount of blind trust I've been placing in all my devices. After watching what network traffic comes and goes on my laptop and how much info gets recorded by the system I've come to the conclusion that modern OSes and browsers that aren't explicitly privacy focuses are basically spyware. My new mindset is 'assume everything is compromised at all times and treat it accordingly'.
What OS? I assume Windows? What kind of artifacts have you already discovered?
DNS is a surprisingly fruitful thing to pay attention to.
Some viruses will delete themselves if they detect things like Wireshark or Python are installed.
I believe this is one of the big boy tools, though I haven't used it: https://www.volatilityfoundation.org/about
https://www.varonis.com/blog/how-to-use-volatility looks like a fun exercise.
This is either bullshit or those people are idiots carrying around that kind of information on a cell phone and crossing borders with it.
So in many case 2FA is broken unless you decorelate access to app/password and sim card, which mean accessing your apps/systems through a second device instead of your main phone such as another simless phone, laptop, ipod touch, or tablet. Most people would never do that for conveniency reason...But in that case the same search rules/laws apply to second device anyway so it doesn't change anything to the core issue.