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

When is it an AND and when is it an OR ? #27

Closed
KaptainKool opened this issue May 26, 2017 · 2 comments
Closed

When is it an AND and when is it an OR ? #27

KaptainKool opened this issue May 26, 2017 · 2 comments

Comments

@KaptainKool
Copy link

KaptainKool commented May 26, 2017

Please keep just a simple snippet in the README (or in the inline comments), to understand when are the conditions being OR-ed & when are the conditions being AND-ed.

Example: https://pastebin.com/MdR8KGcs
(the text in the angle brackets were not showing up, so pasted the query at pastebin - simple ascii)

I did some testing, but can't get this to work:

If I want to log only network connection events when the destination port is 80 or 443 and the originating process is chrome.exe, how do I do that ?

@gwsales
Copy link

gwsales commented Feb 9, 2018

All the testing I've done has shown that the "AND" isn't working as documented and everything is just a big "OR".

According to the docs:

Within a rule, filter conditions on the same field have OR behavior, whereas conditions on different fields have AND behavior.

@KaptainKool
Copy link
Author

KaptainKool commented Feb 19, 2018

@gwsales Thank you ! I was wondering if I was the only person who was seeing that (I certainly know I'm not, but then why does the developer say that the AND condition works in the official Sysmon download page.)

Tons of infosec people are using Sysmon, and this config is called out everywhere as a reference guide. Requesting the author (or any of the experienced community leaders) to please help clarify this one seemingly simple & basic question.

Here is another place I've asked the same question & got no response back:
https://gist.github.com/Neo23x0/f56bea38d95040b70cf5#comments

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

3 participants