Skip to main content
Challenges Encrypted backup and Authenticator
Mobile Hard Mobile: the encrypted Android backup (.ab) format and the Google Authenticator migration protobuf Solves: 3

Encrypted backup and Authenticator

Author: CyberSamSU
Points
90

Before replacing his phone, an employee made a backup protected with a password (the device PIN) using adb backup: backup.ab. The device PIN is a 4-digit number. The backup is in Android's standard (AOSP, version 5) encrypted format: in the header, AES-256, the user salt, the checksum salt, the round count, the user IV and the "master key blob" are given in hex.

In the notes app inside the backup, two otpauth-migration://offline?data=... links exported from Google Authenticator are stored. One of them holds the service's TOTP secret: the account name is exactly flag-service, the issuer is CyberSamSU. 8 bytes of the secret — the last 16 hex characters of the flag (lowercase).

Flag format: BAYROQ{AB_SHIFRLANGAN_xxxxxxxxxxxxxxxx}. Beware of outdated and test records.

Attached files
backup.ab Log in to download
Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −9 pts Log in
Hint 2 −18 pts Log in
Hint 3 −27 pts Log in
To submit a flag, log in.

First solvers

1. Mirjaxon Qaxxarov 25.11.2026
2. Odam 25.11.2026
3. Asmaa Mottery 25.11.2026