Skip to content
Adam Omar Saleh

H7CTF 2026 placeholder badge (unofficial)H7CTF 2026Forensics / Cryptography

Encrypted Vault Recovery

Title unconfirmed

SQLite vault / binary analysis / AES-128-CBC / MD5 key

Competition
H7CTF 2026 placeholder badge (unofficial)H7CTF 2026
Category
Forensics / CryptographyMedium · estimated
Analysis status
Flag extracted locally
Document
Original PDF

01Challenge analysis

The problem

The evidence included vault.db, aswntsqlite.dll, ProtonVPN_x64final.exe and recovery_codes.txt. The key derivation and initialization parameters for an encrypted vault were recoverable from the surrounding artifacts.

02Exploit or recovery path

How I solved it

  1. 01

    I examined the supplied database, program and recovery-code artifacts and traced how the vault content was encrypted.

  2. 02

    I recovered the key derivation used by the challenge: the AES-128 key came from MD5 of an empty byte string.

  3. 03

    I set the AES-CBC initialization vector to sixteen zero bytes, as indicated by the recovered logic.

  4. 04

    I decrypted the stored ciphertext and interpreted the recovered plaintext to obtain the final H7CTF flag.

Result

RECOVERED FLAG

H7CTF{750b6f18160c332f9f2b}

Flag extracted locally

Local Verification
Earlier September 26 notes identify this exact flag and AES-128-CBC recovery path.
Evidence Limitation
The original ciphertext bytes and execution log are not included in the retrieved record.

Original document

Original PDF

The writeup as I first documented it.