Hacker Directory — Understand what you hack.Hacker Directory — Understand what you hack.
Continue learning
TR
Contents15 chapters · 82 lessons
LESSON 13.02DERİN TEKNİK İNCELEME

Separating Risks Arising from Credentials, Privileges, and Trust Relationships.

Credential, privilege, and trust risk are not the same kind of claim. Credential risk concerns whether a secret or authentication material can be used; privilege risk concerns which authorization decision a principal can influence; trust risk concerns the conditions under which one boundary accepts a claim from another security authority.

1. Core mechanism

This lesson classifies a finding according to the trust assumption it affects. The same event may provide evidence for all three risks, but the event alone does not prove all three.

Interfaces and specifications

  • credential: authentication material such as a password, key, ticket, or certificate.
  • privilege: the ability to affect an operation or object through a token, ACL, or delegation.
  • trust: the boundary at which identity and authorization information is accepted between security authorities.
  • authentication: verification of a principal's claim.
  • authorization: the decision about requested access for an authenticated principal.
  • telemetry: the limited record produced by the system observing an event; it is not the whole mechanism.

The risk class changes the question

For a credential finding, ask: 'Which secret or proof can be used, where is it protected, and what does rotation cut off?' For a privilege finding, ask: 'Which principal can make which change on which object with which right?' For a trust finding, ask: 'Which boundary accepts which authority's claim, with what filtering and scope?'

The presence of an SPN on a service account does not automatically indicate credential risk; password or key protection, ticket-acquisition conditions, and the possibility of offline use require separate examination. If the same account has broad WriteDacl, that is a privilege risk; acceptance of a SID from a trusted domain is a trust risk.

Do not substitute one piece of evidence for the class

A KDC issuing a ticket is one step in the authentication protocol. It does not show that the target service accepted access, that the resource ACL allowed it, or that trust filtering behaved correctly in every expected scenario.

Similarly, 4662 is a directory-operation record selected by a SACL. It is not synonymous with the presence of an ACE or with a compromised credential.

State and data flow

  1. Name the assumption violated by the finding: credential, privilege, or trust.
  2. Record the supporting artifact and the artifact's observation boundary.
  3. State the additional authorization, network, and service preconditions required for impact.
  4. Map remediation to the risk class: secret protection, least privilege, or boundary control.

2. Exploitation

Broken trust assumption

An assessor wants to label a finding as high impact; this lesson sets boundaries so that applicability is not inferred from a name or a single telemetry record.

Technical prerequisites

  • For a credential claim, establish the material's exposure surface and either access to the secret/key/ticket or a verified credential-use path.
  • For a privilege claim, the correct principal, object, and authorization right are verified in the same time window.
  • For a trust claim, direction, scope, filtering, and the target side's acceptance conditions have been examined.

Exploitation mechanism

Misclassification produces the wrong remediation: password rotation alone does not close a broad ACL; fixing an ACE alone does not invalidate a leaked credential; trust filtering does not replace the resource ACL at either end.

Naming is the first line of the evidence chain

When a risk is reported as 'credential exposure', specify the material involved, its use window, and the verification boundary. When calling something 'privilege escalation', distinguish the directly granted right from the operation that is actually effective.

In a trust risk, compromise of the other domain and the way that compromise becomes effective on the target—through a SID, ticket, or authorization path—are not the same claim.

3. Defense & Detection

Telemetry scope

  • Assign one primary risk class to every finding and, where applicable, a dependent secondary class.
  • For credential findings, record the material type, storage or exposure surface, and rotation scope.
  • For privilege findings, retain the trustee, target object, right, inheritance, and deny/allow context.
  • For trust findings, retain direction, transitivity, filtering, and the boundary of target-resource authorization.

Events and relevant fields

  • 4769 is an observation of a KDC service-ticket operation; it is not evidence of successful resource access or credential compromise.
  • 4662 provides visibility into a directory operation only when the relevant SACL is configured; do not assume it covers every privilege change.

The same signal can open three separate investigation queues

The fixture identifies busra@OUTREASON.EXAMPLE as the requester and svc-reports as the target service account. A full SPN cannot be inferred from this ServiceName field; use separate directory/account evidence when needed. The KDC record starts the investigation; credential state, service acceptance and resource ACL outcomes need separate evidence.

This keeps event correlation from turning into the unsupported conclusion, 'I saw an event; compromise occurred.'

Detection logic · XPath

*[System[(EventID=4769)]]

