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

Duplicate query when using multiple pipelines #45

Open
defensivedepth opened this issue Jan 29, 2024 · 1 comment
Open

Duplicate query when using multiple pipelines #45

defensivedepth opened this issue Jan 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@defensivedepth
Copy link
Contributor

defensivedepth commented Jan 29, 2024

Ok, so if I run the following with no pipelines:

sigma convert -t eql --without-pipeline sigma/rules/windows/powershell/powershell_module/posh_pm_get_clipboard.yml                                  

Parsing Sigma rules  [####################################]  100%

any where Payload:"*Get-Clipboard*"

Then, I add the windows-logsources pipeline:

sigma convert -t eql -p windows-logsources sigma/rules/windows/powershell/powershell_module/posh_pm_get_clipboard.yml                               

Parsing Sigma rules  [####################################]  100%

any where (Channel like~ ("Microsoft-Windows-PowerShell/Operational", "PowerShellCore/Operational")) and (EventID:4103 and Payload:"*Get-Clipboard*")

Finally, I add the ecs_windows pipeline:

sigma convert -t eql -p ecs_windows -p windows-logsources sigma/rules/windows/powershell/powershell_module/posh_pm_get_clipboard.yml                

Parsing Sigma rules  [####################################]  100%

any where (winlog.channel like~ ("Microsoft-Windows-PowerShell/Operational", "PowerShellCore/Operational")) and ((winlog.channel like~ ("Microsoft-Windows-PowerShell/Operational", "PowerShellCore/Operational")) and (event.code:4103 and winlog.event_data.Payload:"*Get-Clipboard*"))

In that last one, is it expected that there is a duplicate search for winlog.channel?

@thomaspatzke thomaspatzke added the bug Something isn't working label Feb 9, 2024
@andurin
Copy link
Collaborator

andurin commented Nov 3, 2024

@thomaspatzke Do you have an idea how to solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants