Detectionmediumtest
New Kernel Driver Via SC.EXE
Detects creation of a new service (kernel driver) with the type "kernel"
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 Tue Oct 07431a1fdb-4799-4f3b-91c3-a683b003fc49windows
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 Logic2 selectors
detection:
selection:
Image|endswith: '\sc.exe'
CommandLine|contains:
- 'create'
- 'config'
CommandLine|contains|all:
- 'binPath'
- 'type'
- 'kernel'
filter_optional_avira_driver:
- CommandLine|contains|all:
- 'create netprotection_network_filter'
- 'type= kernel start= '
- 'binPath= System32\drivers\netprotection_network_filter'
- 'DisplayName= netprotection_network_filter'
- 'group= PNP_TDI tag= yes'
- CommandLine|contains|all:
- 'create avelam binpath=C:\Windows\system32\drivers\avelam.sys'
- 'type=kernel start=boot error=critical group=Early-Launch'
condition: selection and not 1 of filter_optional_*False Positives
Rare legitimate installation of kernel drivers via sc.exe
References
MITRE ATT&CK
Sub-techniques
Rule Metadata
Rule ID
431a1fdb-4799-4f3b-91c3-a683b003fc49
Status
test
Level
medium
Type
Detection
Created
Thu Jul 14
Modified
Tue Oct 07
Path
rules/windows/process_creation/proc_creation_win_sc_new_kernel_driver.yml
Raw Tags
attack.persistenceattack.privilege-escalationattack.t1543.003