Elastic medium stable eql

Temporarily Scheduled Task Creation

Indicates the creation and deletion of a scheduled task within a short time interval. Adversaries can use these to proxy malicious execution via the schedule service and perform clean up.

View Source

Detection Logic

sequence by winlog.computer_name, winlog.event_data.TaskName with maxspan=5m
   [iam where host.os.type == "windows" and event.action == "scheduled-task-created" and not user.name : "*$" and
    not winlog.event_data.TaskName : (
      "\\SoftLanding\\*",
      "*PRTG*",
      "\\MicrosoftEdgeMaintenance*",
      "*\\Microsoft\\Windows\\DeviceLicensingService\\*",
      "\\OneDrive Standalone Update*",
      "\\PowerToys\\*",
      "*Hewlett-Packard*",
      "*\\HP\\HP Support Assistant\\*",
      "*\\Mozilla\\*",
      "\\AMDLinkUpdate",
      "\\AMDInstallLauncher",
      "*\\GoogleUserPEH\\*",
      "\\CreateExplorerShellUnelevatedTask",
      "*\\RunAADCHTestConnectivityAsSystem",
      "*WaveBrowser*",
      "\\CCleanerCrashReporting",
      "\\TVInstallRestore"
    )]
   [iam where host.os.type == "windows" and event.action == "scheduled-task-deleted" and not user.name : "*$"]

False Positives

  • ⚠ Legitimate scheduled tasks may be created during installation of new software.

Field Validations

Loading…

Comments (0)

Loading comments...