[2.2] zeek script help

71 views
Skip to first unread message

ridha dabbous

unread,
Sep 29, 2020, 4:03:46 PM9/29/20
to security-onion

i want to add a script for zeek but i dont get the expected log in "/nsm/zeek/logs/current/"

i add my script under "/opt/so/conf/zeek/policy/custom" with name 'dnspof.zeek' and i add the "__load__.zeek" file in the some folder and write in it ' @ load ./dnspof.zeek'


then i make change here ' /opt/so/saltstack/local/pillar/minions/securityonion_standalone.sls ' and add the script folder name



rn4m750xj0q51.png


i restart the system and i check the '/opt/so/conf/zeek/local.zeek' and i found that the script folder are been aded :


22221.png

but after i import a pcap file i don't find a log from this script .


i have test to execute the some pcap and the script directly with

- zeek -r file.pacp '/opt/so/conf/zeek/policy/custom/dnspof.zeek''

and i get a log file withe the name dnspof and every think go well but not the case when i try to use it automaticly as i mentioned above .

this is the script i use


444441.png


any help !


Wes Lambert

unread,
Sep 30, 2020, 10:50:48 AM9/30/20
to securit...@googlegroups.com
I'll have to look into this and see if I can duplicate on my side.

--
Follow Security Onion on Twitter!
https://twitter.com/securityonion
---
You received this message because you are subscribed to the Google Groups "security-onion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to security-onio...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/security-onion/a622b54d-4c14-4abd-8fa7-1fcae8baff55n%40googlegroups.com.


--

Wes Lambert

unread,
Sep 30, 2020, 11:06:06 AM9/30/20
to securit...@googlegroups.com

ridha dabbous

unread,
Sep 30, 2020, 12:37:33 PM9/30/20
to securit...@googlegroups.com
Oki thank you

You received this message because you are subscribed to a topic in the Google Groups "security-onion" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/security-onion/PcZ2nJeu138/unsubscribe.
To unsubscribe from this group and all its topics, send an email to security-onio...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/security-onion/CAHjBB6EcjM_tyarL5yFqw8DjJKEw4znmX--ZrLjejF9osAJNrg%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages