pwn3d.es

suBruteforce · attack vs defence lab (su)

su, PAM and the lockout that stops it.

Simulate su attempts against a fictitious local account and see what it leaves in the journal and how pam_faillock or a second factor stop the attack.

← Back to the sheet

◎ SIMULATION · fictitious server and attacker, no network

Server defences
Target account password
Attacker (simulated) · 203.0.113.66 → lab-srv
Configure the defences and run the simulation.
Server · journalctl -t su
attempts0
failures0

Detection in the log

journalctl -t su -g 'authentication failure' --no-pager | wc -l

What the blue team would see grouping failures by source:

No failures logged yet.