Study guide

6.1 Antivirus, Anti-Spyware, and DNS Security Profiles

Palo Alto Networks Certified Next-Generation Firewall Engineer Exam

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: Device Deployment & Architecture

1.1 Platform Selection & Sizing: Hardware, VM-Series, and Cloud NGFW Form Factors 1.2 Base PAN-OS 11.x System Settings, Management Interfaces, and Service Routes 1.3 Interface Types, Zone Topologies, and Virtual Wire Configurations 1.4 Site-to-Site VPN Tunnels: IPSec, GRE, and Quantum-Resistant Cryptography

2 Chapter 2: Routing, VRFs, and Virtual Routers

2.1 Virtual Routers and VRF Architecture in PAN-OS 11.x 2.2 Static Routing, BGP, and OSPF Configuration & Failover 2.3 Policy-Based Forwarding (PBF) and Path Monitoring

3 Chapter 3: NAT and High Availability Designs

3.1 Source, Destination, and Twice-NAT Policy Configurations 3.2 High Availability Active/Passive Architecture and State Synchronization 3.3 High Availability Active/Active Architecture and HA Clustering

4 Chapter 4: Panorama Management & Policy Hierarchy

4.1 Panorama Architecture: Collector Groups, Log Collectors, and Device Registration 4.2 Templates and Template Stacks Configuration 4.3 Device Groups, Shared Rulestacks, and Policy Hierarchy

5 Chapter 5: Strata Cloud Manager and AIOps

5.1 Strata Cloud Manager (SCM) Architecture and Cloud-Delivered Management 5.2 SCM Rulestacks, Folder Hierarchies, and Unified Policy Management 5.3 AIOps for NGFW: Telemetry, Proactive Best-Practice Audits, and Operational Insights

6 Chapter 6: Security Profiles and Content Inspection

6.1 Antivirus, Anti-Spyware, and DNS Security Profiles 6.2 Vulnerability Protection, Custom Signatures, and Threat Exceptions 6.3 URL Filtering, Advanced WildFire Analysis, and Inline Deep Learning

7 Chapter 7: Decryption Inspection & Policy

7.1 SSL Forward Proxy Architecture and Internal Certificate Authority Trust 7.2 SSL Inbound Inspection for Internal Web Servers 7.3 Decryption Exclusions, HSM Integration, and Troubleshooting Decryption Failures

8 Chapter 8: User Identity and GlobalProtect Remote Access

8.1 User-ID Architecture, Agentless/Agent Deployment, and Cloud Identity Engine (CIE) 8.2 GlobalProtect Portals, Gateways, and Authentication Methods (SAML, MFA) 8.3 Host Information Profile (HIP) Checks and Endpoint Security Enforcement

9 Chapter 9: Cloud NGFW, Automation, and API Integration

9.1 Cloud NGFW for AWS and Azure Architectures (GWLB and VWAN) 9.2 XML and REST API Automation with Palo Alto Networks Firewalls 9.3 Infrastructure as Code: Terraform and Ansible Automation for PAN-OS 9.4 CN-Series, AI Runtime Security, and Edge Deployment Options

10 Chapter 10: Virtual Systems, Logging, and Operational Monitoring

10.1 Virtual Systems (VSYS), Logical Routers, and Inter-VSYS Routing 10.2 Logging Architecture: Strata Logging Service, Log Forwarding, and Collectors 10.3 Application Command Center (ACC), Dashboards, and Custom Reporting 10.4 Explicit and Transparent Web Proxy on PAN-OS

6.1 Antivirus, Anti-Spyware, and DNS Security Profiles

Key Takeaways Explain This Topic AI

Palo Alto Networks NGFWs leverage hardware-accelerated stream-based scanning to perform real-time content inspection without proxy latency or file size limits during inline payload analysis.

Anti-Spyware profiles protect against command-and-control (C2) traffic by executing DNS sinkholing, which redirects malicious domain queries to a controlled internal or loopback IP address for immediate compromised host identification.

