EXPLORE
← Back to Explore
sigmahighHunting

Delete All Scheduled Tasks

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.

MITRE ATT&CK

impact

Detection Query

selection:
  Image|endswith: \schtasks.exe
  CommandLine|contains|all:
    - " /delete "
    - /tn \*
    - " /f"
condition: selection

Author

Nasreddine Bencherchali (Nextron Systems)

Created

2022-09-09

Data Sources

windowsProcess Creation Events

Platforms

windows

Tags

attack.impactattack.t1489
Raw Content
title: Delete All Scheduled Tasks
id: 220457c1-1c9f-4c2e-afe6-9598926222c1
status: test
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.
references:
    - https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/schtasks-delete
author: Nasreddine Bencherchali (Nextron Systems)
date: 2022-09-09
tags:
    - attack.impact
    - attack.t1489
logsource:
    category: process_creation
    product: windows
detection:
    selection:
        Image|endswith: '\schtasks.exe'
        CommandLine|contains|all:
            - ' /delete '
            - '/tn \*'
            - ' /f'
    condition: selection
falsepositives:
    - Unlikely
level: high