Defaults#
This document provides an overview of the default policy supplied with the project, including URL categories and App-ID subcategories and their associated actions in the firewall policy.
Warning
You must review all these defaults and modify them to meet your specific requirements.
Security Policy Sections#
PRE#
The top part of the firewall security policy (that corresponds to the PRE section of the target Panorama device group)
is generated based on the static rules defined in the subfolders of the ngfw/policies/security/PRE folder.
Each subfolder represents a logical section of the policy. Each section is characterized by the following distinctive attributes:
Purpose (indicated by the Group Tag assigned to all rules in the section)
Rule defaults
The policy rules in each section are defined in the corresponding rules.py file. It starts with defining default values
for all rule attributes. These defaults are followed by the actual rules that effectively describe the deviation from
the section defaults.
There are 7 sections in the PRE section of the default policy:
DNS Security - Rules that secure DNS name resolution traffic by enforcing the use of approved DNS servers, blocking DNS over HTTPS (DoH) and DNS over TLS (DoT) to prevent DNS tunneling, and ensuring proper DNS security controls are in place.
Infrastructure essentials - Rules that secure the minimal traffic required for proper functioning of firewalls and network infrastructure. This includes time synchronization services, certificate revocation checks (OCSP), endpoint detection and response (EDR) software, operating system connectivity checks, firewall helper applications, network troubleshooting tools, and communication between Palo Alto firewalls and cloud services.
Break-glass - Emergency bypass rules designed to temporarily circumvent security controls during critical situations. These rules use External Dynamic Lists (EDL) to provide source IP-based, destination IP-based, and URL-based bypasses that can be activated only in exceptional circumstances when immediate access is required.
Incident response - Rules designed for security operations teams to respond to active threats and security incidents. This section includes blocking rules for known malicious source and destination IPs, URL-based blocking for malicious websites, and automatic isolation of compromised hosts based on command and control (C&C) traffic detection using Dynamic Address Groups (DAG).
Block lists - Baseline security blocking rules that use threat intelligence feeds to deny connections to and from known malicious entities. This includes blocking traffic to/from Palo Alto Networks threat feeds (bulletproof hosting, high-risk IPs, known malicious IPs, and Tor exit nodes) as well as geo-location based blocking for sanctioned countries and regions.
Infrastructure applications - Rules that allow access to core organizational infrastructure applications necessary for basic business operations. This includes IT service desk systems (ServiceNow), controlled download of restricted file types from approved websites, endpoint software updates, and endpoint management platforms for Windows (Microsoft Intune) and macOS (Jamf).
Business applications - Rules that govern access to business-specific applications and services used by authenticated users. This includes organization-specific trusted web applications, legacy custom applications, pre-approved business tools, comprehensive GitHub access (including AI features and Git operations), Microsoft 365 suite access with various security categories, and content delivery network services.
POST#
The bottom part of the firewall security policy (that corresponds to the POST section of the target Panorama device group) is dynamically generated based on the business requirements specified in the following two files:
requirements/categories_app.csvrequirements/categories_url.csv
The following two diagrams visualize the relationship between App-ID or URL categories, their associated User-IDs, approvers, and assigned actions in the firewall policy:
Open in new windowOpen in new windowNaming Conventions#
This section describes the naming conventions used for all objects referenced by the security or decryption policy:
Object Type |
Prefix |
Example |
|---|---|---|
Address (network) |
|
|
Address (host) |
|
|
Address (FQDN) |
|
|
Address group |
|
|
Dynamic address group |
|
|
Service object |
|
|
Application group |
|
|
Custom application |
|
|
External dynamic list |
|
|
Custom URL category (list) |
|
|
Custom URL category (match) |
|
|
Security profile group |
|
|
Antivirus profile |
|
|
Anti-spyware profile |
|
|
Vulnerability profile |
|
|
File blocking profile |
|
|
URL filtering profile |
|
|
WildFire profile |
|
|
Data filtering profile |
|
|
Decryption profile |
|
|
Log forwarding profile |
|
|
User group |
|
|