Palo Alto Networks DNS Security integrates real-time cloud analysis with inline PAN-OS engines to instantly detect domain generation algorithms (DGAs), DNS tunneling, and ultra-new malicious domains.

Antivirus profiles support wildcard patterns and custom virus signatures to block emerging malware variants across HTTP, SMTP, IMAP, POP3, FTP, and SMB protocols.

Security Profile actions include default, allow, alert, drop, reset-client, reset-server, and reset-both, enabling granular enforcement across distinct application decoders.

Last updated: July 2026

6.1 Antivirus, Anti-Spyware, and DNS Security Profiles

Palo Alto Networks Next-Generation Firewalls (NGFWs) deliver comprehensive threat prevention through Content-ID , an integrated security processing engine designed to inspect all traffic across all ports and protocols. Unlike legacy stateful firewalls that rely strictly on port-based rules or traditional proxy-based security gateways that buffer entire files before analysis, PAN-OS utilizes a hardware-accelerated Single-Pass Architecture (SPA) . This architectural model decoupling hardware processing allows packet payloads to be scanned simultaneously for viruses, spyware, vulnerabilities, and malicious domains without degrading throughput or adding processing latency.

At the core of content inspection are Security Profiles , which define the specific threat scanning rules, decoders, and enforcement actions applied to allowed network sessions. Security Profiles are attached to Security Policy rules that have an allow action, ensuring that permitted traffic is thoroughly sanitized before reaching internal hosts or traversing trust boundaries.

Stream-Based Scanning vs. File-Based Proxy Scanning

Traditional network security appliances rely on file-based proxy scanning , which requires the firewall to buffer complete files in memory before handing them off to an antivirus engine. This approach creates severe performance bottlenecks, introduces noticeable latency for users downloading large files, and exposes the firewall to buffer exhaustion attacks.

In contrast, Palo Alto Networks implements stream-based scanning , inspecting packets in real-time as they stream through the data plane:

Uniform Signature Matching : The Content-ID engine scans incoming packet streams against a unified signature database in a single processing pass, eliminating redundant memory lookups.

Zero Latency Overhead : File content is evaluated continuously on a byte-by-byte basis. The firewall does not buffer entire files in RAM, enabling unconstrained file size scanning across high-throughput links.

Protocol Decoders : Dedicated protocol decoders normalize traffic for protocols including HTTP , HTTPS (when SSL Decryption is enabled), SMTP , IMAP , POP3 , FTP , and SMB , ensuring signatures are evaluated within the correct application context.

Antivirus Profiles

Antivirus Profiles shield internal networks from viruses, worms, Trojans, and weaponized file attachments. The profile applies virus signatures generated by Palo Alto Networks Threat Intelligence and WildFire analysis engines.

Decoder Configuration and Actions

Within an Antivirus Profile, security engineers configure enforcement actions independently for each protocol decoder. PAN-OS supports the following actions:

default : Enforces the default action defined within the Palo Alto Networks threat signature (typically drop or reset-both ).

allow : Permits the file transmission despite a signature match (used primarily for baseline testing).

alert : Generates a Threat Log entry while allowing the packet stream to proceed.

drop : Silently discards packets matching the virus signature.

reset-client : Drops the packet stream and sends a TCP RST packet to the client endpoint.

reset-server : Drops the packet stream and sends a TCP RST packet to the server host.

reset-both : Sends TCP RST packets to both client and server endpoints, instantly tearing down the TCP connection.

Wildcard and Custom Virus Signatures

While daily dynamic updates deliver thousands of verified virus signatures, organizations facing targeted threats or custom malware variants can define wildcard virus signatures and custom antivirus signatures . Custom signatures leverage pattern matching across specific header fields or file payloads, allowing security administrators to block proprietary threats prior to official vendor coverage.

Anti-Spyware Profiles and Command-and-Control (C2) Prevention

While Antivirus Profiles focus on payload delivery, Anti-Spyware Profiles block spyware, adware, keyloggers, and ongoing Command-and-Control (C2) communications initiated by already compromised internal endpoints.

