Skip to content
ImagineWorld

Next-Generation Firewall Auditing

node_idnode-book_it-audit-field-manual_chapter-04-next-generation-firewall-auditing
node_typechapter-node
schema_profileworld.chapter_node.v1
statusactive
entropyhigh
manifoldworld
domainimagineworld.net
authorityinforms
layercorpus
chapter_num4
chapter_titleNext-Generation Firewall Auditing
governed_byCORPUS
constitutional_citationCONSTITUTION
local graph

Chapter 4 — Next-Generation Firewall Auditing

Section titled “Chapter 4 — Next-Generation Firewall Auditing”

Any organization’s primary line of defense lies in its ability to intelligently filter, monitor, and manage network traffic. Next-generation firewalls (NGFWs) are sophisticated devices, incorporating advanced features that significantly outpace traditional packet filtering. This chapter explores the inner workings of NGFWs, focusing on their capabilities, security attributes, and the process of auditing them for optimal configuration and compliance with organizational security standards.

As an IT auditor, it’s essential to master the technical nuances of NGFWs to ensure that they adequately protect an organization’s critical assets. From dissecting their powerful features to scrutinizing their configuration in Palo Alto PAN-OS environments, this chapter is your guide for effective NGFW auditing.

Here’s what you’ll tackle in this chapter:

  • An introduction to NGFWs
  • Common firewall features and security assessment approaches
  • Palo Alto PAN-OS – its capabilities and auditing techniques
  • Best practices in NGFW configuration and management

Through actionable walk-throughs and real-world scenarios, you’ll develop the practical expertise needed to audit these critical security components. With the knowledge gained in this chapter, you’ll have the tools to support your organization’s defense against cybersecurity threats.

Traditional firewalls primarily monitor network traffic based on source and destination IP addresses, ports, and basic protocols (e.g., TCP and UDP). While effective in the past, traditional firewalls lack the sophistication to combat modern cyber threats, which often disguise themselves and utilize complex attack techniques. NGFWs have emerged as an advanced line of defense to meet this challenge, significantly expanding the depth and flexibility of network protection.

Let’s explore the core features that set NGFWs apart and give IT auditors the tools to conduct comprehensive assessments of their effectiveness:

  • Application awareness: NGFWs do a great job of identifying the specific applications traversing a network (e.g., Microsoft Teams, Zoom, and proprietary internal software). For IT auditors, this means the following:
    • Precise control: Policies can be created to allow, block, or control traffic based on the application, instead of just basic network information
      • Threat identification: Suspicious or unauthorized application activity can be flagged or prevented as part of an organization’s security posture
      • Resource optimization: Visibility into application usage offers insight into network bandwidth allocation and potential licensing/compliance issues
  • Intrusion Detection Systems and Intrusion Prevention Systems (IDS/IPS): NGFWs incorporate IDS/IPS technology, acting as both guardians and detectives:
    • Pattern recognition: They analyze network traffic for patterns known to be associated with malicious activity, such as malware delivery attempts or network scanning
      • Automated action (IPS): Based on predefined rules, the NGFW can block these harmful actions, stopping attacks in real time In accordance with an organization’s policies, auditors must verify that IDS/IPS is enabled, rules are updated, alerts are reviewed regularly, and responses are prompt.
  • Deep Packet Inspection (DPI): NGFWs look beyond packet headers, performing an in-depth data analysis. This is vital in the following situations:
    • When enforcing data policies: The contents of packets can be checked against rules to prevent data loss and enforce company policies (e.g., blocking confidential files from leaving a network).
      • When detecting hidden threats: Malware often attempts to conceal itself within normal-looking data packets. DPI helps unmask these attacks.
  • SSL/TLS inspection: Today’s heavy reliance on encryption (HTTPS, etc.) can make the packets unreadable to traditional firewalls. Another key benefit many NGFWs can handle is looking into these encrypted packets. NGFWs can do the following:
    • Decrypt traffic: Traffic is decrypted on the firewall, inspected thoroughly, and then re-encrypted before continuing.
      • Balance risk and protection: While important against threats hiding in SSL/TLS traffic, careful implementation with attention to potential privacy impacts is needed to ensure every packet is reviewed.

In the next section, we will explore a practical scenario that demonstrates how NGFWs can effectively block and control file-sharing applications, such as peer-to-peer (P2P) networks, which can pose significant risks to an organization’s network. We will discuss the limitations of traditional firewalls in addressing these threats and highlight the advanced capabilities of NGFWs in detecting and enforcing policies against P2P applications. We will also provide guidance on how auditors can assess the effectiveness of NGFW configurations in preventing unauthorized file-sharing activities and ensuring compliance with organizational policies.

Scenario – auditing file-sharing applications blocked by NGFWs

Section titled “Scenario – auditing file-sharing applications blocked by NGFWs”

Let’s pause for a moment and look at how NGFWs act in the wild and how you might audit an NGFW process from end to end. Imagine an organization with a strict policy that prohibits P2P file-sharing applications on its network. These P2P applications have several potential risks to the network, including the following:

  • Copyright infringement: Exposing an organization to potential legal issues
  • Malware distribution: Many P2P networks are notorious for distributing malware
  • Bandwidth hogging: These applications can heavily strain network resources, slowing critical business applications

