Windows Security: Non-System SeTakeOwnershipPrivilege granted on SCM database object
Flags non-system users requesting SeTakeOwnershipPrivilege on the SCM database object servicesactive in Windows Security 4674.
- Product
- windows
- Service
- security
- Author
- Roberto Rodriguez @Cyb3rWard0g, Tim Shelton (SigmaHQ), DRL 1.1
- Published
- 2019-08-15
- Updated
- 2026-07-31
ATT&CK techniques
Priv Esc → Defense EvasionRecon
Resource Dev
Initial Access
Execution
Persistence
Defense Evasion
Cred Access
Discovery
Lateral Movement
Collection
C2
Exfiltration
Impact
What it detects
This rule identifies Windows Security events where a non-system subject requests the SeTakeOwnershipPrivilege on the SCM database object (ObjectType "SC_MANAGER OBJECT" / ObjectName "servicesactive"). Such privileged access can help an attacker manipulate Windows services configuration and support privilege escalation or persistence. The detection relies on Event ID 4674 (privilege use), using the target object and privilege name, and excludes activity originating from a specific system-logon context tied to services.exe.
Reporting behind it
Changelog
v2- v2Candidate ingested via manual entry.2026-07-31
- v1No changelog recorded for this version.2026-07-30
Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.
title: "Windows Security: Non-System SeTakeOwnershipPrivilege granted on SCM database object"
id: 3c59c0b6-73f2-4d4b-b8a1-f144765ac568
status: test
description: This rule identifies Windows Security events where a non-system subject requests the SeTakeOwnershipPrivilege on the SCM database object (ObjectType "SC_MANAGER OBJECT" / ObjectName "servicesactive"). Such privileged access can help an attacker manipulate Windows services configuration and support privilege escalation or persistence. The detection relies on Event ID 4674 (privilege use), using the target object and privilege name, and excludes activity originating from a specific system-logon context tied to services.exe.
references:
- https://threathunterplaybook.com/hunts/windows/190826-RemoteSCMHandle/notebook.html
- https://github.com/SigmaHQ/sigma/blob/master/rules/windows/builtin/security/win_security_scm_database_privileged_operation.yml
author: Roberto Rodriguez @Cyb3rWard0g, Tim Shelton, Huntrule Team
date: 2019-08-15
modified: 2022-09-18
tags:
- attack.privilege-escalation
- attack.t1548
logsource:
product: windows
service: security
detection:
selection:
EventID: 4674
ObjectType: SC_MANAGER OBJECT
ObjectName: servicesactive
PrivilegeList: SeTakeOwnershipPrivilege
filter:
SubjectLogonId: "0x3e4"
ProcessName|endswith: :\Windows\System32\services.exe
condition: selection and not filter
falsepositives:
- Unknown
level: medium
license: DRL-1.1
related:
- id: dae8171c-5ec6-4396-b210-8466585b53e9
type: derived