Practical Lab – Web Security Lab Track: Beginner to Master Level
Level 1: Beginner – Web Security Foundations Tools:
- DVWA
- Kali Linux
- Browser DevTools
- Local Apache + MySQL
Labs:
- Set up DVWA on Kali Linux using Apache2
- Explore the DVWA interface and change security levels
- Test Reflected XSS on DVWA
- Input Validation vs Output Encoding
- HTML/JS Injection Demo
- Use View Page Source & Inspect Element
- Test Login Bypass with SQLi: admin’ —
- HTTP Request/Response Basics with curl
Outcome: Learners understand web app structure, basic attacks, and browser behavior.
__________
Level 2: Intermediate – Exploitation & Mitigation Tools:
- OWASP Juice Shop
- Burp Suite Community Edition
- OWASP ZAP
Labs:
- Install OWASP Juice Shop
- Use Burp Suite to intercept and modify requests
- Persistent XSS Attack Demo
- Command Injection on DVWA
- CSRF Attack Simulation (Juice Shop)
- Insecure IDOR (Access other user data)
- Broken Access Control (Change roles via hidden fields)
- Security Headers Testing with SecurityHeaders.com
- Practice with ZAP Spider and Active Scan
Outcome: Learners can simulate real attacks and understand their root causes and impact.
__________
Level 3: Advanced – API & Modern Web Threats Tools:
- Postman
- JWT.io
- Mock APIs or custom REST API server
- OWASP API Top 10
Labs:
- JWT Tampering via Decoding and Editing
- API Enumeration & Broken Object Level Auth
- Mass Assignment via API Payloads
- Rate Limiting Bypass Demo
- API Key Exposure via headers & logs
- Cross-Origin Resource Sharing (CORS) Exploitation
- Using OWASP ZAP to test APIs
- Command injection via hidden API routes
Outcome: Learners can identify and exploit weaknesses in modern RESTful APIs using professional tools.
__________
Level 4: Expert – Real-World Simulations & Defense Tools:
- SIEM (e.g., Wazuh or Splunk)
- ModSecurity or nginx WAF
- Security Header implementation
- Custom vulnerable app or CTF-style scenarios
Labs:
- Configure WAF with ModSecurity and test blocking XSS/SQLi 2. Implement CSP and X-Frame-Options, then test bypasses
- Simulate JWT Session Hijacking and Defend
- CSRF token implementation and validation
- Analyze Logs & Audit Trails using Wazuh
- Deface + Detect + Recover Lab (Blue Team practice)
- Privilege Escalation and Defense in Web Apps
- Create Custom Security Policies using Helmet (Node.js)
Outcome: Learners simulate real-world threats, configure mitigations, and build secure-by-design apps.