A traditional firewall might try to block specific ports commonly used by P2P applications (BitTorrent on TCP/UDP 6881-6889, Direct Connect on TCP/UDP 411 and 412, etc). However, P2P applications are crafty and will simply shift their port to a custom port. Here are some techniques that you might encounter with nefarious P2P applications:

  • Port hopping: P2P applications can shift the ports they use to evade blocking
  • Masquerading: P2P applications might try to disguise their traffic as regular web traffic (on port 80 or 443), which the firewall likely has to allow for normal business operations

Here’s how an NGFW’s application awareness solves this problem:

  • Detection regardless of port: The NGFW looks deep into network packets, identifying the P2P application’s unique signature, regardless of the port it uses.
  • Policy-based control: The IT team can create several policies specific to this threat, which you can audit for confirmation:
    • Outright block: Completely reject connections for known P2P applications or known sites, such as specific domains or IP addresses
      • Bandwidth restriction: Severely limit the bandwidth that P2P apps can use to prevent slowdowns, even if they manage to connect
      • Logging and alerting: Generate alerts on P2P traffic detection, helping in investigations and policy refinement

As an auditor, you’ll verify the NGFW’s configuration by looking at how the NGFW is managed through policy and enforcement. You can review these aspects by asking some targeted questions about the configuration or existence of a policy. Here are some example questions you might ask:

  • Policy existence: A clearly defined rule in the NGFW addresses’ P2P applications:
    • Can you provide the specific network policy that addresses the use of P2P file-sharing applications? (checks for a written policy that is the basis for firewall rules)
      • How is the detection and control of P2P applications implemented within the firewall rule configuration? (verifies the existence and specific setup of the relevant firewall rules)
  • Enforcement: Traffic logs/reports are used to confirm that the P2P rule is actively blocking or restricting as intended:
    • Does the organization maintain firewall logs with sufficient detail to demonstrate whether P2P traffic is being blocked or restricted? (these logs should be reviewed by the auditor)
      • For the past [relevant timeframe], are there instances of blocked P2P connections in the logs that align with the designed firewall policy? (confirms that the policy is successfully working in practice)
  • User education: The firewall alone is not a fix. Your audit can highlight whether policies are supported by education to minimize user attempts to circumvent controls:
    • Is there a documented element in the IT security policy that informs users about the restrictions on P2P file-sharing applications and the reasons for the block? (the policy should exist just beyond the firewall)
      • Has the organization conducted security awareness training that includes education on the risks of P2P file-sharing and its impact on the network? (awareness helps combat workarounds)

Remember, when conducting any audit, it’s essential to keep a few things in mind:

  • Context matters: Adapt the timeframe for log checks based on how frequently logs are kept and audit length. If an organization holds quarterly training and your audit happens before their next training session, then you might have to ensure that P2P training is on the agenda.
  • Follow-up: Keep in mind that these are starting points. Positive answers that indicate that a gap exists will likely lead to more in-depth questions tailored to an environment, and your team should be ready to dig into any issues you find.

In the next section, we’ll investigate how these NGFW features are configured, managed, and audited to maximize your organization’s security.

Common firewall features and security assessment approaches

Section titled “Common firewall features and security assessment approaches”

Even the most advanced NGFWs rely on some fundamental configurations to control network traffic flow. As an IT auditor, you should always try to have an in-depth understanding of these core features, which are necessary to ensure robust security and alignment with an organization’s needs. In this section, we will explore three essential firewall features – Access Control Lists (ACLs), Network Address Translation (NAT), and security zones. We will discuss the purpose of each feature, common auditing considerations, and potential security risks.

To better understand how these common firewall features and security assessment approaches apply in a real-world context, we will introduce a fictional healthcare organization, Healthy Bones Health Services, and examine how these concepts relate to their network infrastructure. By using this example, we can make the technical concepts more tangible and demonstrate how auditors can assess the effectiveness of firewall configurations to protect sensitive data and resources.

Example – introducing Healthy Bones Health Services

Section titled “Example – introducing Healthy Bones Health Services”

Let’s introduce a fictional healthcare organization, Healthy Bones Health Services, to make these concepts a little more tangible. Their network handles sensitive patient information, internal systems, and internet-facing resources, such as web servers and, potentially, a patient portal. Like any modern organization, its network relies on a carefully structured firewall configuration for protection from cyber threats.

To better understand how these common firewall features and security assessment approaches apply in a real-world environment, let’s explore their relevance to Healthy Bones Health Services’ network infrastructure.

ACLs act as the “traffic cop” at the heart of a firewall. ACLs are sets of rules that dictate whether specific network traffic is permitted or denied, based on criteria such as source and destination IP addresses, protocols, and ports.

