I saw a headline last week about a man being prosecuted for using something called a “duress password” during a border search. I had never heard the phrase before. It sounded like spycraft, the kind of thing that exists in thrillers, not in the settings menu of a phone.
The more I read, the more I realized the duress PIN was just the entry point to a much bigger story.
The case itself is straightforward. Samuel Tunick, an Atlanta resident, was returning from the Dominican Republic in January 2025 when he was pulled into secondary inspection at Hartsfield-Jackson. Homeland Security agents had circulated his name three hours before his flight landed, linking him to the movement opposing the “Cop City” police training center. They demanded access to his Google Pixel. He asked for a lawyer four times. They refused. No warrant was produced. When an agent entered the passcode Tunick gave them, the screen went blank, flashed, and the phone appeared to restart.
The Justice Department charged Tunick under a federal statute that makes it a crime to destroy property to prevent its seizure. It is the first known prosecution in the US centered on a duress password. The judge is not expected to rule on the suppression motion until October 2026.
Read more about it from TechCrunch and Guardian
A few technical details matter here. This was not a factory reset. GrapheneOS, the custom Android build running on Tunick’s phone, uses full-disk encryption. The duress PIN does not overwrite data. It wipes the encryption key, making the data inaccessible but leaving it technically present on the storage. Think of it like locking a safe and swallowing the key, rather than burning the contents. The government’s claim that Tunick “destroyed digital contents” is a legal question about whether destroying the means of access counts as destroying the data itself.
This is also different from the iPhone’s “Erase Data” feature, which wipes the device after 10 consecutive incorrect passcode attempts. That is an automatic safety trigger triggered by failure. GrapheneOS’s duress PIN is deliberate. You set a second passcode that you choose to enter under coercion. It is a conscious act, which is exactly why it creates novel legal exposure.
None of this is really about the court case. The case is a useful lens, but the real story is about what our phones have become and whether we can meaningfully own them anymore.
What is GrapheneOS?
Before the technical weeds: GrapheneOS is not a “secret” OS or something designed for criminals. It is a hardened version of Android. It takes the same foundation that runs on millions of Pixels, strips out the invasive telemetry, and replaces the security boundaries with much stronger ones.

