title: Scheduled Task Created Under \Microsoft\Windows\ By a User Account
id: 9b388db9-5797-4cd2-880f-2d1e1cf8d420
status: experimental
description: |
  Detects a 4698 event for a task filed under \Microsoft\Windows\ when the requesting
  account isn't a machine account. System tasks are created by the system; a user adding
  one in that location is often trying to blend in.
references:
  - https://learn.microsoft.com/previous-versions/windows/it-pro/windows-10/security/threat-protection/auditing/event-4698
  - https://attack.mitre.org/techniques/T1053/005/
author: PurpleLog
date: 2026-11-03
tags:
  - attack.persistence
  - attack.t1053.005
  - attack.stealth
  - attack.t1036.004
logsource:
  product: windows
  service: security
  definition: 'Requires the "Audit Other Object Access Events" audit subcategory'
detection:
  selection:
    EventID: 4698
    TaskName|startswith: '\Microsoft\Windows\'
  filter_machine:
    SubjectUserName|endswith: '$'
  condition: selection and not filter_machine
falsepositives:
  - Third-party software or admin scripts that file their tasks under \Microsoft\Windows\ using a named account
level: high