As an auditor, when reviewing ACLs, you look for “red flags” or specific items that indicate whether further analysis is required. You might encounter one of the following when examining the ACLs for Healthy Bones ’ systems:

  • Overly permissive rules: A rule in Healthy Bones ’ firewall might allow unrestricted access from a broad range of external IP addresses to their critical internal zone. This poses a high-risk vulnerability and must be investigated, checked, and verified against company policy.
  • Stale rules: Rules no longer required due to decommissioned servers, past projects, or temporary workarounds leave doors open for attackers. Auditors must scrutinize ACLs to ensure that rules are still needed and that each rule is accurate according to the current network setup.
  • Missing documentation: Clear justifications for why certain ACL rules exist are vital for auditors and network admins during any later troubleshooting. All ACL rules should have a clear paper trail to confirm that an organization’s leadership is aware of the rules.

As a quick refresher, NAT allows internal (private) IP addresses within a network such as Healthy Bones ’ to “share” external (public) addresses for communication with the outside world. NAT also provides a means of address management, helping an internal network such as Healthy Bones ’ to function with a limited pool of public IP addresses.

An important auditing step about NAT is the careful examination of existing translations. Specifically, an auditor would look for scenarios where internal services are unnecessarily exposed to the outside world without a solid business justification, representing a potential attack entry point. Some of the scenarios are as follows:

  • Unnecessary exposure: Does Healthy Bones have NAT translations exposing internal services without a solid business case? This weakens its security posture.
  • Masking issues: Can overly broad NAT hinder investigations by obscuring the original source IP addresses of traffic? Auditors might assess NAT’s impact on the ability to analyze network logs and trace malicious activity.
  • Resource contention: If Healthy Bones relies heavily on dynamic NAT, are there enough external IP addresses for peak periods, or is their network connectivity likely to suffer?

Security zones provide a logical segmentation of network interfaces into well-defined areas such as “ internal,” “ DMZ,” and “ external.” These zones dictate permissible traffic flows within the firewall. To ensure network safety at Healthy Bones, an auditor focuses on several important aspects:

  • Logically dividing the network: Firewalls group network interfaces into zones such as “internal,” “DMZ,” and “external,” helping to ensure proper security segmentation. Traffic rules specific to each zone pairing help define which network communication is allowed.
  • A Healthy Bones audit focus: One major concern for an auditor is ensuring that resources and services handling sensitive data remain tightly restricted to well-protected internal zones. Here are some focus areas to consider when auditing security zones:
    • Zone breakdown: Healthy Bones may have sensitive patient data and file shares in its internal zone. Do any of these systems fall into less protected zones, such as the DMZ, leading to increased risk?
      • Least privilege policies: Do the rules that control traffic between Healthy Bones ’ zones only allow what’s strictly necessary? Unrestricted traffic among zones undermines the entire purpose of segmentation.
      • Tracking changes: Auditors must check that zone definition and policy changes are well-documented and subject to a rigorous review process.

In the upcoming sections, we’ll see how these common principles translate into vendor-specific implementations, such as Palo Alto PAN-OS.

Example – Palo Alto PAN-OS – its capabilities and auditing techniques

Section titled “Example – Palo Alto PAN-OS – its capabilities and auditing techniques”

Palo Alto Networks has carved out a leading position in the NGFW market. PAN-OS is at the heart of its firewalls, a uniquely capable and sophisticated system that empowers network administrators to craft fine-grained security policies. For IT auditors, mastering this platform translates to the ability to thoroughly assess Palo Alto firewalls, proactively uncovering configuration flaws and vulnerabilities that jeopardize organizational security.

Let’s look at some specific benefits and characteristics of PAN-OS that make auditing it valuable:

  • Market dominance: Palo Alto enjoys widespread adoption across industries. Learning to audit PAN-OS gives you skills directly applicable to a large number of real-world security setups.
  • Granular control: PAN-OS goes beyond traditional firewalls by integrating elements such as application awareness, user identification, and content-based filtering. This translates to greater potential for complex rule design, requiring specialized auditing to catch misconfigurations.
  • Flexibility can be a challenge: PAN-OS’s power comes with potential complexity. Extensive options and customizable configurations mean more room for human error and less standardization, emphasizing the need for thorough audits.

In this section, we will explore the capabilities and auditing techniques specific to Palo Alto Networks’ PAN-OS, the operating system powering their NGFWs. We will also explore the PAN-OS interface and some of the common tabs you might encounter during an audit. Throughout this section, we will discuss the benefits and challenges of PAN-OS, providing practical auditing techniques and best practices to help you effectively assess the security posture of organizations using Palo Alto firewalls.

When logging into the PAN-OS web interface, you will encounter the main dashboard and a series of tabs across the top of the page. This initial screen provides a summarized view of crucial security and system health indicators. The options are typically Dashboard, Application Command Center (ACC), Monitor, Policies, and a few others. Let’s take a look at some of the high-level items that would be relevant during an audit to get an idea of how to approach these reviews.

The dashboard highlights sections dealing with current threats, the system’s health, and recent alerts. It is important to thoroughly examine these areas to understand the system’s overall status. Areas of particular importance for auditors include active infections blocked, known vulnerabilities discovered on internal systems, and high-risk traffic patterns. Even this at-a-glance view often flags specific items or trends that warrant immediate analysis within other areas of the interface.

