title: Rare Schtasks Creations
id: b0d77106-7bb0-41fe-bd94-d1752164d066
status: test
description: Detects rare scheduled tasks creations that only appear a few times per time frame and could reveal password dumpers, backdoor installs or other types of malicious code
author: Florian Roth
date: 2017/03/23
modified: 2021/11/27
logsource:
  product: windows
  service: security
  definition: 'The Advanced Audit Policy setting Object Access > Audit Other Object Access Events has to be configured to allow this detection (not in the baseline recommendations by Microsoft). We also recommend extracting the Command field from the embedded XML in the event data.'
detection:
  selection:
    EventID: 4698
  timeframe: 7d
  condition: selection | count() by TaskName < 5
falsepositives:
  - Software installation
  - Software updates
level: low
tags:
  - attack.execution
  - attack.privilege_escalation
  - attack.persistence
  - car.2013-08-001
  - attack.t1053.005
