An operation was attempted on a privileged object using special privileges. ObjectName and PrivilegeList are key.
Access to sensitive objects (SAM, LSASS) using elevated privileges. Correlate with 4656 and 4663 for full access picture.
Alert: operation on SAM or LSASS objects with elevated privileges. Correlate with 4656 for context.
SubjectUserNameTargetUserNameLogonTypeIpAddressWorkstationName | Tactic | Technique |
|---|---|
| Credential Access | OS Credential Dumping (T1003) |
Starting points — adapt the log source, projected fields and thresholds for your environment.
SecurityEvent
| where EventID == 4674 // An operation was attempted on a privileged object
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, LogonType, IpAddress, WorkstationName
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:Security" EventCode=4674
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# An operation was attempted on a privileged object — add EventData fields: SubjectUserName, TargetUserName, LogonType, IpAddress`
An operation was attempted on a privileged object. An operation was attempted on a privileged object using special privileges. ObjectName and PrivilegeList are key.
Event 4674 is written to the Security channel by Microsoft-Windows-Security-Auditing. Advanced Audit Policy — enable the 'Privilege Use' subcategory (Success and/or Failure).
Event 4674 is associated with: OS Credential Dumping (T1003).
Alert: operation on SAM or LSASS objects with elevated privileges. Correlate with 4656 for context.