Let’s take a look at some of the areas you might encounter in the main dashboard:

  • General Information: The General Information section is the auditor’s starting point for identifying a device and understanding its configuration, which is a basic requirement for all further auditing activities:
    • Device Name: This section outlines the firewall’s identity and operational parameters. It includes details like the device name, management IP, and software version. An auditor must confirm that a device is identifiable and running the latest software to mitigate the risk of known vulnerabilities.
  • Interfaces Overview: The Interfaces Overview gives a snapshot of network connectivity and the status of the firewall’s various entry and exit points:
    • Network interfaces: This is a series of icons that represent the firewall’s interfaces, with color coding indicating their status – green for active interfaces and red for inactive. Auditors must validate that each interface is configured correctly, adhering to the security policies prescribed by the organization.
  • Active Admin sessions: Least privilege is an important security point to consider when reviewing firewall configurations. The Active Admin widget will tell you which admins are logged in and what they are working on.
  • Admin monitoring: Here, the Logged In Admins widget lists all administrators currently logged into the system. It includes their usernames, source IPs, and session durations. This log assists auditors in verifying that only authorized personnel access the firewall and appropriate session timeout policies are enforced.
  • Threat intelligence monitoring: Auditors rely on threat intelligence data to evaluate the firewall’s threat detection and response capabilities.
    • Threat Logs: The Threat Logs section displays real-time threat detections. Entries are classified by name, severity, and timestamp. For instance, a critical entry such as Bot: Mariposa Command and Control indicates a detected network control channel for a known botnet, which would require immediate action. Auditors leverage this data to assess the firewall’s real-time threat detection and response efficacy.

For the latest dashboard widgets and recommended setups, visit the main PAN-OS site by Palo Alto: https://docs.paloaltonetworks.com/pan-os. Recent widgets are typically listed in the first Spotlight section. You can locate the recommended configuration settings in the Documentation section. To effectively audit using the PAN-OS dashboard, focus on key areas that provide valuable insights into network activity and security:

  • ACC: When an auditor examines the ACC tab on the PAN-OS dashboard, it’s to get a sense of what is happening on the network and the implications of those activities on the organization’s security policies. Here are a few items you would review on the ACC dashboard:
    • Application usage breakdown: The Application Usage metrics provide a granular view of network traffic, segmented by application, which is important for assessing compliance and detecting potential risks.
      • Risk assessment: Applications are rated with a risk level to help prioritize auditing efforts. A high-risk rating, such as that assigned to P2P, may require closer inspection to see whether someone is on the network using a P2P application.
      • Traffic analysis: Auditors scrutinize the volume of data traffic per application to identify which applications dominate bandwidth and to detect any anomalies.
      • Session count: The number of sessions associated with each application can reveal irregular usage patterns, potentially flagging unauthorized access or activities.
  • User activity visualization: User activity helps trend data for user activity on a network. Auditors must understand typical patterns and identify outliers that could indicate security policy violations or cyber threats.
    • Traffic trends: By analyzing the trends of bytes sent and received over time, auditors can pinpoint unusual spikes or patterns in traffic that warrant further investigation.
      • User identification: The ability to link network activity to specific users is a powerful tool in an auditor’s arsenal, helping you track individual actions and enforce accountability.
  • Source and destination IP activity: Source and destination IP visualizations are usually seen as line charts. Activity insights based on source and destination IPs provide auditors with data points to map network interactions and highlight potential areas of concern.
    • IP address tracking: Auditors pay close attention to the most frequently used IP addresses to uncover any irregular communication patterns that might suggest a security breach or non-compliance. You can also view these data points by URL to pinpoint specific websites.
  • The Policies tab: The Policies tab in PAN-OS serves as the command center where network traffic rules are defined and enforced. The Policy section is an auditor’s blueprint for understanding how traffic is managed across a network, outlining the rules that govern what is allowed, denied, or logged. Here, you want to ensure you are fully briefed on an organization’s security policies to prevent flagging things considered normal. The policies are typically listed by name, with accompanying tags indicating their function or categorization, such as Deny_Malicious or Allow_DNS. Each rule specifies the type of traffic it controls, the source and destination zones, addresses, users, and even the applications and services it pertains to, along with the action to be taken, such “allow” or “deny.”

For an auditor, compliance details are needed to verify whether security policies align with an organization’s stated security posture and compliance requirements:

  • Rules such as Block_Social Media signify an organization’s intent to restrict certain types of traffic, including social media platforms such as Facebook and LinkedIn
  • The presence of tags such as Gartner or SCADA could indicate compliance with specific regulatory guidelines or industry standards, reflecting the targeted nature of a policy

The action column within the policy table is of particular interest to auditors, as it reveals how a firewall is instructed to respond to matched traffic – crucial for assessing policy enforcement:

  • Actions such as deny are straightforward, indicating that a firewall will block any traffic that matches the policy criteria, such as traffic from known malicious hosts
  • Observing the allow action, especially in policies concerning sensitive areas such as SCADA systems, prompts auditors to further investigate to ensure that these permissions are justified and secure

An efficient policy set is free from redundancy and obsolete rules, so auditors also focus on the Policy Optimizer feature to evaluate rule effectiveness and relevance.

