Replies: 2 comments 7 replies
-
For me rule should not have an example in this way but a link to a dataset. I'm more for a section like the references datasets:
- https://raw.githubusercontent.com/OTRF/Security-Datasets/master/datasets/atomic/windows/discovery/host/empire_shell_net_local_users.zip |
Beta Was this translation helpful? Give feedback.
-
Most backends/types of logs could not be tested that way. E.g. all Windows logs are actually XML structures.
Which cons did you identify? Costs:
Benefit:
|
Beta Was this translation helpful? Give feedback.
-
When developing integration for a new backend, it would be useful if a rule was able/encouraged to include one (or more!) examples of the entries in a sample log files that it is trying to detect. This could allow the backend engine to test whether or not it correctly identifies the log entry - helping ensure that the generated rules are operating correctly. My suggestion would be to add an optional section to the schema, something along the lines of this:
Obviously some backends/types of logs may not be able to be tested in this way, but for those that could, it could allow greater confidence in the Sigma rule itself and generated rules for the backend.
One potential risk in doing this is that it might mean the rule files themselves start being picked up by other detection systems. The risk/impact of this seems low to me - especially as the rules already likely contain keywords that would trigger detection anyway - but I thought it would be worth highlighting.
Beta Was this translation helpful? Give feedback.
All reactions