Configure Active Directory Integration W
Configure Active Directory Integration W
Introduction
Prerequisites
Requirements
Components Used
Background Information
Configure
Step 1. Configure the Firepower User Agent for Single-Sign-On
Step 2. Integrate the Firepower Management Center (FMC) with User Agent
Step 3. Integrate Firepower with Active Directory
Step 3.1 Create the Realm
Step 3.2 Add the Directory Server
Step 3.3 Modify the Realm Configuration
Step 3.4 Download User database
Step 4. Configure the Identity Policy
Step 5. Configure the Access Control Policy
Step 6. Deploy the Access Control Policy
Step 7. Monitor user events & Connections events
Verify and Troubleshoot
Verify Connectivity between FMC and User Agent (Passive Authentication)
Verify Connectivity between FMC and Active Directory
Verify Connectivity between Firepower Sensor and End system (Active Authentication)
Verify Policy configuration & Policy Deployment
Analyse the Events logs
Related Information
Introduction
This document describes the configuration of Captive portal authentication (Active Authentication)
and Single-Sign-On (Passive Authentication).
Prerequisites
Requirements
Components Used
The information in this document is based on these software and hardware versions:
Background Information
Captive Portal Authentication or Active Authentication prompts a login page and user credentials
are required for a host to get the internet access.
Configure
Step 1. Configure the Firepower User Agent for Single-Sign-On
This article explains how to configure Firepower User Agent in a Windows machine:
Step 2. Integrate the Firepower Management Center (FMC) with User Agent
Log in to Firepower Management Center, navigate to System > Integration > Identity
Sources. Clickthe New Agent option. Configure the IP address of User Agent system & click the
Add button.
Step 3. Integrate
Type: AD
Base DN: Domain or Specific OU DN from where the system will start a search in LDAP
database.
This article helps you to figure out the Base DN and Group DN values.
Click the Add button in order to navigate to next step and thereafter Click the Add
directory option.
Navigate to Realm Configuration in order to verify integration configuration of AD server and you
can modify the AD configuration.
Navigate to User Download option to fetch the user database from the AD server.
Enable the check box to download Download users and groups and define the time interval
about how frequently FMC contacts AD to download user database.
Select the group and put it into the Include option for which you want to configure the
authentication.
An identity policy performs user authentication. If the user does not authenticate, access to
network resources is refused. This enforces Role-Based Access Control (RBAC) to your
organization’s network and resources.
Active Authentication asks for username/password at the browser to identify a user identity for
allowing any connection. Browser authenticates user either by presenting authentication page or
authenticates silently with NTLM authentication. NTLM uses the web browser to send and receive
authentication information. Active Authentication uses various types to verify the identity of the
user. Different types of Authentication are:
1. HTTP Basic: In this method, the browser prompts for user credentials.
2. NTLM: NTLM uses windows workstation credentials and negotiates it with Active directory
using a web browser. You need to enable the NTLM authentication in the browser. User
Authentication happens transparently without prompting credentials. It provides a single sign-
on experience for users.
3. HTTP Negotiate:In this type, the system tries to authenticate using NTLM, if it fails then the
sensor will use HTTP Basic authentication type as a fallback method and will prompt a dialog
box for user credentials.
4. HTTP Response page: This is similar to HTTP basic type, however, here user is prompted
to fill the authentication in an HTML form which can be customized.
Each browser has a specific way to enable the NTLM authentication and hence they follow
browser guidelines in order to enable the NTLM authentication.
To securely share the credential with the routed sensor, you need to install either self-signed
server certificate or publicly-signed server certificate in the identity policy.
Navigate to Policies > Access Control > Identity. Click the Add Policy & give a name to policy
and save it.
Navigate to Active Authentication tab & in the Server Certificate option, click the icon (+) and
upload the certificate & private key which you generated in the previous step using openSSL.
Now click the Add rule button & give a name to the Rule & choose the action as Active
Authentication. Define the source/destination zone, source/destination network for which you
want to enable the user authentication.
Select the Realm, which you have configured in the previous step and authentication type
that best suits your environment.
For ASA Firepower module, Configure these commands on the ASA in order to configure the
captive portal.
Ensure that the server port, TCP 1055 is configured in the port option of Identity policy's Active
Authentication tab.
In order to verify the active rules and their hit counts, run following command.
Note: Captive portal command is available in ASA version 9.5(2) and later.
In passive authentication, when a domain user logins and is able to authenticate the AD, the
Firepower User Agent polls the User-IP mapping details from the security logs of AD and shares
this information with Firepower Management Center (FMC). FMC sends these details to the
sensor in order to enforce the access control.
Click the Add rule button & give a name to the Rule & choose the Action as Passive
Authentication. Define the source/destination zone, source/destination network for which you
want to enable the user authentication.
Select the Realm which you have configured in the previous step and authentication type which
best suites your environment, as shown in this image.
Here you can choose fall back method as Active authentication if passive authentication
cannot identify the user identity.
Step 5. Configure the Access Control Policy
Click the Identity Policy (left-hand side upper corner), choose the Identify Policy that you have
configured in the previous step and click the OK button, as shown in this image.
Click the Add rule button to add a new rule, navigate to Users and select the users for which
access control rule will enforce, as shown in this image. Click the OK button and click Save button
in order to save the changes.
Navigate to Deploy option, choose the Device and click the Deploy option to push the
configuration change to the sensor. Monitor the Deployment of policy from the Message Center
Icon (icon between Deploy and System option) option and ensure that policy must apply
successfully, as shown in this image.
Step 7. Monitor user events & Connections events
Currently active user sessions are available in the Analysis > Users > Users section.
User Activity monitoring helps to figure out which user has associated with which IP address and
how is user detected by the system either by active or passive authentication. Analysis > Users >
User Activity
Navigate to Analysis > Connections > Events, to monitor the type of traffic being used by the
user.
Verify and Troubleshoot
Navigate to Analysis > Users in orderto verify the User authentication/Authentication type/User-IP mapping/access rule associated
with the traffic flow.
Firepower Management Center (FMC ) uses TCP port 3306, in order to receive user activity log
data from the User Agent.
In order to verify the FMC service status, use this command in the FMC.
Run packet capture on the FMC in order to verify connectivity with the User Agent.
Navigate to Analysis > Users > User Activity in order to verify whether the FMC is receiving user
login details from the User Agent.
Run packet capture on the FMC to verify connectivity with the Active Directory.
Ensure that the user credential used in FMC Realm configuration has sufficient privilege to fetch
the AD's User database.
Verify the FMC realm configuration, and ensure that the users/groups are downloaded and user
session timeout is configured correctly.
Navigate to Message Center > Tasks and ensure that the task users/groups
download completes successfully , as shown in this image.
For active authentication, ensure that the certificate and port are configured correctly in FMC
Identity policy.By default, Firepower sensor listens on TCP port 885 for active authentication.
Ensure that the Realm, Authentication type, User agent and Action fields are configured correctly
in Identity Policy.
Ensure that the Identity policy is correctly associated with the Access Control policy.
Navigate to Message Center > Tasks and ensure that the Policy Deployment completes
successfully.
Connection and the User Activity events can be used to diagnose whether the user login is
successful or not.These events
can also verify which Access Control rule is getting applied on the flow.
Related Information
● Technical Support & Documentation - Cisco Systems