Can HideBerry be hacked? What an attacker would need, and why the usual attacks fail

The common attacks on photo vault apps, what HideBerry does against each one, and the honest limits no app on your phone can get past.

Updated November 24, 20268 min read

To get into a HideBerry vault, an attacker needs one of three things: your PIN or pattern together with your phone, your 12 recovery words together with a backup file, or deep control of your phone while it is unlocked. The attacks that break most vault apps don't give them any of those. There is no account to phish and no company server to breach, because HideBerry has neither. The app has no internet permission, so nobody can reach it over a network. Every item is encrypted with its own AES-256-GCM key, and the master key is wrapped twice: by your PIN run through Argon2id, and by a key in your phone's secure hardware that can't be copied off. Files copied off the phone are scrambled data. No app can promise it can never be broken into, and we don't. The real limits are listed below.

What an attacker would actually need

Here is what each route into HideBerry requires.

To open the vault, an attacker needsWhy that's hard with HideBerry
Your PIN or pattern, on your phoneAt least 6 digits or 6 dots, and wrong tries trigger waits that grow to 30 minutes each
Your 12 recovery words and a backup fileThe words are shown once at setup and can't be shown again; they live on your paper, not in any account
The vault files plus your PIN, on another deviceNot enough: the master key is also wrapped by a hardware key that never leaves your phone
Deep control of your unlocked phone (root, malware, forensic tools)This is a real limit; see "Where the limits are" below

Common attacks on vault apps, and what HideBerry does

Common attackWhat HideBerry does
Phishing your vault account or reusing a leaked passwordThere is no account and no sign-in, so there is nothing to phish or leak
A breach of the app maker's cloudThere is no company server and no cloud; your vault exists only on your phone and in backup files you save
Resetting your PIN through your emailThere is no email reset; a forgotten PIN is reset only with your 12 recovery words
Reaching the app over the internetThe app doesn't have Android's internet permission, so it can't send or receive anything over the internet
Opening the hidden folder with a file managerNothing is just hidden: every item is encrypted with its own random 256-bit key (AES-256-GCM), and names, folders and thumbnails are encrypted too
Copying the vault files to a computer and guessing PINs thereThe master key is wrapped by your PIN and by a key held in the phone's secure hardware, so copied files can't be opened with the PIN alone
Guessing the PIN on your phoneArgon2id makes each guess slow, and waits start after the 4th wrong try
Pulling the vault out of a cloud or ADB app backupAndroid's app data backup is turned off for HideBerry, so those backups don't copy the vault
Taking screenshots or recording the screenScreenshots and screen recording of the app are blocked, always; the recent-apps preview is hidden
Finding decrypted copies left on the phonePhotos, videos, text and PDFs open inside the app; nothing is decrypted to a file to view it
Stealing your backup fileThe file is encrypted and opens only with your 12 recovery words, not your PIN

How HideBerry is built against these attacks

No account, no server, no internet

HideBerry has no account, no sign-in, no company server, no cloud, no ads and no analytics. Purchases of HideBerry Unlimited go through the Play Store app, which does the network part. Because the app itself has no internet permission, there is no network route into it and no route out for your photos. We explain what that permission means on what "no internet permission" means for an app.

Every item has its own key

Each photo, video, note and file is encrypted with its own random 256-bit key using AES-256-GCM, a widely used encryption method that also detects if the data was changed. Large files are encrypted in 1 MB segments. Each item's key is itself stored encrypted inside an encrypted index (SQLCipher, an encrypted database), so file names aren't readable on disk. The details are on how photo encryption works on Android.

Your PIN alone can't open copied files

The vault's master key is random, never made from your PIN. Your PIN or pattern goes through Argon2id, a method built to make every guess cost time and memory (here 64 MiB and 3 passes). The result is wrapped again by a key in the phone's secure hardware: Android Keystore, using StrongBox when the phone has it, otherwise the TEE (a protected area of the processor). That hardware key can't be copied off the phone. With a phone screen lock set, it only works while the phone is unlocked. See Android Keystore and secure hardware, explained.

Guessing has to happen on your phone, and it waits

Four wrong tries have no wait. Then the waits are 30 seconds after the 5th, 1 minute after the 6th, 5 minutes after the 7th, 15 minutes after the 8th, and 30 minutes after the 9th and every one after. The count is saved on the phone, so closing or restarting the app doesn't reset it. HideBerry never erases the vault after wrong tries. How lockouts work, and their limits, is on guessing protection and lockouts. A 6-digit PIN versus a 6-dot pattern is compared on PIN vs pattern.

