Azure Network Security Workshop Labs Now Available on GitHub

Listen to this Post

Featured Image
We are thrilled to announce that the Azure Network Security Workshop Labs are now available in the GitHub repository. This project is designed to accelerate learning and provide hands-on experience with Azure DDoS Protection, Azure Firewall, and Azure WAF. Whether you’re a beginner or an expert, these labs offer practical, scenario-based guidance to explore key features and deployment strategies.

These labs are ideal for:

  • Self-paced learning
  • Team enablement
  • Workshops

New scenarios will be added as Azure Network Security evolves, so stay tuned for updates!

You Should Know:

1. Setting Up Azure DDoS Protection

To enable Azure DDoS Protection Standard, use the following Azure CLI commands:

az network ddos-protection create \
--resource-group MyResourceGroup \
--name MyDdosProtectionPlan

Then associate it with a virtual network:

az network vnet update \
--resource-group MyResourceGroup \
--name MyVnet \
--ddos-protection true \
--ddos-protection-plan MyDdosProtectionPlan

2. Configuring Azure Firewall

Deploy Azure Firewall using PowerShell:

New-AzFirewall -Name "MyAzureFirewall" -ResourceGroupName "MyResourceGroup" -Location "EastUS" -VirtualNetworkName "MyVnet" -PublicIpName "MyFirewallPublicIP"

Add a network rule:

$rule = New-AzFirewallNetworkRule -Name "AllowHTTPS" -Protocol "TCP" -SourceAddress "" -DestinationAddress "" -DestinationPort "443"
$ruleCollection = New-AzFirewallNetworkRuleCollection -Name "MyRuleCollection" -Priority 100 -ActionType "Allow" -Rule $rule
$azfw = Get-AzFirewall -Name "MyAzureFirewall" -ResourceGroupName "MyResourceGroup"
$azfw.NetworkRuleCollections = $ruleCollection
Set-AzFirewall -AzureFirewall $azfw

3. Implementing Azure Web Application Firewall (WAF)

Create a WAF policy:

az network application-gateway waf-policy create \
--name MyWAFPolicy \
--resource-group MyResourceGroup \
--type OWASP \
--version 3.0

Apply it to an Application Gateway:

az network application-gateway update \
--name MyAppGateway \
--resource-group MyResourceGroup \
--set "firewallPolicy.id=/subscriptions/{sub-id}/resourceGroups/MyResourceGroup/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/MyWAFPolicy"

4. Monitoring & Logging

Enable NSG Flow Logs for traffic analysis:

az network watcher flow-log create \
--resource-group MyResourceGroup \
--nsg MyNSG \
--enabled true \
--storage-account MyStorageAccount \
--location eastus \
--format JSON

What Undercode Say:

Azure’s network security tools provide robust protection against evolving threats. By mastering DDoS Protection, Firewall, and WAF, you can secure cloud workloads effectively.

Additional Linux & Windows Commands for Security:

  • Linux Traffic Monitoring:
    sudo tcpdump -i eth0 -w capture.pcap 
    
  • Windows Firewall Rule:
    New-NetFirewallRule -DisplayName "BlockRDP" -Direction Inbound -Protocol TCP -LocalPort 3389 -Action Block 
    
  • Azure CLI for Logs:
    az monitor activity-log list --resource-group MyResourceGroup --output table 
    

Expected Output:

A fully secured Azure environment with DDoS mitigation, firewall rules, and WAF policies in place.

Prediction:

As cloud adoption grows, automated security policies and AI-driven threat detection will become standard in Azure Network Security. Stay ahead by mastering these tools now.

IT/Security Reporter URL:

Reported By: Activity 7336830078913253376 – Hackers Feeds
Extra Hub: Undercode MoN
Basic Verification: Pass ✅

Join Our Cyber World:

💬 Whatsapp | 💬 Telegram