Detectionlowtest

Stop Windows Service Via Net.EXE

Detects the stopping of a Windows service via the "net" utility.

Open in Detection LabConvert ruleBuild Package
Jakob Weinzettl, oscd.community, Nasreddine BencherchaliCreated 2023-03-0588872991-7445-4a22-90b2-a3adadb0e827windows
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_img:
        - OriginalFileName:
              - 'net.exe'
              - 'net1.exe'
        - Image|endswith:
              - '\net.exe'
              - '\net1.exe'
    selection_cli:
        CommandLine|contains: ' stop '
    condition: all of selection_*
False Positives

There are many legitimate reasons to stop a service. This rule isn't looking for any suspicious behaviour in particular. Filter legitimate activity accordingly

MITRE ATT&CK
Related Rules
Similar

eb87818d-db5d-49cc-a987-d5da331fbd90

Rule not found
Rule Metadata
Rule ID
88872991-7445-4a22-90b2-a3adadb0e827
Status
test
Level
low
Type
Detection
Created
2023-03-05
Path
rules/windows/process_creation/proc_creation_win_net_stop_service.yml
Raw Tags
attack.impactattack.t1489
View on GitHub