What's on screen stays in the app

HideBerry blocks screenshots and screen recording of its window and hides its recent-apps preview, with no setting to turn that off. It auto-locks after you leave the app (30 seconds by default, or immediately). More on blocking screenshots and the recent-apps preview.

Fingerprint can't be quietly added

Fingerprint unlock is optional. If someone adds a new fingerprint to the phone, HideBerry's fingerprint key stops working until you turn it on again with your PIN or pattern, so a newly added fingerprint can't open the vault. Any fingerprint that was already enrolled on the phone can, so check who else's fingerprint is on it.

Where the limits are

We would rather you know these than find out later. HideBerry does not protect against:

  • Someone holding your phone unlocked who tries to guess your PIN or pattern in the app. The waits slow this down; they don't stop someone who knows your PIN.
  • Root access, malware with deep system access, or specialist forensic tools on an unlocked phone. Someone with root, or who moves the phone's clock forward, can also get past the guessing waits. The waits are not encryption.
  • What's on screen while the vault is open. Another camera pointed at your screen isn't blocked by anything.
  • Copies taken out of the vault, and originals left in the gallery or in cloud photo backups made before you put them in.
  • Losing both your backup file and your recovery words. Nobody, including us, can recover a vault or reset access. There is no account to recover.

No outside security assessment of HideBerry has been done. Everything on this page describes the app's documented design. The full list of protections and limits is on HideBerry security, and the limits every vault shares are on what a photo vault can't stop.

Set it up so the attacks that remain are harder

  1. Choose a PIN longer than 6 digits that isn't a date or a repeated pattern.
  2. Set a screen lock on the phone, so the hardware key only works while the phone is unlocked.
  3. Write the 12 recovery words on paper and keep them away from the phone and the backup file.
  4. Delete the originals from the gallery when HideBerry offers (Android 11 and newer), and remove old cloud photo backups yourself.
  5. Make a backup file after adding things, and keep it somewhere you control.
  6. Tap Lock now before you hand the phone to anyone.

Is HideBerry safer than other vault apps?

It depends on what you compare. Unlike vault apps that store photos in the maker's cloud or reset a PIN by email, HideBerry has no account, no cloud and no email reset. Other apps offer things HideBerry doesn't, such as cloud sync or a disguised icon. We go through each competitor on HideBerry compared.

Can photo vault apps in general be hacked?

Yes, and how depends on the app's design. The general answer, covering hider apps, email resets and leftover originals, is on can a photo vault app be hacked.

FAQs

Can HideBerry be hacked?

No app can promise it can never be broken into, and we don't. HideBerry is built so the common attacks on vault apps don't apply: no account to phish, no server to breach, no internet permission, per-item AES-256-GCM encryption and a master key wrapped by your PIN and the phone's secure hardware. Root access or forensic tools on an unlocked phone, and someone who knows your PIN, are the real limits.

If someone copies my HideBerry files to a computer, can they open them?

Not with your PIN alone. The master key is wrapped by a key in the phone's secure hardware, which can't be copied off the phone. On the computer the files are scrambled data. A backup file is different: it opens with your 12 recovery words, so keep those words apart from the file.

Can someone get into HideBerry by guessing my PIN?

Only on your phone, and slowly. After 4 wrong tries the app makes them wait, up to 30 minutes per try after the 9th. A 6-digit PIN has a million combinations. Someone with root access or who moves the phone's clock forward can get past the waits, which is why a longer PIN and a phone screen lock help.

Does HideBerry send my photos anywhere?

No. The app doesn't have Android's internet permission, so it can't send anything over the internet. Your vault leaves the phone only as a backup file that you choose to save, encrypted, wherever you pick.

Has HideBerry's security been independently assessed?

No outside security assessment has been done. This page and HideBerry security describe the app's design in detail, so you can judge it yourself. You can reach the developer at [email protected].

Put your photos where these attacks don't reach

HideBerry is coming soon to Google Play. Free holds 50 items with every feature, the same protection included. See HideBerry for Android, or read how HideBerry works before you put anything in. On iPhone, HideBerry for iPhone is coming soon to the App Store.

Keep private photos private

HideBerry encrypts photos, videos, notes and files on your phone. No account, no cloud, no ads. Free for up to 50 items, with every feature. Android now, iPhone coming soon.

Coming soon toApp StoreComing soon toGoogle Play