Skip to content
WETNav
SecurityPolicy Change

Event ID 4707: A trust to a domain was removed

A trust to a domain was removed.

Channel
Security
Logged by default
Yes
Written on
Any host
Volume
Low
Needs a SACL
No

To have this event

  • Enable Authentication Policy Change: auditpol /set /subcategory:"Authentication Policy Change" /success:enable /failure:enable

Key fields

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

SubjectUserNameAccount that removed the trust
SubjectDomainNameDomain of the account
SubjectLogonIdLogon ID for correlation
DomainNameName of the domain whose trust was removed
DomainSidSID of the domain
Have one of these events? Paste it into the decoder

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 'Security' -FilterXPath "*[System[(EventID=4707)]]" -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 4707 mean?
A trust to a domain was removed. It is written to the Windows Security log (Security).
Is event 4707 logged by default?
Yes, a default Windows installation records it. It is controlled by the "Authentication Policy Change" Advanced Audit Policy subcategory (Policy Change).

A trust to a domain was removed. Needs the "Authentication Policy Change" audit subcategory. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.