When it is written
A domain controller writes 4706 when a new trust is created in its domain: an external trust, a forest trust, a realm trust to a non-Windows Kerberos realm, or a trust between two domains of the same forest. Microsoft's own sample event records a trust inside the forest (Trust Attributes 32, which is 0x20, within forest). The event has no failure version.
Only domain controllers write it, and the change can be made on any of them, so collect the Security log of every domain controller. Each side of a trust is a separate trusted domain object in its own domain: the domain controllers of the partner domain record their own event when that side is created, if they audit this subcategory.
How to turn it on
Advanced audit policy subcategory Audit Authentication Policy Change, Success. Set it in a Group Policy object linked to the computers that write the event:
Computer Configuration > Policies > Windows Settings > Security Settings > Advanced Audit Policy Configuration > Audit Policies > Policy Change > Audit Authentication Policy Change| Computer | Audit | Note |
|---|---|---|
| Domain controllers | Success | Microsoft's general and stronger baselines both recommend Success auditing, which records operations on domain and forest trusts and changes to the Kerberos policy. The subcategory has no failure events. |
| Member servers | Success | Microsoft's general and stronger baselines both recommend Success auditing, which records changes to logon rights and to the password policy. The subcategory has no failure events. |
| Workstations | Success | Microsoft's general and stronger baselines both recommend Success auditing, which records changes to logon rights and to the password policy. The subcategory has no failure events. |
auditpol /get /subcategory:"Authentication Policy Change"auditpol /set /subcategory:"Authentication Policy Change" /success:enableauditpol /get /subcategory:"{0CCE9230-69AE-11D9-BED3-505054503030}"Run the commands in an elevated prompt on a computer that writes the event. Subcategory settings take effect only when the security option Audit: Force audit policy subcategory settings (Windows Vista or later) to override audit policy category settings is enabled (the default), and a Group Policy object that sets advanced audit policy replaces local changes at its next refresh. Microsoft's advanced audit policy reference
Fields
In Event Viewer order. The field names are those of the event XML, from the event template that ships with Windows.
| Field | What it holds | Since |
|---|---|---|
Security IDSubjectUserSidSubject | SID of the account that created the trust. Event Viewer shows it resolved to a name when it can. | v0 |
Account NameSubjectUserNameSubject | Name of the account that created the trust. | v0 |
Account DomainSubjectDomainNameSubject | Domain of that account, usually as a NetBIOS name. | v0 |
Logon IDSubjectLogonIdSubject | Logon ID of the session that created the trust, in hexadecimal. Match it with the logon event (4624) of the same session on this domain controller to find where the account came from. | v0 |
Domain NameDomainNameTrusted Domain | Name of the partner domain of the new trust. Microsoft's sample shows its DNS name. | v0 |
Domain IDDomainSidTrusted Domain | SID of the partner domain (shown as Domain ID). It identifies the partner even when its name is written in another form. Event Viewer tries to resolve it to a name. | v0 |
Trust TypeTdoTypeTrust Information | Type of the trust as a number (shown as Trust Type), 1 to 4. 2 is a partner that runs Active Directory, 3 a non-Windows Kerberos realm. | v0 |
Trust DirectionTdoDirectionTrust Information | Direction of the trust as a number (shown as Trust Direction). 1 inbound, 2 outbound, 3 both directions, 0 disabled. | v0 |
Trust AttributesTdoAttributesTrust Information | Attributes of the trust as a decimal sum of flags (shown as Trust Attributes). Convert it to hexadecimal to read the bits, for example 72 is 0x48, a forest trust (0x8) treated as external (0x40). | v0 |
SID FilteringSidFilteringEnabledTrust Information | Whether SID filtering is on for the new trust (shown as SID Filtering). The XML holds the message code %%1795 (Enabled) or %%1796 (Disabled). | v0 |
Values to know
Trust Attributes TdoAttributes
| Value | Meaning | Signal |
|---|---|---|
4 (0x4) | TRUST_ATTRIBUTE_QUARANTINED_DOMAIN, SID filtering quarantineMicrosoft's Windows Server 2003 documentation says domain controllers set it automatically on new external trusts. Without it, SIDs from other domains that the partner's accounts carry in SID history are not filtered out. | Expected |
8 (0x8) | TRUST_ATTRIBUTE_FOREST_TRANSITIVE, a forest trust between two forest root domains | Worth knowing |
32 (0x20) | TRUST_ATTRIBUTE_WITHIN_FOREST, the partner is a domain of the same forestThe value in Microsoft's sample event. | Expected |
64 (0x40) | TRUST_ATTRIBUTE_TREAT_AS_EXTERNALRelaxes the SID filtering of a forest trust to the level of an external trust. Usually combined with 0x8, which gives 72. | Attack signal |
512 (0x200) | TRUST_ATTRIBUTE_CROSS_ORGANIZATION_NO_TGT_DELEGATIONTickets issued over this trust are not trusted for delegation. | Worth knowing |
Trust Direction TdoDirection
| Value | Meaning | Signal |
|---|---|---|
1 | Inbound, the partner trusts this domain | Worth knowing |
2 | Outbound, this domain trusts the partnerAccounts of the partner can then be given access to resources in this domain, which is why a new outbound trust to an unknown partner is the case to investigate first. | Worth knowing |
3 | Bidirectional, both domains trust each other | Worth knowing |
0 | The trust exists but is disabled | Worth knowing |
Trust Type TdoType
| Value | Meaning | Signal |
|---|---|---|
2 | TRUST_TYPE_UPLEVEL, the partner runs Active Directory | Expected |
1 | TRUST_TYPE_DOWNLEVEL, the partner's domain controllers run a system earlier than Windows 2000 | Worth knowing |
3 | TRUST_TYPE_MIT, a non-Windows Kerberos realmMicrosoft notes that the default key types of such a trust include DES. | Worth knowing |
4 | TRUST_TYPE_DCEMicrosoft says Windows does not use this value. | Worth knowing |
SID Filtering SidFilteringEnabled
| Value | Meaning | Signal |
|---|---|---|
%%1795 | EnabledThe XML holds the message code; Event Viewer shows the word. | Expected |
%%1796 | DisabledThe value in Microsoft's sample, a trust inside the forest. On an external trust, check it together with the quarantine flag 0x4. | Worth knowing |
Volume and noise
Very low. Trusts are created when a domain is added to a forest and in planned projects such as mergers, migrations or a link to a partner's forest; outside such work the event should not appear. Microsoft gives it a potential criticality of Medium in its list of Active Directory events to monitor.
Keeping it manageable
- Keep and forward every 4706. The trust rule alerts on each one, and the volume is negligible.
- Keep an inventory of your trusts (partner name and SID, type, direction, attributes) and attach the change record to each new trust, so that an expected event is closed quickly and an unknown partner stands out.
- Read
TdoAttributesin hexadecimal: the event holds a decimal sum of flags. An external trust without0x4(quarantine) or a forest trust with0x40(treat as external) filters the partner's SIDs less strictly than usual.
Sample event
Version 0, with made-up values.
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}" />
<EventID>4706</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13569</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2026-11-18T09:30:12.4567890Z" />
<EventRecordID>1048576</EventRecordID>
<Correlation />
<Execution ProcessID="712" ThreadID="2408" />
<Channel>Security</Channel>
<Computer>DC01.corp.example.com</Computer>
<Security />
</System>
<EventData>
<Data Name="DomainName">partner.example.net</Data>
<Data Name="DomainSid">S-1-5-21-2481930475-3097621482-1748305966</Data>
<Data Name="SubjectUserSid">S-1-5-21-1004336348-1177238915-682003330-1105</Data>
<Data Name="SubjectUserName">adm-alice</Data>
<Data Name="SubjectDomainName">CORP</Data>
<Data Name="SubjectLogonId">0x5a3c21</Data>
<Data Name="TdoType">2</Data>
<Data Name="TdoDirection">2</Data>
<Data Name="TdoAttributes">4</Data>
<Data Name="SidFilteringEnabled">%%1795</Data>
</EventData>
</Event>Attacks this event reveals
Detection rules that read this event:
Frequently asked questions
Is event 4706 written for trusts inside a forest?
Yes. It covers every new trust in the domain, and Microsoft's own sample event records a trust whose attributes are 32 (0x20, within forest). Adding a domain to a forest can therefore produce it as well. Read TdoAttributes before you treat the event as a link to an outside domain.
How do I read the Trust Attributes value?
The event holds a decimal sum of flags. Convert it to hexadecimal and look up each bit, for example 0x4 quarantine (SID filtering on an external trust), 0x8 forest transitive, 0x20 within forest and 0x40 treat as external. A value of 72 is 0x48, a forest trust treated as external.
Which new trusts deserve a closer look?
A partner that is not in your trust inventory or has no change record, an outbound or two-way trust to an organization you do not control, an external trust without the quarantine flag or with SID filtering disabled, a forest trust with 0x40, and a realm trust to a non-Windows Kerberos realm.