Query assumptions

  • The query selects only candidates for KDC service-ticket operations.
  • Credential material, target-service acceptance, and the ACL result are not established by this event.

False positives

  • Normal application access may generate 4769.
  • A classification based only on EventID can conflate credential, privilege, and trust risks.

Hardening

  • Assign separate owners and remediation validation to credential, privilege, and trust findings.
  • Constrain privileged ACL delegation to task-based, object-specific rights.
  • Assess trust-boundary changes together with filtering and a review of target-resource authorization.

Read the examples

READ THE EXAMPLE TOGETHER

SYNTHETIC TEACHING EXAMPLE

Which claim can this KDC record support, and what remains absent?

KDC service-ticket request record (synthetic field subset)

01
Recording KDCdc01.outreason.example

dc01.outreason.example is the recording DC, not the resource host or client.

02
Ticket-requesting accountbusra@OUTREASON.EXAMPLE

busra@OUTREASON.EXAMPLE is the normalized account name. It establishes neither credential exposure nor account privilege scope.

03
Ticket target accountsvc-reports

svc-reports names the target account. This field gives neither the complete SPN nor the service runtime-account match.

04
KDC operation result0x0

0x0 is the success code for this KDC operation. Target ticket acceptance, resource ACL and credential compromise require separate evidence.

What to take away

4769 is a KDC observation. Credential, privilege and trust claims require separate material, token/ACE or authority-acceptance evidence; one event proves none of these outcomes.

This guide explains selected fields of the synthetic fixture. Editing returns to generic reading; no Windows operation or event authenticity is verified.

Scope of this example

A synthetic subset of4769 Version2 fields, not a complete Windows record or live capture. TargetUserName is the requesting account in normalized UPN form, which need not equal its UserPrincipalName attribute. ServiceName names the target service account or computer, not a full SPN. Here busra is the requester and svc-reports the target account. The KDC request does not establish service acceptance or resource authorization.

Open the raw record · EVENT-XML
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event"><System><Provider Name="Microsoft-Windows-Security-Auditing"/><EventID>4769</EventID><Version>2</Version><Level>0</Level><TimeCreated SystemTime="2026-10-01T09:14:11.0000000Z"/><EventRecordID>1302001</EventRecordID><Channel>Security</Channel><Computer>dc01.outreason.example</Computer><Security/></System><EventData><Data Name="TargetUserName">busra@OUTREASON.EXAMPLE</Data><Data Name="ServiceName">svc-reports</Data><Data Name="TicketEncryptionType">0x12</Data><Data Name="Status">0x0</Data><Data Name="IpAddress">192.0.2.24</Data></EventData></Event>

Two reality checks

Assumption: Seeing a service account or a 4769 record is evidence of credential compromise.
In fact: This data opens an investigation surface for the mechanism only; secret access, key hygiene, and actual use require separate evidence.
Assumption: A trust setting or privileged ACE completely explains a finding as a single risk class.
In fact: Trust boundaries, privilege authorization, and credential-verification material are different assumptions; remediation and validation must be carried out separately.

YOUR TURN

Work through this story.

Go beyond recall: change a condition, read evidence, explain the reason for a decision.

1 / 3 · PREDICT

A principal has unnecessary WriteDacl over a specific object. What is the initial risk class?

Choose an answer

A hint

Consider the right to change an authorization decision, rather than the availability of a secret.

Read the answer reasoning

Privilege risk

Correct. The claim concerns a principal’s authority to change an object DACL.

2 / 3 · READ EVIDENCE

Event 4769 is observed on DC01. What can this evidence support?

Case evidence summary; not a complete Windows event.
Producer
DC01 / KDC
EventID
4769
FS01 READ result
not observed
Choose an answer

A hint

What operation does the event producer perform?

Read the answer reasoning

There is a record of a KDC service-ticket operation.

Yes. FS01 acceptance, READ permission and credential compromise are separate claims.

3 / 3 · EXPLAIN

Why is password rotation alone insufficient remediation for a privilege risk?

A hint

State which control changes which assumption.

Read the answer reasoning

Rotation changes authentication material; it does not remove unnecessary WriteDacl. Narrow the object/trustee/right scope and separately validate the legitimate workflow.

  • I separated secret protection from right scope.
  • I identified narrowing the unnecessary right and verifying it again.

Your explanation is not automatically graded. Compare the checkpoints with your answer.

These are learning practices; they do not affect certification exam scores.

Sources