The TryHackMe WAF:Introduction Room explains the basics of what a Web Application Firewall is and what it does and how they are different from regular firewalls. The room is available at: https://tryhackme.com/room/wafintroduction
1.1 Which flag can attackers misuse to bypass a stateless firewall?
Answer: ACK
1.2 What type of firewall tracks active connections?
Answer: Stateful
2.1 Which layer does a WAF primarily inspect?
Answer: Layer 7
2.2 What do you call mitigating vulnerabilities without source code changes?
Answer: Virtual patching
2.3 What HTTP status code do you get if you attempt an SQLi against http://10.80.157.102?
Answer: 403 Forbidden

3.1 Which detection method uses known attack patterns?
Answer: Signature-Based
3.2 What kind of attacks can behavioural detection catch that signature-based cannot?
Answer: Zero-day
4.1 Which library does OWASP CRS use to detect SQLi?
Answer: libinjection
4.2 What transformation handles double URL encoding?
Answer: urlDecodeUni
4.3 What score is increased when a critical rule triggers?
Answer: Anomaly Score
4.4 Log in to the dashboard at http://10.80.157.102:7000. Under Attack Control, click Critical Attack, locate the attack that triggered rule 932160 at 2025-11-12 15:38:00. What is the URI that triggered this rule? You need to click View to see the request details.
Answer: /?parameter=../../../etc/passwd

5.1 What prevents WAFs from inspecting traffic if not terminated at the WAF?
Answer: Encryption
6.1 What principle should guide WAF use in a defence strategy?
Answer: Defence in depth