Skip to content
WETNav
SystemAuthentication

Event ID 5827: Netlogon denied a vulnerable secure channel connection (machine account)

Written on a domain controller when it refuses a Netlogon secure channel that used a vulnerable (Zerologon-style) connection for a machine account. Introduced with the CVE-2020-1472 hardening.

Channel
System
Logged by default
Yes
Written on
Domain controller
Volume
Low
Provider
NETLOGON
Needs a SACL
No

Key fields

Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.

SamAccountNameMachine account that attempted the vulnerable connection (shown as 'Machine SamAccountName')
DomainSidDomain SID of the account (shown as 'Domain SID')
AccountTypeAccount type reported for the connection
OperatingSystemReported operating system of the machine, when available
Have one of these events? Paste it into the decoder

Analyst notes

  • 01Once enforcement is active (February 2021 and later), a denied vulnerable connection is written here. A real Zerologon exploitation attempt against a patched DC is denied and surfaces as 5827/5828.
  • 02Legitimate causes are usually non-Windows devices or appliances that use insecure Netlogon RPC; identify the device by SamAccountName before assuming an attack.
  • 03If you instead see 5829 (allowed), the DC is permitting vulnerable connections, which is the risky state to close.
  • 04Exact XML field names for this event are best confirmed in the Details > XML view on an affected DC.

Pull this event

Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.

Get-WinEvent -LogName 'System' -FilterXPath "*[System[(EventID=5827)]]" -MaxEvents 50 |
  Select-Object TimeCreated, Id, MachineName, Message

-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.

ATT&CK mapping

Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.

Common questions

What does Windows event ID 5827 mean?
Written on a domain controller when it refuses a Netlogon secure channel that used a vulnerable (Zerologon-style) connection for a machine account. Introduced with the CVE-2020-1472 hardening. It is written to the System log (System).
Is event 5827 logged by default?
Yes, a default Windows installation records it.
Where is event 5827 recorded?
In the System channel on the domain controller.

Written on a domain controller when it refuses a Netlogon secure channel that used a vulnerable (Zerologon-style) connection for a machine account. Introduced with the CVE-2020-1472 hardening. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.