Skip to main content
Challenges auth.log: who broke in?
Linux Easy auth.log: counting password brute-force attempts and finding the sudo command in the logged-in session Solves: 9

auth.log: who broke in?

Author: CyberSamSU
Points
15

The web server monitoring alerted on suspicious activity at night. The system administrator sent you a 3-day copy of /var/log/auth.log (auth.log): sshd, sudo, cron, PAM, and systemd-logind entries are mixed together.

The log contains password guessing (brute-force) attempts from several external IP addresses; most of them failed to get into the system. Only one address got in with Accepted password after dozens of failed attempts. Other external addresses may also have an 'Accepted' line — but they logged in without prior attempts or with only one or two errors.

During the session, the attacker executed several commands via sudo; in the argument of one of them, a secret token is encoded in base64 — that token is the flag itself. Keep in mind: sudo lines do not record the IP address — link the session using sshd[PID] and the time window (from Accepted to 'session closed'). Other users in the log (including the compromised account itself) also executed similar encoded commands.

Flag format: BAYROQ{...} (the last 16 characters are lowercase hexadecimal digits).

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

First solvers

1. Mirjaxon Qaxxarov 25.11.2026
2. Odam 25.11.2026
3. BEKK 26.11.2026
4. AGENT X 26.11.2026
5. , 27.11.2026
6. NFS 27.11.2026
7. NullStrike 27.11.2026
8. Boburbek Mo'ydinov 27.11.2026
9. Doston Allayarov 28.11.2026