It is built for people who want a high-performance smartphone that respects their privacy by default. And it is important to separate privacy from security. Most people conflate them. They think a VPN, private browser, or TOR makes them “private.” But privacy is often just about hiding your tracks. Security is about making the tracks impossible to follow in the first place.
GrapheneOS does not focus on making you invisible. It focuses on making your device an incredibly difficult target. It assumes attackers are active, persistent, and capable of exploiting the very foundations of a mobile OS. Instead of adding layers of protection on a shaky foundation, it rebuilds the foundation itself.
The Engineering Reality
When I started digging into the technical documentation, the level of intentionality became clear. This is not just another Android fork.
The most significant battleground in mobile security is memory. Most exploits rely on memory corruption bugs to gain control of a system. GrapheneOS counters this with hardened_malloc, a custom heap allocator. By using randomized guard pages and out-of-line metadata, it makes “heap spraying” and “use-after-free” attacks that plague standard Android incredibly difficult to execute.
Then there is sandboxing. While all modern Android devices use it, GrapheneOS takes it to an adversarial level. SELinux policies are strengthened. Inter-process communication channels are tightened. Their hardened Chromium browser, Vanadium, uses per-site renderer sandboxing so a compromised website cannot escape its container to infect the rest of the system.
Perhaps the most impressive piece is their solution to the “Google Problem.” Most privacy-focused OSs replace Google Play Services with open-source alternatives like microG. This breaks half the apps on your phone. GrapheneOS takes a different path: it runs the actual, unmodified Google Play Services inside a highly restricted, unprivileged sandbox. You get the compatibility you need for banking apps and maps, but those services do not get the system-level access they usually enjoy on a standard Pixel.
The Spyware Reality
A hardened operating system matters because the threat landscape is not theoretical. The malware hitting Android devices right now is sophisticated, persistent, and increasingly designed to evade detection from inside the Google Play ecosystem.
Consider Mandrake. This Android cyber-espionage platform has been active since at least 2016. In 2024 Kaspersky discovered five Mandrake-laced applications that had been sitting on Google Play for two years with more than 32,000 total installs. They were undetected by every antivirus vendor. The operators had moved the core malicious code into obfuscated native libraries, used certificate pinning to prevent interception of their command-and-control traffic, and built in extensive sandbox evasion checks to avoid analysis. These were normal-looking apps, available through the official store, running unnoticed for years.
Then there is LianSpy, discovered by Kaspersky in 2024 but active since 2021. This spyware targets individuals in Russia by leveraging Yandex Disk for C2 communications, avoiding the need for dedicated infrastructure. Once on a device it captures screencasts of messaging apps (WhatsApp, Telegram, Signal, Facebook Messenger, and a dozen others) at five-second intervals. It harvests call logs and contact lists. The attackers deploy it either through an unknown vulnerability or through direct physical access to the target device. The attackers need to have the phone in their hands at some point.
KoSpy, attributed to the North Korean state-sponsored group ScarCruft (APT37), masquerades as fake utility apps like “File Manager” and “Software Update Utility” on Google Play. It uses Firebase Firestore for configuration and command-and-control, giving the operators flexibility to switch C2 addresses or disable the spyware remotely at any time. The spyware checks that the device is not an emulator and that the current date is past a hardcoded activation date before revealing its malicious behavior, ensuring it does not trip any early analysis.
And then there is Arsink RAT, documented by Zimperium. This is a cloud-native Android Remote Access Trojan that scales in a way older malware could not. It uses Google Apps Script to upload stolen media to Google Drive and Firebase Realtime Database for structured telemetry. The Zimperium team identified 1,216 distinct APK samples across the campaign and extracted 45,000 unique victim IPs. The malware is distributed through Telegram, Discord, and MediaFire links, impersonating over 50 brands including Google, YouTube, WhatsApp, and Instagram. It is a factory for stolen data, running at industrial scale.
These are not hypothetical threats. They are active campaigns that use the official app store, legitimate cloud services, and social engineering to get onto devices. And they all share a common weakness: once they are installed, stock Android gives them very little resistance.
One of GrapheneOS’s most practical defenses is the network permission toggle, a first-class control that lets you revoke internet access from any app, including system components. Many malicious apps are designed to “phone home” with small, frequent bursts of stolen data. Cut their network access and you cut their exfiltration channel, regardless of what the malware is trying to do. Not dissimilar to setting 127.0.0.1 as the host for some ad networks in your /etc/hosts file to stop unwanted ads.
Not for Everyone
I have to be honest: GrapheneOS is not for everyone. There is a usability tax. It requires intentionality. You cannot install it and forget about it. Some banking apps might struggle with the heightened security, and you will need to be more deliberate about how you manage permissions and app installations.
If you want your phone to be a seamless, frictionless extension of your life that handles everything for you, GrapheneOS is overkill, and it will likely cause more frustration than benefit.
But if you have looked at the landscape, the spyware campaigns, the legal assertions at the border, the data-hungry OS that ships on every phone, and decided that the default arrangement is not acceptable, GrapheneOS is the strongest option available today.
Ownership in the Age of Surveillance
This case surfaces a tension that most people never think about. The same feature that protects you from a mugger can put you in front of a federal judge. A tool designed to give you control over your device becomes evidence that you destroyed data the government was entitled to seize. The cryptography did its job. The legal exposure is the part that does not appear in any feature list.
This is not going away. The tools for self-defense will keep getting better, and the tension between personal security and institutional oversight will keep growing. GrapheneOS provides the strongest digital walls available today. It is a way to reclaim a piece of territory in an era where privacy is increasingly treated as a luxury rather than a right.
Our lives are in these little plastic boxes we carry around everywhere. Everything.







Leave a Reply