detection-rules icon indicating copy to clipboard operation
detection-rules copied to clipboard

[Rule Tuning] Svchost spawning Cmd

Open rkarimovs opened this issue 10 months ago • 1 comments

Link to Rule

https://github.com/elastic/detection-rules/blob/e1698890a4f7f01df75afdad1d6cf68c4deb091b/rules/windows/execution_command_shell_started_by_svchost.toml

Rule Tuning Type

None

Description

False positives about camera process being killed on Windows machines. Seems to generate alert when camera is turned off after MS Teams meeting etc.

Example Data

process.executable: C:\Windows\System32\cmd.exe process.command_line: C:\WINDOWS\system32\cmd.exe /c taskkill /PID 30360 /F process.name: cmd.exe process.parent.name: svchost.exe process.parent.command_line: C:\WINDOWS\System32\svchost.exe -k Camera -s FrameServer

rkarimovs avatar Jan 08 '26 11:01 rkarimovs

@rkarimovs thank you for the reported FP, this tuning should reduce FPs for this rule https://github.com/elastic/detection-rules/pull/5649 including the one you reported taskkill .

Samirbous avatar Jan 29 '26 12:01 Samirbous