The Optimizer can flag unused rules, such as those not triggered within a set period, indicating a need for policy cleanup to prevent unnecessary complexity and potential security loopholes.

When reviewing firewall rules, auditors should check for the following issues:

  • Redundant rules: These are duplicate rules that perform the same function. Removing these can simplify a policy and improve performance.
  • Obsolete rules: These are rules that are no longer needed due to changes in network architecture or business requirements. Identifying and removing these rules helps to streamline a firewall policy.
  • Shadow rules: These are rules that are never triggered because a previous rule already matches all traffic that the shadow rule would match. Identifying shadow rules is important to ensure that all rules in a policy are necessary and effective.
  • Overlapping rules: These rules cover the same traffic but with different actions. Auditors need to identify and resolve these overlaps to avoid conflicts and ensure that the correct actions are applied to network traffic.
  • Inefficient ordering: The order of rules can impact firewall performance. Rules should be ordered from the most specific to the most general, optimizing processing efficiency and ensuring that a firewall performs as expected.

Auditors can check these common issues to ensure that firewall policies are optimized for security and performance.

An important part of an auditor’s role involves examining logs to identify normal and potentially malicious activity patterns. The Monitor tab in PAN-OS is a treasure trove of such information, presenting a detailed ledger of network events. You would view the Monitor tab in the PAN-OS dashboard to view specific details about potential security breaches or policy violations.

The logs section is an auditor’s detailed record, capturing every packet’s journey through a network and flagging activities that deviate from the norm. You will come to immediately seek out logs before reviewing anything else in an audit:

  • Each entry in the logs provides comprehensive details such as the type of traffic (e.g., spyware and vulnerability), the threat ID/name if applicable, the source and destination zones, along with IP addresses, and the action taken by the firewall (e.g., allow, drop, and alert)
  • Critical entries are marked with severity levels to draw immediate attention, with critical indicating events that may significantly impact the network’s integrity

Analyzing these logs provides an auditor with a chronological sequence of events to scrutinize, allowing for a methodical approach to security analysis:

  • Specific columns such as Type and Threat ID/Name help categorize the nature of a logged event, while Source and Destination details are pivotal in tracing an event’s path
  • The action taken by the firewall, especially when it is set to drop or alert, can be indicative of a firewall’s rules at work, reflecting an organization’s security policies in action

Severity indicators and an auditor’s focus

Section titled “Severity indicators and an auditor’s focus”

Severity indicators within logs are vital signposts for auditors, marking the events that require immediate investigation or routine review.

  • Entries flagged as critical often denote incidents that could pose serious security risks, such as unauthorized access attempts or detected malware
  • Informational alerts might indicate permitted activities or minor events but can also provide context to critical events, helping to build a complete picture of a network’s security events

If you were to discover a “critical” log alert during an audit, you should alert the organization’s team immediately.

By examining the Monitor tab’s detailed logs, an auditor can ascertain a firewall’s performance in real-time defense and gather actionable insights to reinforce a network’s security framework. This meticulous process helps ensure that no significant threat goes unnoticed and that an organization’s cybersecurity posture is resilient against the evolving landscape of cyber threats.

Let’s take a look at an example to show how you might use log analysis during an audit.

In the process of auditing a network’s security measures, the Log Traffic table is a valuable resource. This table provides real-time data on network traffic interacting with established security policies. Network traffic data is critical for verifying that a network’s security protocols are operating correctly and identifying any deviations that may pose a risk.

Table 4.1 is an extracted view of a network traffic table, showcasing a simplified set of columns that are of utmost relevance to an auditor:

Receive timeSource userApplicationActionRuleSeverityNotes
07/15 10:30:05alice.smithWeb browserAllowAllow_WebLowRegular activity
07/15 10:30:21bob.johnsonSSHDenyDeny_SSHHighAttempted SSH to secure zone
07/15 10:31:10chris.doeSMTPAllowEmail_OutLowBusiness email traffic
07/15 10:32:07dana.whiteHTTPAllowCDN_AccessLowCDN resource access
07/15 10:32:45evan.blackhttps-customdenyBlock_PublicCriticalUnauthorized access attempt to sensitive data

Table 4.1 – A network traffic log (sample)

Let’s take a look at each column from the perspective of an auditor. The Receive time and Source user columns are needed to establish the timeline of network events and identify which users are involved, which is essential for any subsequent investigation. The type of service is captured in the Application column, shedding light on the user’s activities and the nature of the network traffic. We can see that alice.smith did some web browsing and chris.doe sent some emails.

The real-time application of security policies is reflected in the Action column, which records whether traffic was permitted or blocked, and the Rule column shows which specific policy was enforced. This instant snapshot is important for auditors to determine whether the firewall’s policies are being correctly implemented.

The Severity rating in the log highlights the importance of the event. A high or critical rating requires immediate attention, suggesting a significant security event, while a low severity is typically associated with permitted, everyday activities. For example, a positive finding in the log would be routine web browsing traffic from a user such as alice.smith that is allowed by a rule labeled Allow_Web. A low severity level here reassures an auditor that this is a standard operation and that security policies support business activities without imposing unnecessary restrictions.

