Sigma rule: Service Installed By Unusual Client - Security
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-469546a6bf45, updated 2023-01-04T00:00:00.000Z.
Rule
- Title
- Service Installed By Unusual Client - Security
- Status
- test
- Level
- high
- Author
- Tim Rauch (Nextron Systems), Elastic (idea)
- Date
- 2022-09-15
- Modified
- 2023-01-04
- File
- rules/windows/builtin/security/win_security_service_installation_by_unusal_client.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
Detects a service installed by a client which has PID 0 or whose parent has PID 0
Log source
- product
- windows
- service
- security
- definition
- Requirements: The System Security Extension audit subcategory need to be enabled to log the EID 4697
Detection
selection_eid:
EventID: 4697
selection_pid:
- ClientProcessId: 0
- ParentProcessId: 0
condition: all of selection_*False positives (as the rule lists them)
- Unknown
Tags
- attack.persistence
- attack.privilege-escalation
- attack.t1543
MITRE ATT&CK ids this rule names
Related rules
References
- https://www.elastic.co/guide/en/security/current/windows-service-installed-via-an-unusual-client.html
- https://www.x86matthew.com/view_post?id=create_svc_rpc
- https://twitter.com/SBousseaden/status/1490608838701166596
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/win_security_service_installation_by_unusal_client.yml
Sources and licences
SigmaHQ
"Service Installed By Unusual Client - Security" by Tim Rauch (Nextron Systems), Elastic (idea) (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/builtin/security/win_security_service_installation_by_unusal_client.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Service Installed By Unusual Client - Security",
entity page, dataset version ref-469546a6bf45, updated 2023-01-04T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/c4e92a97-a9ff-4392-9d2d-7a4c642768ca (accessed 2026-11-03).
Underlying source: SigmaHQ rule c4e92a97-a9ff-4392-9d2d-7a4c642768ca, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.