Correct answer: A, D
Traffic logs
Wireshark
Explanation
Explanation:
The scenario involves a firewall engineer tasked with defining signatures for a custom application on a Palo Alto Networks firewall. Custom application signatures are created using the Application Override or Custom Application features in PAN-OS to identify unique traffic patterns. The engineer needs sources to gather information about the application’s patterns (e.g., ports, protocols, packet contents). Let’s evaluate the options to determine the two appropriate sources.
Why A. Traffic logs?
Purpose: Traffic logs (available under Monitor > Logs > Traffic) record details of network traffic processed by the firewall, including source/destination IPs, ports, protocols, and application identification attempts. For a custom application not yet recognized by App-ID, the logs can show the traffic’s behavior (e.g., consistent use of a non-standard port like TCP 12345) and help identify patterns that can be used to define a signature.
Use Case: The engineer can filter logs for traffic from known clients or servers of the custom application, noting the port, protocol, and any identifiable payload characteristics to inform the signature.
Reference:
Palo Alto Networks documentation suggests, "Traffic logs can be analyzed to identify patterns for custom application signatures."
Why D. Wireshark?
Purpose:
Wireshark is a packet analysis tool that captures and inspects network traffic in real-time, providing detailed packet-level information (e.g., headers, payloads, protocol sequences). The engineer can use Wireshark to capture traffic from the custom application, analyzing its unique patterns (e.g., specific byte sequences, handshake behavior) to create an accurate custom signature.
Use Case: By setting up a capture on the network segment where the application operates, the engineer can extract protocol details and payload data to define match conditions in the firewall’s custom application settings.
Reference:
Palo Alto Networks documentation recommends, "Packet captures from tools like Wireshark can be used to gather detailed traffic patterns for custom application signatures."
Why Not the Other Options?
B. Data filtering logs:
Explanation: Data filtering logs (under Monitor > Logs > Data Filtering) record events related to data loss prevention (DLP) or file transfer policies, focusing on file types and content rather than application identification patterns. These logs are not designed to provide the protocol or traffic behavior data needed to define a custom application signature.
Why Incorrect: These logs are irrelevant to application pattern analysis.
C. Policy Optimizer:
Explanation: The Policy Optimizer (under Policies > Policy Optimizer) analyzes traffic logs to identify unused or shadowed Security rules and suggests optimizations. While it uses traffic data, it is a post-analysis tool for policy refinement, not a source for gathering raw application pattern information to create signatures.
Why Incorrect: This is for policy optimization, not signature development.
Additional Context:
Custom Application Signatures: Defined under Objects > Custom Objects > Applications, these signatures use pattern matching (e.g., port, protocol, regular expressions) to identify custom apps. Sources like traffic logs and packet captures provide the necessary data.
Configuration Steps:
Analyze Traffic logs for port/protocol usage.
Use Wireshark to capture and decode packets.
Create a custom application with the identified patterns (e.g., port 12345, TCP, specific string).
Test the signature with Monitor > Packet Capture.
Best Practices:
Capture traffic during peak usage for accuracy.
Validate signatures with test traffic.
Update signatures if the application behavior changes.
PCNSE Exam Relevance:
This question tests your understanding of custom application signature creation, a key topic in the PCNSE exam. It requires knowledge of data sources for pattern analysis.
Conclusion:
The two sources the engineer can use to gather information about the custom application’s patterns are Traffic logs for high-level traffic behavior and Wireshark for detailed packet-level analysis, enabling the creation of effective signatures.
References:
Palo Alto Networks Documentation: Custom Application Signatures
Palo Alto Networks Documentation: Traffic Log Analysis
ExamTopics PCNSE Discussion: Custom App Signature Sources