Conversely, a critical audit finding would be highlighted by a log entry showing denied https-custom traffic from evan.black, triggered by the Block_Public rule. The critical severity rating on this action points to a significant security event, indicating that the firewall is actively preventing potential threats. If you are auditing a system, such a finding would prompt you to investigate further, assessing the context of the denied access and the effectiveness of the current security settings in protecting sensitive network areas.

A featured component in configuring security policies within PAN-OS is the Application Filter, which allows auditors to refine and enforce security rules based on applications’ characteristics. This tool plays a pivotal role in streamlining the process of policy rule creation and modification.

Refining policies with the Application Filter

Section titled “Refining policies with the Application Filter”

The Application Filter interface is designed to help auditors efficiently identify and manage applications, categorizing them by various attributes to tailor security policies precisely:

  • Within the filter, applications can be sorted and viewed by categories, subcategories, risk levels, and technological characteristics such as Evasive and Excessive Bandwidth, or compliance with standards such as HIPAA and FERPA
  • Tags such as Email or Internal provide additional context, allowing you to group applications by vendor or usage, making it easier to apply rules to specific sets of applications

Application characteristics and compliance

Section titled “Application characteristics and compliance”

Auditors can leverage the Application Filter to ensure that security policies are technically accurate and compliant with regulatory and corporate standards.

Characteristics and tags within the filter can be selected to include or exclude applications from rules, ensuring that only appropriate traffic is allowed or denied based on an organization’s compliance needs.

Actionable insights and policy optimization

Section titled “Actionable insights and policy optimization”

By leveraging the information from the Application Filter, auditors can deliver actionable insights that lead to more effective and compliant security policies. The Application Filter tool helps reveal redundant or obsolete rules, identify unmonitored applications, and suggest policy adjustments to cover gaps in a security framework.

In the next section, we will explore best practices in NGFW configuration and management. We will discuss how effective NGFW deployment extends beyond the initial technical setup, as well as why IT auditors must validate the presence of optimal firewall rule designs and robust change management processes. The section will provide practical guidelines based on industry standards and common pitfalls identified during real-world audits, equipping you with the knowledge to ensure the operational integrity of your organization’s NGFWs.

Best practices in NGFW configuration and management

Section titled “Best practices in NGFW configuration and management”

While NGFWs offer powerful security and traffic management controls, effective NGFW deployment goes beyond the initial technical configuration. IT auditors must validate that optimal firewall rule designs are present and that management processes surrounding changes ensure operational integrity. Firewall audit tools may be invaluable, depending on the size and complexity of the rulesets used by an organization. This section offers practical guidelines based on industry best practices and the potential pitfalls commonly discovered in real-world audit contexts.

Let’s first take a look at some common NGFW pitfalls that you might encounter during an audit.

Outdated configurations within an NGFW environment undermine optimal security posture and operational efficiency. These legacy rules, often carried forward from previous generations of firewalls or implemented as workarounds, may need more advanced capabilities such as application recognition, user-based controls, and granular security profiling. As IT auditors, it’s essential to scrutinize outdated configurations in the following areas:

  • Missed opportunities for granularity: Does an organization actively use traffic classification, application awareness, and application-based policies? Or do some rulesets rely solely on traditional port/IP restrictions?
  • Compatibility impediments: Outdated rules can hinder visibility and control as organizations adopt cloud environments and SaaS applications and implement Bring Your Own Device (BYOD) policies. A reliance on IP-based policies often clashes with dynamic or external IP changes.
  • Investigative roadblocks: Overlapping new and outdated rules creates ambiguity that obscures root-cause analysis during incident response. Additionally, outmoded threat signatures might miss attacks or introduce false positives.

You can employ focused checklists targeting rule characteristics that expose weaknesses in NGFW configuration, allowing you to streamline identifying potentially outdated rules. Table 4.2 details some key activities you can perform along with NGFW-specific examples as guidance:

Audit activityPurposeAn example NGFW finding (hypothetical)
Compare policy creation dates against known technology changesDoes the new feature adoption align with rule updates?A “web browsing allow” rule from five years ago pre-dates the purchase of Cloud App Suite, indicating it may lack controls specific to this newer application
Identify rules without application-awareness enabledEnsure full NGFW capability is utilizedRules still using “any” service when a more granular definition (web versus file-sharing) is possible
Search for comments related to “temporary” or “workaround”Highlight rules that may require removal or refactoringA comment on policy notes –“Added 2020 due to legacy device – review when decommissioned”

Table 4.2 – Outdated rule detection – an auditor’s toolkit

In your audit, it is important to identify instances where an organization fails to upgrade existing rules to take full advantage of its NGFW capabilities. Outdated configurations are a strong indicator of technical debt or, potentially, a lack of understanding of how to fully leverage firewall capabilities.

Modern network security demands adaptability and responsive configuration changes. Unfortunately, a series of small rule modifications without restructuring introduces operational complexity. Overly complex NGFW rules are difficult to understand, troubleshoot, and manage. As IT auditors, we should pay close attention to factors indicating excess complexity, including the following:

  • Convoluted conditions: Rules containing overly extensive chains of allowed IP ranges, applications, services, or nested objects hinder maintainability and understanding
  • Accidental misconfigurations: Complex rules are more prone to errors with unintended consequences (e.g., denying necessary traffic while focusing on addressing a targeted change)
  • Inefficient troubleshooting: During network anomalies, analyzing traffic flow against an overly complex ruleset becomes a time-consuming bottleneck

