Detection logic
Original SigmaHQ detection and related fields from the pinned file. The source file includes its full metadata.
logsource:
category: process_creation
product: windows
detection:
selection_sc:
Image|endswith: '\sc.exe'
CommandLine|contains|all:
- 'create'
- 'binPath'
selection_posh:
CommandLine|contains|all:
- 'New-Service'
- '-BinaryPathName'
condition: 1 of selection*
falsepositives:
- Legitimate administrator or user creates a service for legitimate reasons.