Skip to content

Instantly share code, notes, and snippets.

@defensivedepth
Created April 27, 2021 00:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save defensivedepth/ae3f882efa47e20990bc562a8b052984 to your computer and use it in GitHub Desktop.
Save defensivedepth/ae3f882efa47e20990bc562a8b052984 to your computer and use it in GitHub Desktop.
Sigma rule for Zeek - Detects when a Windows service has been changed or started with svcctl remotely (using DCE/RPC).
title: Windows service changed or started remotely with svcctl
status: experimental
description: Detects when a Windows service has been changed or started with svcctl remotely (using DCE/RPC).
references:
- https://github.com/juliourena/SharpNoPSExec
author: 'Josh Brower, @Defensivedepth'
logsource:
product: zeek
service: dce_rpc
detection:
selection:
endpoint: svcctl
operation:
- ChangeServiceConfigW
- StartServiceA
#filter:
#src_ip:
#- x.x.x.x
condition: selection #and not filter
falsepositives:
- Legit administrative activity
fields:
- src_ip
level: high
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment