[Rule Tuning] SeDebugPrivilege Enabled by a Suspicious Process - #6648
[Rule Tuning] SeDebugPrivilege Enabled by a Suspicious Process#6648Mikaayenson wants to merge 1 commit into
Conversation
…low d12c2ca7-45c0-4d5c-a77c-db8481069720)
Rule: Tuning - GuidelinesThese guidelines serve as a reminder set of considerations when tuning an existing rule. Documentation and Context
Rule Metadata Checks
Testing and Validation
|
|
⛔️ Test failed Results
|
There was a problem hiding this comment.
Pull request overview
Tunes the existing Windows EQL rule “SeDebugPrivilege Enabled by a Suspicious Process” to reduce alert noise by expanding the allowlist of common legitimate executables that enable SeDebugPrivilege during normal operations.
Changes:
- Updated the rule metadata
updated_dateto2026/08/13. - Expanded the
winlog.event_data.ProcessNameexclusion list with additional common Windows/SCCM/IIS utilities and services.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| "?:\\Windows\\System32\\dllhost.exe", | ||
| "?:\\Windows\\System32\\inetsrv\\w3wp.exe", | ||
| "?:\\Windows\\System32\\lsass.exe", | ||
| "?:\\Windows\\System32\\mmc.exe", | ||
| "?:\\Windows\\System32\\MRT.exe", | ||
| "?:\\Windows\\System32\\msiexec.exe", | ||
| "?:\\Windows\\System32\\NETSTAT.EXE", | ||
| "?:\\Windows\\System32\\netsh.exe", | ||
| "?:\\Windows\\System32\\sdiagnhost.exe", | ||
| "?:\\Windows\\System32\\ServerManager.exe", | ||
| "?:\\Windows\\System32\\SystemPropertiesAdvanced.exe", | ||
| "?:\\Windows\\System32\\taskhostw.exe", | ||
| "?:\\Windows\\System32\\taskkill.exe", | ||
| "?:\\Windows\\System32\\tasklist.exe", | ||
| "?:\\Windows\\System32\\wbem\\WmiPrvSe.exe", | ||
| "?:\\Windows\\System32\\WerFault.exe", | ||
| "?:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell_ise.exe", | ||
| "?:\\Windows\\System32\\wsmprovhost.exe", | ||
| "?:\\Windows\\SysWOW64\\msiexec.exe", | ||
| "?:\\Windows\\SysWOW64\\taskkill.exe", | ||
| "?:\\Windows\\SysWOW64\\wbem\\WmiPrvSe.exe", | ||
| "?:\\Windows\\SysWOW64\\WerFault.exe", |
| "?:\\Windows\\System32\\auditpol.exe", | ||
| "?:\\Windows\\System32\\AutoModeDetect.exe", | ||
| "?:\\Windows\\System32\\cleanmgr.exe", | ||
| "?:\\Windows\\System32\\dllhost.exe", |
There was a problem hiding this comment.
Just double checking this can be used as a LOLBin right? Are we sure we want to have such a broad exclusion on it for this rule?
| "?:\\Windows\\System32\\auditpol.exe", | ||
| "?:\\Windows\\System32\\AutoModeDetect.exe", | ||
| "?:\\Windows\\System32\\cleanmgr.exe", | ||
| "?:\\Windows\\System32\\dllhost.exe", |
There was a problem hiding this comment.
| "?:\\Windows\\System32\\dllhost.exe", |
| "?:\\Windows\\System32\\AutoModeDetect.exe", | ||
| "?:\\Windows\\System32\\cleanmgr.exe", | ||
| "?:\\Windows\\System32\\dllhost.exe", | ||
| "?:\\Windows\\System32\\inetsrv\\w3wp.exe", |
There was a problem hiding this comment.
Same thing here. w3wp.exe is IIS. Plausible a webapp RCE is exploited with a chain to set SeDebugPrivilege if app pool identities are misconfigured or overly permissive.
| "?:\\Windows\\System32\\AutoModeDetect.exe", | ||
| "?:\\Windows\\System32\\cleanmgr.exe", | ||
| "?:\\Windows\\System32\\dllhost.exe", | ||
| "?:\\Windows\\System32\\inetsrv\\w3wp.exe", |
There was a problem hiding this comment.
| "?:\\Windows\\System32\\inetsrv\\w3wp.exe", |
terrancedejesus
left a comment
There was a problem hiding this comment.
Approving not to block. Suggestions added as comments.
Resolves elastic/ia-trade-team#1071
Reduces noise from standard Windows system utilities that commonly request SeDebugPrivilege during normal operation. Adds exclusions for tasklist.exe, NETSTAT.EXE, AutoModeDetect.exe, taskkill.exe (both System32 and SysWOW64), dllhost.exe, powershell_ise.exe, w3wp.exe, wsmprovhost.exe, netsh.exe, explorer.exe, SystemPropertiesAdvanced.exe, and SCNotification.exe. PowerShell is intentionally retained as it remains the primary abuse vector for SeDebugPrivilege-based privilege escalation.
Full telemetry triage, analytics links, and KQL verification: see linked ia-trade-team issue.