INCIDENT RESPONSE LABS
What is Incident Response?
INCIDENT RESPONSE LABS

What is Incident Response?
Incident Response is a structured approach organizations use to detect, analyze, and respond to cybersecurity incidents and breaches. It includes steps to:
- Preparation
- Identification
- Containment
- Eradication
- Lessons Learned
Benefits of Incident Response:
- Minimizes Damage: A well-executed incident response plan can significantly reduce the impact of a security breach, limiting downtime, data loss, and financial losses.
- Reduces Recovery Time: Having a clear plan and established procedures helps organizations recover from incidents more quickly.
- Enhances Security Posture: Learning from incidents and continuously improving the incident response plan can help organizations strengthen their overall security posture.
- Protects Reputation: Effective incident response can minimize reputational damage associated with security breache
How SOC Analysts Respond to Incidents:
- Monitor logs and alerts (via SIEM)
- Investigate suspicious behavior
- Contain and isolate infected systems
- Coordinate with other teams
- Document and report the incident
Lab Task: Windows Server RDP Brute Force Attack
🧰Lab Setup and Requirements
🖥️Machines Required:
Windows Server 2019 or 2022
- RDP enabled
- Event Viewer access
- One local user account with known username
Kali Linux VM
- Hydra pre-installed
- Connected to same LAN or Virtual Network
📶Network:
- Ensure both machines are on the same network
- Verify RDP (TCP/3389) is open on Windows Server
To verify if RDP (Remote Desktop Protocol) is open on a Windows Server, follow these steps:
Method 1: Check Windows Firewall
- Open Windows Firewall with Advanced Security.
- Click on “Inbound Rules” in the left pane.
- Look for a rule named “Remote Desktop (TCP on port 3389)” or similar.
- If the rule exists and is enabled, RDP is allowed.
Method 2: Check Port 3389
- Open Command Prompt as administrator.
- Run the command: netstat -an | findstr 3389
- If you see “LISTENING” next to TCP 0.0.0.0:3389, RDP is open.
Method 3: Try Connecting via RDP
- Open Remote Desktop Connection (mstsc.exe).
- Enter the server’s IP address or hostname.
- If you can connect, RDP is open.
If RDP is not open, you can enable it by:
- Allowing the Remote Desktop (TCP on port 3389) rule in Windows Firewall.
- Enabling Remote Desktop in System Properties (System > Remote Settings).
⚙️Preparation Steps
On Windows Server:
- Enable RDP:
System Properties → Remote → Enable Remote Desktop - Allow RDP in Firewall:
Windows Defender Firewall → Advanced Settings → Inbound Rules → Remote Desktop (TCP-In) → Enable - Create Test User;
net user attackerlab Password123 /add - Open Event Viewer: Windows Logs → Security Filter for Event ID 4625 (Failed Logon)
🎯Simulate the Attack
- On Kali Linux: Install Hydra (if not installed):
sudo apt update && sudo apt install hydra
Prepare Wordlist: Use the existing list or create a custom one, e.g.: /usr/share/wordlists/rockyou.txt 2. Run this command on Kali Linux:
hydra -t 4 -V -f -l attackerlab -P /usr/share/wordlists/rockyou.txt rdp://<Windows_Server_IP>
Replace <Windows_Server_IP> with actual IP of Windows Server
👁️Visualize the Alert in Event Viewer
- On Windows Server: Open
Event Viewer → Windows Logs → Security - Look for Event ID 4625 with:
Logon Type: 10 (RemoteInteractive / RDP)
Failure Reason: “Unknown user name or bad password”
Caller IP Address: IP of Kali machine
🚨Incident Response Steps
- Identify Repeated Failed Logons:
- Spot Event ID 4625 from same IP
- Correlate IP Address:
- Confirm repeated failures from attacker’s IP
- Lock the User Account (Optional):
net user attackerlab /active:no
- Block Attacker IP:
New-NetFirewallRule -DisplayName "Block Attacker" -Direction Inbound -RemoteAddress <Kali_IP> -Action Block
- Collect Evidence:
- Export relevant Event Logs
- Report Incident:
- Create a brief report with findings and actions taken
메타데이터
- post_id
- 6d71db57692a
- slug
- incident-response-labs-6d71db57692a
- url
- https://medium.com/@Rehamim/incident-response-labs-6d71db57692a
- canonical_url
- https://medium.com/@Rehamim/incident-response-labs-6d71db57692a
- author_url
- https://medium.com/@Rehamim
- status
- ok
- fetched_at
- 2026-06-15 20:49:13