Security-Onion-Solutions / security-onion

Security Onion 16.04 - Linux distro for threat hunting, enterprise security monitoring, and log management
https://securityonion.net
3.06k stars 521 forks source link

Test Zeek 3.0.1, Elastic 6.8.6, and related updates #1691

Closed dougburks closed 4 years ago

dougburks commented 4 years ago

List of packages to be tested:

List of Docker images to be tested:

An overview of the testing process can be found in the comments below. For a complete list of Issues to be tested, please see the Testing/Tested columns at https://github.com/Security-Onion-Solutions/security-onion/projects/10

Please record all testing results via comments on this issue or the individual issues at https://github.com/Security-Onion-Solutions/security-onion/projects/10

Thanks in advance for your time effort!

dougburks commented 4 years ago

How To Start Testing

dougburks commented 4 years ago

How To Verify Proper Zeek Operation

Please test in as many different combinations as possible:

dougburks commented 4 years ago

How To Verify Proper Elastic Operation

Please test in as many different combinations as possible:

weslambert commented 4 years ago

Tested in various configurations without any issues.

bryant-treacle commented 4 years ago

broctl & zeekctl script in /usr/sbin/ not functioning properly. No text being displayed. I can still launch them from their native directory. It looks like an issue is in the grep -v after we call the function. It work fine when I comment it out.

Everything else seems to work without issues.

chris-cuevas commented 4 years ago

No issues seen in my testing with more than 70,000,000 events per hour.

As per the checklist for testing...

dpkg -l |grep securityonion-bro ii securityonion-bro 3.0.1-1ubuntu1securityonion10 amd64 The Bro Network Security Monitor ii securityonion-bro-afpacket 1.3.0-1ubuntu1securityonion17 all Plugin providing native AF_Packet support for Bro. ii securityonion-bro-scripts 20121004-0ubuntu0securityonion100 all Bro scripts for Security Onion

root@test-host1:~# ls -l /opt/zeek lrwxrwxrwx 1 root root 3 Feb 4 13:06 /opt/zeek -> bro

root@test-host1:~# ls -l /nsm/zeek lrwxrwxrwx 1 root root 3 Feb 4 13:06 /nsm/zeek -> bro

root@test-host1:~# ls -l /opt/bro/etc/broctl.cfg lrwxrwxrwx 1 root root 11 Feb 4 13:06 /opt/bro/etc/broctl.cfg -> zeekctl.cfg

root@test-host1:~# ls -l /opt/bro/ total 0 drwxr-xr-x 2 root root 257 Feb 4 13:06 bin drwxr-xr-x 2 root root 101 Feb 4 13:13 etc drwxr-xr-x 2 root root 60 Sep 17 18:26 etc_pre-2.6.4 drwxr-xr-x 2 root root 60 Feb 4 13:04 etc_pre-3.0.1

root@test-host1:~# ls -l /opt/bro/share/ total 0 lrwxrwxrwx 1 root root 4 Feb 4 13:06 bro -> zeek drwxr-xr-x 4 root root 31 Feb 4 13:06 bro.pre-3.0.1

root@test-host1:~# grep StatusCmdShowAll /opt/zeek/etc/zeekctl.cfg StatusCmdShowAll = 0

root@test-host1:~# grep af_packet /opt/zeek/etc/zeekctl.cfg lb_custom.InterfacePrefix=af_packet::

root@test-host1:~# ls /etc/cron.d/ anacron capme mdadm netsniff-sync nsm-watchdog php salt-update sensor-clean sensor-newday sguil-db-purge so-sensor-backup-config so-server-backup-config squert-ip2c sysstat zeek

I have rebooted the system and things come up smoothly on reboot.

I had no issue with with zeekctl or broctl displaying text but I only ran a zeekctl config so didn't test that extensively.

dougburks commented 4 years ago

Thanks @chris-cuevas !

dougburks commented 4 years ago

Published: https://blog.securityonion.net/2020/02/zeek-301-elastic-686-and-cyberchef-9120.html