Delete All Scheduled Tasks

Last updated on:

About the rule

Rule Type

Standard

Rule Description

Detects the usage of schtasks with the delete flag and the asterisk symbol to delete all tasks from the schedule of the local computer, including tasks scheduled by other users.

Severity

Trouble

Rule Requirement

Criteria

Action1: actionname = "Process started" AND PROCESSNAME endswith "\schtasks.exe" AND (COMMANDLINE contains " /delete " AND COMMANDLINE contains "/tn \*" AND COMMANDLINE contains " /f") select Action1.HOSTNAME,Action1.MESSAGE,Action1.COMMANDLINE,Action1.FILE_NAME,Action1.PROCESSNAME,Action1.USERNAME,Action1.PARENTPROCESSNAME

Detection

Execution Mode

realtime

Log Sources

Windows

Author

Nasreddine Bencherchali (Nextron Systems)