Palo Alto NGFW lab 30 of 30
Custom App-ID and threat signatures: write them, tune them, prove them
Name traffic the firewall doesn't know and stop what no signature covers yet. Write a custom application for a home-grown protocol and another on top of web-browsing, score your patterns, then write custom vulnerability and spyware signatures. Tune them with severity actions, a threshold signature for brute force and an exception for a scanner, proving each result in the logs.
Run this lab
It needs Lite: its 4 nodes are set to 5 vCPU and 7,680 MB in total. That fits the free demo too.
In your workspace: Shared, then Palo Alto NGFW PAN-OS 11 guided labs, then 30 - Custom App-ID and threat signatures - write them tune them prove them
- Level
- Advanced
- Time
- About 80 minutes
- Nodes need
- 5 vCPU, 7,680 MB
- Smallest plan
- Lite
The scenario
Calder's security team has three worries, and none of them is covered by anything the firewall ships with:
- Calder Track 2, the new parcel service on web01 (TCP 7778), is allowed by a port rule. Anything can use that port.
- The finance pages at
/finance/are ordinary web traffic to the firewall, so every user who can reach the intranet can reach them. - The old portal at
/portal/has a path-traversal flaw and no patch is coming, and someone has been guessing logins. A piece of malware has also been seen sending the user agentCalderBeacon/1.0.
You'll teach the firewall all of this yourself, with custom applications and custom threat signatures, and then tune them so they stop what they should and nothing else.
Client-PC has two addresses: 10.1.1.10 is an ordinary user, and 10.1.1.20 is both the finance PC and the security team's scanner. curl --interface 10.1.1.20 ... sends from the second one. track-client is a small program written for this lab that holds a conversation with Calder Track 2.
Limits of this lab. This firewall has no Threat Prevention licence and no threat content, so every commit from Task 4 on warns
No Valid Threat License, and no built-in threats are detected. In our tests on this image, custom signatures still matched, blocked and logged. Treat that as what this lab firewall does, not as a licensing rule: a production firewall should have the licence.
Before you start. Start all the nodes. The firewall takes 6-8 minutes to boot and comes up with this lab's starting configuration already loaded. Wait until the FW1 console shows
FW1 login:, then log in asadmin/Lab-Access-1. Until the management plane is ready it answers Login incorrect, even with the right password. The Linux hosts are ready within seconds.
What you’ll practise
- Write a custom application on a TCP protocol, and replace a port rule with it
- Write a custom application with web-browsing as its parent, and control it separately
- Score signature patterns with the test commands and improve a weak one
- Write custom vulnerability and spyware signatures, and apply them through profiles
- Build a threshold signature from a child signature
- Tune with severity-based actions and an exception for one address, and prove it in the threat log
The tasks
- What the firewall sees today
- A custom application for Calder Track
- Replace the port rule, and control the finance pages
- A virtual patch for the portal
- A spyware signature
- Catch the login guessing
- A false positive
The Lab Tasks pane has the scenario, these tasks, the checks to run, hints and the full solution.
Topology and devices
The network as it opens in EVE-NG, drawn from the lab’s own canvas, and the image each node runs.
Every link, as text
- FW1
mgmtto Inside (network) - FW1
ethernet1/1to Outside (network) - FW1
ethernet1/2to Inside (network) - FW1
ethernet1/3to DMZ (network) - Client-PC
eth0to Inside (network) - web01
eth0to DMZ (network) - Internet
eth0to Outside (network)
| Node | Device | Image in Add Node | Set to |
|---|---|---|---|
| FW1 | Palo Alto Networks VM-Series (PAN-OS) | paloalto-11.2.5 | 2 vCPU, 5,632 MB |
| Client-PC | EVE-NG GUI server (Docker) | eve-gui-server:latest | 1 vCPU, 1,024 MB |
| web01 | EVE-NG GUI server (Docker) | eve-gui-server:latest | 1 vCPU, 512 MB |
| Internet | EVE-NG GUI server (Docker) | eve-gui-server:latest | 1 vCPU, 512 MB |
How to open this lab
Sign in to your workspace at
lab.cloudlabbox.com.In File Manager, open Shared, then the folder
Palo Alto NGFW PAN-OS 11 guided labs.Open
30 - Custom App-ID and threat signatures - write them tune them prove themand start its nodes, then open Lab Tasks for the scenario and the steps.
The lab is read-only. You can start the nodes and configure the devices, but changes to the topology can’t be saved. To change it, rebuild it in your own folder.
More Palo Alto NGFW labs
Related labs in other courses
CloudLabBox is independent of Palo Alto Networks and Cisco. The lab follows exam topics and isn’t vendor training material; vendor names identify the exams and the images in the workspace.