Detectionhightest

Suspicious New Service Creation

Detects creation of a new service via "sc" command or the powershell "new-service" cmdlet with suspicious binary paths

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Nasreddine Bencherchali (Nextron Systems)Created Thu Jul 14Updated Fri Nov 1817a1be64-8d88-40bf-b5ff-a4f7a50ebcc8windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic3 selectors
detection:
    selection_sc:
        Image|endswith: '\sc.exe'
        CommandLine|contains|all:
            - 'create'
            - 'binPath='
    selection_posh:
        CommandLine|contains|all:
            - 'New-Service'
            - '-BinaryPathName'
    susp_binpath:
        CommandLine|contains:
            # Add more suspicious commands or binaries
            - 'powershell'
            - 'mshta'
            - 'wscript'
            - 'cscript'
            - 'svchost'
            - 'dllhost'
            - 'cmd '
            - 'cmd.exe /c'
            - 'cmd.exe /k'
            - 'cmd.exe /r'
            - 'rundll32'
            # Add more suspicious paths
            - 'C:\Users\Public'
            - '\Downloads\'
            - '\Desktop\'
            - '\Microsoft\Windows\Start Menu\Programs\Startup\'
            - 'C:\Windows\TEMP\'
            - '\AppData\Local\Temp'
    condition: 1 of selection* and susp_binpath
False Positives
Unlikely

False positives are unlikely for most environments. High confidence detection.

Related Rules
Derived

7fe71fc9-de3b-432a-8d57-8c809efc10ab

Rule not found
Rule Metadata
Rule ID
17a1be64-8d88-40bf-b5ff-a4f7a50ebcc8
Status
test
Level
high
Type
Detection
Created
Thu Jul 14
Modified
Fri Nov 18
Path
rules/windows/process_creation/proc_creation_win_susp_service_creation.yml
Raw Tags
attack.persistenceattack.privilege-escalationattack.t1543.003
View on GitHub