SeDebugPrivilege Enabled by a Suspicious Processedit

Identifies the creation of a process running as SYSTEM and impersonating a Windows core binary privileges. Adversaries may create a new process with a different token to escalate privileges and bypass access controls.

Rule type: eql

Rule indices:

  • winlogbeat-*
  • logs-windows.*

Severity: medium

Risk score: 47

Runs every: 5 minutes

Searches indices from: now-9m (Date Math format, see also Additional look-back time)

Maximum alerts per execution: 100



  • Elastic
  • Host
  • Windows
  • Threat Detection
  • Privilege Escalation

Version: 1

Added (Elastic Stack release): 8.6.0

Rule authors: Elastic

Rule license: Elastic License v2

Investigation guideedit

Rule queryedit

any where event.provider: "Microsoft-Windows-Security-Auditing" and
event.action : "Token Right Adjusted Events" and
winlog.event_data.EnabledPrivilegeList : "SeDebugPrivilege" and /*
exclude processes with System Integrity */ not
winlog.event_data.SubjectUserSid : ("S-1-5-18", "S-1-5-19",
"S-1-5-20") and not winlog.event_data.ProcessName :
"?:\\Windows\\WinSxS\\*", "?:\\Program Files\\*",
"?:\\Program Files (x86)\\*",

Threat mappingedit