A user right (privilege) was removed from an account.
Removing rights from security accounts or service accounts impairs their function. Sabotage of AV or monitoring service accounts.
Alert: removal of rights from security tool service accounts.
SubjectUserNameTargetUserNameLogonTypeIpAddressWorkstationName Starting points — adapt the log source, projected fields and thresholds for your environment.
SecurityEvent
| where EventID == 4705 // A user right was removed
| project TimeGenerated, Computer, SubjectUserName, TargetUserName, LogonType, IpAddress, WorkstationName
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:Security" EventCode=4705
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# A user right was removed — add EventData fields: SubjectUserName, TargetUserName, LogonType, IpAddress`
A user right was removed. A user right (privilege) was removed from an account.
Event 4705 is written to the Security channel by Microsoft-Windows-Security-Auditing. Advanced Audit Policy — enable the 'Policy Change' subcategory (Success and/or Failure).
Alert: removal of rights from security tool service accounts.