Process Terminated Via Taskkill
Description
Detects execution of "taskkill.exe" in order to stop a service or a process. Look for suspicious parents executing this command in order to hunt for potential malicious activity. Attackers might leverage this in order to conduct data destruction or data encrypted for impact on the data stores of services like Exchange and SQL Server.
Query · sigma
selection_img: - Image|endswith: \taskkill.exe - OriginalFileName: taskkill.exe selection_cli_force: - CommandLine|contains|windash: ' /f ' - CommandLine|endswith|windash: ' /f' selection_cli_filter_process: CommandLine|contains|windash: - ' /im ' - ' /pid ' filter_main_installers: ParentImage|contains: - \AppData\Local\Temp\ - :\Windows\Temp ParentImage|endswith: .tmp condition: all of selection_* and not 1 of filter_main_*
Known false positives
- Expected FP with some processes using this techniques to terminate one of their processes during installations and updates