Skip to content

Conversation

@clairmont32
Copy link

Include_all.xml had onmatch="exclude". Changed this due to the filename stating its intention

Include_all.xml had onmatch="exclude". Changed this due to the filename stating its intention
@ipfyx
Copy link

ipfyx commented Apr 23, 2024

Your fix is incorrect. In sysmon :

  • If you want every possible event (i.e include_all.xml), you set a match on "exclude" with no rule. Nothing can match, therefore nothing is excluded, therefore everything is included.
      <ProcessTampering onmatch="exclude">
      </ProcessTampering>
  • If you don't want any event (i.e exclude_all.xml), you set a match on "exclude" with no rule. Nothing can match, therefore nothing is included, therefore everything is excluded.
      <ProcessTampering onmatch="include">
      </ProcessTampering>

Got it ?

The file from the repo is correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants