tmpfs.tech · all tracks · Defense & IR

Write a Brute-Force Detector

Defense & IR · pro · solved in-browser (no VM needed) · 3 tiered hints

Write a bash script /home/player/detect.sh that reports the IPs hammering SSH. It must start with a bash shebang, use awk to scan /var/log/secure for 'Failed password' lines, and pipe the extracted source IPs through sort, uniq -c and sort -rn so the busiest attacker appears first. (Authored config, graded structurally — the engine isn't run here.)

▶ Start this challenge

Nobody has solved this one yet — be the first clear on the leaderboard.

How it works

Open the challenge and an in-page editor appears — write your answer and tmpfs.tech grades it server-side against the same checks a real box would run. No VM, no install, no signup needed to try.

More Defense & IR challenges

Incident response: evict rogue accounts, eradicate persistence, attribute a breach.

See all Defense & IR challenges →

FAQ

Is it free? Yes — play as a guest, no signup required to start.

Do I need to install anything? No. Everything runs in your browser.

How is it graded? Automatically and deterministically — your work is checked against the exact rules the live box would apply.