Module lessons (4/4)
Live Server Lockdown Drill
Run a complete post-breach server remediation: archive incident alerts, lock .env permissions, and purge uploaded backdoors.
What you'll learn in this lesson
- Run a full multi-step Linux host containment runbook across logs, secret file permissions, and uploaded backdoors.
- Preserve attacker attribution (
203.0.113.42+/var/www/app/backdoor.sh) before erasing malicious artifacts. - Automate secure post-breach credential rotation for any
.envsecret exposed (0777) prior to lockdown.
Overview
In real incident response, logs, exposed .env files, and webshells fail together. On this host snapshot (sec-hardening), alerting flagged an unauthorized upload (203.0.113.42), an active 755 script sits at /var/www/app/backdoor.sh, and /var/www/app/.env containing SESSION_SECRET is configured 777!
Follow the immutable order of operations during a live server drill:
Sections covered in this lesson
- 11. End-to-End Post-Breach Server Containment Runbook
- 22. Interactive Explorer:
.envSecret Lockdown - 33. Progressive Labs: Warm-Up → Attack → Defend → Harden
- 44. Checkpoints & Code Review
Unlock "Live Server Lockdown Drill" and the full Application & Web Security curriculum
Run a complete post-breach server remediation: archive incident alerts, lock .env permissions, and purge uploaded backdoors.
Unlock all 6 hands-on exercises in this lesson plus every advanced WebAssembly module with automated checks.
- Instant access to all advanced modules in Application & Web Security plus 17 more courses
- Hands-on browser exercises with automated test suites and solutions
- 14-day money-back guarantee processed via Paddle.com
14-day guarantee · Cancel anytimeModule 1, all 18 interactive games, and cheatsheets are always free.