{"id":"c4e92a97-a9ff-4392-9d2d-7a4c642768ca","title":"Service Installed By Unusual Client - Security","description":"Detects a service installed by a client which has PID 0 or whose parent has PID 0","author":"Tim Rauch (Nextron Systems), Elastic (idea)","status":"test","level":"high","date":"2022-09-15","modified":"2023-01-04","tags":["attack.persistence","attack.privilege-escalation","attack.t1543"],"technique_ids":["T1543"],"logsource":{"service":"security","product":"windows","definition":"Requirements: The System Security Extension audit subcategory need to be enabled to log the EID 4697"},"falsepositives":["Unknown"],"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"],"source_path":"rules/windows/builtin/security/win_security_service_installation_by_unusal_client.yml","source_sha256":"e73f848892c6fd431bf926f2b157d52adc1aee9ece6d4f40712acd8a8045f721","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/builtin/security/win_security_service_installation_by_unusal_client.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Service Installed By Unusual Client - Security\nid: c4e92a97-a9ff-4392-9d2d-7a4c642768ca\nrelated:\n    - id: 71c276aa-49cd-43d2-b920-2dcd3e6962d5\n      type: similar\nstatus: test\ndescription: Detects a service installed by a client which has PID 0 or whose parent has PID 0\nreferences:\n    - https://www.elastic.co/guide/en/security/current/windows-service-installed-via-an-unusual-client.html\n    - https://www.x86matthew.com/view_post?id=create_svc_rpc\n    - https://twitter.com/SBousseaden/status/1490608838701166596\nauthor: Tim Rauch (Nextron Systems), Elastic (idea)\ndate: 2022-09-15\nmodified: 2023-01-04\ntags:\n    - attack.persistence\n    - attack.privilege-escalation\n    - attack.t1543\nlogsource:\n    service: security\n    product: windows\n    definition: 'Requirements: The System Security Extension audit subcategory need to be enabled to log the EID 4697'\ndetection:\n    selection_eid:\n        EventID: 4697\n    selection_pid:\n        - ClientProcessId: 0\n        - ParentProcessId: 0\n    condition: all of selection_*\nfalsepositives:\n    - Unknown\nlevel: high\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1543","id":"T1543","name":"Create or Modify System Process","page":"techniques/enterprise/T1543/"}],"data_path":"data/detection-rules/c4e92a97-a9ff-4392-9d2d-7a4c642768ca.json","kind":"sigma"}
