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
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 passwordRequired 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)
- Log in to theΒ Domain Controller.
- OpenΒ Server Manager.
- Navigate toΒ Tools β Active Directory Users and Computers
-
In the left navigation panel, identify yourΒ Domain Controller hostname.
Example:Β dc01.company.local
2
Determine the LDAP Port
Active Directory supports two LDAP ports:
To verify:
- OpenΒ Command PromptΒ on the domain controller.
-
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.
- Navigate to openΒ Server Manager β Tools β Active Directory Users and Computers.
-
Click on βCreate a new user in the current containerβ.

-
Enter the required Field Values.

- ClickΒ Next.
-
Configure password settings:
- Set a secure password
- UncheckΒ User must change password at next logon
- EnableΒ Password never expiresΒ (recommended for service accounts)

-
ClickΒ Finish.
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:
- Navigate to openΒ Server Manager β Tools β Active Directory Users and Computers.
- Right-click theΒ domain root.
- SelectΒ Properties
- Go to theΒ Attribute EditorΒ tab.
-
Locate the attribute:Β distinguishedName
Example value:Β DC=company,DC=local
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
Configure Active Directory in AirMDR Integrations Dashboard
- Navigate to AirMDR, provide the credentials and click Login.
- Navigate to the AirMDR Integrations Dashboard in the left navigation pane and select Integrations.
- Use the search option, enter the keyword βActive Directoryβ, select the Connections tab, and click + Add New Connection.
- 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. - 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.