Identifying indicators of excessive rule complexity

Section titled “Identifying indicators of excessive rule complexity”

Auditors leverage an arsenal of tools and analysis techniques to gauge a configuration’s potential need for simplifying actions. Table 4.3 shows some critical audit activities to expose unnecessarily complex rule design:

Audit activityPurposeAn example NGFW finding (hypothetical)
Assess rules with lengthy condition chains (multiple AND and OR statements)Determine whether a granular breakdown into multiple rules with defined purposes would increase simplicity and accuracyA single policy allowing HTTP/HTTPS to multiple zones and services may warrant refactoring into smaller, separate rules
Search for rule comments indicating a “quick fix” intentHighlights rules created hastily that may later contribute to a convoluted policy baseComments such as “Add this until migration is done” on a rule
Scrutinize the use of grouping objects within nested groups or overlapping groupsEvaluates whether simplification of objects and policies might enhance clarity and managementA complex hierarchy of application objects grouped and regrouped into other objects can lead to policy conflicts and errors

Table 4.3 – Indicators of excessive rule complexity

Complex rule sets become nearly impossible to troubleshoot without concise and up-to-date comments explaining why rules look the way they do. Audits can assess the presence and quality of these rulesets alongside a pure rule structure.

The final pitfalls we will discuss here include unused or inappropriately defined objects (addresses, services, applications, etc.) within an NGFW’s configuration that pose hidden risks, undermining management simplicity and security. Auditors actively check for these issues by scrutinizing configuration objects as indicators of potential process breakdowns:

  • Bloated rules and inefficient analysis: Unused objects are frequently a byproduct of decommissioning activities not having the necessary accompanying firewall cleanup steps. For example, legacy IP groups related to obsolete services may stubbornly persist within active rules. Such clutter inflates rule-base analysis time during routine operations and introduces errors during an incident response, when outdated objects cause log data to paint an inaccurate picture of system communication.
  • Management confusion: Managing and troubleshooting overly large network address objects often induces errors, especially when such objects contain an illogical mixture of assets without distinct security requirements. You should look for clear object groupings and naming standards that prevent accidental changes across an excessive number of systems, due to their inclusion within large, vague address objects.

Table 4.4 gives an overview of how you might approach looking for these pitfalls during an audit.

Audit activityPurposeAn example NGFW finding (hypothetical)
Examine objects with zero recent usage (look for last rule hit timers)Reveal candidates for removal or consolidationAn address group containing IPs related to a decommissioned legacy application persists for no justified reason
Search for rules referencing broadly defined objectsGauge whether more narrow rulesets (for example, web-browsing versus file-sharing) could replace overly permissive usePolicies allowing any service to an object containing the entire internal zone represent wide exposure
Scrutinize objects grouped too many times within other objectsEvaluate whether simplification would enhance clarity and managementLarge network objects grouped and regrouped into nested layers make identifying actual affected IPs a complex task

Table 4.4 – Indicators of stale and overly broad objects

Auditors often care about how objects get documented and whether usage review cycles exist. Object creation follows documented procedures with justifications for existence and scope in a well-maintained system. Furthermore, periodic review schedules must be in place to revisit the utility and accuracy of objects in alignment with network and application decommissioning activities. If auditors uncover a lack of such processes, their findings may reveal the root causes behind object bloat and misconfiguration risks.

OK, now that we have seen some ways that NGFW configurations can stumble, let’s outline some best practices to enhance security and optimal management efficiency that you can look for during an audit.

IT auditors seek evidence of best practice principles ingrained within organizations because they are strong indicators of mature NGFW adoption and a proactive approach to network protection. Here are three methods you can look for during an audit.

NGFWs offer granular controls that enable the fundamental security principle of least privilege, ensuring that a network allows only the minimum communication necessary for an operation. IT auditors should scrutinize how an organization leverages these firewall rule capabilities to secure traffic without causing operational disruptions.

You can ask probing questions and use analysis techniques such as the following:

  • From wide to narrow: Policies that permit broader access than required should raise immediate flags. Questions such as “ Could traffic on any external IP reach this system or should there be a restricted address group?” help reveal and refine overly open configurations.
  • Application awareness: Auditors review whether policies leverage NGFW-specific capabilities, such as identifying traffic by application (Webex versus generic web traffic) instead of solely port and IP-based rules, promoting tighter controls.
  • Service necessity: Simple allow/deny rules receive less focus than the scrutiny of actions within policies. Do all systems in a zone truly need vulnerability scanning (a profile action in some NGFWs)? Auditors typically push for “deny by default, add as needed” approaches to reinforce the least privilege principles.

Beyond finding a single less-than-ideal rule, the larger question auditors try to answer is whether an organization prioritizes a proactive design process aligned with the principle of least privilege. Rule comments outlining justifications and change logs can reveal whether decisions have a strong focus on granular security.

