Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

User condition in exclusions for RegistryEvents #196

Open
schwf5 opened this issue Feb 7, 2024 · 0 comments
Open

User condition in exclusions for RegistryEvents #196

schwf5 opened this issue Feb 7, 2024 · 0 comments

Comments

@schwf5
Copy link

schwf5 commented Feb 7, 2024

Hi Olaf
Since I tried to reduce the amount of events with ID 13 I thought about exclude certain events when user condition is "NT AUTHORITY\SYSTEM". But as soon as I add a user condition within a AND-group relation it breaks the rule.
Did you test the following one of your rule set and did it behave correctly?

 <Rule groupRelation="and">
          <Image condition="is">C:\Windows\system32\WindowsPowerShell\v1.0\powershell.exe</Image>
          <TargetFilename condition="contains all">C:\Windows\Temp;__PSScriptPolicyTest;.ps1</TargetFilename>
          <User condition="is">NT AUTHORITY\SYSTEM</User>
</Rule>

kr Fabian

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

No branches or pull requests

1 participant