Skip to main content

Purpose

This guide explains how to integrate theΒ Microsoft Active Directory (AD) integrationΒ with AirMDR to query directory information such as users, groups, and organizational units using theΒ LDAP protocol. This integration is typically used for:
  • User enrichment during investigations
  • Identity validation during incident response
  • Mapping AD users to security events
  • Group membership lookups
AirMDR connects to Active Directory usingΒ LDAP queries executed through a service account.

Pre-requisites

Before setting up the Microsoft Active Directory integration in AirMDR, ensure the following requirements are met:

Active Directory Environment

  • AΒ Microsoft Active Directory Domain Services (AD DS)Β environment must be available.
  • At least oneΒ Domain Controller (DC)Β must be reachable from the AirMDR environment.
  • LDAP services must be enabled on the Domain Controller.
  • IfΒ LDAPS (port 636)Β is used:
    • The Domain Controller must have aΒ valid TLS certificate
    • The certificate must be issued by aΒ trusted certificate authority
    • TLS must be enabled on the LDAP service
      LDAPS is recommended to ensureΒ encrypted communication between AirMDR and Active Directory.

Authentication Method

AirMDR authenticates to Active Directory using aΒ service account and LDAP bind usingΒ username and password

Required Parameters

Supported Versions

The AirMDR Active Directory integration supports:
  • MicrosoftΒ Active Directory Domain Services (AD DS)
  • Windows ServerΒ 2012 / 2016 / 2019 / 2022
  • LDAP / LDAPS directory services
  • On-premises Active Directory deployments
    Azure AD (Entra ID) is not supported through LDAP. Use the Microsoft Graph integration instead.

Generate Microsoft Active Directory (AD) LDAP server details, Service account credentials and Base Distinguished Name (DN)

1

Identify the LDAP Server (Domain Controller)

  1. Log in to theΒ Domain Controller.
  2. OpenΒ Server Manager.
  3. Navigate toΒ Tools β†’ Active Directory Users and Computers
  4. In the left navigation panel, identify yourΒ Domain Controller hostname.
    Example:Β dc01.company.local
    This will be used as theΒ LDAP Server.
2

Determine the LDAP Port

Active Directory supports two LDAP ports:To verify:
  1. OpenΒ Command PromptΒ on the domain controller.
  2. Run:
    Example:
    This returns the active domain controller and confirms LDAP services.
    AirMDR recommendsΒ LDAPS (port 636)Β for encrypted connections.
3

Create a Service Account

AΒ dedicated service accountΒ should be created for the integration.
  1. Navigate to openΒ Server Manager β†’ Tools β†’ Active Directory Users and Computers.
  2. Click on β€œCreate a new user in the current container”.
    Active Directory 2
  3. Enter the required Field Values.
    Active Directory1
  4. ClickΒ Next.
  5. Configure password settings:
    • Set a secure password
    • UncheckΒ User must change password at next logon
    • EnableΒ Password never expiresΒ (recommended for service accounts)
    Active Directory2 1
  6. ClickΒ Finish.
    Active Directory3
    The service account will be used as theΒ LDAP bind user.
4

Retrieve the Service Account Username

The LDAP bind username can be expressed in either format:User Principal Name (UPN):Β airmdr-service@company.localorDomain format:Β COMPANY\airmdr-service
Either format is accepted by most LDAP clients.
5

Determine the Base Distinguished Name (Base DN)

TheΒ Base DNΒ defines where LDAP searches begin in the directory tree.To obtain it:
  1. Navigate to openΒ Server Manager β†’ Tools β†’ Active Directory Users and Computers.
  2. Right-click theΒ domain root.
  3. SelectΒ Properties
  4. Go to theΒ Attribute EditorΒ tab.
  5. Locate the attribute:Β distinguishedName
    Example value:Β DC=company,DC=local
    This becomes theΒ Base DNΒ used by AirMDR for LDAP searches.
Example Credentials retrieved to configure the Microsoft AD Integration in AirMDR Example Configuration:

Data Flow & Security

Data Retrieved

The integration typically queries:
  • User objects
  • Group memberships
  • Email addresses
  • Security identifiers (SID)
  • Organizational unit membership

Encryption

Network Ports

Skills Provided by this Integration

To view the details of Input Parameters and Output for the respective skills

Configure Active Directory in AirMDR Integrations Dashboard

  1. Navigate to AirMDR, provide the credentials and click Login.
  2. Navigate to the AirMDR Integrations Dashboard in the left navigation pane and select Integrations.
  3. Use the search option, enter the keyword β€œActive Directory”, select the Connections tab, and click + Add New Connection.
  4. Enter an unique name to the Instance (e.g., your org name-Active Directory) and brief Description to easily identify the user connection by AirMDR.
  5. Enter the generated LDAP Server details, Service Account Credentials, and base Distinguished Name (DN) in the Authentication Details field params, and click Save.

Error Handling

Support & Maintenance

  • πŸ“§ Contact AirMDR Support through your designated support channel.
  • πŸ” Rotate credentials regularly in Microsoft Active Directory (AD).
  • πŸ”„ If a domain controller changes:
    • Update theΒ LDAP Server hostnameΒ in the integration configuration.