auth.log: who broke in?
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).