To give you a few examples, here are typical probes that an auditor might perform:

  • Examining a “public-facing server” rule: Does the rule truly allow all web traffic (any application on ports 80 / 443), or can specific services be broken down to reduce the impact of compromise?
  • Sensitive zone rules: Is there a “deny all unless needed” base policy at work, minimizing exceptions and ensuring that permissions are not granted in a fragmented or ad-hoc manner?
  • Traffic logging: An organization might claim strict rule design, but if default actions on “block” have minimal log details, an auditor can only verify adherence to the policy on paper. This is where you must put on your investigator hat and ask questions about any rule without comments/notes.

Unused or outmoded objects that stay long after their original purpose become a breeding ground for potential configuration errors and obscure visibility into an NGFW’s operation. Establishing comprehensive object life cycle management is important to minimize rule complexity and streamline analysis tasks.

Auditors evaluate whether documented procedures align with the NGFW object life cycle, specifically concerning the following aspects:

  • Object creation discipline: Do established creation practices require clear justifications tied to network changes/business needs? Are naming standards well-defined and enforced to promote understanding?
  • The decommissioning link: Processes mandating firewall cleanup that mirror the decommissioning of applications, servers, or network segments are highly valued. Does clear ownership of specific objects or object types exist to prevent them from lingering as technology changes?
  • Regular review cycles: Scheduled audits (distinct from general-purpose NGFW audits) for object validity and usage align with best practices. Internal IT auditors check whether these are defined on paper and how well they are followed in practice, using historical logs.

An organization might have great processes defined, but you must prioritize ensuring that they are consistently executed. Rules do not matter if they are not followed. You should verify that the organization maintains a good tracking system that might include the following:

  • Objects as a knowledge base: Detailed comments attached to objects explain their use case, minimizing misunderstanding and accidental change impact analysis.
  • Changed systems tie-in: Object creation or edits should ideally correspond with related change management tickets or Configuration Management Database (CMDB) entries. This ensures consistency across all IT changes. For example, if an auditor needs justification for changes made to “Server X Group,” having a linked ticket or CMDB entry provides the necessary historical context and justification.

Ultimately, an auditor isn’t solely checking boxes on a procedure list; they look for proof that these processes yield the intended results, such as the following:

  • Policy comments with red flags: If many rules cite reasons as “temp migration” from long ago or creation dates align with staff now known to be departed, this indicates that a review is needed
  • Rule hit stats versus purposefulness: Even “used” objects deserve scrutiny if hits are extremely low over time – could this reveal a forgotten temp config, now hiding an attack path?

3 – Change management (with a firewall slant)

Section titled “3 – Change management (with a firewall slant)”

Finally, robust change management processes are a major part of maintaining the control and integrity of general IT infrastructure and configurations across security devices such as NGFWs. Auditors are aware of the unique risk posed by haphazard firewall modification, and you should emphasize these aspects alongside general IT control assessments to an organization.

Effective firewall change management goes beyond basic IT ticketing and approval processes. Auditors assess whether such change procedures incorporate considerations such as the following:

  • Pre-change impact analysis: Does the process mandate using NGFW tools or features that reveal which existing traffic (services or addresses) is likely to be affected by a proposed policy modification? This avoids unintended disruptions.
  • Precise verification: Beyond a “did it break something obvious” mentality, do detailed test plans exist to confirm changes enabled only the new functionality intended and did they cause unintended side effects due to rule order/complexity?
  • Ease of rollback: While always preferable to avoid them, NGFW-specific change workflows are needed to account for situations where a quick reversion may be necessary. We typically refer to this as a “rollback plan.” Auditors investigate how simple such a process is with a firewall design.

When evaluating change management, you shouldn’t rely on the existing documentation that outlines these ideals. You should actively examine the following:

  • Change logs: Do historical modification records indicate an understanding of NGFW intricacies? Comments should demonstrate that this understanding goes beyond generic IT-level modification and reflects knowledge of the impact on rule order, interaction among multiple zones, and so on.
  • Ticket and log correlation: Ideally, a clear link exists between firewall changes and ticketing or CMDB systems used for wider change management activities. This allows auditors to map modifications more easily against potential side effects or issues arising in other linked infrastructures.

With this, we have come to the end of the chapter.

This chapter provided you with the knowledge and skills necessary to effectively audit your organization’s NGFWs. You have gained a better understanding of NGFW features, such as application awareness and threat intelligence integration, and learned targeted auditing techniques for systems such as Palo Alto PAN-OS.

Throughout the chapter, you discovered how to identify common configuration pitfalls, ensure compliance with security policies and best practices, and optimize firewall rules for improved efficiency and risk mitigation. You are now better prepared to interpret network traffic logs, discern between benign and malicious traffic, and evaluate the real-time effectiveness of firewall rules.

As IT ecosystems evolve, so must an auditor’s approach. In the next chapter, you’ll look into the nuances of auditing cloud-based environments, learning about service provider platforms, their unique security models, and how to adapt your methodologies accordingly. Get ready to apply newfound knowledge from this chapter and focus on a vastly different but vital technological domain!