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

invalid token '*' in certain condition strings #20

Open
veramine opened this issue Sep 20, 2022 · 1 comment
Open

invalid token '*' in certain condition strings #20

veramine opened this issue Sep 20, 2022 · 1 comment

Comments

@veramine
Copy link
Contributor

Could not parse this one:

detection:
  selection1:
    CommandLine|contains: 'setup0.exe -p'
  selection2a:
    CommandLine|contains: 'setup.exe'
  selection2b:
    CommandLine|endswith:
      - '-x:0'
      - '-x:1'
      - '-x:2'
  condition: selection1 or all of selection2*

invalid token '*'

https://github.com/SigmaHQ/sigma/blob/master/rules/windows/process_creation/proc_creation_win_apt_winnti_pipemon.yml

@veramine
Copy link
Contributor Author

This parses fine:

condition: selection1 or all of selection*

but this doesn't parse:

condition: selection1 or all of selection2*

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