Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Counter measures against exfiltration of user data (for unlocked devices) #809

Open
grote opened this issue Dec 9, 2024 · 2 comments
Open
Labels
Milestone

Comments

@grote
Copy link
Collaborator

grote commented Dec 9, 2024

Threat: Device is unlocked in hands of the attacker. They then use Seedvault to exfiltrate data of all apps.

Counter measures:

  • require device credential when changing recovery code (currently done), circumvention: clear app data, create new code, make new backup with known code
  • require device credential when making manual backup, circumvention: wait for automatic backup to happen or kick one off with adb shell bmgr

We should come up with more counter-measures that are harder or impossible to circumvent.

@grote
Copy link
Collaborator Author

grote commented Dec 9, 2024

One option could be to require device credential even on initial setup when writing down recovery code, would be slightly worse UX, but should ensure that the attacker can't know the recovery code without also providing device credential authentication which seems to be our only defense here anyway.

@chirayudesai
Copy link
Member

adb shell bmgr

If adb isn't enabled, enabling Developer options does need device credentials.

@grote grote changed the title Counter measures against exfiltration of user data Counter measures against exfiltration of user data (for unlocked devices) Dec 9, 2024
@grote grote added the research label Dec 12, 2024
@grote grote added this to the Roadmap milestone Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants