Adding User Awareness to Directory Services

Prev Next

This article explains how to configure User Awareness to provide better visibility for AD users on internal networks.

Overview of User Awareness

The Cato Management Application lets you easily identify remote users that are connected to your corporate network because the user authenticated to the Cato Client. However, for users that are behind a site, they aren't connecting with a Client and you can only see the IP address or the computer name. It is difficult to use analytics for these internal without personal information such as first and last name. The User Awareness feature integrates with Active Directory (AD) to correlate the IP address and username. The PoPs can query the DC login logs and map users to the IP address for their computers. The user data is almost in real-time with just a 30 second delay. User Awareness lets the Topology window and analytics show the names for internal users and not just the IP address.

Preparing to Configure User Awareness

You must configure Directory Services for the domain before you can enable User Awareness. For more about configuring Directory Services, see Provisioning Users with LDAP.

Make sure that the audit policy is configured with the Event IDs that User Awareness uses in the Windows security log in order to map users to IP addresses. For more information, see Troubleshooting Directory Services and User Awareness Errors and Issues.

The following sections explain how to configure User Awareness for IPsec sites that are behind a third party firewall. If you don't have an IPsec site, continue below with Defining Real Time Domain Controllers.

Configuring a Third Party Firewall for User Awareness Sync

User Awareness uses WMI queries from the Cato Cloud to read login events from your domain controllers (DCs). If a third-party firewall controls access to your DCs, configure it to allow these connections from the fixed User Awareness source IP address on the following TCP destination ports.

TCP destination ports

Purpose

135

RPC endpoint mapper for establishing the WMI connection

49152–65535

Dynamic RPC ports used for WMI communication

For accounts that use the default system range, 10.254.254.0/24, the fixed User Awareness source IP address is 10.254.254.12.

For accounts that use a custom system range, calculate the fixed source IP address by adding 9 to the network address of the range. For example:

  • 10.10.10.0/16 uses 10.10.10.9.

  • 10.200.200.64/28 uses 10.200.200.73.

The Cato VPN range, 10.41.0.0/16 by default, is not the source range for these WMI queries. You do not need to allow the VPN range for this User Awareness communication.

You do not need to allow any additional Cato destination IP addresses. To restrict the firewall rule further, you can specify your AD domain controllers’ IP addresses as the destinations.

These requirements apply to WMI-based User Awareness. Directory Services user and group provisioning is a separate process.

User Awareness with a Shared Host

User Awareness detects at least 4 different users signing into the same device in a time frame of 2 hours, the device is considered a shared host. Firewall and network rules for the All Shared Hosts user group or the host IP address apply to the SDP users logged into the shared host, not the rule for the SDP user.

Defining Real Time Domain Controllers

Define the WMI controllers on the Domain Controller (DC) that monitor WMI queries in real-time.

For ADs that are behind a site, make sure that you define the Domain Controller (DC) as a host for that site (Networks > Site Settings > Host).

Note:

For accounts with multiple DCs, you must add all the DCs that login events to the Real Time Domain Controllers.

To define Real Time Domain Controllers:

  1. From the navigation menu, click Access > User Awareness.

  2. In the Real Time Domain Controllers section or tab, click New.

    The Add Real Time Domain Controller panel opens.

  3. From the Domain Controller drop-down menu, select the AD domain.

  4. Define the connection settings to the DC depending on its location:

    • For DCs on a host defined behind a site, select Internal Host, and then select the static host for the LDAP server

    • For DCs that aren't behind a site, select External IP or Domain, and enter the IP address or domain for the DC

    Note:

    You must use a public IP addresses for the DC.

  5. Enter the Username and Password for the AD user.

  6. Click OK. The Real Time Domain Controller is added to User Awareness settings and pushed to the Cato Cloud.

  7. Repeat the previous steps for each Domain Controller.

Testing the Domain Controller Connection Status

After you define a Real Time Domain Controller, test the connection status to make sure that the Cato Management Application and the Cato Cloud can connect to the DC.

A pop-up window shows if the connection was successful, or if Cato Cloud failed to connect to the DC.

Note:

You can only test the DC connection status for a DC that is a predefined host behind a site.

To test the Real Time Domain Controller connection status:

  1. From the navigation menu, click Access > User Awareness.

  2. In the Real Time Domain Controllers tab, from the Connection column for the domain, click Test connection. 

    The pop-up window shows the results of the connection test.

Synchronizing the Domain for User Awareness

Define which AD groups for the domain are synchronized to your Cato account for User Awareness. You can also choose whether to automatically sync the AD every day, or only manually perform the sync. The synchronization settings for User Awareness must be the same for all the domains in your account.

When AD groups or users are removed from the domain, they are disabled in your account unless they are used in rules or groups. For more about synchronization setting for Directory Services see Provisioning Users with SCIM and LDAP.

Defining the Active Directory Groups for User Awareness

Select the AD groups in the domain that contain the users which are synchronized for User Awareness, and define the daily sync settings for them.

The users are only synced to your Cato account if a Real-Time Domain Controller is configured, or Identity Agent is enabled (Access > User Awareness > Identity Agent).

The sAMAaccountName attribute is used for the name of the User Group in the Cato Management Application.

To define the AD groups that are synchronized with User Awareness:

  1. From the navigation menu, click Access > Directory Services.

  2. Select the LDAP tab or section, and click the domain.

    The panel opens.

  3. From the panel navigation menu, select User Groups.

    Nested groups are synced if you select the parent group

    UA_AddGroups.png

  4. Select the AD groups for User Awareness.

    Note: If no groups are selected, then all the AD groups are imported for User Awareness.

  5. To automatically sync the User Awareness groups, enable enable.pngDaily sync User Awareness Groups.

  6. Click Apply.

Deleting Real Time Domain Controllers

To delete a Real Time Domain Controllers:

  1. From the navigation menu, click Access > User Awareness.

  2. In the Real Time Domain Controllers section or tab, in the row of the domain click Delete.png.

  3. Click Save. The Real Time Domain Controller is deleted.