Configure the Windows-Based User-ID Agent for User Mapping
The Palo Alto Networks User-ID agent is a Windows service that connects to servers on your network—for example, Active Directory servers, Microsoft Exchange servers, and Novell eDirectory servers—and monitors the logs for login events. The agent uses this information to map IP addresses to usernames. Palo Alto Networks firewalls connect to the User-ID agent to retrieve this user mapping information, enabling visibility into user activity by username rather than IP address and enables user- and group-based security enforcement.
- Define the servers the User-ID agent will monitor
to collect IP address to user mapping information.The User-ID agent can monitor up to 100 servers, of which up to 50 can be syslog senders.To collect all of the required mappings, the User-ID agent must connect to all servers that your users log in to in order to monitor the security log files on all servers that contain login events.
- Open the Windows Start menu and select User-ID Agent.
- Select User IdentificationDiscovery.
- In the Servers section of the screen, click Add.
- Enter a Name and Server Address for the server to be monitored. The network address can be a FQDN or an IP address.
- Select the Server Type (Microsoft Active Directory, Microsoft Exchange, Novell eDirectory, or Syslog Sender) and then click OK to save the server entry. Repeat this step for each server to be monitored.
- (Optional) To enable the firewall to automatically
discover domain controllers on your network using DNS lookups, click Auto
Discover.Auto-discovery locates domain controllers in the local domain only; you must manually add Exchange servers, eDirectory servers, and syslog senders.
- (Optional) To tune the frequency at which
the firewall polls configured servers for mapping information, select User IdentificationSetup and Edit the
Setup section. On the Server Monitor tab,
modify the value in the Server Log Monitor Frequency
(seconds) field. Increase the value in this field to
5 seconds in environments with older Domain Controllers or high-latency
links.Ensure that the Enable Server Session Read setting is not selected. This setting requires that the User-ID agent have an Active Directory account with Server Operator privileges so that it can read all user sessions. Instead, use a syslog or XML API integration to monitor sources that capture login and logout events for all device types and operating systems (instead of just Windows), such as wireless controllers and Network Access Controllers (NACs).
- Click OK to save the settings.
the subnetworks the Windows User-ID agent should include in or exclude
from User-ID.By default, the User-ID maps all users accessing the servers you are monitoring.As a best practice, always specify which networks to include and exclude from User-ID to ensure that the agent is only communicating with internal resources and to prevent unauthorized users from being mapped. You should only enable User-ID on the subnetworks where users internal to your organization are logging in.
- Select User IdentificationDiscovery.
- Add an entry to the Include/Exclude list of configured networks and enter a Name for the entry and enter the IP address range of the subnetwork in as the Network Address.
- Select whether to include or exclude the network:
- Include specified network—Select this option if you want to limit user mapping to users logged in to the specified subnetwork only. For example, if you include 10.0.0.0/8, the agent maps the users on that subnetwork and excludes all others. If you want the agent to map users in other subnetworks, you must repeat these steps to add additional networks to the list.
- Exclude specified network—Select this option only if you want the agent to exclude a subset of the subnetworks you added for inclusion. For example, if you include 10.0.0.0/8 and exclude 10.2.50.0/22, the agent will map users on all the subnetworks of 10.0.0.0/8 except 10.2.50.0/22, and will exclude all subnetworks outside of 10.0.0.0/8.If you add subnetworks for exclusion without adding any for inclusion, the agent will not perform user mapping in any subnetwork.
- Click OK.
- (Optional) If you configured the agent to connect
to a Novell eDirectory server, you must specify how the agent should
search the directory.
- Select User IdentificationSetup and click Edit in the Setup section of the window.
- Select the eDirectory tab and
then complete the following fields:
- Search Base—The starting point or root context for agent queries, for example: dc=domain1, dc=example, dc=com.
- Bind Distinguished Name—The account to use to bind to the directory, for example: cn=admin, ou=IT, dc=domain1, dc=example, dc=com.
- Bind Password—The bind account password. The agent saves the encrypted password in the configuration file.
- Search Filter—The search query for user entries (default is objectClass=Person).
- Server Domain Prefix—A prefix to uniquely identify the user. This is only required if there are overlapping name spaces, such as different users with the same name from two different directories.
- Use SSL—Select the check box to use SSL for eDirectory binding.
- Verify Server Certificate—Select the check box to verify the eDirectory server certificate when using SSL.
- (Optional, not recommended) Configure client
probing.Do not enable client probing on high-security networks. Client probing can generate a large amount of network traffic and can pose a security threat when misconfigured.
- On the Client Probing tab, select the Enable WMI Probing check box and/or the Enable NetBIOS Probing check box.
- Make sure the Windows firewall will allow client probing
by adding a remote administration exception to the Windows firewall
for each probed client.For NetBIOS probing to work effectively, each probed client PC must allow port 139 in the Windows firewall and must also have file and printer sharing services enabled. Although client probing is not recommended, if you plan to enable it, WMI probing is preferred over NetBIOS whenever possible.
- Save the configuration.Click OK to save the User-ID agent setup settings and then click Commit to restart the User-ID agent and load the new settings.
- (Optional) Define the set of users for which
you do not need to provide IP address-to-username mappings, such
as kiosk accounts.You can also use the ignore-user list to identify users whom you want to force to authenticate using Captive Portal. Save the ignore-user list as a text document using the title ignore_user_list and use the .txt file extension to save it to the User-ID Agent folder on the domain server where the agent is installed.List the user accounts to ignore; there is no limit to the number of accounts you can add to the list. Each user account name must be on a separate line. For example:
SPAdmin SPInstall TFSReportYou can use an asterisk as a wildcard character to match multiple usernames, but only as the last character in the entry. For example, corpdomain\it-admin* would match all administrators in the corpdomain domain whose usernames start with the string it‑admin.
the firewall to connect to the User-ID agent.The firewall can connect to only one Windows-based User-ID agent that is using the User-ID credential service add-on to detect corporate credential submissions. See Configure Credential Detection with the Windows-based User-ID Agent for more details on how to use this service for credential phishing prevention.Complete the following steps on each firewall you want to connect to the User-ID agent to receive user mappings:
- Select DeviceUser IdentificationUser-ID Agents and click Add.
- Enter a Name for the User-ID agent.
- Enter the IP address of the Windows Host on which the User-ID Agent is installed.
- Enter the Port number (1-65535) on which the agent will listen for user mapping requests. This value must match the value configured on the User-ID agent. By default, the port is set to 5007 on the firewall and on newer versions of the User-ID agent. However, some older User-ID agent versions use port 2010 as the default.
- Make sure that the configuration is Enabled, then click OK.
- Commit the changes.
- Verify that the Connected status displays as connected (a green light).
- Verify that the User-ID agent is successfully mapping
IP addresses to usernames and that the firewalls can connect to
- Launch the User-ID agent and select User Identification.
- Verify that the agent status shows Agent is running. If the Agent is not running, click Start.
- To verify that the User-ID agent can connect to monitored servers, make sure the Status for each Server is Connected.
- To verify that the firewalls can connect to the User-ID agent, make sure the Status for each of the Connected Devices is Connected.
- To verify that the User-ID agent is mapping IP addresses to usernames, select Monitoring and make sure that the mapping table is populated. You can also Search for specific users, or Delete user mappings from the list.
Configure User Mapping Using the PAN-OS Integrated User-ID ...
Configure User Mapping Using the PAN-OS Integrated User-ID Agent The following procedure shows how to configure the PAN-OS integrated User-ID agent on the firewall for ...
Monitor Servers Device > User Identification > User Mapping Use the Server Monitoring section to define the Microsoft Exchange Servers, Active Directory (AD) domain controllers, ...
Include or Exclude Subnetworks for User Mapping
Include or Exclude Subnetworks for User Mapping Device > User Identification > User Mapping Use the Include/Exclude Networks list to define the subnetworks that the ...
Device > User Identification > User Mapping
Device > User Identification > User Mapping Configure the PAN-OS integrated User-ID agent that runs on the firewall to map IP addresses to usernames. What ...
Client Probing Device User Identification User Mapping Palo Alto Networks User-ID Agent Setup Client Probing You can configure the User-ID agent to perform WMI client ...
Building Blocks of Security Zones
Building Blocks of Security Zones To define a security zone, click Add and specify the following information. Security Zone Settings Description Name Enter a zone ...
Enable User-ID The user identity, as opposed to an IP address, is an integral component of an effective security infrastructure. Knowing who is using each ...
Server Monitoring Device User Identification User Mapping Palo Alto Networks User-ID Agent Setup Server Monitor To enable the User-ID agent to map IP addresses to ...
Palo Alto Networks User-ID Agent Setup
These settings define the methods that the User-ID agent uses to perform user mapping. ...