kBxAc CTF 2026Cryptography / Forensics
Icarus Enclave
Base65536 / ZIP / CRT fault / AES-GCM / length extension
- Competition
kBxAc CTF 2026
- Category
- Cryptography / ForensicsHard · estimated
- Analysis status
- Flag recovered
- Document
- Original PDF
01Challenge analysis
The problem
The challenge chained multiple evidence and cryptographic recovery layers. Each layer exposed the information required to solve the next; guessing a flag or skipping a layer would not work.
02Exploit or recovery path
How I solved it
- 01
I recovered the Base65536-encoded hidden image payload and decoded its underlying bytes.
- 02
The extracted material led to an encrypted inner ZIP archive; I recovered the material required to open that layer.
- 03
I analyzed RSA CRT signing behavior and used the faulty CRT output to recover the RSA secret factor/key information.
- 04
I used the recovered data to decrypt an AES-256-GCM layer, validating its authentication tag.
- 05
I applied a SHA-256 length-extension step to the authenticated material as dictated by the final stage, derived the last key, and decrypted the final flag.
Result
RECOVERED FLAG
kBxAc{tHe_oNe_F@ult_0Pens_Every_LAyer_Of_ThE_ic4rUs_rEc0vERY_CHain}
Flag recovered
- Local Verification
- Prior session reported successful final-layer decryption; no official platform screenshot is retained.
- Evidence Limitation
- Intermediate RSA values, GCM nonce and payload bytes were not preserved in the retrieval; not inventing them.