Encrypted backup and Authenticator
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.