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

fix incorrection logic exclusion for Powershell PipeEvent #205

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ipfyx
Copy link

@ipfyx ipfyx commented Aug 21, 2024

The rules in the file 17_18_pipe_event/include_powershell.xml cancel each other.
<Rule groupRelation="and"> <PipeName name="technique_id=T1059.001,technique_name=PowerShell" condition="begin with">\PSHost</PipeName> <Image condition="is not">powershell.exe</Image> </Rule>
<Rule groupRelation="and"> <PipeName name="technique_id=T1059.001,technique_name=PowerShell" condition="begin with">\PSHost</PipeName> <Image condition="is not">powershell_ise.exe</Image> </Rule>
For instance, a pipe created and names PsHost by powershell.exe :

  • won't be included by Rule 1 because of the "is not" powershell
  • but will be included by Rule 2 because it is not "powershell_ise.exe".

@ipfyx ipfyx mentioned this pull request Aug 21, 2024
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.

1 participant