Authentication / Authorization
Authentication of the identity.
Authority for the requested operation on a specific resource.
ACTIVE DIRECTORY / GLOSSARY
Move from a term to its protocol, or from a port to the system producing an event. Find the relationship and read its interpretation boundary.
Learn both what a term means and the mechanism in which it is used.
Directory service that stores domain identities and objects.
LESSON 01.01 · Read the mechanism ↗Domain ControllerServer that hosts the AD DS directory and related domain services.
LESSON 01.02 · Read the mechanism ↗ForestAD structure that covers a common schema/configuration and related domains.
LESSON 01.03 · Read the mechanism ↗DomainStructure that organizes accounts and objects within a specific management area.
LESSON 01.03 · Read the mechanism ↗OUOrganizational unit used for delegation and policy organization.
LESSON 01.03 · Read the mechanism ↗ContainerStructure that contains objects in the directory; not every container is an OU.
LESSON 01.03 · Read the mechanism ↗LSAWindows local security authority functions.
LESSON 02.02 · Read the mechanism ↗LSASSSystem process that runs security components such as authentication packages.
LESSON 02.02 · Read the mechanism ↗SAMSecurity database associated with local account data.
LESSON 02.02 · Read the mechanism ↗NTDSComponents related to the Active Directory directory service and its data.
LESSON 02.02 · Read the mechanism ↗Access tokenWindows object that represents the security context of a process or thread.
LESSON 02.03 · Read the mechanism ↗Logon sessionSession context associated with authentication; it is not the same object as a token.
LESSON 02.03 · Read the mechanism ↗DPAPIInfrastructure for protecting application data on Windows with identity and system context.
LESSON 02.05 · Read the mechanism ↗DNThe full name of an object in the directory.
LESSON 03.02 · Read the mechanism ↗UPNA sign-in name that resembles the user's email format.
LESSON 03.02 · Read the mechanism ↗sAMAccountNameAccount name used for compatibility with legacy Windows account naming.
LESSON 03.02 · Read the mechanism ↗SIDA security identifier is the identity number Windows uses to recognize a user, group or computer account. WS01\tunahan and IYELABS\tunahan can share a name but have different SIDs. These recognized identities are called security principals.
LESSON 03.03 · Read the mechanism ↗RIDRelative identity component appended to the domain SID.
LESSON 03.03 · Read the mechanism ↗objectGUIDGUID identifier of the directory object.
LESSON 03.03 · Read the mechanism ↗Global CatalogRole that also provides partial attribute copies for forest-wide search.
LESSON 03.04 · Read the mechanism ↗LDAPDirectory access protocol; it is not a security guarantee by itself.
LESSON 03.05 · Read the mechanism ↗LDAPSLDAP connection established over TLS from the start.
LESSON 03.06 · Read the mechanism ↗Channel bindingApproach for binding the authentication context to the underlying secure channel.
LESSON 03.06 · Read the mechanism ↗DC LocatorDiscovery/selection mechanism that helps locate an appropriate domain controller.
LESSON 04.01 · Read the mechanism ↗SRVDNS record type that advertises endpoint information for a service.
LESSON 04.01 · Read the mechanism ↗Secure channelNetlogon trust relationship between a member computer and the domain.
LESSON 04.02 · Read the mechanism ↗Cached logonInteractive sign-in without DC access using suitable local information.
LESSON 04.05 · Read the mechanism ↗AGDLPAccounts → Global groups → Domain Local groups → Permissions modeli.
LESSON 05.01 · Read the mechanism ↗DACLACL that carries allow/deny access entries for an object.
LESSON 05.03 · Read the mechanism ↗SACLACL that carries related audit and security information.
LESSON 05.03 · Read the mechanism ↗ACEA single access or audit entry inside an ACL.
LESSON 05.03 · Read the mechanism ↗OwnerOwner of the object; access to data should be separated from descriptor management.
LESSON 05.03 · Read the mechanism ↗AdminSDHolderAD object associated with the permission template for protected objects.
LESSON 05.06 · Read the mechanism ↗KDCTrust center that provides Kerberos ticket services.
LESSON 06.01 · Read the mechanism ↗krbtgtAccount associated with the keys used to protect the domain's TGTs.
LESSON 06.01 · Read the mechanism ↗TGTTicket-granting ticket used to request subsequent service tickets from the KDC.
LESSON 06.02 · Read the mechanism ↗Service ticketKerberos ticket for a specific target service.
LESSON 06.02 · Read the mechanism ↗AuthenticatorStructure containing fresh evidence of use of the relevant session key.
LESSON 06.02 · Read the mechanism ↗SPNService principal name that associates a service instance with an account identity.
LESSON 06.03 · Read the mechanism ↗PACStructure carrying authorization data in the Windows Kerberos context.
LESSON 06.05 · Read the mechanism ↗RBCDDelegation approach where delegation authority is defined on the target resource side.
LESSON 06.06 · Read the mechanism ↗NTLMChallenge-response based Windows authentication protocol family.
LESSON 07.01 · Read the mechanism ↗NegotiatePackage that helps select the appropriate authentication mechanism.
LESSON 07.03 · Read the mechanism ↗EPAAdditional authentication binding controls in suitable applications.
LESSON 07.04 · Read the mechanism ↗FGPPDefining password policies for different user/global security group scopes.
LESSON 08.02 · Read the mechanism ↗gMSAAccount model that provides automatic secret management for suitable multi-host services.
LESSON 08.04 · Read the mechanism ↗Windows LAPSManagement and backup of local administrator passwords.
LESSON 08.05 · Read the mechanism ↗GPC / GPTThe AD directory object side and SYSVOL file side of a GPO.
LESSON 09.01 · Read the mechanism ↗SYSVOLShare that provides domain-shared data such as Group Policy files.
LESSON 09.01 · Read the mechanism ↗LoopbackProcessing approach that relates user policies to the computer location.
LESSON 09.02 · Read the mechanism ↗RODCRead-only domain controller; password cache scope is controlled separately.
LESSON 10.01 · Read the mechanism ↗FSMOSpecial roles that coordinate specific domain/forest operations.
LESSON 10.03 · Read the mechanism ↗TrustTrust relationship involving one authority accepting identities from another.
LESSON 10.05 · Read the mechanism ↗SIDHistoryLegacy SID information in an identity lifecycle/migration context.
LESSON 10.06 · Read the mechanism ↗Selective authenticationAdditional access boundary for authentication to a specific target over a trust.
LESSON 10.06 · Read the mechanism ↗CASertifika imzalayan certificate authority.
LESSON 11.01 · Read the mechanism ↗EKUextended key usage field related to the certificate's usage purposes.
LESSON 11.02 · Read the mechanism ↗PKINITPublic-key authentication extension at Kerberos startup.
LESSON 11.04 · Read the mechanism ↗NTAuthRelevant trust publication in the AD certificate validation acceptance chain.
LESSON 11.04 · Read the mechanism ↗PHS / PTACloud password validation data synchronization and on-prem pass-through approaches.
LESSON 12.02 · Read the mechanism ↗PAWControlled, hardened workstation approach for sensitive administration.
LESSON 14.02 · Read the mechanism ↗Forest recoveryCoordinated recovery approach for broad AD trust/service loss.
LESSON 15.06 · Read the mechanism ↗Workgroupcomputers managed without joining a domain directory; each device stores its local accounts in its SAM.
LESSON 01.01 · Read the mechanism ↗AD DS directoryshared domain storage for user, group and computer objects.
LESSON 01.01 · Read the mechanism ↗Domain Controller (DC)runs AD DS and provides directory and domain authentication functions. Multiple DCs replicate directory data.
LESSON 01.01 · Read the mechanism ↗Groupa security principal used to administer resource permissions through membership. Resource ACLs still require configuration.
LESSON 01.01 · Read the mechanism ↗Group Policycentral policy administration subject to scope and client processing; joining a domain alone does not prove every setting was applied.
LESSON 01.01 · Read the mechanism ↗ClientLSA, the Kerberos SSP, and SSPI acquire a context for the principal, request a service ticket, and present it to the target service.
LESSON 01.02 · Read the mechanism ↗Domain controllerAD DS stores and replicates directory data; the Windows KDC uses AD DS as its domain-account database.
LESSON 01.02 · Read the mechanism ↗Member serverhosts the service and securable resource; accepts the ticket in the service context, creates a logon session or token, and evaluates the resource ACL.
LESSON 01.02 · Read the mechanism ↗TelemetryEvent 4769 on the DC Security log; Event 4624 on the target member server Security log where the session is created.
LESSON 01.02 · Read the mechanism ↗Correlation candidatea matching, non-zero LogonGuid in both events; neither its presence nor a one-to-one match is universal.
LESSON 01.02 · Read the mechanism ↗LDAP directory information treedistinguished name (DN), relative distinguished name (RDN), and domain naming context.
LESSON 01.03 · Read the mechanism ↗OU object classorganizationalUnit; schemaIDGUID bf967aa5-0de6-11d0-a285-00a003049e2.
LESSON 01.03 · Read the mechanism ↗Object securityowner, DACL, SACL, and ACEs in nTSecurityDescriptor.
LESSON 01.03 · Read the mechanism ↗ACE scopetrustee SID, access mask, inheritance flags, and—where applicable—object and inherited-object GUIDs.
LESSON 01.03 · Read the mechanism ↗Delegationgranular rights written to an OU or parent-container ACL that can propagate to descendants under inheritance rules.
LESSON 01.03 · Read the mechanism ↗UNC name\server\share\path identifies the target server, share, and relative path.
LESSON 01.04 · Read the mechanism ↗MS-SMB2NEGOTIATE establishes connection capabilities; SESSION_SETUP establishes the user security context; TREE_CONNECT establishes share context; CREATE requests that a file or directory be opened.
LESSON 01.04 · Read the mechanism ↗SSPIduring SESSION_SETUP, SMB uses Kerberos or another suitable Windows authentication package; Kerberos is not the only option.
LESSON 01.04 · Read the mechanism ↗CREATE requestthe target object and requested access mask become inputs to the file-server resource decision.
LESSON 01.04 · Read the mechanism ↗Local accountthe corresponding computer is the security authority; its local SID and assignments have meaning on that host.
LESSON 02.01 · Read the mechanism ↗Domain accountthe AD domain is its security authority; resource ACLs refer to the account’s full SID, including its RID, rather than the shared domain SID prefix.
LESSON 02.01 · Read the mechanism ↗SCM service logonSCM logs on the configured account, creates an access token, and attaches it to the service process.
LESSON 02.01 · Read the mechanism ↗LocalSystema highly privileged predefined identity on the local computer; on the network, it presents the computer account's credentials.
LESSON 02.01 · Read the mechanism ↗NetworkServicea low-privilege predefined local identity; on the network, it presents the computer account's credentials.
LESSON 02.01 · Read the mechanism ↗LocalServicea low-privilege predefined local identity; on the network, it presents anonymous credentials.
LESSON 02.01 · Read the mechanism ↗4624 LogonType 5a service logon session initiated by SCM on the service host.
LESSON 02.01 · Read the mechanism ↗LSAsecurity-authority and subsystem functions that provide local security policy, logon, and authentication-package architecture.
LESSON 02.02 · Read the mechanism ↗LSASSthe critical system-process boundary that hosts LSA functions and authentication/security package components.
LESSON 02.02 · Read the mechanism ↗SAMthe local user and group account store present on each Windows system.
LESSON 02.02 · Read the mechanism ↗AD DS/NTDSthe directory service for domain objects and its persistent store on a domain controller; Ntds.dit is not a member-workstation store.
LESSON 02.02 · Read the mechanism ↗SSPI and LSA authentication-package interfacesthe boundary through which applications work with security packages; normal application flow does not read SAM or Ntds.dit directly.
LESSON 02.02 · Read the mechanism ↗4611 Version 0records a trusted logon process registering with LSA in the Security channel.
LESSON 02.02 · Read the mechanism ↗GetTokenInformation(TokenStatistics)returns the AuthenticationId, TokenId, and TokenType fields from the TOKEN_STATISTICS structure.
LESSON 02.03 · Read the mechanism ↗OpenProcessTokenrequests access to a process's primary token.
LESSON 02.03 · Read the mechanism ↗OpenThreadTokenrequests access to an impersonating thread's token.
LESSON 02.03 · Read the mechanism ↗Permission/access rightan operation requested on a securable object; evaluated against DACL ACEs.
LESSON 02.04 · Read the mechanism ↗User Rights Assignmentlogon-right and privilege assignments in device policy.
LESSON 02.04 · Read the mechanism ↗Privilegea special capability for a local system task or resource; it must be present in the token and, where required, enabled.
LESSON 02.04 · Read the mechanism ↗UACunder Admin Approval Mode and applicable account and policy conditions, separates standard and administrator tokens and governs elevation.
LESSON 02.04 · Read the mechanism ↗Mandatory Integrity Controlcompares the token integrity level with the object's mandatory label before DACL evaluation.
LESSON 02.04 · Read the mechanism ↗Passworda secret the user knows; depending on the protocol, it may become an input to a verifier or key-derivation function.
LESSON 02.05 · Read the mechanism ↗Hash/verifiera value derived by a specific algorithm; by itself, it does not prove knowledge of the plaintext password.
LESSON 02.05 · Read the mechanism ↗Cryptographic keysecret or public key material for a particular algorithm and purpose; by itself, it proves neither identity nor policy acceptance.
LESSON 02.05 · Read the mechanism ↗Kerberos Ticketcarries an open realm and sname alongside an enc-part protected with the target key; the ticket alone does not prove that the client possesses the session key.
LESSON 02.05 · Read the mechanism ↗X.509 certificatecarries subject and public-key information, an issuer signature, validity, and extensions; it does not prove possession of the corresponding private key.
LESSON 02.05 · Read the mechanism ↗CryptProtectData/CryptUnprotectDataprotects application data as a DPAPI blob, or unprotects it, according to user or machine context.
LESSON 02.05 · Read the mechanism ↗classSchemathe definition of an object type, including objectClassCategory, subClassOf, and mustContain/mayContain.
LESSON 03.01 · Read the mechanism ↗attributeSchemathe definition of one attribute, including lDAPDisplayName, attributeSyntax/oMSyntax, isSingleValued, and schemaIDGUID.
LESSON 03.01 · Read the mechanism ↗objectClassa multi-valued instance attribute listing the structural/abstract superclass chain and any dynamically attached auxiliary classes.
LESSON 03.01 · Read the mechanism ↗objectCategorya single-valued attribute holding the distinguished name of the class or a superclass, used for searches.
LESSON 03.01 · Read the mechanism ↗mustContain / mayContain (and systemMustContain / systemMayContain)the class's required and optional attribute sets.
LESSON 03.01 · Read the mechanism ↗attributeSyntax + oMSyntaxthe value type (Unicode string, integer, SID, DN, and so on) and comparison rule.
LESSON 03.01 · Read the mechanism ↗schemaIDGUIDthe stable identifier used to refer to an attribute or class in security descriptors.
LESSON 03.01 · Read the mechanism ↗distinguishedName (DN)the object's full directory location, a comma-separated sequence of RDNs (RFC 4514).
LESSON 03.02 · Read the mechanism ↗relativeDistinguishedName (RDN)the object's name within its parent. This AD user example uses the naming attribute cn and RDN CN=Büşra. General LDAP string syntax permits one or more attribute-value assertions in an RDN.
LESSON 03.02 · Read the mechanism ↗cn (commonName)the naming attribute of a user object; it supplies the RDN.
LESSON 03.02 · Read the mechanism ↗userPrincipalName (UPN)prefix@suffix logon name; forest-wide uniqueness is checked under documented originating-write conditions.
LESSON 03.02 · Read the mechanism ↗sAMAccountNamea down-level logon name of no more than 20 characters, unique within a domain.
LESSON 03.02 · Read the mechanism ↗upnSuffixes / Partitions containerConfiguration entries that define alternative UPN suffixes.
LESSON 03.02 · Read the mechanism ↗objectSidthe binary SID that identifies a security principal; assigned when the account is created, stable through rename/same-domain OU move, and replaced on cross-domain move.
LESSON 03.03 · Read the mechanism ↗Revision (R)the version of the SID structure (practically 1).
LESSON 03.03 · Read the mechanism ↗Identifier authority (X)the highest authority that issued the SID; 5 for NT Authority and 1 for World Authority.
LESSON 03.03 · Read the mechanism ↗Domain identifierthe subauthority sequence before the RID; it distinguishes a domain within the forest.
LESSON 03.03 · Read the mechanism ↗RIDthe final subauthority; it distinguishes an account within the domain and is never reused.
LESSON 03.03 · Read the mechanism ↗objectGUIDa globally unique 128-bit identifier assigned when an object is created; it survives rename and move.
LESSON 03.03 · Read the mechanism ↗sIDHistorya multi-valued attribute that stores former objectSid values when an object moves between domains.
LESSON 03.03 · Read the mechanism ↗Domain NCsection of a domain that holds user, computer, and group objects; only it replicates exactly between the DCs of domain.
LESSON 03.04 · Read the mechanism ↗Configuration NCholds site, subnet, service and replication topology objects; common to all forest.
LESSON 03.04 · Read the mechanism ↗Schema NCholds the definitions attributeSchema and classSchema; It is unique and common throughout forest.
LESSON 03.04 · Read the mechanism ↗Application NCa separate partition for application data such as DNS, replicated to selected DCs; in AD DS it cannot contain security principals and is not automatically replicated to the GC.
LESSON 03.04 · Read the mechanism ↗Root DSEServer-specific entry that publishes the list of NCs (namingContexts) and the schema entry (subschemaSubentry), not belonging to any NCs.
LESSON 03.04 · Read the mechanism ↗baseObjectDN where the search will begin; the root of the call is determined from here (RFC 4511 §4.5.1.1).
LESSON 03.05 · Read the mechanism ↗scopebaseObject(0) that entry only, singleLevel(1) direct subobjects, wholeSubtree(2) the entire subtree (RFC 4511 §4.5.1.2).
LESSON 03.05 · Read the mechanism ↗filtermatching condition of objects; Alternatives to CHOICE such as equalityMatch, present, substrings, and/or/not (RFC 4511 §4.5.1.7).
LESSON 03.05 · Read the mechanism ↗typesOnlyTRUE returns only attribute names, without values (RFC 4511 §4.5.1.6).
LESSON 03.05 · Read the mechanism ↗sizeLimit/timeLimitupper limits requested by the client; The server can also impose its own upper limit (RFC 4511 §4.5.1.4–5).
LESSON 03.05 · Read the mechanism ↗paged resultscontrol used to retrieve large result sets piece by piece; The server limits the number of objects returned in a single request.
LESSON 03.05 · Read the mechanism ↗simple bindBindRequest authentication=simple [0] OCTET STRING carries credentials, commonly a password; TLS simple bind has no CBT (RFC 4511 §4.2; KB4563239).
LESSON 03.06 · Read the mechanism ↗SASL bindauthentication=sasl [3] SaslCredentials carries a mechanism and credentials, for example Negotiate, Kerberos, NTLM, or Digest (RFC 4511 §4.2).
LESSON 03.06 · Read the mechanism ↗TLS/LDAPSport 636 starts TLS on connect; StartTLS can protect a connection on port 389. A properly validated TLS session protects transport confidentiality and integrity.
LESSON 03.06 · Read the mechanism ↗LDAPServerIntegrityLDAPServerIntegrity=2 requires signing for applicable unsigned sessions. TLS provides signing/integrity and satisfies this requirement; for non-TLS SASL, the client must request signing or sealing.
LESSON 03.06 · Read the mechanism ↗SASL signing and sealingSASL can provide LDAP message integrity and confidentiality on a non-TLS session, depending on the mechanism and negotiated protection.
LESSON 03.06 · Read the mechanism ↗Channel binding (CBT)for SASL authentication over TLS, CBT cryptographically binds the authentication context to the TLS session; it does not apply to TLS simple bind (KB4563239).
LESSON 03.06 · Read the mechanism ↗Policy valuesLDAPServerIntegrity (None=1, Require Signing=2) and LdapEnforceChannelBinding (Never=0, When Supported=1, Always=2) under NTDS\Parameters (KB4520412).
LESSON 03.06 · Read the mechanism ↗LDAP Updates: Operation, Result and UncertaintySending an update is different from knowing its outcome. Examine LDAP operation boundaries, atomicity within one Modify, and uncertainty when a response is lost.
LESSON 03.07 · Read the mechanism ↗DsGetDcName (NetApi32.dll)Win32 Locator API that the application on the client calls to request DC; The request goes to the local Netlogon service with RPC.
LESSON 04.01 · Read the mechanism ↗Netlogon serviceImplements DsGetDcName, queries DNS, pings LDAP UDP and caches the found DC.
LESSON 04.01 · Read the mechanism ↗DNS SRV registerDeclares DC capabilities (LDAP, Kerberos, PDC, Global Catalog) in the format _<service>._<protocol>.<DnsDomainName>.
LESSON 04.01 · Read the mechanism ↗Site-specific SRV recordAllocates DCs in the client's own site with the format _<service>._<protocol>.<SiteName>._sites...
LESSON 04.01 · Read the mechanism ↗LDAP UDP pingdatagram sent to candidate DCs; Verifies that DC is live and available, first responder preferred.
LESSON 04.01 · Read the mechanism ↗Netlogon DC cachestores the discovered DC, ensuring consistent use of DC in subsequent requests; DS_FORCE_REDISCOVERY skips this.
LESSON 04.01 · Read the mechanism ↗netlogon.log (%SystemRoot%\debug\netlogon.log)diagnostic log that records site mismatched clients NO_CLIENT_SITE.
LESSON 04.01 · Read the mechanism ↗computer object (objectClasscomputer): Directory object representing the machine participating in domain; sAMAccountName ends with '$ (e.g. WS-034$).
LESSON 04.02 · Read the mechanism ↗ms-DS-MachineAccountQuotadomain-level default allowance for the quota-managed “Add workstations to domain” user-right route; the default value is 10.
LESSON 04.02 · Read the mechanism ↗Machine account passwordID material set at join, kept as secret on the client as LSA, and renewed by default every ~30 days.
LESSON 04.02 · Read the mechanism ↗Netlogon secure channelsecure communication channel between a client Netlogon service and a DC based on machine account identity.
LESSON 04.02 · Read the mechanism ↗Directory userAccountControl / WORKSTATION_TRUST_ACCOUNT (0x1000)the AD attribute bit identifying a computer account. Event 4741 NewUacValue is a separate SAM User Account code field; the example value 0x80 denotes a workstation-trust account.
LESSON 04.02 · Read the mechanism ↗primaryGroupId 515The default primary group of machine accounts is Domain Computers.
LESSON 04.02 · Read the mechanism ↗SeMachineAccountPrivilegethe “Add workstations to domain” user right; this is the quota-managed authorization route for creating a new computer account, not a second gate independent of the quota.
LESSON 04.02 · Read the mechanism ↗Create Computer Objects (ACTRL_DS_CREATE_CHILD)an explicit ACL permission on the target OU/container; an alternative to the quota-managed user-right route for creating a new account. Reusing an existing account has separate permission requirements.
LESSON 04.02 · Read the mechanism ↗W32Time (Windows Time service)Service that aligns the time of member domain according to the hierarchy; Members are in the time client role by default.
LESSON 04.03 · Read the mechanism ↗NT5DS (domain hierarchy) time sourceDefault synchronous mode in which member domain receives time from an authenticating DC.
LESSON 04.03 · Read the mechanism ↗PDC emulator (forest root domain)default authorized clock source at the top of the time hierarchy; PDCs of child domains are synchronized from it.
LESSON 04.03 · Read the mechanism ↗Kerberos Policy / MaxClockSkew ('Maximum tolerance for computer clock synchronization')the largest clock difference between the client and DC that Kerberos tolerates; default 5 minutes.
LESSON 04.03 · Read the mechanism ↗PA-ENC-TIMESTAMP (PreAuthType 2)timestamped preauth data that the client encrypts and sends with the key derived from its password.
LESSON 04.03 · Read the mechanism ↗KRB_AP_ERR_SKEW (0x25)Kerberos error returned when the difference between the requested time and the KDC time exceeds the allowed skew; On 4771 it appears in the Status field.
LESSON 04.03 · Read the mechanism ↗TCP transportthe fact that a port is reachable indicates that it is a listening-only service; It does not contain identity or authority.
LESSON 04.04 · Read the mechanism ↗SMB (default TCP 445)The sequence NEGOTIATE → SESSION_SETUP (authentication) → TREE_CONNECT (IPC$ or a share) → CREATE (named pipe or file).
LESSON 04.04 · Read the mechanism ↗RPC over named pipe (ncacn_np)\PIPE\<ad> over share IPC$; RPC bind and authentication follow the SMB session.
LESSON 04.04 · Read the mechanism ↗RPC over TCP (ncacn_ip_tcp)Endpoint Mapper (TCP 135) resolves dynamic endpoint; dynamic port range 49152–65535 on modern Windows.
LESSON 04.04 · Read the mechanism ↗Netlogon (MS-NRPC)UUID 12345678-1234-ABCD-EF00-01234567CFFB, RPC version 1.0; \PIPE\NETLOGON via named pipe or ncacn_ip_tcp, in the context of machine account secure channel.
LESSON 04.04 · Read the mechanism ↗Evidence surface4624 network logon carrying LogonType 3 on the target Security channel; This indicates successful authentication at the application layer, which port reachability alone does not produce.
LESSON 04.04 · Read the mechanism ↗Cached domain credential (verifier)a local, encrypted, one-way value used only to verify offline logon; it cannot recover the password.
LESSON 04.05 · Read the mechanism ↗CachedLogonsCountthe cache limit is 0–50 entries; 0 disables caching. The default is 25 on Windows Server 2008 and 10 on other versions; credential type affects how many entries each user consumes. In the password-user example, a new user can replace the oldest cached entry once the limit is reached.
LESSON 04.05 · Read the mechanism ↗Access tokenthe SID set created after successful logon; offline logon also creates a token, but that token does not represent current DC verification.
LESSON 04.05 · Read the mechanism ↗Kerberos ticket cacheexisting TGT and service tickets; When DC is missing, new tickets cannot be obtained, but existing tickets in lifetime can be used.
LESSON 04.05 · Read the mechanism ↗Evidence surface4624 with LogonType 11 (CachedInteractive) in the target Security channel; this indicates that the DC was not contacted. New resource access produces separate evidence.
LESSON 04.05 · Read the mechanism ↗Group typesecurity group appears as principal in DACLs and carries permissions; distribution group is not security-enabled and cannot be DACLed (for email distribution only).
LESSON 05.01 · Read the mechanism ↗Group scope · Universalmembers are account, global and other universal groups from any domain in the forest; membership is maintained in the Global Catalog.
LESSON 05.01 · Read the mechanism ↗AGDLPAccount → Global group → Domain Local group → Permission. Accounts are collected in global groups, global groups are nested in domain local groups that carry permissions, permission is given only to the domain local group.
LESSON 05.01 · Read the mechanism ↗Effective membershipa token contains the user SID and applicable direct and indirect group SIDs resolved for that logon context. Presence and participation attributes are separate; the relevant groups in this fixture are security-enabled and enabled.
LESSON 05.01 · Read the mechanism ↗SID examplesDomain Users is domain SID + RID 513; Built-in Users is S-1-5-32-545. These are common in standard domain-user logons, not guaranteed in every token. Check primaryGroupId, the token host, local-group membership and logon context.
LESSON 05.01 · Read the mechanism ↗Authenticationa principal proving its claimed identity (interactive logon, Kerberos ticket, credential verification); The result is a logon session and access token.
LESSON 05.02 · Read the mechanism ↗Access tokenoutput of authentication and input of authorization; It carries the user SID and group SIDs.
LESSON 05.02 · Read the mechanism ↗Authorization / access checkthe system's decision to grant/deny access by comparing the SIDs in the token with the ACEs in the DACL of the target object for the desired access mask.
LESSON 05.02 · Read the mechanism ↗Requested access maskset of bits that indicate what rights (e.g. FILE_READ_DATA, FILE_WRITE_DATA) the access request requests; access check is executed according to this mask.
LESSON 05.02 · Read the mechanism ↗Per-resource decisioneach object has its own security descriptor; The same token may be authorized in one object but unauthorized in another.
LESSON 05.02 · Read the mechanism ↗Kerberos ticketcarries proof of identity; Having a ticket does not include resource authorization, it only covers the authentication side.
LESSON 05.02 · Read the mechanism ↗Security descriptorstructure that carries the security information of a securable object; It consists of owner SID, primary group SID, DACL, SACL and control bits.
LESSON 05.03 · Read the mechanism ↗Owner SIDowner of the object; It is denoted by O: in SDDL. Primary group SID: Represented as G: in SDDL (moved for POSIX compatibility, plays a secondary role in Windows access).
LESSON 05.03 · Read the mechanism ↗DACL (D): ACE list that determines which rights are allowed/denyed to which trustees; produces the access decision.
LESSON 05.03 · Read the mechanism ↗SACL (S): ACE list that determines which access attempts produce audit records; It does not grant access, it produces audit.
LESSON 05.03 · Read the mechanism ↗ACE fieldstype (e.g. A=access-allowed, D=access-denied, AU=system-audit), flags (inheritance etc.), rights (access mask), object/inherit GUID and trustee SID.
LESSON 05.03 · Read the mechanism ↗Meta-control rightsREAD_CONTROL (read descriptor, except SACL), WRITE_DAC (change DACL), WRITE_OWNER (change owner); these govern the permission structure of the object.
LESSON 05.03 · Read the mechanism ↗Control bitsP (protected), AI (auto-inherited), AR (auto-inherit-required) flags on DACL/SACL in SDDL; Specifies the inheritance behavior of the descriptor.
LESSON 05.03 · Read the mechanism ↗Requested access maskthe set of rights requested by the access request (e.g. FILE_READ_DATA + FILE_WRITE_DATA); access check is executed according to this mask.
LESSON 05.04 · Read the mechanism ↗Remaining rightsthose of the requested rights that have not yet been met with the allow ACE; It decreases as the evaluation progresses, access is granted when it reaches zero.
LESSON 05.04 · Read the mechanism ↗Sequential assessmentACEs in the DACL are examined in the order they appear; The decision becomes final in the first decisive match (sufficient allow is collected or a requested right is denied).
LESSON 05.04 · Read the mechanism ↗Canonical orderpreferred order — explicit ACEs before inherited ones; access-denied ACEs before access-allowed ones in each group.
LESSON 05.04 · Read the mechanism ↗Inheritancean ACE can be explicit (defined directly on the object) or inherited (coming from the parent object, ID flagged); Inherited ACEs come after explicit ones in canonical order.
LESSON 05.04 · Read the mechanism ↗NULL DACLNo DACL (SDDL: NO_ACCESS_CONTROL); It means full access to everyone.
LESSON 05.04 · Read the mechanism ↗Empty DACLthe DACL exists but has zero ACEs (SDDL: D:); it grants no requested rights through allow ACEs. In AD DS, the current owner may separately receive READ_CONTROL and WRITE_DAC; SE_TAKE_OWNERSHIP_PRIVILEGE may imply WRITE_OWNER.
LESSON 05.04 · Read the mechanism ↗MS-ADTS §5.1.3.2.1 Control Access Rightscontrol access rights are defined by a GUID and not by an access-mask bit; ACE carries the RIGHT_DS_CONTROL_ACCESS (CR) bit in ACCESS_MASK and the corresponding GUID in the ObjectType field. If ObjectType is empty, ACE includes all control access rights.
LESSON 05.05 · Read the mechanism ↗SDDL object ACE (ace_type = OA, ACCESS_ALLOWED_OBJECT_ACE)fields ace_type;ace_flags;rights;object_guid;inherit_object_guid;account_sid (Microsoft ACE strings).
LESSON 05.05 · Read the mechanism ↗User-Force-Change-Password extended right (DisplayReset Password), rightsGuid 00299570-246d-11d0-a768-00aa006e0529 (AD Schema).
LESSON 05.05 · Read the mechanism ↗Windows Security channel5136 (directory object modified, requires appropriate SACL), 4662 (object operated on); Subcategory Audit Directory Service Changes and Audit Directory Service Access; only on domain controller.
LESSON 05.05 · Read the mechanism ↗AdminSDHolder objectCN=AdminSDHolder,CN=System,DC=<dc>,DC=<dc>; The owner is the Domain Admins group of the domain; Enterprise Admins and Administrators can also make/own changes (Appendix C).
LESSON 05.06 · Read the mechanism ↗SDPropruns every 60 minutes by default on PDCE; Compares the DACL of AdminSDHolder with the DACL of protected objects, if different, writes back the protected object according to AdminSDHolder; Disables inheritance.
LESSON 05.06 · Read the mechanism ↗AdminSDProtectFrequencyDWORD under HKLM\SYSTEM\CurrentControlSet\Services\NTDS\Parameters; range 60–7200 seconds; If deleted, it returns to 60 minutes; Reducing production increases the LSASS burden on PDCE.
LESSON 05.06 · Read the mechanism ↗Manual executionRunProtectAdminGroupsTask = 1 on rootDSE LDAP modify (with Ldp.exe) triggers SDProp immediately, does not affect the scheduled run.
LESSON 05.06 · Read the mechanism ↗adminCount attributeSDProp is set to 1 on the objects it protects; It marks that an object IS protected, it does not automatically return to 0 when unsubscribed.
LESSON 05.06 · Read the mechanism ↗Windows Security channel5136 (with appropriate SACL) for AdminSDHolder DACL or adminCount change, Audit Directory Service Changes; domain controller only.
LESSON 05.06 · Read the mechanism ↗Administrators (Builtin Local)SID S-1-5-32-544; a local SAM group on a member host, but a directory group in AD’s CN=Builtin container on a DC. On a domain controller, members have full access to the DC and unrestricted administrative access to the domain.
LESSON 05.07 · Read the mechanism ↗Domain AdminsSID S-1-5-21-<domain>-512; global group; specific to its domain and nested by default into that domain’s Builtin Administrators group and the local Administrators groups of domain-joined computers.
LESSON 05.07 · Read the mechanism ↗Enterprise AdminsSID S-1-5-21-<forest-root>-519; It is found only in the forest root domain; It is added to the Administrators group of each domain in the forest; Its scope is forest-wide.
LESSON 05.07 · Read the mechanism ↗Membership change events (Audit Security Group Management)4732 (member added) / 4733 (member removed) for local group; 4728/4729 for global group; for universal group 4756/4757.
LESSON 05.07 · Read the mechanism ↗Group scope typesDomain Local, Global and Universal; The RID and group scope of a SID determine which domain/forest boundary the membership is valid for.
LESSON 05.07 · Read the mechanism ↗Clientthe ordinary password-based AS path uses its long-term key as the reply key. Other pre-authentication mechanisms can select a different reply key. The client does not know the krbtgt key or open the TGT ciphertext.
LESSON 06.01 · Read the mechanism ↗KDCis a service of the domain; It has two components: Authentication Service (AS) issues TGT, Ticket-Granting Service (TGS) issues service tickets. It runs as a single process in LSA on the domain controller and cannot be stopped.
LESSON 06.01 · Read the mechanism ↗krbtgtKDC's account; It is created automatically when the domain is created, it cannot be deleted and its name cannot be changed; It has a random password, and from this password the key that seals the TGTs is derived. The krbtgt key is the root of domain-wide trust.
LESSON 06.01 · Read the mechanism ↗Servicethe SPN associates an instance with its sign-in account. The KDC protects the service-ticket enc-part with that account's key. One account may support multiple SPNs or instances; a separate key per instance is not guaranteed.
LESSON 06.01 · Read the mechanism ↗Trust (inter-realm)when trust is established between two realms, a common trust account and an inter-realm key derived from it are created; The cross-realm referral ticket is sealed with this key.
LESSON 06.01 · Read the mechanism ↗RFC 4120 §5.4.2AS-REP ::= [APPLICATION 11] KDC-REP, TGS-REP ::= [APPLICATION 13] KDC-REP.
LESSON 06.02 · Read the mechanism ↗RFC 4120 §5.3Ticket ::= [APPLICATION 1] SEQUENCE { tkt-vno, realm, sname, enc-part }.
LESSON 06.02 · Read the mechanism ↗RFC 4120 §5.2.9EncryptedData ::= SEQUENCE { etype [0], kvno [1] OPTIONAL, cipher [2] }.
LESSON 06.02 · Read the mechanism ↗RFC 4120 §7.5.1 key usage2 (ticket enc-part, service key), 3 (AS-REP enc-part, client key), 8/9 (TGS-REP enc-part, TGS session key or authenticator subkey).
LESSON 06.02 · Read the mechanism ↗RFC 4120 §5.5.1AP-REQ ::= [APPLICATION 14] SEQUENCE { pvno, msg-type, ap-options, ticket, authenticator }.
LESSON 06.02 · Read the mechanism ↗Windows Security channel4768 (AS), 4769 (TGS), 4771 (pre-auth error); only on domain controller.
LESSON 06.02 · Read the mechanism ↗RFC 4120 §5.2.2PrincipalName ::= SEQUENCE { name-type [0] Int32, name-string [1] SEQUENCE OF KerberosString }.
LESSON 06.03 · Read the mechanism ↗RFC 4120 §6.2name-type NT-PRINCIPAL (1) and NT-SRV-INST (2); sname mostly names the service instance with type NT-SRV-INST.
LESSON 06.03 · Read the mechanism ↗RFC 4120 §7.5.1 key usage 2ticket enc-part is protected by the service key; this is the key to the account from which the sname was resolved.
LESSON 06.03 · Read the mechanism ↗RFC 4120 §7.5.9 error codesKDC_ERR_S_PRINCIPAL_UNKNOWN (7) unknown SPN, KDC_ERR_PRINCIPAL_NOT_UNIQUE (8) same SPN found in more than one account.
LESSON 06.03 · Read the mechanism ↗SPN syntax<service class>/<host>:<port>/<service name>; The first two components are mandatory, port and service name are optional (Microsoft, Name Formats for Unique SPNs).
LESSON 06.03 · Read the mechanism ↗Windows Security channel4769 / ServiceName, ServiceSid, TicketEncryptionType fields; only on domain controller.
LESSON 06.03 · Read the mechanism ↗RFC 4120 §5.2.7 PA-DATA:= SEQUENCE { padata-type [1] Int32, padata-value [2] OCTET STRING }; §5.2.7.2 PA-ENC-TIMESTAMP (padata-type 2), PA-ENC-TS-ENC (timestamp) encrypted with the client's key.
LESSON 06.04 · Read the mechanism ↗RFC 4120 §5.4.2AS-REP enc-part is encrypted with the client's long-term key (reply key) and carries the session key; ticket [5] and enc-part [6] are sister fields in the same SEQUENCE.
LESSON 06.04 · Read the mechanism ↗RFC 4120 §7.5.1 key usage1 (AS-REQ PA-ENC-TIMESTAMP), 3 (AS-REP enc-part, client/reply key), 2 (ticket enc-part, service/krbtgt key).
LESSON 06.04 · Read the mechanism ↗RFC 4120 §7.5.9KDC_ERR_PREAUTH_REQUIRED (25), KDC_ERR_PREAUTH_FAILED (24), KDC_ERR_ETYPE_NOSUPP (14).
LESSON 06.04 · Read the mechanism ↗RFC 4120 §5.4.1 and §3.1.3The req-body etype list declares the client's enctype capabilities; KDC selects a matching client long-term/reply key for AS-REP reply encryption and a separate enctype for the session key, and these two enctypes may be different. §5.2.7.5 PA-ETYPE-INFO2 is the padata by which the KDC reports the enctype, salt, and s2kparams for the long-term/reply key to the client.
LESSON 06.04 · Read the mechanism ↗RFC 3961 §3-§4encryption type profiles; string-to-key and random-to-key are enctype specific, and each protocol key is tied to a single enctype (typed key). RFC 3962: etype 18 AES256-CTS-HMAC-SHA1-96, 17 AES128-CTS-HMAC-SHA1-96; RFC 4757: etype 23 RC4-HMAC.
LESSON 06.04 · Read the mechanism ↗Windows Security channel4771 / PreAuthType (2 = PA-ENC-TIMESTAMP), Status (Failure Code, 0x18 = KDC_ERR_PREAUTH_FAILED); generated only on domain controllers, and not generated for an account with Kerberos preauthentication disabled.
LESSON 06.04 · Read the mechanism ↗RFC 4120 §5.2.6AuthorizationData ::= SEQUENCE OF SEQUENCE { ad-type [0] Int32, ad-data [1] OCTET STRING }; §5.2.6.1 AD-IF-RELEVANT (ad-type 1), unclear elements can be ignored.
LESSON 06.05 · Read the mechanism ↗MS-KILEPAC is encoded as AD-WIN2K-PAC (ad-type 128) and wrapped in AD-IF-RELEVANT (ad-type 1) and placed in the ticket authorization-data.
LESSON 06.05 · Read the mechanism ↗MS-PAC §2.5 KERB_VALIDATION_INFOUserId, PrimaryGroupId, GroupIds (GROUP_MEMBERSHIP array: RelativeId + Attributes) and ExtraSids; group membership is carried over here.
LESSON 06.05 · Read the mechanism ↗MS-PAC §2.8 PAC_SIGNATURE_DATAGenerated with Server Signature service key, KDC Signature with krbtgt key; signature verification checks the integrity of the PAC.
LESSON 06.05 · Read the mechanism ↗Microsoft · Access tokensthe token carries the user's SID and group SIDs and access check is done with this token.
LESSON 06.05 · Read the mechanism ↗RFC 4120 §2.6forwardable ticket flags; The delegated identity is carried with a forwarded TGT.
LESSON 06.06 · Read the mechanism ↗RFC 4120 §2.8ok-as-delegate ticket flag; KDC sets this flag when the service account is marked as trusted for unconstrained delegation and tells the client 'delegating credentials to this service is appropriate according to the realm policy'.
LESSON 06.06 · Read the mechanism ↗MS-SFU §1.3TGS extensions S4U2self (protocol transition) and S4U2proxy (constrained delegation); They are two separate steps.
LESSON 06.06 · Read the mechanism ↗userAccountControl bitsTRUSTED_FOR_DELEGATION 0x80000 (unconstrained), TRUSTED_TO_AUTH_FOR_DELEGATION 0x1000000 (protocol transition), NOT_DELEGATED 0x100000 (account cannot be delegated).
LESSON 06.06 · Read the mechanism ↗msDS-AllowedToDelegateToallowed target SPN list that resides in the front-end account in classic constrained delegation.
LESSON 06.06 · Read the mechanism ↗msDS-AllowedToActOnBehalfOfOtherIdentitySecurity descriptor (String(NT-Sec-Desc), 2.5.5.15), which resides in the back-end account in RBCD and carries the allowed front-end SIDs.
LESSON 06.06 · Read the mechanism ↗Windows Security 4769 · Transited Services fieldShows through which service the delegation is made in the ticket issued with S4U2proxy; only on domain controller.
LESSON 06.06 · Read the mechanism ↗RFC 4120 §§5.3 and 5.4.2EncTicketPart inside Ticket and EncKDCRepPart inside KDC-REP are separate structures; both carry times but are protected with different keys.
LESSON 06.07 · Read the mechanism ↗RFC 4120 §§2.3/5.4.1endtime is the current validity limit; renew-till is the latest renewal limit. They are distinct fields, often with a later renew-till, but the values need not be strictly different.
LESSON 06.07 · Read the mechanism ↗RFC 4120 §3.3 and KDCOptions RENEWnew endtime is obtained by presenting existing ticket; renew-till remains constant.
LESSON 06.07 · Read the mechanism ↗RFC 4120 §5.9.1KRB-ERROR ::= [APPLICATION 30]; error-code [6] is the Int32 numeric ID of the error, e-text [11] and e-data [12] are additional information.
LESSON 06.07 · Read the mechanism ↗RFC 4120 §7.5.9 error codesKDC_ERR_S_PRINCIPAL_UNKNOWN 7, KDC_ERR_PREAUTH_FAILED 24, KDC_ERR_PREAUTH_REQUIRED 25, KRB_AP_ERR_TKT_EXPIRED 32 (0x20), KRB_AP_ERR_REPEAT 34 (0x22), KRB_AP_ERR_SKEW 37 (0x25), KRB_AP_ERR_MODIFIED 41 (0x29).
LESSON 06.07 · Read the mechanism ↗Windows Security 4768 (Result Code), 4769 (Status) and 4771 (Failure Code)KDC transaction logs; These fields are the Windows equivalent of the above error namespace and are produced only in DC.
LESSON 06.07 · Read the mechanism ↗Clienthas the NT hash (key for NTOWFv2) derived from the user's password. The server in Type 2 receives the challenge, generates its own client challenge, calculates NTProofStr and sends it in Type 3. The password itself does not go in any messages.
LESSON 07.01 · Read the mechanism ↗Target serviceit cannot validate a domain account response using its local account data and passes validation to a DC through Netlogon. For a local account, the target computer is the account authority and uses its own account data. An upper protocol such as SMB or HTTP carries the NTLM messages.
LESSON 07.01 · Read the mechanism ↗DCthe validation authority for a domain account. Writable DCs replicate credential material. An RODC can validate an account whose credentials are cached under its Password Replication Policy; otherwise it forwards to a writable DC. This visual does not emulate RODC forwarding.
LESSON 07.01 · Read the mechanism ↗Netlogon secure channelpass-through authentication path between the server and the DC. The server transports the NTLM credential to the DC via Netlogon (MS-NRPC) in the format defined by MS-APDS; This channel is set up with the server's computer account.
LESSON 07.01 · Read the mechanism ↗MSV1_0the authentication package used for NTLM credential validation. Visibility of 4776 depends on applicable Audit Credential Validation coverage; absence of the event does not by itself show that validation did not occur.
LESSON 07.01 · Read the mechanism ↗NT hashMD4(UTF-16LE(password)). It is not salted and derives only from password; the same password yields the same NT hash on every account. The password is fixed unless changed; In the domain account, it is kept in the directory on the DC side, in the local account it is kept in the SAM. It is credential-equivalent: if captured, it can be used as proof of identity without knowing the password (pass-the-hash).
LESSON 07.02 · Read the mechanism ↗NTOWFv2HMAC_MD5(NT hash, UNICODE(Uppercase(User) + UserDom)). In NTLMv2, this is the real key; NT derives from hash and user+domain name. 'Salt' is not random here, it is the username and domain name.
LESSON 07.02 · Read the mechanism ↗temp / NTLMv2_CLIENT_CHALLENGEstructure embedded in response; Contains RespType 0x01, timestamp (FILETIME), 8-byte client challenge and TargetInfo AV_PAIRs. These variables explain why Response changes every time.
LESSON 07.02 · Read the mechanism ↗SessionBaseKeyHMAC_MD5(NTOWFv2, NTProofStr). It is the basis of session key derivation; It does not go open on the wire and cannot be read directly from the response.
LESSON 07.02 · Read the mechanism ↗RFC 4178mechTypes is an OID list in initiator preference order. The acceptor can choose an offered, acceptable mechanism or reject the list; it need not always choose the first common entry.
LESSON 07.03 · Read the mechanism ↗RFC 4178 §4.2.1 / §5mechListMIC is a MIC protected by the chosen mechanism and serves to detect whether the mechTypes list has been downgraded by a middle party.
LESSON 07.03 · Read the mechanism ↗Microsoft Negotiate SSPan application can select the Negotiate package through SSPI; the package prefers Kerberos when it can be used and the caller supplies sufficient target identity information, such as an SPN, UPN, or NetBIOS account name. The selected package appears in Event 4624 AuthenticationPackageName.
LESSON 07.03 · Read the mechanism ↗Microsoft 4624 (Field Descriptions)LogonType 3 (Network) is a network session; LogonProcessName 'NtLmSsp' distinguishes a session processed by NTLM SSP, while AuthenticationPackageName distinguishes the packet actually used (Kerberos / NTLM / Negotiate).
LESSON 07.03 · Read the mechanism ↗Microsoft 4624The LmPackageName field indicates the minor version ('NTLM V1' / 'NTLM V2' / 'LM') used in NTLM sessions; Kerberos sessions have '-'. KeyLength carries the key length (e.g. 128); It is 0 for Kerberos sessions.
LESSON 07.03 · Read the mechanism ↗Microsoft NTLM overview / Restrict NTLM'Network security: Restrict NTLM' policy family can manage outgoing/incoming NTLM traffic as Allow / Audit / Deny; Deny may fail to fallback to NTLM, so fallback is not guaranteed in all environments.
LESSON 07.03 · Read the mechanism ↗MS-NLMP §2.2.2.5 (Negotiate flags)NTLMSSP_NEGOTIATE_SIGN requests message integrity (signature), NTLMSSP_NEGOTIATE_SEAL requests message confidentiality (encryption); The two are separate flags. With NTLMSSP_NEGOTIATE_KEY_EXCH the AUTHENTICATE message carries an EncryptedRandomSessionKey; The exported session key is RC4 encrypted with KeyExchangeKey.
LESSON 07.04 · Read the mechanism ↗MS-NLMP §2.2.2.1 AV_PAIRThe MsvAvChannelBindings (0x000A) field is an MD5 hash of the gss_channel_bindings_struct value of the external secure channel (e.g. TLS); By putting this in the target information in AUTHENTICATE, the client binds the internal NTLM authentication to the external channel (channel binding component of EPA).
LESSON 07.04 · Read the mechanism ↗MS-NLMP §2.2.2.1 / §3.1.5.1.2MsvAvTargetName (0x0009) carries the SPN (service binding) of the target service; Bit 0x00000002 in MsvAvFlags (0x0006) indicates that a MIC is present. If a MIC is present and authenticated in the AUTHENTICATE message, this MIC protects the NEGOTIATE + CHALLENGE + AUTHENTICATE triple with the session key via HMAC-MD5 and prevents flags (e.g. removing signing) from being changed later; MIC may not be available/mandatory in every session.
LESSON 07.04 · Read the mechanism ↗Microsoft KB4520412 (registry)Under NTDS\Parameters, LDAPServerIntegrity sets signing requirement (1 = not required, 2 = signing required); LdapEnforceChannelBinding Determines the channel binding enforcement on TLS (0 = never, 1 = on supporting clients, 2 = always).
LESSON 07.04 · Read the mechanism ↗Microsoft KB4520412 (channel binding events)3039, LDAP-over-SSL/TLS reports that a client failed LDAP channel binding token validation (under the When Supported or Always policy; minimum logging level 2). When the policy is Never, 3040 reports the number of unprotected LDAPS binds in the last 24 hours, and 3041 reports the 24-hour posture warning (channel binding enforcement is recommended) (minimum logging level is 0).
LESSON 07.04 · Read the mechanism ↗MS-SMB2 §2.2.4 (signing)In an SMB2 session, SMB2_NEGOTIATE_SIGNING_REQUIRED specifies that the server requires signing; If signing is mandatory, a session relayed over SMB cannot produce a valid signature. This is a parallel integrity layer outside of LDAP.
LESSON 07.04 · Read the mechanism ↗userAccountControlACCOUNTDISABLE = 0x0002 makes a DC that has received the change reject new online domain authentication for this account; cached desktop logon and established sessions are separate paths. In AD DS, assess effective lockout from lockoutTime and ADS_UF_LOCKOUT (0x0010) in the computed msDS-User-Account-Control-Computed attribute; do not treat this as a persistent userAccountControl value.
LESSON 08.01 · Read the mechanism ↗Account Lockout Policylockout applies when failed-password attempts reach the configured Account lockout threshold; Account lockout duration and Reset account lockout counter after determine the behavior.
LESSON 08.01 · Read the mechanism ↗lastLogonTimestampa replicated, approximate indicator of domain logon activity. It updates only when its value is older than the configured msDS-LogonTimeSyncInterval. Common default behavior produces an update threshold of roughly 9–14 days; it is not an exact last-use proof. badPwdCount and lastLogon are non-replicated and maintained per DC.
LESSON 08.01 · Read the mechanism ↗Deleted objecta deleted object is marked isDeleted=TRUE and enters Deleted Objects. If AD Recycle Bin was enabled before deletion, preserved attributes can be restored during the deleted-object lifetime; later recycled/tombstone and permanent-cleanup stages depend on tombstoneLifetime and configuration. Do not assume a universal 180-day default.
LESSON 08.01 · Read the mechanism ↗Password reset attemptUser-Force-Change-Password (Reset Password) control access right, Rights-GUID 00299570-246d-11d0-a768-00aa006e0529; another-account reset attempt is audited as 4724, while the outcome must be read separately.
LESSON 08.02 · Read the mechanism ↗Default Domain Password Policyone per domain; It includes minimum length, password history, min/max age, complexity and Account Lockout Policy subsection (carried over by Group Policy).
LESSON 08.02 · Read the mechanism ↗Fine-Grained Password Policy (PSO, msDS-PasswordSettings)overrides domain policy for specific user/global group; Contains the fields msDS-PasswordSettingsPrecedence, msDS-PSOAppliesTo, msDS-Lockout*.
LESSON 08.02 · Read the mechanism ↗Resultant policyevaluate directly assigned user PSOs first; otherwise consider applicable group PSOs. Within the chosen set, the lowest numeric msDS-PasswordSettingsPrecedence (highest priority) wins; objectGUID breaks ties. PSOs are not merged.
LESSON 08.02 · Read the mechanism ↗computer objectobjectClass=computer; sAMAccountName ends with '<host>$; Each domain member has an account and password.
LESSON 08.03 · Read the mechanism ↗userAccountControlWORKSTATION_TRUST_ACCOUNT 0x1000 (workstation/member server), SERVER_TRUST_ACCOUNT 0x2000 (domain controller) — distinguishes the type of account.
LESSON 08.03 · Read the mechanism ↗machine passwordthe local secret stored by the member must be the same as the password of the account in AD; Netlogon secure channel relies on this matching.
LESSON 08.03 · Read the mechanism ↗Netlogon secure channelIt is established between the member and the DC via the MS-NRPC RPC interface (\PIPE\NETLOGON named pipe, ncacn_ip_tcp dynamic endpoint, Netlogon SSP).
LESSON 08.03 · Read the mechanism ↗Maximum machine account password agedefault 30 days, allowed range 1-999; The member initiates the change, DC does not force it.
LESSON 08.03 · Read the mechanism ↗ms-DS-MachineAccountQuotanumber of accounts an authenticated user can create, default 10.
LESSON 08.03 · Read the mechanism ↗audit trail4741 (account created) and 4742 (account changed) are produced only on DCs, in the Audit Computer Account Management subcategory.
LESSON 08.03 · Read the mechanism ↗manual service accountan ordinary domain user account; The administrator knows the password and returns it manually; The administrator manages the SPN.
LESSON 08.04 · Read the mechanism ↗sMSA (standalone Managed Service Account)Came with Windows Server 2008 R2; It provides automatic password management and simplified SPN management, but is tied to a single host.
LESSON 08.04 · Read the mechanism ↗gMSA (group Managed Service Account)Came with Windows Server 2012; multiple hosts in a server farm share the same identity; DC calculates the password.
LESSON 08.04 · Read the mechanism ↗msDS-ManagedPasswordA constructed attribute in the gMSA object; It is not stored static, it is returned to the authorized caller as MSDS-MANAGEDPASSWORD_BLOB at the time of the request.
LESSON 08.04 · Read the mechanism ↗MSDS-MANAGEDPASSWORD_BLOBVersion, Reserved, Length; CurrentPasswordOffset, PreviousPasswordOffset, QueryPasswordIntervalOffset, UnchangedPasswordIntervalOffset; current/optional previous WCHAR values and two distinct interval fields.
LESSON 08.04 · Read the mechanism ↗msDS-ManagedPasswordIntervalDetermines how many days the gMSA password will change; In PowerShell, the default is 30 days and is determined at creation time.
LESSON 08.04 · Read the mechanism ↗An SPN requires <service class>/<host>;<port> and /<service name> are optional components used when needed. For example, cifs/files.example.test needs neither extra component. The SPN must be unique within the forest.
LESSON 08.04 · Read the mechanism ↗msLAPS-PasswordUnicode string; carries the cleartext password as JSON with encryption off ({"n":account, "t":UTC update time hex, "p":password}); SearchFlags 904 (including fCONFIDENTIAL).
LESSON 08.05 · Read the mechanism ↗msLAPS-EncryptedPasswordbyte string; encrypted password blob; SearchFlags 904; AttributeSecurityGuid ms-LAPS-Encrypted-Password-Attributes (f3531ec6-6330-4f8e-8d39-7a671fbac605).
LESSON 08.05 · Read the mechanism ↗msLAPS-PasswordExpirationTime64-bit integer, UTC expiration time of the password; SearchFlags 0 — not confidential.
LESSON 08.05 · Read the mechanism ↗msLAPS-EncryptedPasswordHistory / msLAPS-EncryptedDSRMPasswordhistory and DSRM password for DCs; only when encryption is on; SearchFlags 904.
LESSON 08.05 · Read the mechanism ↗ms-LAPS-Encrypted-Password-Attributesextended right / property set; Rights GUID f3531ec6-6330-4f8e-8d39-7a671fbac605; valid accesses 48 (RIGHT_DS_READ_PROPERTY | RIGHT_DS_WRITE_PROPERTY). RP/WP property-set scope does not remove the confidential attribute’s additional RIGHT_DS_CONTROL_ACCESS requirement.
LESSON 08.05 · Read the mechanism ↗Storage locationpassword is stored in the computer object; access is protected by ACLs (and optional AES-256/CNG DPAPI encryption).
LESSON 08.05 · Read the mechanism ↗Windows LAPS Operational channelevents under Applications and Services > Microsoft > Windows > LAPS > Operational; It's not on the Security channel.
LESSON 08.05 · Read the mechanism ↗Background taskruns once an hour, hard-coded and non-configurable; Unlike Microsoft LAPS, legacy is not a GPO CSE.
LESSON 08.05 · Read the mechanism ↗The two halves of a GPO: GPC, GPT, and SYSVOLGPO is the combination of GPC metadata in AD and GPT files in SYSVOL under the same policy GUID; You cannot say "GPO has been applied" without considering both replication paths and client reading together.
LESSON 09.01 · Read the mechanism ↗Which policy applies? LSDOU, filtering, inheritance, and loopbackLSDOU only gives the starting order; security/WMI filtering, inheritance, and loopback narrow or reframe which client and user context will produce the effective policy.
LESSON 09.02 · Read the mechanism ↗GPCthe directory object in Active Directory under CN={GPO-GUID},CN=Policies,CN=System,DC=outreason,DC=example; GPO metadata and extension lists are stored here.
LESSON 09.03 · Read the mechanism ↗GPTthe Policies\{GPO-GUID} directory in SYSVOL; policy files and GPT.INI live on this file system surface.
LESSON 09.03 · Read the mechanism ↗gPLinkan attribute of the Site, domain, or OU (SOM) object; the relationship that links a GPO to the target is stored here, not on the GPC.
LESSON 09.03 · Read the mechanism ↗Policy settingsmanage the policy-aware setting of a Windows component; the result depends on that component's policy semantics.
LESSON 09.04 · Read the mechanism ↗Group Policy Preferencesconfiguration items processed by a client-side extension; they cannot be assumed to have the same rollback/application semantics as policy enforcement.
LESSON 09.04 · Read the mechanism ↗Scriptsa command or script surface configured at specific processing phases such as computer startup/shutdown or user logon/logoff.
LESSON 09.04 · Read the mechanism ↗Scheduled Tasks preferencea definition/configuration item for Task Scheduler; a definition being present in a GPO is not proof that the task was successfully registered or ran on every endpoint.
LESSON 09.04 · Read the mechanism ↗Why was the GPO not applied? Reading resultant policy, refresh, version, and evidenceA GPO not appearing on a target, appearing in the list, or not producing the expected result from a setting are not the same failure. This lesson separates scope first, then GPC/GPT version and access evidence, and finally client-side extension processing. A resultant policy report is a results list; a refresh attempt alone is not proof that deployment and every setting applied successfully.
LESSON 09.05 · Read the mechanism ↗Writable DC, Global Catalog, and RODC: Differences in authority, data, and password cachingWritable DC, Global Catalog (GC), and Read-Only Domain Controller (RODC) are not alternative labels for one role. Writable/read-only describes whether a directory replica accepts changes. A GC-role DC holds full writable replicas of the schema, configuration, and its hosted domain naming contexts, plus partial read-only replicas of other domains. RODC Password Replication Policy (PRP) separately governs password caching on that RODC. This lesson distinguishes these axes and the behavior when connectivity is unavailable.
LESSON 10.01 · Read the mechanism ↗Naming contextschema, configuration, domain and application partitions each have their own replication scope.
LESSON 10.02 · Read the mechanism ↗Deleted objecta retained directory state that propagates a deletion to other DCs.
LESSON 10.02 · Read the mechanism ↗Event 2042the destination DC stopped inbound replication from the named source partner after their last successful replication interval exceeded tombstone lifetime. This does not describe every partner or outbound path.
LESSON 10.02 · Read the mechanism ↗Why Two DCs Differ: Metadata, Conflict and ConvergenceDifferent values on two DCs do not always indicate a failure. Separate version and originating stamps from local USN, and see how delay and conflict produce different outcomes.
LESSON 10.07 · Read the mechanism ↗Schema Mastercoordinates forest-wide schema changes.
LESSON 10.03 · Read the mechanism ↗Domain Naming Mastercoordinates adding or removing domains and application partitions at forest scope.
LESSON 10.03 · Read the mechanism ↗RID Masterallocates RID pools to DCs in each domain.
LESSON 10.03 · Read the mechanism ↗PDC Emulatorhas specific responsibilities for password-change priority, account lockout coordination and the domain time hierarchy.
LESSON 10.03 · Read the mechanism ↗Infrastructure Masterupdates cross-domain object references; whether this work is needed depends on GC placement and the Recycle Bin feature.
LESSON 10.03 · Read the mechanism ↗fSMORoleOwnerstores the role holder’s NTDS Settings DN on the relevant directory object.
LESSON 10.03 · Read the mechanism ↗Domain naming contextcontains domain principals, the policy base and domain-local administration scope.
LESSON 10.04 · Read the mechanism ↗Forestshares schema, configuration and the forest-wide trust/control plane.
LESSON 10.04 · Read the mechanism ↗Enterprise Admins and Schema Adminsforest-wide privileged groups located in the forest-root domain.
LESSON 10.04 · Read the mechanism ↗Global Catalogholds partial attribute sets for forest objects and connects domains for discovery.
LESSON 10.04 · Read the mechanism ↗OU delegationgrants administrative scope within a domain without creating a domain/forest security boundary.
LESSON 10.04 · Read the mechanism ↗Separate foresthas separate schema/configuration and a separate privileged control plane; adding a trust requires a separate access-path decision.
LESSON 10.04 · Read the mechanism ↗Trusted Domain Object (TDO)represents trust partner and relationship properties in the directory.
LESSON 10.05 · Read the mechanism ↗trustDirection=1 (inbound)the trusted domain trusts the primary domain. Read the direction from the perspective of the domain containing the TDO.
LESSON 10.05 · Read the mechanism ↗trustDirection=2 (outbound)the primary domain trusts the trusted domain.
LESSON 10.05 · Read the mechanism ↗trustDirection=3combination of inbound and outbound bits, bidirectional trust.
LESSON 10.05 · Read the mechanism ↗Transitive trustallows trust path to expand in defined domain/forest hierarchy.
LESSON 10.05 · Read the mechanism ↗External trustbetween certain two domains, non-transitive relationship; forest trust provides transitive coverage between two forest root.
LESSON 10.05 · Read the mechanism ↗Referral TGTa krbtgt/FOREIGN-REALM ticket that the local KDC can issue so the client can contact the target realm’s KDC.
LESSON 10.06 · Read the mechanism ↗TDO inter-realm trust informationdirectory data the KDC uses for cross-domain referrals and trust-key operations.
LESSON 10.06 · Read the mechanism ↗PAC ExtraSids and SIDHistoryauthorization data that can carry additional SIDs, including historical SIDs retained during migration.
LESSON 10.06 · Read the mechanism ↗SID filteringtrust-boundary processing that can remove SID classes from PAC authorization data or reject authentication, depending on the trust and SID class.
LESSON 10.06 · Read the mechanism ↗Selective authenticationa trust mode that requires the principal to have the Allowed-to-Authenticate control-access right on the target object.
LESSON 10.06 · Read the mechanism ↗Allowed-to-Authenticate rights GUID68b1d179-0d15-4d4f-ab71-46152e79a7bc.
LESSON 10.06 · Read the mechanism ↗Resource ACLthe target object’s permissions determine whether an authenticated principal may perform the requested operation.
LESSON 10.06 · Read the mechanism ↗Private keynormally generated and retained by the requester; an explicitly configured key-archival workflow may send an encrypted copy to the CA for recovery.
LESSON 11.01 · Read the mechanism ↗Public keyincluded in the certificate request and carried in the certificate’s SubjectPublicKeyInfo; it can be distributed publicly.
LESSON 11.01 · Read the mechanism ↗CA signaturecovers the DER-encoded TBSCertificate; signatureAlgorithm and signatureValue are separate fields in the outer Certificate structure.
LESSON 11.01 · Read the mechanism ↗Issueridentifies the issuing CA; path construction uses issuer/subject relationships and other certificate information to find supporting certificates.
LESSON 11.01 · Read the mechanism ↗Authority Key Identifier and Subject Key Identifierhelp identify issuer/key relationships when multiple CA certificates are candidates.
LESSON 11.01 · Read the mechanism ↗Trust anchorinformation supplied by the verifier’s path-validation configuration, commonly a trusted root but potentially another explicitly configured CA or peer trust.
LESSON 11.01 · Read the mechanism ↗RevocationCRL or OCSP status is obtained separately when required by the verifier’s application/profile policy; a certificate may advertise where to retrieve status information.
LESSON 11.01 · Read the mechanism ↗Certificate templatea directory object stored in AD DS; an Enterprise CA must also publish it in its own list before issuing from it.
LESSON 11.02 · Read the mechanism ↗Subject name sourcethe template determines whether the Subject is built from selected AD data or supplied in the request; review SAN behavior separately.
LESSON 11.02 · Read the mechanism ↗Subject Alternative Name (SAN)can carry structured identities such as dNSName, rfc822Name, or UPN-form otherName; the verifier decides which form it recognizes.
LESSON 11.02 · Read the mechanism ↗Extended Key Usage (EKU)when present, limits the certificate to the listed purposes; the verifier’s usage policy also matters.
LESSON 11.02 · Read the mechanism ↗Enroll and Autoenrollextended rights on the template object, granted through its security descriptor.
LESSON 11.02 · Read the mechanism ↗Manager approval or authorized-signature requirementscan hold a request for approval before issuance.
LESSON 11.02 · Read the mechanism ↗Published-template listmaintained for each CA; a template existing in AD DS does not mean every CA issues from it.
LESSON 11.02 · Read the mechanism ↗AD certificate authenticationcurrent KDC certificate-to-account mapping is a separate check; Subject/SAN or issuance alone does not prove strong mapping to a principal.
LESSON 11.02 · Read the mechanism ↗Certificate template objectAn AD DS directory object under Public Key Services in the Configuration naming context, with its own security descriptor. Read its permissions using AD ACL semantics, not filesystem semantics.
LESSON 11.03 · Read the mechanism ↗Certificate-EnrollmentThe control access right with CN Certificate-Enrollment, Display-Name Enroll, Rights-GUID 0e10c968-78fb-11d2-90d4-00c04f79dc55, and Applies-To PKI-Certificate-Template.
LESSON 11.03 · Read the mechanism ↗Certificate-AutoEnrollmentA separate control access right with rightsGuid a05b8cc2-17bc-4802-a710-e7c15ab866a2. It is distinct from Enroll and is represented by a separate ACE.
LESSON 11.03 · Read the mechanism ↗msPKI-Enrollment-FlagA bit field for enrollment and issuance behavior. CT_FLAG_PEND_ALL_REQUESTS (0x00000002) ordinarily makes the CA return a pending response and require CA manager approval. MS-WCCE documents a qualifying previous-approval renewal path where the CA ignores this flag.
LESSON 11.03 · Read the mechanism ↗msPKI-Certificate-Name-FlagClient and CA processing must be kept separate. MS-CRTD tells the client to include Subject information when CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT (0x00000001) is set, or SAN information when CT_FLAG_ENROLLEE_SUPPLIES_SUBJECT_ALT_NAME (0x00010000) is set. On the CA side, MS-WCCE says to ignore the ALT_NAME bit by itself; when ENROLLEE_SUPPLIES_SUBJECT is set, the CA uses the request's Subject and SAN information. The client flag alone does not prove that the CA will issue the requested SAN. Review the separate CA-wide SAN setting as well.
LESSON 11.03 · Read the mechanism ↗CA enrollment surfacethe request service and the CA's own security descriptor. Its Request Certificates permission is separate from Read/Enroll/AutoEnroll on the AD template object; the template's Enroll GUID does not represent this CA-level permission.
LESSON 11.03 · Read the mechanism ↗Interpret Kdcsvc / System events by versionno strong mapping is modern39 or legacy41; SID mismatch is modern41 or legacy49. The legacy IDs apply to Windows Server2008 R2 SP1 /2008 SP2.
LESSON 11.04 · Read the mechanism ↗Private keyA secret, protected separately from the certificate, that enables the certificate's identity claim. The certificate is shareable data; access to the key and its export surface must be controlled separately.
LESSON 11.05 · Read the mechanism ↗Validity windowThe period bounded by the certificate's notBefore and notAfter fields.
LESSON 11.05 · Read the mechanism ↗RenewalObtaining a new certificate near the end of its validity window. Reusing or regenerating the key pair is a separate decision.
LESSON 11.05 · Read the mechanism ↗CRLA signed CA-issued structure listing revoked certificates and, when present, a nextUpdate time.
LESSON 11.05 · Read the mechanism ↗cRLReasonA CRL-entry extension (OID 2.5.29.21) that identifies the reason for revocation, such as keyCompromise (1). It does not by itself give the time of compromise.
LESSON 11.05 · Read the mechanism ↗OCSPAn online request/response protocol for querying certificate status. It is a status-query path distinct from distributing a CRL; responses carry freshness information.
LESSON 11.05 · Read the mechanism ↗Invalidity DateA separate CRL-entry extension (OID 2.5.29.24) that can carry the date when key compromise was known or suspected, or when a certificate otherwise became invalid. It can be earlier than the CRL revocationDate.
LESSON 11.05 · Read the mechanism ↗AD DSa directory service operated by the organization. Objects are kept in forest and domain naming contexts; clients use LDAP, Kerberos, and NTLM and receive configuration through Group Policy. Schema, replication, and DC operations belong to the organization.
LESSON 12.01 · Read the mechanism ↗Microsoft Entra IDcloud identity provider operating at the tenant border. It gives tokens to applications, and cloud controls such as Conditional Access are evaluated here. It is not a cloud copy of AD DS's LDAP/Kerberos/Group Policy surface.
LESSON 12.01 · Read the mechanism ↗Microsoft Entra Domain Servicesa managed domain created with a unique namespace. Microsoft deploys and manages two Windows Server domain controllers as a replica set in the selected Azure region; customers don't deploy, configure, patch, or monitor those DCs. Entra ID is the source for identities synchronized into this managed domain.
LESSON 12.01 · Read the mechanism ↗AD FSan on-premises federation service configurable with Entra Connect. For federated sign-in, Entra ID delegates validation to a trusted authentication system such as AD FS; the organization operates the AD FS farm, WAP servers, and certificates.
LESSON 12.01 · Read the mechanism ↗PHS is a sign-in methodEntra ID validates against synchronized password-derived data. Both Connect Sync and Cloud Sync support PHS. The detailed derivation and two-minute cycle below are documented for Connect Sync; they are not asserted as Cloud Sync implementation details.
LESSON 12.02 · Read the mechanism ↗For the Connect Sync implementation, the PHS chain is documentedthe agent requests the unicodePwd value from a DC through the MS-DRSR replication protocol; the DC encrypts the MD4 hash using the MD5 hash of the RPC session key and a salt, then sends it to the agent. The agent expands the 16-byte hash to 64 bytes, adds a 10-byte per-user salt, and produces a 32-byte result with 1,000 iterations of PBKDF2/HMAC-SHA256. The per-user salt and iteration count are appended before the value is sent to Entra ID over TLS.
LESSON 12.02 · Read the mechanism ↗PTADuring sign-in to Entra ID, the password is verified directly against the on-premises Active Directory. A lightweight agent installed on on-premises servers performs the verification; The agent only opens an outbound connection and communicates with Entra ID using certificate-based authentication.
LESSON 12.02 · Read the mechanism ↗FederationEntra ID delegates validation to a separate trusted authentication system, typically on-premises AD FS. The federation service issues a SAML assertion; Entra ID validates that assertion and then issues its own token. Federation can be chosen for requirements such as a third-party MFA provider that Entra ID doesn't support natively.
LESSON 12.02 · Read the mechanism ↗Cloud Sync has two partsthe on-premises provisioning agent talks to AD DS; the cloud provisioning service owns configuration, scheduling and orchestration. The agent initiates its Service Bus connection outbound. The architecture page’s two-minute scheduler description does not guarantee that an object appears in Entra ID within two minutes.
LESSON 12.03 · Read the mechanism ↗Microsoft Entra registered (workplace joined)the device is registered with Entra ID, but an organizational account is not required to sign in to Windows. This is common for BYOD and mobile scenarios; ownership can remain with the user, who signs in with a local account. Registration alone does not enroll the device in MDM; device management and app protection are separate controls.
LESSON 12.04 · Read the mechanism ↗Microsoft Entra joinedthe device is joined to Entra ID; an organizational user signs in to Windows with an Entra account. Local accounts and applicable cached sign-in paths also exist; the join type does not establish online validation of every session. These devices are typically organization-owned; MDM and co-management are separate management configurations.
LESSON 12.04 · Read the mechanism ↗From Windows Hello to AD Resources: PRT, Trust and Ticket PathsYou can sign in to a cloud app, but an AD file share does not open. A Windows Hello credential, PRT, partial TGT, AD TGT and service ticket are distinct evidence. Compare three trust models against one resource goal.
LESSON 12.05 · Read the mechanism ↗membership edgea principal's security-group membership or nested-group path.
LESSON 13.01 · Read the mechanism ↗object-control edgea DACL ACE for a specific object, property, or control-access right.
LESSON 13.01 · Read the mechanism ↗session edgean observed, time-bounded session for a principal on a manageable target.
LESSON 13.01 · Read the mechanism ↗management edgethe separate authorization boundary required to perform a management operation on the target.
LESSON 13.01 · Read the mechanism ↗AccessCheckthe SIDs in the token, the requested access, and the object's DACL are evaluated together.
LESSON 13.01 · Read the mechanism ↗edge freshnessa directory snapshot, session telemetry, and ACL may not represent reality at the same point in time.
LESSON 13.01 · Read the mechanism ↗credentialauthentication material such as a password, key, ticket, or certificate.
LESSON 13.02 · Read the mechanism ↗privilegethe ability to affect an operation or object through a token, ACL, or delegation.
LESSON 13.02 · Read the mechanism ↗trustthe boundary at which identity and authorization information is accepted between security authorities.
LESSON 13.02 · Read the mechanism ↗authenticationverification of a principal's claim.
LESSON 13.02 · Read the mechanism ↗authorizationthe decision about requested access for an authenticated principal.
LESSON 13.02 · Read the mechanism ↗telemetrythe limited record produced by the system observing an event; it is not the whole mechanism.
LESSON 13.02 · Read the mechanism ↗Kerberoastingobtaining TGS ciphertext for a service account tied to an SPN and the risk of offline key guessing.
LESSON 13.03 · Read the mechanism ↗Relayforwarding an authentication exchange under the conditions required for the target service to accept it.
LESSON 13.03 · Read the mechanism ↗DCSyncrequesting replication-like directory data through the directory replication service protocol.
LESSON 13.03 · Read the mechanism ↗4769an observation of a KDC service-ticket operation.
LESSON 13.03 · Read the mechanism ↗4662an observation of a directory-object operation when a SACL is present; the Properties GUID provides essential context.
LESSON 13.03 · Read the mechanism ↗preconditionthe technical or administrative state genuinely required for the finding to apply.
LESSON 13.04 · Read the mechanism ↗impact scopethe object, principal, boundary, and time window affected.
LESSON 13.04 · Read the mechanism ↗evidencedata that directly supports the claim, with source and collection time recorded.
LESSON 13.04 · Read the mechanism ↗exceptiona deny, scope, control, or business requirement that limits the mechanism.
LESSON 13.04 · Read the mechanism ↗remediationa change with an owner and verification criteria that reduces the risk assumption.
LESSON 13.04 · Read the mechanism ↗confidencea level that keeps gaps in the mechanism, applicability, and impact evidence visible.
LESSON 13.04 · Read the mechanism ↗Separation applies in both directionslower-plane identities must not manage the control plane, and control-plane identities must not be used on lower-plane productivity surfaces.
LESSON 14.01 · Read the mechanism ↗PAWs, Separate Administrator Accounts, and Session Discipline: A Trusted Management Path.A trusted management path combines three boundaries: a separate administrator account for a high-impact role, use of that account only on a hardened PAW, and monitoring of the session's source and target context. A PAW is not a magic device; the trust chain breaks when productivity accounts, web/email exposure, or lower-plane sessions enter the same path.
LESSON 14.02 · Read the mechanism ↗Hypervisor management planea separate management domain that can provide console, snapshot, and disk access to a DC VM; guest AD ACLs do not by themselves constrain this plane.
LESSON 14.03 · Read the mechanism ↗Backup control planebackup server, repository, and restore-operator roles. Access to a backup copy is a recovery authority distinct from ordinary file permissions inside AD-managed systems.
LESSON 14.03 · Read the mechanism ↗PKIthe Enterprise CA, certificate templates, and enrollment-agent chain. A misconfigured template or weak private-key protection can produce identity material independently of a password.
LESSON 14.03 · Read the mechanism ↗Management agentRMM, monitoring, or patch-agent accounts and service channels. Track permissions separately between the host running the agent and the targets it manages.
LESSON 14.03 · Read the mechanism ↗LDAP bindsevaluate non-TLS SASL signing/sealing, TLS-protected simple binds and channel binding for TLS with SASL under their respective conditions.
LESSON 14.04 · Read the mechanism ↗NTLMaccount for the challenge-response and relay surface; move from audit to deny only after mapping dependencies.
LESSON 14.04 · Read the mechanism ↗SMBsigning provides message integrity; SMB 3 encryption provides confidentiality and integrity on encrypted traffic and can supersede separate signing protection on that path. Signing alone does not provide confidentiality; behavior depends on protocol/version and configuration.
LESSON 14.04 · Read the mechanism ↗KerberosSPN, DNS, time, and ticket flow are required for the correct target identity; monitor fallback behavior separately.
LESSON 14.04 · Read the mechanism ↗Protected UsersA global security group defined in Active Directory. Membership imposes client-side restrictions on the Windows device where the member signs in; when the domain functional level is Windows Server 2012 R2 or later, it also imposes additional restrictions on the domain controller.
LESSON 14.05 · Read the mechanism ↗Protected Users client sideon supported Windows, NTOWF, long-term Kerberos keys and offline logon verifier are not cached; CredSSP/WDigest plaintext credential caching is prevented. DC-side protocol restrictions have a separate DFL prerequisite.
LESSON 14.05 · Read the mechanism ↗Protected Users, domain sidemembers cannot authenticate with NTLM, cannot use DES or RC4 for Kerberos pre-authentication, cannot be delegated through delegation (constrained or unconstrained), and their initial TGT lifetime is shortened in a way that cannot be renewed.
LESSON 14.05 · Read the mechanism ↗Credential GuardA Windows platform control. It uses virtualization-based security to keep LSA secrets in an isolated process; its goal is to prevent the NTLM password hash, Kerberos TGT, and domain credentials from being extracted from the operating system.
LESSON 14.05 · Read the mechanism ↗What Credential Guard does not coverthe Active Directory database itself, local and Microsoft accounts, third-party authentication packages, or attack classes such as physical access and keylogging.
LESSON 14.05 · Read the mechanism ↗MFAA control that requests a second verification factor during sign-in on the Microsoft Entra ID side. It affects the token issuance decision; it does not inject an additional factor into an in-domain Kerberos ticket exchange or an NTLM session.
LESSON 14.05 · Read the mechanism ↗Audit-policy subcategoriesAdvanced Audit Policy Configuration divides auditing into detailed subcategories under nine main categories. Event families depend on these subcategories, so a category-level statement does not identify which events are enabled.
LESSON 15.01 · Read the mechanism ↗Subcategory precedenceWhen 'Audit: Force audit policy subcategory settings to override audit policy category settings' is enabled, subcategory settings override legacy category-based settings. If this setting is off, legacy policy can interfere with the intended detailed configuration.
LESSON 15.01 · Read the mechanism ↗SACLObject-access auditing has two conditions. The audit subcategory must be enabled, and the object's SACL must contain an audit ACE for the relevant principal and access type. A matching SACL can audit successful or failed attempts according to its flags.
LESSON 15.01 · Read the mechanism ↗Domain-controller event familiesKerberos authentication-service and service-ticket events are generated on domain controllers; searching for them on a client is looking at the wrong source.
LESSON 15.01 · Read the mechanism ↗Directory-change eventsAudit Directory Service Changes is logged only on domain controllers, requires a matching SACL on the relevant object or container, and covers create, delete, modify, move, and undelete operations.
LESSON 15.01 · Read the mechanism ↗Audit-setting changes have different scopesEvent 4719 reports system audit-policy changes. Event 4907 reports SACL changes on objects such as files or registry keys, but Microsoft says it is not generated for Active Directory objects. AD DS object changes may appear as Event 5136 when the subcategory and an attribute-specific Write Property audit ACE in the object’s SACL cover the change. None of these records alone proves the effective policy or SACL coverage on every object.
LESSON 15.01 · Read the mechanism ↗Logon ID (TargetLogonId / SubjectLogonId)Session identifier generated on a login event and reappearing on subsequent events on the same machine. Records such as session closure and privilege usage are linked to the same session through this field.
LESSON 15.02 · Read the mechanism ↗Scope of Logon IDThe value is unique only to the computer that generated it and across reboots. Equal values on different machines do not indicate the same session.
LESSON 15.02 · Read the mechanism ↗Logon GUIDAn identifier generated in sessions with Kerberos that can be mapped to Kerberos ticket events in the domain controller. It may not have any meaningful value in non-Kerberos sessions.
LESSON 15.02 · Read the mechanism ↗Kerberos event familyTGT and service ticket requests are recorded only on domain controllers; These records do not contain the session ID on the client side, the connection is established through different domains.
LESSON 15.02 · Read the mechanism ↗Directory change recordsThe event generated when a directory object changes carries information of the session that made the change and the changed attribute; The operation correlation ID groups records resulting from the same operation.
LESSON 15.02 · Read the mechanism ↗Access initiated with open credentialsWhen an account initiates a transaction with another account's credentials, it is recorded in a separate event family and is one of the breaking points in the chain.
LESSON 15.02 · Read the mechanism ↗DNS/DC Locatorallows the client to resolve domain and DC service records appropriate for the site.
LESSON 15.03 · Read the mechanism ↗time hierarchydomain members take samples from the trusted source in the AD DS hierarchy and discipline the local clock.
LESSON 15.03 · Read the mechanism ↗replication partnerthe opposite end of the inbound/outbound exchange relationship for the specific naming context.
LESSON 15.03 · Read the mechanism ↗freshnessWhich DC, naming context and time moment the observed directory state belongs to.
LESSON 15.03 · Read the mechanism ↗diagnostic scopeThe enterprise, site or single server target of the dcdiag test and the function it tests.
LESSON 15.03 · Read the mechanism ↗failure boundaryWhich of the discovery, authentication-time, transport or directory convergence layers is narrowed by evidence.
LESSON 15.03 · Read the mechanism ↗Configured statethe value written in the directory, registry, GPO or service configuration.
LESSON 15.04 · Read the mechanism ↗Effective statethe setting in effect on the target after scope, precedence, inheritance and local conditions have been evaluated.
LESSON 15.04 · Read the mechanism ↗Observed behavioran operation observed for a particular principal and target within a defined time interval.
LESSON 15.04 · Read the mechanism ↗Telemetry coverageoperations visible within the audit-policy, SACL, collector, retention and query scope.
LESSON 15.04 · Read the mechanism ↗Provenancethe system, time and method from which a record was collected.
LESSON 15.04 · Read the mechanism ↗Confidencedescribing the strength of a conclusion by distinguishing direct evidence, correlation and missing information.
LESSON 15.04 · Read the mechanism ↗scopeaffected identity, DC, domain, forest, admin tier, time window and dependent service set.
LESSON 15.05 · Read the mechanism ↗identity trustthe conditions under which credentials, tickets, keys, privileged accounts and management workstations can be trusted.
LESSON 15.05 · Read the mechanism ↗containmenta boundary that reduces spread or unauthorized access while preserving evidence and critical dependencies.
LESSON 15.05 · Read the mechanism ↗isolationcontrolled separation of an investigated or recovered system from untrusted network and identity paths.
LESSON 15.05 · Read the mechanism ↗recovery prioritythe dependency order of the identity control plane, name resolution, time, replication and business authentication.
LESSON 15.05 · Read the mechanism ↗decision gatean explicit threshold for revisiting containment or recovery when scope or evidence changes.
LESSON 15.05 · Read the mechanism ↗Object Restore, DC Recovery, and Forest Recovery: Scenarios That Are Not the Same Problem.Restoring a deleted object, recovering a DC and rebuilding the identity control plane after a forest-wide failure are different problems. Choose the method by first identifying what was lost and which trust assumptions still hold.
LESSON 15.06 · Read the mechanism ↗Observationrecord producer, time, identity and scope together.
LESSON 15.07 · Read the mechanism ↗Hypothesisit can explain the symptom but needs distinguishing evidence before acceptance.
LESSON 15.07 · Read the mechanism ↗Interventionit changes state owned by a particular actor; it does not refresh unrelated contexts automatically.
LESSON 15.07 · Read the mechanism ↗Closureevaluate trusted identity state, new resource behavior and legitimate workflow separately.
LESSON 15.07 · Read the mechanism ↗| PORT | TRANSPORT | PROTOCOL | PURPOSE |
|---|---|---|---|
| 53 | TCP / UDP | DNS | Name and service discovery |
| 88 | TCP / UDP | Kerberos | AS/TGS ticket operations |
| 123 | UDP | NTP / W32Time | Time synchronization |
| 135 | TCP | RPC Endpoint Mapper | RPC service endpoint discovery |
| 389 | TCP / UDP | LDAP / LDAP ping | TCP directory access; UDP DC discovery ping |
| 445 | TCP | SMB | Share and SYSVOL access |
| 464 | TCP / UDP | Kerberos password service | Related password operations |
| 636 | TCP | LDAPS | LDAP over TLS from the start |
| 3268 / 3269 | TCP | Global Catalog | GC query / GC over TLS |
| 9389 | TCP | AD Web Services | Supported administration tools |
| Dinamik RPC | TCP | RPC interfaces | Port range depending on deployment and OS configuration |
| EVENT | LOCATION | MEANING | INTERPRETATION BOUNDARY |
|---|---|---|---|
| 4624 | Hedef sistem | Successful sign-in | Logon type, account, source, and authentication package. |
| 4625 | System that records authentication | Failed sign-in | Status/substatus and scope; not attack evidence by itself. |
| 4768 | DC | TGT operation | Account, result, and suitable audit condition. |
| 4769 | DC | Service ticket operation | SPN and result; not evidence that the file was read. |
| 4771 | DC | Kerberos pre-authentication failure | Correlate the error code with context and time. |
| 5136 | DC | Directory object change | Relevant audit and SACL conditions are required. |
| 4662 | Relevant DC | Directory object operation | Right, object, and SACL scope matter. |
| 4740 | Relevant domain context | Account lockout | Correlate with source, account, and other attempts. |
Authentication of the identity.
Authority for the requested operation on a specific resource.
Presented to the KDC in subsequent ticket requests.
Hedef hizmete sunulur.
Authorization data inside the ticket.
Windows runtime security context.
Security principal identifier.
Directory object identifier.
Object and account management area.
Shared structure and primary trust boundary.
AD directory side of the GPO.
SYSVOL file side of the GPO.
Message integrity/authenticity.
Message confidentiality.
Interactive session with local cached information.
Current authentication context with the DC.
| TERM | MECHANISM | DEFENSE CONTEXT |
|---|---|---|
| Kerberoasting | Service identity and ticket protection | Managed strong secrets, narrow usage scope, and real ticket behavior. |
| AS-REP roasting | Pre-authentication requirement in the first ticket | Removing unjustified exceptions and monitoring account scope. |
| NTLM relay | Relationship of authentication to the target/channel | Protocol-appropriate signing, EPA/CBT, and identity path controls. |
| DCSync | Authority for the directory replication function | Inventory/audit of replication privileges and their use. |
| ACL abuse | Object control rights | Least privilege, correct inheritance, and change auditing. |
| Delegation abuse | Broker service access on behalf of the user | Justified targets, constrained delegation, and account restrictions. |
| Certificate identity abuse | Enrollment and account mapping trust | Template/CA administration, issuance conditions, and strong mapping. |