Skip to content

Fix eventlog clear false-positive filter scope - #6038

Merged
nasbench merged 2 commits into
SigmaHQ:masterfrom
srkyn:fix-eventlog-clear-filter-scope
Jun 11, 2026
Merged

nasbench merged 2 commits into
SigmaHQ:masterfrom
srkyn:fix-eventlog-clear-filter-scope

Conversation

@srkyn

@srkyn srkyn commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Summary

This updates one existing Windows process creation rule:

rules/windows/process_creation/proc_creation_win_susp_eventlog_clear.yml

The current condition is parsed so the filter_main_msiexec false-positive filter only applies to the WMI branch:

A or B or C and not filter

Because and binds tighter than or, the filter does not apply to the wevtutil or PowerShell branches. This PR groups the three detection branches first, then applies the filter to the full expression:

(A or B or C) and not filter

It also fixes a nearby comment typo: uset to used.

Validation

sigma check rules/windows/process_creation/proc_creation_win_susp_eventlog_clear.yml

Result:

Found 0 errors, 0 condition errors and 0 issues.
No rule errors found.
No condition errors found.
No validation issues found.

Scope

This PR intentionally touches one existing rule only. No new rules are added.

@github-actions

github-actions Bot commented Jun 1, 2026

Copy link
Copy Markdown
Contributor

Welcome 👋

It looks like this is your first pull request on the Sigma rules repository!

Please make sure to read the SigmaHQ conventions to make sure your contribution is adhering to best practices and has all the necessary elements in place for a successful approval.

Thanks again, and welcome to the Sigma community! 😃

@github-actions github-actions Bot added Rules Review Needed The PR requires review Windows Pull request add/update windows related rules labels Jun 1, 2026
@srkyn
srkyn force-pushed the fix-eventlog-clear-filter-scope branch from e15c828 to 549110a Compare June 8, 2026 14:48
@nasbench nasbench added this to the Sigma-June-Release milestone Jun 11, 2026
@nasbench
nasbench merged commit 1935ff1 into SigmaHQ:master Jun 11, 2026
14 checks passed
@frack113 frack113 removed the Review Needed The PR requires review label Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Rules Windows Pull request add/update windows related rules

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants