Windows Security log
4662 An operation was performed on an object.
An operation on an Active Directory object that has auditing on. The Properties field holds GUIDs of the rights or attributes involved, including the directory replication rights DCSync abuses.
- SecurityLog
- Microsoft-Windows-Security-AuditingSource
- Audit Directory Service AccessAudit policy
- 1Cases and alerts that use it
Fields to read
| Field | What it tells you |
|---|---|
SubjectUserName | The account that performed the operation. |
ObjectType | The class of the object (domainDNS for the domain itself). |
Properties | GUIDs: 1131f6aa-9c07-11d1-f79f-00c04fc2dcd2 is DS-Replication-Get-Changes, 1131f6ad-9c07-11d1-f79f-00c04fc2dcd2 is DS-Replication-Get-Changes-All. |
AccessMask | The kind of access (0x100 is a control access right). |
Normal
- Domain controllers replicating with each other (their computer accounts end in $).
- An identity synchronization account that is documented to hold replication rights.
Suspicious
- Replication rights used by a user account or a workstation: DCSync, which copies every password hash in the domain.
Find it
Microsoft Sentinel (KQL)
SecurityEvent
| where EventID == 4662Splunk (SPL)
index=wineventlog source="XmlWinEventLog:Security" EventCode=4662Table, index and source names as CyberSim uses them; your workspace may name them differently.
Where you meet it in CyberSim
Alerts in the shift
- Directory replication by a non-DC account
The L3 war room
- Kerberoasting to DCSync
The detection lab
- DCSync: directory replication abuse
ATT&CK techniques it can show
In the glossary
Other Security events
- 4624 An account was successfully logged on.
- 4625 An account failed to log on.
- 4634 An account was logged off.
- 4661 A handle to an object was requested.
- 4663 An attempt was made to access an object.
- 4672 Special privileges assigned to new logon.
- 4688 A new process has been created.
- 4698 A scheduled task was created.
- 4720 A user account was created.
- 4728 A member was added to a security-enabled global group.
- 4768 A Kerberos authentication ticket (TGT) was requested.
- 4769 A Kerberos service ticket was requested.
- 4886 Certificate Services received a certificate request.
- 4887 Certificate Services approved a certificate request and issued a certificate.
- 5136 A directory service object was modified.
- 5145 A network share object was checked to see whether client can be granted desired access.
- 6416 A new external device was recognized by the System.
Source: Microsoft Learn: event 4662