GrapheneOS protections against data extraction from locked devices

(discuss.grapheneos.org)

56 points | by Cider9986 3 hours ago ago

17 comments

  • prmoustache 18 minutes ago

    What GrapheneOS is missing is a complete backup and restore solution so that people can preventively wipe their smartphone before crossing the border. It would be nice to have the possibility to backup/restore every app and their data from an ssh/sftp server the way google/apple users do with google cloud / icloud. I'd rather wipe my smartphone, only add a couple of direct contacts, a copy of my passport and the pdf of my plane tickets, take the plane and cross the border with a smartphone with very little but real personal data they already know and be able to provide my PIN/password to law enforcement if they ask for it, abiding with law if such a law exist (which is the case in my home country), than using a duress and risk prosecution.

    Sure that doesn't protect your data from any other attack vector but it allows you to travel with less risk of getting detained by law enforcement of a country you are visiting. You get asked your password, you can give it, and they see a phone that is used like a dumbphone. If you get questioned for that a simple "my phone died yesterday, a friend just gave me his old pixel". If you need more stuff/information during your travel you would basically only need to remember the passphrase to access a password manager or a remote ssh server but you can restore only the stuff you need when travelling and and wipe again at any moment.

    Having said that maybe it is better to set this up some way but not have it builtin so that law enforcement doesn't expect that any grapheneos user would have his data on an sftp server somewhere by default. Otherwise we are back to point 0 where they would ask to connect to it and restore to a phone they own. Oh and have a dummy google account you only used to purchase a couple of silly stuff on amazon, aliexpress and shein and random subscription of various "non risky subjects" on youtube. The gmail address would quickly be filled with enough spam to look genuine.

    I am travelling abroad in 3 weeks for a month and I am seriously considering wiping up my grapheneOS phone before flying. I am wary that I could be targeted at a border just for having a grapheneOS smartphone. Or maybe I should just leave my main phone at home and only travel with a new empty 150€ phone with only my main family emergency contacts. I don't remember ever being asked to show my smartphone at a border but you never know when it will happen.

    • microtonal 8 minutes ago
      • Voklen 3 minutes ago

        > the project has been taken over by another group of people not sharing our goals or approach

        > Seedvault which was originally written for use in GrapheneOS by a GrapheneOS user is a consequence of the 2018 takeover attempt on the project, which the people currently in defacto control of Seedvault were heavily involved in.

        Seedvault is currently maintained by the CalyxOS team but I've never heard about this stuff. Does anybody know what happened?

    • hahn-kev 5 minutes ago

      Honestly, I feel like I'd be more suspicious of someone who had little to nothing installed on their phone.

    • ButlerianJihad 14 minutes ago

      So you plan to (1) actively/proactively conceal your data/evidence from Customs officials and also (2) lie to them about it and then (3) constantly restore from cloud backups?

      How is this even a plan? Do you take them for simpletons?

      • cyberax 9 minutes ago

        Border officials don't have the right to search all of your data.

        You are also not under any obligation to have it on your phone at all times.

        • ButlerianJihad 7 minutes ago

          Correct! Furthermore, border officials have no requirements to allow you into their country either, unless you’re a citizen there, and they don’t necessarily need to let you go Scot-free in any case!

          In a nutshell, if you show up at Passport Control with this shitty attitude of a slimy liar who’s got plenty to hide, how do you think it will go for you?

  • rzk an hour ago

    I think this has been posted in response to this news story [1] to clarify that GrapheneOS has strong protection against data being extracted even without a duress PIN/password.

    On a related note, a recent article [2] also describes how GrapheneOS helped a journalist protect his work and his confidential sources citing the 18-hour auto-reboot feature that returns the device to Before First Unlock (BFU) mode, where keys cannot be extracted.

    [1] A US man is being prosecuted after allegedly using a GrapheneOS duress PIN to wipe his Pixel during a border searchhttps://www.theguardian.com/us-news/2026/jul/23/cop-city-pro...

    [2] A Journalist had his mobile phone seized. Did using GrapheneOS protect his data?https://www.computerweekly.com/feature/Journalist-Richard-Me...

    • microtonal 6 minutes ago

      citing the 18-hour auto-reboot feature that returns the device to Before First Unlock (BFU) mode, where keys cannot be extracted.

      Also worth mentioning that you can set auto-reboot to a shorter period (down to 10 minutes). So if you anticipate situations where your phone can be seized (border crossings, demonstrations), it's worth temporarily setting this to a short time period (or rebooting your phone yourself to get to BFU).

  • LoganDark 32 minutes ago

    It does not look like he wiped the phone himself or destroyed any evidence. Law enforcement did by attempting to use the PIN.

  • LoganDark 30 minutes ago

    Wow, I did not know Android had a password length limit of 16. The password I typically use for my devices nowadays is longer than that, but for Android I always just used pattern lock.

  • robotswantdata an hour ago

    Relevant xkcd https://xkcd.com/538/

    • ris 3 minutes ago

      I hate this meme.

      The point is to at least make them resort to hitting you with the $5 wrench, at which point they're probably committing a more serious offence than what you're up for (dependent on country).

    • bigyabai an hour ago

      Relevant news story: https://www.androidauthority.com/grapheneos-duress-pin-us-pr...

        According to The Guardian, the US Department of Justice is prosecuting Atlanta resident Samuel Tunick after he allegedly gave a GrapheneOS duress PIN while border agents were trying to search his Google Pixel phone.
      
      It sounds like he did give them the password, but it was the password to wiping his phone and not unlocking it. I'm surprised they didn't back up the device first.
      • prmoustache 38 minutes ago

        From what I understand he was not formally arrested at the time, just interrogated at the border. I am not familiar with US laws but from what I understand the device was not (yet?) considered evidence in an investigation. I imagine backing up might not be as easy an option without tearing down the device as the memory chip is no the device mainboard, so not something you can necessarily do on the side of the road or at a border without a formal warrant/investigation.

      • cryo32 5 minutes ago

        My trick there is not travelling to the US.

        I carry a burner phone when travelling most of the time anyway. It has access to email only, 99% of which is in offline folders anyway.

      • imkac 44 minutes ago

        Backup is useless without security chip.