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
Theory: learn the topic
To submit a flag, log in.