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.
◎ SIMULATION · fictitious server and attacker, no network
Server defences
Target account password
Configure the defences and run the simulation.attempts0
failures0
Detection in the log
journalctl -t su -g 'authentication failure' --no-pager | wc -lWhat the blue team would see grouping failures by source:
No failures logged yet.