Collect Palo Alto Networks IOC logs
Overview
This parser extracts IOC data from Palo Alto Networks Autofocus JSON logs, mapping fields to the UDM. It handles domain, IPv4, and IPv6 indicators, prioritizing domainand converting IP addresses to the appropriate format. It drops unsupported indicator types and defaults categorization to MALWAREunless Trojanis specifically identified in the message.
Before you begin
Ensure that you have the following prerequisites:
- Google SecOps instance.
- Privileged access to Palo Alto AutoFocus.
Configure Palo Alto AutoFocus license
- Sign in to Palo Alto Customer Support Portal .
- Go to Assets > Site Licenses.
- Select Add Site License.
- Enter the code.
Obtain Palo Alto AutoFocus API Key
- Sign in to Palo Alto Customer Support Portal .
- Go to Assets > Site Licenses.
- Locate the Palo Alto AutoFocus license.
- Click Enablein the Actions column.
- Click API Keyin the API Key column.
- Copyand Savethe API Key from the top bar.
Create Palo Alto AutoFocus custom Feed
- Sign in to Palo Alto AutoFocus.
- Go to Feeds.
- Select a feed already created. If no feed is present, proceed to create one.
- Click add Create A Feed.
- Provide a descriptive name.
- Create a query.
- Select Outputmethod as URL.
- Click Save.
- Access the feed details:
- Copyand Savethe feed
<ID>from the URL. (For example,https://autofocus.paloaltonetworks.com/IOCFeed/<ID>/IPv4AddressC2) - Copyand Savethe feed name.
- Copyand Savethe feed
Set up feeds
To configure a feed, follow these steps:
- Go to SIEM Settings > Feeds.
- Click Add New Feed.
- On the next page, click Configure a single feed.
- In the Feed namefield, enter a name for the feed; for example, Palo Alto Autofocus Logs.
- Select Third party APIas the Source type.
- Select PAN Autofocusas the Log type.
- Click Next.
- Specify values for the following input parameters:
- Authentication HTTP header: API Key used to authenticate to autofocus.paloaltonetworks.com in
apiKey:<value>format. Replace<value>with the AutoFocus API Key copied previously. - Feed ID: Custom feed ID.
- Feed Name: Custom feed name.
- Authentication HTTP header: API Key used to authenticate to autofocus.paloaltonetworks.com in
- Click Next.
- Review the feed configuration in the Finalizescreen, and then click Submit.
UDM Mapping Table
| Log Field | UDM Mapping | Logic |
|---|---|---|
indicator.indicatorType
|
indicator.indicatorType
|
Directly mapped from the raw log. Converted to uppercase. |
indicator.indicatorValue
|
event.ioc.domain_and_ports.domain
|
Mapped if indicator.indicatorType
is DOMAIN. |
indicator.indicatorValue
|
event.ioc.ip_and_ports.ip_address
|
Mapped if indicator.indicatorType
matches "IP(V4|V6|)(_ADDRESS|)". Converted to IP address format. |
indicator.wildfireRelatedSampleVerdictCounts.MALWARE
|
event.ioc.raw_severity
|
Mapped if present. Converted to string. |
tags.0.description
|
event.ioc.description
|
Mapped if present for the first tag (index 0). Set to PAN Autofocus IOCby the parser. Set to HIGHby the parser. Set to TROJANif the message
field contains Trojan, otherwise set to MALWARE. |
Need more help? Get answers from Community members and Google SecOps professionals.

