🛡️ Blue Team Playbook

Hackbydoing Academy cheat sheet · blue · soc

Triage (first five minutes)

tail /var/log/auth.logthe recent page of the diary
grep Failed /var/log/auth.logisolate the failure thread
grep <attacker-ip> /var/log/auth.logone thread, no noise
grep -c <pattern> <log>count it — scale decides severity

Beacon hunting (C2)

the fingerprintone host · one rare destination · even intervals · small bytes
grep <c2-ip> /var/log/auth.logisolate the metronome
grep -c <c2-ip> /var/log/auth.logconfirm the rhythm at scale
ufw deny from <c2-ip>cut the channel, then investigate the host

Eviction order (never shuffle it)

1 · CONTAINkill the process (ps → kill <pid>)
2 · EVICTremove persistence (autostart entries, services)
3 · VERIFYprove clean — status checks, fresh logs
thenharden (ufw enable, kill defaults) + write the incident report

Free from the Hackbydoing Academy — the game that teaches real cybersecurity, attack and defense, on simulated networks. Play free at hackbydoing.com · Print this page (Ctrl/Cmd+P) for a clean paper copy.