Skip to main content

Installation

The install steps are in Install the DC Sensor. This page adds what the installer does and how to verify it.

Quick steps​

  1. On Install DC Sensor, click Download sensor.yml and Download install.ps1. Save both in the same folder on the DC.
  2. Open PowerShell as Administrator in that folder and run .\install.ps1.
  3. Answer the reboot prompt. Reboot the DC.
  4. Repeat on every Domain Controller.
warning

sensor.yml is tenant-specific. Keep it private. Do not commit it to version control.

What install.ps1 does​

ItemDetails
Install folderC:\Program Files\Authnull\DCSensor
ConfigC:\ProgramData\Authnull\sensor.yml
DownloadsThe sensor, WinDivert files, and AuthnullSSP.dll (to System32), from GitHub
LSA packageRegisters AuthnullSSP
ServiceAuthnullDCSensor ("Authnull DC Sensor"), automatic start
RecoveryRestarts on failure after 5 s, 10 s, then 30 s
RebootAsks "Reboot now? (y/n)"
warning

A Domain Controller reboot is required. NTLM enforcement starts only after the reboot.

Verify​

Check the service:

Get-Service AuthnullDCSensor

The status should be Running.

Then check the console:

  1. Open Identity → Identity Sources.
  2. The Sensors column shows the DC hostname once the sensor reports an event. With several DCs it shows "N of M live".
  3. The Protection column shows "Monitoring only" or "Protected". "Not protected" means no sensor is reporting.
  4. Last Sync changes from "Never synced" after the first directory sync. The sensor syncs every 10 minutes.
note

There is no separate heartbeat. A sensor counts as live if it sent an authentication event in the last 15 minutes. Sign in with a domain account to generate one.

Test in Monitor mode​

New identity sources start in Monitor. Every sign-in is allowed and no push is sent.

  1. Sign in to a domain-joined machine with an AD account.
  2. Confirm the event in Logs.
  3. Build Policies and test them with Dry run.
  4. On Identity Sources, set Mode to Enforcing.

Change settings later​

Sync scope and Fallback are written into sensor.yml at download time. There is no screen to edit them. To change them, download a new sensor.yml, replace C:\ProgramData\Authnull\sensor.yml, and restart the service:

Restart-Service AuthnullDCSensor

Monitor / Enforce is different. It is set on the server and needs no new download.

Upgrade​

Re-run install.ps1. The installer replaces the existing service.

Uninstall​

note

There is no uninstall script yet. Contact AuthNull support before removing the sensor from a Domain Controller.