You are the Lead Security Administrator for a fast-growing international training academy. The academy has just launched its new online student portal hosted on an Ubuntu Server running a Dockerized environment.
Over the last 48 hours, network traffic logs show a massive spike in malicious activity. A rogue actor is attempting to execute a Brute-Force Attack on the portal's login page and scan the underlying server for open ports. If they succeed, student records and academy data will be compromised.
Your mission is to deploy a multi-layered network defense strategy to neutralize the threat and secure the infrastructure.
Demonstrate how to lock down the server's ports to ensure only authorized traffic can access the system resources.
The Action: Using the Ubuntu CLI or a visual interface like Cockpit, configure the UFW (Uncomplicated Firewall) to implement the following rules:
Student Deliverable: Submit a screenshot of the active firewall rules using the command sudo ufw status verbose along with a brief explanation of why keeping unused ports closed is vital.
Firewalls block unauthorized ports, but active defenses are required to protect open web ports from application-layer abuse.
The Action: Configure Fail2Ban (or an equivalent containerized engine like CrowdSec) on your network stack.
Student Deliverable: Submit the configuration file snippet displaying your defined maxretry and bantime parameters, alongside a log capture demonstrating a successfully banned attack IP.
An unencrypted HTTP web application passes data in plain text, rendering user credentials vulnerable to local credential sniffing attacks.
The Action: Configure a modern Reverse Proxy (such as Nginx Proxy Manager or Caddy via Docker) to manage traffic routing.
Student Deliverable: A high-resolution screenshot showing the secure "padlock" verification icon visible within the web browser address bar when successfully loading your deployed portal application.
Answer the following high-level analytical questions to demonstrate your underlying theoretical understanding of the lab:
| Assessment Area | Weight | Requirement Criteria |
|---|---|---|
| Technical Execution | 40% | Successful activation of UFW firewall rules, working Fail2Ban configuration, and live SSL proxy rendering. (Verified by clean screenshots). |
| Logic & Rule Design | 30% | Security rules are tightly scoped according to the specification requirements without leaving unnecessary exposure gaps. |
| Critical Analysis | 30% | The executive summary clearly evaluates defense-in-depth methodologies and limitations regarding non-technical attack vectors. |