Reconnaissance and Enumeration

A tester captures the header Authorization: Bearer eyJhbGciOiJIUzI1NiJ9.eyJ1c2VyIjoiYm9iIn0.x9f... The value has three dot-separated Base64URL parts. What should the tester do first to learn what it contains?

Show the answer

Correct answerB. Base64URL-decode the first two parts

AWhy not this: Breach corpora list leaked passwords, not per-login tokens that are issued dynamically.

BWhy this is right: JWT header and payload are only Base64URL-encoded, so decoding shows the claims without any cracking.

CWhy not this: STS validates AWS credentials; a JWT in a Bearer header is not an AWS access key.

DWhy not this: Hydra guesses login credentials against a service; the token is not a password to guess.

A value with three dot-separated Base64URL parts is a JSON Web Token used as a session token. Its header and payload are only encoded, so decoding them reveals the algorithm, user and expiry claims. Hydra attacks login passwords, not tokens.