Service Installed By Unusual Client - Security

 Original Source: [Sigma source]
Title: Service Installed By Unusual Client - Security
Status: test
Description:Detects a service installed by a client which has PID 0 or whose parent has PID 0
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
Author: Tim Rauch (Nextron Systems), Elastic (idea)
Date: 2022-09-15
modified:2023-01-04
Tags:
  • -'attack.persistence'
  • -'attack.privilege-escalation'
  • -'attack.t1543'
Logsource:
  • service: security
  • product: windows
  • 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_*
Falsepositives:
  -Unknown
Level: high