Replies: 1 comment 1 reply
-
Thank you for the clarification! Very helpful. I would ask one more thing about the zeek scripts. There is a section in the docs where you can Modify the Base scripts.https://docs.securityonion.net/en/2.3/zeek.html#:~:text=zeek%2Drestart-,Modifying%20base%20protocol%20scripts,modifying%20the%20default%20ports%20that%20Zeek%20considers%20for%20the%20MySQL%20analyzer%3A,-const%20ports%20%3D But it is not clear where the location of these base scripts are. I am trying to change the TDS port number, similar to the example. I am not sure where to change it though. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have seen several threads on adding custom Zeek policies and managing the intel framework. This has been documented on the docs page but since it is unclear I can describe it further.
Managing custom intel:
From https://docs.securityonion.net/en/2.3/zeek.html?highlight=intel#intel
So as long as you put all of your intel feeds into that file it should get loaded by default.
Adding Custom Zeek Policies:
From https://docs.securityonion.net/en/2.3/zeek.html#custom-scripts
I would use the pillar method so that any new changes upstream will be honored. Keep in mind that you have to put that entire entry into the global.sls and make the appropriate changes.
Changing Zeek settings like MailTo etc:
https://docs.securityonion.net/en/2.3/zeek.html#configuration
That same pillar structure can be used to change what mime types you want to extract from the network:
https://github.com/Security-Onion-Solutions/securityonion/blob/master/salt/zeek/fileextraction_defaults.yaml
You use the global.sls if you want it applied to all sensors or drop it into the specific minion sls file if you want to change a specific sensor. I know for some that this is a different way of doing things and it will take some getting used to. Changing these options in pillars can feel cumbersome when you have a small deployment but it is laying the foundation for the future when we have a gui that will manage all of this. This method of doing things allow you to manage 1 sensor or 1000 sensors with the same level of effort.
Beta Was this translation helpful? Give feedback.
All reactions