On Prem AD Connector

On-Prem AD Connector Configuration

The On-Prem AD connector enables you to collect Active Directory (AD) events from an on-premises Windows AD server and ingest them into Seqrite XDR for monitoring and analysis.

To configure the connector, you must configure the On-Prem AD connector in Seqrite XDR and install the Elastic Security (ES) Agent on the on-premises AD server.

Prerequisites

Before configuring the On-Prem AD connector, ensure that the following requirements are met:

  • A Windows machine hosting the on-premises Active Directory service is available.
  • The ES Agent can be installed on the AD server.
  • You have the required permissions to configure connectors in Seqrite XDR and install software on the Windows AD server.
  • You have the Fleet URL applicable to your tenant's stack. Contact the Seqrite team to confirm the correct Fleet URL.

Configure the On-Prem AD Connector

To configure the On-Prem AD connector, follow these steps:

  1. Log on to the Seqrite XDR console.

  2. Go to Connectors > Ingestion.

  3. Select On-Prem AD Connector.

  4. Click Configure.

  5. Configure the following parameters:

    • Enable On Prem AD Events?: Select Yes to enable the collection of on-premises AD events or No to disable it.
    • HostName: Enter the hostname of the Windows AD server from which events must be collected.
  6. Click Validate and Save.

After saving the configuration, note the enrollment token generated or provided during connector configuration. You will need this token to install and enroll the ES Agent.

Install the ES Agent on the On-Prem AD Server

Install the ES Agent on the Windows AD server that hosts the On-Prem Active Directory service.

Step 1: Identify the Fleet URL

The Fleet URL depends on the stack on which your tenant is hosted. Contact the Seqrite team to confirm your tenant's stack and corresponding Fleet URL.

Use the following Fleet URLs based on the tenant's stack:

Tenant Stack Fleet URL
Stack 1 https://elk-next-fleet-1.seqrite.com:443
Stack 2 https://elk-next-fleet-2.seqrite.com:443
Stack 3 https://elk-next-fleet-3.seqrite.com:443
Stack 4 https://elk-next-fleet-4.seqrite.com:443

Important: Use the Fleet URL applicable to your tenant. Do not use a URL from another stack.

Step 2: Prepare the Windows AD Server

Log on to the Windows AD server using an account with administrator privileges.

Open Windows PowerShell as an administrator.

Step 3: Download and Install the ES Agent

  1. Create a directory for the ES Agent installation files and navigate to it:

    New-Item -Path "C:\onpremad_es_agent" -ItemType Directory
    cd C:\onpremad_es_agent
    
  2. Set the PowerShell progress preference and download the ES Agent installation package:

    $ProgressPreference = 'SilentlyContinue'
    
    Invoke-WebRequest -Uri https://artifacts.elastic.co/downloads/beats/elastic-agent/elastic-agent-8.17.9-windows-x86_64.zip -OutFile elastic-agent-8.17.9-windows-x86_64.zip -SkipCertificateCheck
    
  3. Extract the downloaded ZIP file:

    Expand-Archive .\elastic-agent-8.17.9-windows-x86_64.zip -DestinationPath .
    
  4. Navigate to the extracted directory:

    cd elastic-agent-8.17.9-windows-x86_64
    
  5. Run the following command to install and enroll the ES Agent:

    .\elastic-agent.exe install --url=<FLEET_URL> --enrollment-token=<ENROLLMENT_TOKEN>
    

    Replace the placeholders as follows:

    • <FLEET_URL>: Enter the Fleet URL applicable to your tenant's stack.
    • <ENROLLMENT_TOKEN>: Enter the enrollment token saved during the On-Prem AD connector configuration.
  6. Wait for the installation and enrollment process to complete.

After successful installation, the ES Agent is enrolled with the configured Fleet server.

Verify the Configuration

After completing the installation:

  • Verify that the ES Agent is successfully enrolled with the Fleet server.
  • Ensure that the On-Prem AD connector is enabled in the Seqrite XDR console.
  • Verify that the configured AD server hostname is correct.
  • Check that AD events are being received in Seqrite XDR.
Was this page helpful?