Zeek Intel update script #6908
Replies: 1 comment 3 replies
-
|
Hi, Thanks for the resource!
Ref: SO does not load the Cheers, |
Beta Was this translation helpful? Give feedback.
3 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
In order to use the CriticalPathSecurity's Zeek Intelligence Feeds that the script below uses, you need to add a config into your default load script found in
/opt/so/saltstack/local/salt/zeek/policy/intel/__load__.zeek:@load integration/collective-intelOnce you have added that line to the top of your
__load__.zeekfile, you need to apply the state from the manager using :sudo salt '*sensor' state.apply zeekNOTE: CriticalPathSecurity suggests adding
@load policy/integration/collective-intelto the load file, but that doesn't work with SO, due to the load file pointing into the/opt/zeek/share/zeek/policywithin the zeek container on sensor nodes. So you don't have to supply thepolicydirectory again in the__load__.zeekconfig. You can confirm this by logging into your sensor node and then logging into the zeek docker container using the following command:sudo docker exec -it so-zeek /bin/bashand then going into/opt/zeek/share/zeek/policy.Your
/opt/so/saltstack/local/salt/zeek/policy/intel/__load__.zeekfile should look like the following once you're done with the changes:Here's a simple script that you can then modify and use to update your Zeek Intelligence data from the manager node of your environment:
NOTE: Zeek is very strict about the format of
intel.dat. Please inspect the file before appending its contents into yourintel.datfile.Beta Was this translation helpful? Give feedback.
All reactions