← Back to SOC feed Coverage →

New Kernel Driver Via SC.EXE

sigma MEDIUM SigmaHQ
T1543.003
imProcessCreate
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at SigmaHQ →
Retrieved: 2026-05-19T23:00:00Z · Confidence: medium

Hunt Hypothesis

Detects creation of a new service (kernel driver) with the type “kernel”

Detection Rule

Sigma (Original)

title: New Kernel Driver Via SC.EXE
id: 431a1fdb-4799-4f3b-91c3-a683b003fc49
status: test
description: Detects creation of a new service (kernel driver) with the type "kernel"
references:
    - https://www.aon.com/cyber-solutions/aon_cyber_labs/yours-truly-signed-av-driver-weaponizing-an-antivirus-driver/
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-07-14
modified: 2025-10-07
tags:
    - attack.persistence
    - attack.privilege-escalation
    - attack.t1543.003
logsource:
    category: process_creation
    product: windows
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_*
falsepositives:
    - Rare legitimate installation of kernel drivers via sc.exe
level: medium

KQL (Azure Sentinel)

imProcessCreate
| where (TargetProcessName endswith "\\sc.exe" and (TargetProcessCommandLine contains "create" or TargetProcessCommandLine contains "config") and (TargetProcessCommandLine contains "binPath" and TargetProcessCommandLine contains "type" and TargetProcessCommandLine contains "kernel")) and (not(((TargetProcessCommandLine contains "create netprotection_network_filter" and TargetProcessCommandLine contains "type= kernel start= " and TargetProcessCommandLine contains "binPath= System32\\drivers\\netprotection_network_filter" and TargetProcessCommandLine contains "DisplayName= netprotection_network_filter" and TargetProcessCommandLine contains "group= PNP_TDI tag= yes") or (TargetProcessCommandLine contains "create avelam binpath=C:\\Windows\\system32\\drivers\\avelam.sys" and TargetProcessCommandLine contains "type=kernel start=boot error=critical group=Early-Launch"))))

Required Data Sources

Sentinel TableNotes
imProcessCreateEnsure this data connector is enabled

False Positive Guidance

MITRE ATT&CK Context

References

Original source: https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_sc_new_kernel_driver.yml