Skip to content
WETNav
SystemAuthentication

Event ID 5831: Netlogon allowed a vulnerable secure channel connection by policy (trust account)

The trust-account counterpart to 5830: a vulnerable Netlogon secure channel allowed because the trust account is on the vulnerable-connections allow list.

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.

SamAccountNameTrust account explicitly allowed by the vulnerable-connections policy
DomainSidDomain SID of the account
AccountTypeAccount type reported for the connection
Have one of these events? Paste it into the decoder

Analyst notes

  • 01Applies to trust relationships; a policy exception here affects authentication across a trust and should be reviewed with particular care.

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=5831)]]" -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 5831 mean?
The trust-account counterpart to 5830: a vulnerable Netlogon secure channel allowed because the trust account is on the vulnerable-connections allow list. It is written to the System log (System).
Is event 5831 logged by default?
Yes, a default Windows installation records it.
Where is event 5831 recorded?
In the System channel on the domain controller.

The trust-account counterpart to 5830: a vulnerable Netlogon secure channel allowed because the trust account is on the vulnerable-connections allow list. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.