C2 Domain Detection and Passive DNS

When malware infects a host, it attempts to phone home to external attacker infrastructure to receive commands, exfiltrate data, or download secondary payloads. Anti-Spyware Profiles analyze outbound traffic for known C2 patterns, suspicious HTTP headers, IRC botnet channels, and unauthorized protocol behavior. Additionally, PAN-OS collects passive DNS telemetry to identify anomalous domain resolutions occurring across the enterprise.

DNS Sinkholing Mechanics

One of the most powerful features of the Anti-Spyware Profile is DNS Sinkholing . When an infected host generates a DNS query requesting the IP address of a known malicious C2 domain, the firewall intercepts the DNS response and replaces the real malicious IP address with a designated Sinkhole IP (a controlled loopback or internal IP address). [ Compromised Host ] ---> DNS Query: bad-c2-domain.com ---> [ Palo Alto NGFW ]

  • |
  • Intercepts DNS & Checks C2 DB
  • |
  • [ Compromised Host ] <--- DNS Response: 192.0.2.242 <--------------+
  • |
  • Attempts Connection to 192.0.2.242 (Sinkhole IP)
  • |
  • [ Firewalled Gateway Logs Threat with Source Host IP! ]
  • Why Sinkholing is Essential for Incident Response

In environments where internal endpoints route DNS queries through an internal DNS server (such as an Active Directory Domain Controller), the firewall only sees the DNS server's IP address as the source of the query. Without sinkholing, identifying the actual infected endpoint requires parsing thousands of internal DNS logs.

With DNS Sinkholing enabled:

The firewall alters the DNS response returned to the internal DNS server, which passes it back to the client host.

The infected host attempts to establish an IP connection directly to the Sinkhole IP (e.g., 192.0.2.242 or 2001:db8::sinkhole ).

The host's connection attempt hits a Security Policy rule blocking or logging access to the Sinkhole IP.

The firewall instantly logs the true source IP address of the compromised host in the Traffic and Threat Logs, enabling immediate automated or manual containment.

Palo Alto Networks DNS Security Subscription

Modern attackers bypass static signature databases by employing Domain Generation Algorithms (DGAs) , fast-flux DNS infrastructure, and DNS Tunneling techniques to exfiltrate sensitive data over UDP port 53. To counter these advanced threats, the Palo Alto Networks DNS Security cloud service extends Anti-Spyware profiles with real-time machine learning.

Advanced DNS Protection Features

Real-Time Cloud Inspection : Evaluates unknown DNS queries in under 10 milliseconds by querying Palo Alto Networks threat intelligence cloud engines.

DGA Detection : Uses inline machine learning models to detect dynamically generated domain names (e.g., x7k9p2q1w.com ) created by malware families in real time.

DNS Tunneling Prevention : Analyzes query length, entropy, record types (TXT, NULL, CNAME), and request frequency to block covert data exfiltration channels abusing DNS protocols.

Ultra-New Domain (UND) Blocking : Classifies newly registered domains (NRDs) and newly observed domains, allowing administrators to automatically block access to domains registered within the past 32 minutes to 24 hours.

Profile Feature Comparison

The following table compares the scope, inspection mechanisms, and target vectors of Content-ID security profiles:

Security Profile Primary Focus Key Inspection Mechanism Key Action / Enforcement

Antivirus Known viruses, worms, Trojans, weaponized attachments Stream-based payload signature matching across decoders drop , reset-both , alert on infected file stream

Anti-Spyware Command-and-Control (C2), keyloggers, botnets Protocol anomaly detection, C2 signatures, passive DNS reset-both , DNS Sinkholing (redirecting C2 queries)

DNS Security DGA domains, DNS tunneling, zero-day malicious domains Cloud-delivered inline ML, entropy analysis, cloud DB Real-time domain block, sinkhole, inline tunneling drop

Loading diagram... Palo Alto Networks Content-ID Threat Inspection and DNS Sinkholing Pipeline