Welcome to the first installment of our four-part Azure Web Application Firewall (WAF) Security Lab series. In this tutorial, we’ll walk you through creating a comprehensive lab environment for testing Azure WAF’s protection capabilities against real-world web application attacks.
Before deploying Azure WAF in production environments, it’s crucial to understand its effectiveness in identifying, detecting, and protecting against potential threats. This lab provides a controlled setting to explore Azure WAF’s OWASP protection ruleset and logging capabilities.
By the end of this tutorial, you will have:
Before we begin, ensure you have:
NOTE: Admin User: svradmin Admin Password: H@ppytimes123! (strongly recommend to change the default lab password after deployment)
Our lab setup includes:
Here’s a visual representation of our lab environment:
Key components include:
Connect to the Kali VM via SSH:
ssh svradmin@<Public IP Address of Azure Firewall>
Update the Kali Linux distribution:
sudo apt-get update
Install and configure the remote desktop server:
sudo apt-get install -y kali-desktop-xfce xorg xrdp
sudo systemctl enable xrdp
echo xfce4-session >~/.xsession
sudo service xrdp restart
Add an entry to map the OWASP Juice Shop site to the Application Gateway’s public IP:
sudo nano /etc/hosts
Add the following entry:
127.0.1.1 localhost
127.0.1.1 kali
<Public IP Address of the Application Gateway> juiceshopthruazwaf.com
Save the hosts file and exit
Use your RDP client to connect to:
<Public IP Address of Azure Firewall>:33892
Before moving on to the next tutorial:
Tip: Find the public URL of the Juice Shop app in the Azure Portal under Resource Group > owaspdirect- > URL
Congratulations! You’ve now set up a comprehensive Azure WAF testing environment. This lab will serve as the foundation for our upcoming tutorials, where we’ll explore reconnaissance techniques, vulnerability exploitation, and data exfiltration scenarios.
Part 2: Reconnaissance Playbook and start putting your new lab environment to the test!
Credits
In this session, we will explore the architecture and best practices for building secure and…
Introduction Welcome to our comprehensive series on Azure Web Application Firewall (WAF) security! In this…
Introduction Welcome to the third installment of our Azure Web Application Firewall (WAF) Security Lab…
Introduction Welcome to the second installment of our Azure Web Application Firewall (WAF) Security Lab…
Introduction In today's digital landscape, protecting web applications from sophisticated attacks is crucial. Azure Web…
Description: Join us for an insightful session on securing your web applications with Azure Web…