[Testing] Unusual Parent-Child Relationship#6390
Closed
Mikaayenson wants to merge 1 commit into
Closed
Conversation
…98-4ee5-93ec-11d0bfc81988)
Contributor
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
|
Contributor
There was a problem hiding this comment.
Pull request overview
This PR tunes the existing Unusual Parent-Child Relationship Windows EQL rule to reduce false positives by expanding “benign parent” allowlists for several common system-process relationships and adding additional benign conhost.exe child processes.
Changes:
- Expanded suspicious-parent allowlists to include additional legitimate parents (including self-spawning behaviors) for multiple Windows system processes.
- Added additional benign
conhost.exechildren (powershell.exe,cmd.exe) to reduce noise. - Added additional benign parent processes for
svchost.exeandsmss.exein observed enterprise scenarios.
| (process.name:"SearchProtocolHost.exe" and not process.parent.name:("SearchIndexer.exe", "dllhost.exe")) or | ||
| (process.name:"dllhost.exe" and not process.parent.name:("services.exe", "svchost.exe")) or | ||
| (process.name:"smss.exe" and not process.parent.name:("System", "smss.exe")) or | ||
| (process.name:("consent.exe", "RuntimeBroker.exe", "TiWorker.exe") and not process.parent.name:("svchost.exe", "Workplace Container Helper.exe", "consent.exe", "RuntimeBroker.exe", "TiWorker.exe")) or |
| (process.name:"taskhostw.exe" and not process.parent.name:("services.exe", "svchost.exe", "taskhostw.exe")) or | ||
| (process.name:"userinit.exe" and not process.parent.name:("dwm.exe", "winlogon.exe", "KUsrInit.exe")) or | ||
| (process.name:("wmiprvse.exe", "wsmprovhost.exe", "winrshost.exe") and not process.parent.name:"svchost.exe") or | ||
| (process.name:("wmiprvse.exe", "wsmprovhost.exe", "winrshost.exe") and not process.parent.name:("svchost.exe", "wmiprvse.exe", "wsmprovhost.exe")) or |
Contributor
Author
|
Testing. closing |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Trigger context
35df0dd8-092d-4a83-88c1-5151a804f31bElastic Workflow — SIEM Rule Tuning PR (genai-tradecraft)
Summary
This tuning reduces false positive alerts for the Unusual Parent-Child Relationship rule by expanding parent process allowlists for known benign Windows system process behaviors observed broadly across production telemetry.
Classification
WmiPrvSE.exe←WmiPrvSE.exedllhost.exe←dllhost.exespoolsv.exe←spoolsv.exetaskhostw.exe←taskhostw.exeSearchProtocolHost.exe,SearchIndexer.exe,LogonUI.exe,RuntimeBroker.exe,TiWorker.exe,consent.exe,wsmprovhost.execonhost.exe→powershell.exe/cmd.exesvchost.exe←rpcnet.exe/rpcnetp.exesmss.exe←ntoskrnl.exeQuery Modifications
Suspicious parent processes — self-spawning allowlists
Added the process's own name to the parent allowlist for the following system processes, as Windows legitimately restarts these services and the self-spawning pattern is observed broadly across 40–142 clusters:
consent.exe,RuntimeBroker.exe,TiWorker.exe— added self-names to parent allowlistSearchIndexer.exe— addedSearchIndexer.exeto parent allowlistSearchProtocolHost.exe— addedSearchProtocolHost.exeto parent allowlistdllhost.exe— addeddllhost.exeto parent allowlistspoolsv.exe— addedspoolsv.exeto parent allowlisttaskhostw.exe— addedtaskhostw.exeto parent allowlistLogonUI.exe— addedLogonUI.exeto parent allowlistwmiprvse.exe,wsmprovhost.exe— added self-names to parent allowlistNote:
lsass.exeself-spawning was intentionally not excluded (19 clusters) as it may indicate credential dumping or process hollowing.Suspicious parent processes — additional legitimate parents
svchost.exe— addedrpcnet.exeandrpcnetp.exe(Absolute Software Computrace endpoint management agent, 17 clusters)smss.exe— addedntoskrnl.exe(legitimate Windows kernel boot process, 9 clusters)Suspicious child processes — conhost.exe children
powershell.exeandcmd.exeto theconhost.exechild exclusion list. The Console Window Host (conhost.exe) legitimately appears as a parent of command-line interpreters across all major data sources (Elastic Defend, CrowdStrike, M365 Defender, Sysmon, Windows Security Event Logs) and 57+ clusters.Simulation
Detection Gap Risk: Low
conhost.exe→powershell.exe/cmd.exeabuse is covered by other detection rules targeting PowerShell and command-line interpreter misuselsass.exeself-spawning intentionally preserved as a detection surfaceVerification
Baseline query:
Excluded patterns query: