Skip to main content
Challenges Weak signature (JWT)
Web Medium HS256 JWT — short key bruteforce Solves: 6

Weak signature (JWT)

Author: CyberSamSU
Points
60

token.txt contains a JWT signed with HS256. The signature key is very short — only 4 lowercase Latin letters.

The data field in the payload stores the flag XORed with a keystream (sha256(secret|0) ‖ sha256(secret|1) ‖ ...) and encoded in base64url. Find the key and decrypt the flag. Format: BAYROQ{...}.

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

First solvers

1. Mirjaxon Qaxxarov 27.10.2026
2. Odam 05.11.2026
3. Behruz Rashidov 06.11.2026
4. Username08 07.11.2026
5. arcanum 11.11.2026
6. Doston Allayarov 16.11.2026