0:00–0:30
fail2ban
0:30–1:00
Written
1:00–1:45
Practical
1:45–2:00
Review + Preview
Before 0:00 Instructor setup

Classroom setup before students arrive

0:00 – 0:30 fail2ban lab · 30 min · open book

Install fail2ban, configure an SSH jail, trigger and verify a ban

What fail2ban does

Step 1 — Install and verify (5 min)

Step 2 — Create jail.local (10 min)

Step 3 — Trigger and verify a ban (15 min)

Instructor note: The fail2ban lab is brief by design — it leads directly into the assessment. Students who finish the ban/unban cycle early can experiment with different bantime values (e.g., 60 seconds for faster testing). Have them check iptables -L -n during an active ban to see the DROP rule fail2ban creates.
0:30 – 1:00 Written assessment · 30 min · 30% of Mini-Assessment 1

Written portion — SSH theory, sshd_config directives, fail2ban concepts

Pen and paper. No computer, no phone, no notes. 30 minutes. Distribute sheets face-up when instructed.

Section A — Short answer (15 marks)

Section B — Scenario (10 marks)

1:00 – 1:45 Practical assessment · 45 min · 70% of Mini-Assessment 1

Practical — diagnose and repair a broken SSH configuration

Students receive access to S1 via the Hyper-V console (no SSH — that's part of what's broken). They must diagnose and repair the SSH configuration so that key-based authentication works, then demonstrate each hardening setting is in place. No notes, no internet. Man pages (man sshd_config, man fail2ban) are allowed.

Practical scenario — instructor setup

Practical tasks (students are graded on these)

1:45 – 2:00 Review + Week 2 Preview · 15 min

Mini-Assessment 1 — marking summary

ComponentFormatWeightKey topics
Written — Section AShort answer15 marks (30%)Key cryptography, sshd_config directives, fail2ban mechanism, banners
Written — Section BScenario analysis10 marks (30%)Config vulnerability identification, fail2ban logic, NAT routing requirements
Practical — Task 1Live demonstration15 marks (70%)Restore key-based SSH access on correct port
Practical — Task 2Live demonstration10 marks (70%)Verify password auth disabled
Practical — Task 3Config review10 marks (70%)All hardening directives correctly set
Practical — Task 4Live demonstration15 marks (70%)fail2ban operational, ban triggered and cleared
← Day 4 Week 1 Overview Week 2 →