-
Notifications
You must be signed in to change notification settings - Fork 14
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
Logic conversion issues #11
Comments
Problem is with lists and negation being converted correctly to Wazuh AND negation logic. |
Need to add check for detection token to see if it is a list (OR logic) or dictionary (AND logic). OR Logic:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See: https://github.com/SigmaHQ/sigma/blob/b4cb047ae720b37b11f8506de7965dc29d5920be/rules/windows/registry/registry_set/registry_set_outlook_registry_todaypage.yml
detection:
selection1:
TargetObject|contains:
- 'Software\Microsoft\Office'
- '\Outlook\Today'
selectionStamp:
EventType: SetValue
TargetObject|endswith: Stamp
Details: DWORD (0x00000001)
selectionUserDefined:
TargetObject|endswith: UserDefinedUrl
filter_office:
Image|startswith:
- 'C:\Program Files\Common Files\Microsoft Shared\ClickToRun'
- 'C:\Program Files\Common Files\Microsoft Shared\ClickToRun\Updates'
Image|endswith: '\OfficeClickToRun.exe'
condition: selection1 and (selectionStamp or selectionUserDefined) and not 1 of filter_*
The text was updated successfully, but these errors were encountered: