Compare commits

..

2526 Commits
1.0.4 ... 1.4.1

Author SHA1 Message Date
Mike Reeves
ba81b7275a Merge pull request #909 from Security-Onion-Solutions/fix/1.4.1
Update to 1.4.1
2020-06-30 09:55:10 -04:00
Mike Reeves
a1791f1e2e Update to 1.4.1 2020-06-30 09:47:20 -04:00
Mike Reeves
a74d52a986 Merge pull request #908 from Security-Onion-Solutions/bugfix/hostname-regex
[fix] Apply regex filter to hostname input
2020-06-30 09:14:20 -04:00
William Wernert
1022bf5b99 [fix] Apply regex filter to hostname input 2020-06-30 09:08:55 -04:00
Mike Reeves
ada0d7b8cd Merge pull request #862 from Security-Onion-Solutions/dev
1.4.0
2020-06-16 14:47:08 -04:00
Mike Reeves
6410087994 1.4.0 2020-06-16 13:52:37 -04:00
Josh Brower
2986926ce9 Merge pull request #861 from Security-Onion-Solutions/bugfix/fleet-kibana
Beta3 Kibana dashboard updates
2020-06-16 10:17:26 -04:00
Josh Brower
a9df5d75b0 Beta3 Kibana dashboard updates 2020-06-16 10:16:31 -04:00
William Wernert
0c9c7002dc [fix] Simplify if statements and apply mine.update during setup 2020-06-16 08:38:50 -04:00
Mike Reeves
0961fe7091 Merge pull request #857 from Security-Onion-Solutions/feature/metasuri
Feature/metasuri
2020-06-15 21:52:41 -04:00
Mike Reeves
4573b346f8 Merge remote-tracking branch 'remotes/origin/dev' into feature/metasuri 2020-06-15 21:46:07 -04:00
Mike Reeves
3681f91c37 Suricata Conn 2020-06-15 21:46:04 -04:00
Jason Ertel
97d127218a fix: stop updating salt mine - this is an attempt to sort out why the CA intermittently disappears from the mine 2020-06-15 17:40:58 -04:00
Josh Patterson
9340b633e2 Merge pull request #855 from Security-Onion-Solutions/quickfix/searchnode2node
fix so-status for searchnode
2020-06-15 17:01:50 -04:00
m0duspwnens
fe39179ba1 fix so-status for searchnode 2020-06-15 17:01:23 -04:00
Josh Patterson
3b920b2cd8 Merge pull request #854 from Security-Onion-Solutions/quickfix/searchnode2node
place searchnode role with node where referenced
2020-06-15 16:59:55 -04:00
m0duspwnens
91a50c0915 place searchnode role with node where referenced 2020-06-15 16:58:30 -04:00
Josh Patterson
578e2b5d1d Merge pull request #853 from Security-Onion-Solutions/quickfix/playbook
fix for master not having a node:mainip pillar - playbook
2020-06-15 15:15:23 -04:00
m0duspwnens
b396c39352 fix for master not having a node:mainip pillar - playbook 2020-06-15 15:13:29 -04:00
Mike Reeves
a91dbf0d1d Fix wording for Suricata meta data in whiptail 2020-06-15 15:10:16 -04:00
Josh Patterson
1a6fc3ef6c Merge pull request #852 from Security-Onion-Solutions/quickfix/fleetfwsetup
add firewall rules for fleet standalone
2020-06-15 13:51:39 -04:00
m0duspwnens
51e500f521 add firewall rules for fleet standalone 2020-06-15 13:50:37 -04:00
weslambert
91c32725fb Merge pull request #851 from Security-Onion-Solutions/fix/es_field_fixes
Fix/es field fixes
2020-06-15 12:59:01 -04:00
Wes Lambert
f3c9f2e5ea update templates 2020-06-15 16:57:46 +00:00
Wes Lambert
206261fbe6 rename id to log.id.fuid for X509 2020-06-15 16:55:14 +00:00
Wes Lambert
18547e8ea8 enforce field types 2020-06-15 16:54:33 +00:00
Josh Patterson
8403d72b8e Merge pull request #849 from Security-Onion-Solutions/quickfix/fleetfwsetup
add another pillar default to self hostgroup
2020-06-15 10:40:03 -04:00
m0duspwnens
dc56c449b7 add another pillar default to self hostgroup 2020-06-15 10:38:58 -04:00
Josh Patterson
896f081f70 Merge pull request #847 from Security-Onion-Solutions/quickfix/fleetfwsetup
set firewall during setup for fleet standalone
2020-06-15 09:43:35 -04:00
m0duspwnens
aaa6cf816a set firewall during setup for fleet standalone 2020-06-15 09:42:06 -04:00
Jason Ertel
87514e7da3 revert: Use consistent casing for package names 2020-06-14 09:47:59 -04:00
Jason Ertel
8b64f5b499 Use consistent casing for package names 2020-06-13 10:19:24 -04:00
m0duspwnens
ce5d678ed9 change portgroup assignment for dockernet on searchnode 2020-06-12 17:09:08 -04:00
Josh Patterson
f8b5593bca Merge pull request #845 from Security-Onion-Solutions/bugfix/standalonessl
fix issue with ssl state that prevented other node types being adding…
2020-06-12 16:25:43 -04:00
m0duspwnens
a125a94808 fix issue with ssl state that prevented other node types being adding to a standalone node 2020-06-12 16:24:46 -04:00
m0duspwnens
e25560bf6b add missing roles fire firewall 2020-06-12 15:37:43 -04:00
Josh Patterson
1f305352a0 Merge pull request #844 from Security-Onion-Solutions/quickfix/addfwrules
Quickfix/addfwrules
2020-06-12 15:04:04 -04:00
Doug Burks
befc793a96 Improve files query #804 2020-06-12 14:25:38 -04:00
Doug Burks
d157c0da00 Improve DNS queries #804 2020-06-12 14:21:36 -04:00
Josh Patterson
bfee999688 Merge pull request #843 from Security-Onion-Solutions/quickfix/firewallsetup
apply switch for so-firewall to apply firewall state on master for distributed install
2020-06-12 13:55:28 -04:00
Jason Ertel
b3d2ce0e18 support applying the firewall state directly from so-firewall 2020-06-12 13:52:24 -04:00
Mike Reeves
cd90889b4c Merge pull request #842 from Security-Onion-Solutions/feature/metasuri
Feature/metasuri
2020-06-12 12:32:04 -04:00
m0duspwnens
285468c059 user apply switch for so-firewall to apply firewall state on master for distributed install 2020-06-12 12:31:29 -04:00
Mike Reeves
03e410df68 Merge remote-tracking branch 'remotes/origin/dev' into feature/metasuri 2020-06-12 12:30:52 -04:00
Mike Reeves
6058d438bf Fix Protocol 2020-06-12 12:28:29 -04:00
Mike Reeves
42938a4e67 Add the makor Suricata parsers 2020-06-12 12:14:48 -04:00
m0duspwnens
3c0caa4112 Merge remote-tracking branch 'remotes/origin/dev' into quickfix/addfwrules 2020-06-12 11:40:34 -04:00
Doug Burks
0b2dd5d0a4 add event.dataset to default hunt output view #841 2020-06-12 11:37:55 -04:00
m0duspwnens
1f0509cfd6 update so-allow for wazuh and syslog 2020-06-12 11:35:18 -04:00
m0duspwnens
d02bff22ac adding fw rules to master nodes for wazuh and syslog 2020-06-12 11:27:28 -04:00
Doug Burks
3cc936a0a8 add event.dataset to default hunt output view #841 2020-06-12 11:13:56 -04:00
Mike Reeves
0559e2d16b Merge remote-tracking branch 'remotes/origin/dev' into feature/metasuri 2020-06-12 08:54:17 -04:00
Jason Ertel
d146e65412 Remove pre-creation of dirs in favor of having docker image use correct permissions 2020-06-12 01:24:13 -04:00
Jason Ertel
322bb665a1 fix: chgrp all wazuh subdirs accept for api due to Salt symlink issues 2020-06-11 22:34:08 -04:00
Josh Patterson
5fa1b038ed Merge pull request #838 from Security-Onion-Solutions/issue/739
Issue/739
2020-06-11 17:23:16 -04:00
m0duspwnens
729a6998a2 Merge remote-tracking branch 'remotes/origin/dev' into issue/739 2020-06-11 16:26:23 -04:00
m0duspwnens
56a821a9be update standalone grafana dashboard 2020-06-11 16:24:52 -04:00
m0duspwnens
b6fa01aafe fix monint for standalone grafana dashboard - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/739 2020-06-11 16:21:33 -04:00
m0duspwnens
253ffad853 add monint to tab for standalone - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/739 2020-06-11 16:09:30 -04:00
Mike Reeves
6f3fd407dd Merge remote-tracking branch 'remotes/origin/dev' into feature/metasuri 2020-06-11 16:00:38 -04:00
m0duspwnens
f8b6a80d99 adding standalone grafana dashboard 2020-06-11 15:57:35 -04:00
m0duspwnens
101673dc98 fix telegraf for standalone - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/739 2020-06-11 15:35:06 -04:00
m0duspwnens
bf8278dccf add telegraf elasticsearch input for standalone - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/739 2020-06-11 15:08:42 -04:00
m0duspwnens
73bb375662 have telegraf get data for standalone - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/739 2020-06-11 14:48:03 -04:00
Josh Patterson
c3a2c2321d Merge pull request #837 from Security-Onion-Solutions/issue/641
Issue/641
2020-06-11 14:22:28 -04:00
Jason Ertel
57a6e4af41 fix: pre-create directory for ossec-analysisd 2020-06-11 13:36:28 -04:00
Jason Ertel
1a85f26cf8 fix: pre-create directory for ossec-analysisd 2020-06-11 13:35:16 -04:00
Mike Reeves
032c8ca4e9 Fix Conflicts 2020-06-11 13:14:11 -04:00
Mike Reeves
9bed02934b Merge branch 'issue/641' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into issue/641 2020-06-11 13:03:31 -04:00
Mike Reeves
a37faff850 New so-allow 2020-06-11 13:03:21 -04:00
Josh Patterson
16592fcc1e makedirs if it doesn't exist 2020-06-11 12:55:30 -04:00
Josh Brower
1c86ae4e14 Merge pull request #836 from Security-Onion-Solutions/bugfix/misc
Fleet gen packages hostname fix2
2020-06-11 11:45:30 -04:00
Josh Brower
ab143b3216 Fleet gen packages hostname fix2 2020-06-11 11:44:56 -04:00
m0duspwnens
985c55dd62 fix state name duplicate conflict - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/739 2020-06-11 10:39:30 -04:00
m0duspwnens
32b4a2ff08 adding grafana dashboard for standalone - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/739 2020-06-11 10:28:29 -04:00
m0duspwnens
55e597d302 run firewall state after adding ips during setup - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-11 09:45:31 -04:00
Jason Ertel
b26a7541cd fix: Force ossec group on /opt/so/wazuh dir tree to eliminate permission failures 2020-06-11 09:25:09 -04:00
m0duspwnens
9466cc5439 remove firewall pillar from top, add roles to hosts during setup - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-11 08:49:52 -04:00
Josh Brower
496696ed80 Merge pull request #834 from Security-Onion-Solutions/bugfix/misc
Bugfix/misc
2020-06-11 07:57:58 -04:00
Josh Brower
05d890901f Fleet gen packages hostname fix 2020-06-11 07:56:20 -04:00
m0duspwnens
5317ee8b5a add localhost to the same hostgroups as in currently in dev - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-10 17:41:22 -04:00
m0duspwnens
03c43da6f2 create iptables file if it doesnt exist - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-10 17:19:03 -04:00
m0duspwnens
f92ad7d671 handle undefined local values - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-10 16:34:37 -04:00
m0duspwnens
119ce2d93f remove from writing to firewall pillar - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-10 15:37:18 -04:00
m0duspwnens
39734b6983 Merge branch 'issue/641' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into issue/641 2020-06-10 15:35:21 -04:00
m0duspwnens
7c5343ebe1 copy local firewall yaml files during setup - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-10 15:35:15 -04:00
Jason Ertel
23be399a68 Ensure host doesn't exist in both include and exclude lists; add support for port management; add support for removing host from exclude list 2020-06-10 15:19:36 -04:00
m0duspwnens
fcb26bdaed change how ips are added during setup - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-10 15:03:34 -04:00
William Wernert
33105c10aa [feat] Make automated webuser pass follow requirements 2020-06-10 14:19:24 -04:00
m0duspwnens
4df8a973cf Merge branch 'issue/641' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into issue/641 2020-06-10 14:05:34 -04:00
m0duspwnens
f89baff3d7 adding ability to assign hostgroup to single minion - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-10 14:05:19 -04:00
Jason Ertel
1933c26797 Additional diagnostic logging for the curious case of the disappearing certificate 2020-06-10 09:51:56 -04:00
Jason Ertel
c072905717 Initial firewall management script 2020-06-10 01:18:39 -04:00
m0duspwnens
15fd4de669 remove yamlized rules, update assigned hostgroups - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-09 13:44:10 -04:00
Mike Reeves
c0d24d942c Merge remote-tracking branch 'remotes/origin/dev' into feature/metasuri 2020-06-09 13:31:31 -04:00
m0duspwnens
accb3d536d add chain to iptables state - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-09 13:30:24 -04:00
Jason Ertel
d09e2b6468 Dump salt mine to log after applying SSL/CA salt states 2020-06-09 13:16:03 -04:00
Josh Brower
910c809aa2 Merge pull request #833 from Security-Onion-Solutions/bugfix/misc
thehive setup fix
2020-06-09 12:19:02 -04:00
Josh Brower
e5a23c22fd thehive setup fix 2020-06-09 12:16:39 -04:00
m0duspwnens
721f2682ac changes for firewall - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-09 09:40:38 -04:00
Josh Brower
189d0f5f36 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-06-08 13:28:46 -04:00
Josh Brower
913c1a89bf Fleet setup fixes 2020-06-08 13:28:27 -04:00
William Wernert
941ad5acf6 Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-06-08 12:12:29 -04:00
William Wernert
e2c3fe3342 [fix] Add X-Forwarded-Proto to nginx configs 2020-06-08 12:12:25 -04:00
Mike Reeves
4b6af0cd81 Suricata DHCP 2020-06-08 08:58:35 -04:00
Josh Brower
35bc5f9133 Merge pull request #831 from Security-Onion-Solutions/feature/fleet-setup
Feature/fleet setup
2020-06-08 08:49:35 -04:00
Josh Brower
51f97f5ae5 Fleet setup - final fixes 2020-06-08 08:47:06 -04:00
Josh Brower
3f3990ac83 Merge remote-tracking branch 'remotes/origin/dev' into feature/fleet-setup 2020-06-08 08:30:37 -04:00
Josh Brower
950d4077f6 Update so-setup 2020-06-08 08:12:14 -04:00
Josh Brower
ab6e36e00a Fleet syntax error fix 2020-06-06 13:15:44 -04:00
Josh Brower
33f21c05f7 Fleet standaline custom fqdn fixes 2020-06-06 10:03:25 -04:00
Josh Brower
88219c4827 Merge pull request #827 from Security-Onion-Solutions/feature/wlb5
Initial support - external beats
2020-06-05 10:47:56 -04:00
Josh Brower
4e4eeedb41 Initial support - external beats 2020-06-04 22:41:35 -04:00
Mike Reeves
33712a3409 Suricata HTTP parser 2020-06-04 16:19:22 -04:00
Mike Reeves
5c62fedd12 Suricata DNS parser 2020-06-04 15:42:51 -04:00
Mike Reeves
b264548a4f Merge remote-tracking branch 'remotes/origin/dev' into feature/metasuri 2020-06-04 10:58:03 -04:00
Jason Ertel
7edf9a67c3 Ensure standalone mode supports the settings flow 2020-06-04 10:46:27 -04:00
Mike Reeves
79adf2012a Fix log rotate on Suricata 2020-06-04 10:43:24 -04:00
m0duspwnens
5f9f86caa5 merge with dev and fix conflicts 2020-06-04 09:59:12 -04:00
Mike Reeves
7043bbae9d Merge remote-tracking branch 'remotes/origin/dev' into feature/metasuri 2020-06-04 09:10:54 -04:00
Josh Brower
0890171527 Fixes 2020-06-04 07:51:05 -04:00
TOoSmOotH
c8730db7b4 Fix top so zeek doest run when disabled 2020-06-03 21:26:22 -04:00
TOoSmOotH
f6b71e3941 Fix top so zeek doest run when disabled 2020-06-03 21:20:58 -04:00
TOoSmOotH
9b6822f325 DNS Suricata parser 2020-06-03 20:40:57 -04:00
TOoSmOotH
702a14e90c DNS Suricata parser 2020-06-03 20:40:10 -04:00
Mike Reeves
5a9030883a Rename Bro to Zeek in some whiptail menus 2020-06-03 16:44:52 -04:00
Mike Reeves
f3fabcd93c Enable git 2020-06-03 16:21:45 -04:00
Josh Brower
a09991d770 Fleet standalone - custom hostnames 2020-06-03 15:56:59 -04:00
Josh Brower
3d92145bb9 Fleet standalone - custom hostnames 2020-06-03 15:52:18 -04:00
Mike Reeves
3211a8a5e0 SMTP from fix 2020-06-03 11:52:24 -04:00
Mike Reeves
c5d6381933 SMTP for suricata 2020-06-03 11:16:43 -04:00
Mike Reeves
126d1598ee SNMP for suricata 2020-06-03 11:03:23 -04:00
Jason Ertel
970368c74e Avoid logs leaking to stdout/stderr during cron jobs 2020-06-03 09:42:44 -04:00
Jason Ertel
9f0e48e337 Send stderr to /dev/null as well, since it's already been decided this output is unsuited for the logfile based on the comment 2020-06-03 08:55:06 -04:00
Josh Brower
eaacb7b71e Fleet cleanup 2020-06-03 05:54:35 -04:00
Jason Ertel
e6fcf75181 Re-ordered wazuh setup to avoid agent-service failures due to missing client.keys file; Prepare for user profile settings screen support in reverse proxy 2020-06-02 17:31:51 -04:00
weslambert
014274930a Merge pull request #815 from Security-Onion-Solutions/fix/syslog_cleanup
Clean up some stuff
2020-06-02 15:32:32 -04:00
weslambert
c91bc0e681 Clean up some stuff 2020-06-02 15:31:48 -04:00
Mike Reeves
25aae21cf6 Trying to get decoded packet 2020-06-02 15:06:39 -04:00
Mike Reeves
b507b87871 Trying to get decoded packet 2020-06-02 14:49:07 -04:00
Mike Reeves
fb68506418 Add mor suricata ingest parser types 2020-06-02 14:42:15 -04:00
Mike Reeves
3096d8d988 Add mor suricata ingest parser types 2020-06-02 14:34:38 -04:00
Mike Reeves
0ea2252b5b Add Suricata Flow pipeline 2020-06-02 13:40:46 -04:00
weslambert
98e0f0d7d8 Merge pull request #814 from Security-Onion-Solutions/feature/syslog
Feature/syslog
2020-06-02 13:39:23 -04:00
Wes Lambert
8cac30728b update Logstash config 2020-06-02 17:36:36 +00:00
Wes Lambert
91673a5d70 Update FB config 2020-06-02 17:33:42 +00:00
Josh Brower
782c669835 Fleet standalone fixes - req 2020-06-02 12:42:14 -04:00
Mike Reeves
617f60d472 Fix Syntax 2020-06-02 12:01:26 -04:00
Mike Reeves
e63f39a9c4 Rename dataset 2020-06-02 11:58:14 -04:00
Mike Reeves
d47acd1d80 Change suricata to hit suricata.common 2020-06-02 11:41:13 -04:00
Josh Brower
77df87880c Fleet standalone fixes - fleet sa req 2020-06-02 10:20:29 -04:00
Josh Brower
b5cc653179 Fleet standalone fixes - mainip 2020-06-02 09:39:42 -04:00
Jason Ertel
42683ddb67 always restart acng and registry containers when docker restarts 2020-06-02 09:12:25 -04:00
Jason Ertel
07c0075fc0 Upgrade containerd.io and docker-ce to match ISO rpms 2020-06-02 08:43:06 -04:00
Josh Brower
b695b7f245 Fleet standalone fixes - firewall 2020-06-02 08:05:48 -04:00
Jason Ertel
9d5f4049b5 Avoid filtering NIC when it's an empty string 2020-06-02 05:52:03 -04:00
Mike Reeves
69f940fe8c Merge pull request #811 from Security-Onion-Solutions/feature/updatetool
Couple of QOL scripts
2020-06-01 20:49:42 -04:00
Mike Reeves
307cbe4b77 Couple of QOL scripts 2020-06-01 20:48:25 -04:00
Josh Brower
4b14ecf1d9 Fleet standalone fixes 2020-06-01 16:36:32 -04:00
Josh Patterson
cc6a323f45 Merge pull request #810 from Security-Onion-Solutions/issue/749
Issue/749
2020-06-01 12:20:28 -04:00
m0duspwnens
f5c8091fd6 remove unneeded INITIALSETUP var from addtotab 2020-06-01 12:17:52 -04:00
m0duspwnens
1737b46abb Merge remote-tracking branch 'remotes/origin/dev' into issue/749 2020-06-01 12:15:00 -04:00
Doug Burks
80d1814f10 remove event.module:zeek to make queries more generic 2020-06-01 12:00:33 -04:00
Mike Reeves
b091fe07c9 Merge pull request #809 from Security-Onion-Solutions/feature/metasuri
Suricata 5 Meta Data
2020-06-01 11:05:38 -04:00
Mike Reeves
03f34404b1 Suricata 5 Meta Data 2020-06-01 11:03:43 -04:00
weslambert
551c663046 Merge pull request #808 from Security-Onion-Solutions/fix/tunnel_parents
Rename tunnel_parents
2020-06-01 09:52:55 -04:00
Wes Lambert
51f5d64ef6 Rename tunnel_parents 2020-06-01 13:51:32 +00:00
weslambert
fa8b88b090 Merge pull request #806 from Security-Onion-Solutions/feature/vxlan_tunnel_id
fix naming of uid field for tunnel
2020-06-01 08:54:12 -04:00
Wes Lambert
d7ce3d4719 fix naming of uid field for tunnel 2020-06-01 12:52:57 +00:00
Doug Burks
f559621f00 add x509 issuer and subject groupby queries 2020-06-01 07:48:50 -04:00
Doug Burks
46dc5f42e9 combine two http queries into one with multiple groupby 2020-06-01 07:30:08 -04:00
m0duspwnens
5ddfb7ccce fix merge conflicts 2020-05-29 17:31:07 -04:00
Josh Patterson
0eeafa292e Merge pull request #802 from Security-Onion-Solutions/quickfix/wazuh/whitelistmanager
change how whitelist script determines if wazuh is enabled
2020-05-29 17:26:10 -04:00
m0duspwnens
4dfb58a98c change how whitelist script determines if wazuh is enabled 2020-05-29 17:22:39 -04:00
Josh Patterson
5f4e480b4c Merge pull request #801 from Security-Onion-Solutions/quickfix/search/nginx
add nginx state to searchnode in salt/top
2020-05-29 17:02:49 -04:00
m0duspwnens
17879ad88c add nginx state to searchnode in salt/top 2020-05-29 17:01:43 -04:00
m0duspwnens
a84203be7c Merge remote-tracking branch 'remotes/origin/dev' into issue/749 2020-05-29 16:38:10 -04:00
Josh Patterson
828f8a0df8 Merge pull request #800 from Security-Onion-Solutions/quickfix/node
fix minion_type for *NODE install_type
2020-05-29 16:37:04 -04:00
m0duspwnens
d7e904e1ab fix minion_type for *NODE install_type 2020-05-29 16:35:39 -04:00
m0duspwnens
9ae68b52ef Merge remote-tracking branch 'remotes/origin/dev' into issue/749 2020-05-29 16:22:00 -04:00
Josh Patterson
16d6e4ae2e Merge pull request #799 from Security-Onion-Solutions/quickfix/distrib_install_firewall
Quickfix/distrib install firewall
2020-05-29 15:36:53 -04:00
m0duspwnens
52954d8e5d set_intial_firewall policy sooner in install process so packages can be installed if masterupdates are enabled 2020-05-29 15:34:18 -04:00
m0duspwnens
15fc97e516 adding suricata.master state to mastersearch - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-29 13:11:55 -04:00
m0duspwnens
6db8470de7 Merge remote-tracking branch 'remotes/origin/dev' into issue/749 2020-05-29 13:09:49 -04:00
m0duspwnens
42ea39ee35 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-29 13:09:26 -04:00
Josh Patterson
aa24dacb86 Merge pull request #798 from Security-Onion-Solutions/quickfix/master_navigator
add navigator to master if enabled
2020-05-29 13:08:43 -04:00
m0duspwnens
3143643692 add navigator to master if enabled 2020-05-29 13:05:26 -04:00
m0duspwnens
30641d0fa9 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-29 13:01:08 -04:00
m0duspwnens
2db2054cce update instructions in logstash customer pipelines and templates - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-29 10:58:53 -04:00
m0duspwnens
7957b51409 change master roots priority to local 2020-05-29 10:57:43 -04:00
weslambert
2601ffe902 Merge pull request #797 from Security-Onion-Solutions/fix/radius_parsing
fix framed_addr field
2020-05-29 07:56:22 -04:00
Wes Lambert
4059121dd6 fix framed_addr field 2020-05-29 11:55:18 +00:00
Josh Brower
046bca626e Fleet pw check fix 2020-05-28 16:51:37 -04:00
Josh Brower
e8e48a4beb Fleet standalone bugfixes 2020-05-28 16:40:12 -04:00
Josh Brower
0d8c0e1fa6 Fleet standalone fixes 2020-05-28 16:27:18 -04:00
m0duspwnens
40fa5293bf move fileserve update to suricata.master 2020-05-28 15:54:11 -04:00
Jason Ertel
3952faba85 Add missing semi-colons to break out of the case block 2020-05-28 15:27:14 -04:00
weslambert
f5300d3d5a Merge pull request #794 from Security-Onion-Solutions/feature/zeek-stats
Add basic Zeek stats script
2020-05-28 13:55:43 -04:00
Wes Lambert
7f75050682 Add basic Zeek stats script 2020-05-28 17:54:15 +00:00
Josh Brower
aeb71bb8f0 Simplified setup script 2020-05-28 13:21:25 -04:00
m0duspwnens
71d381aeae apply suricata.master state during setup - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-28 13:19:38 -04:00
weslambert
7c232318ad Merge pull request #793 from Security-Onion-Solutions/fix/so-stop-exact-match
Update for exact match (ex. thehive, thehive-es, thehive-cortex)
2020-05-28 13:17:56 -04:00
weslambert
b835c2e27e Update for exact match (ex. thehive, thehive-es, thehive-cortex) 2020-05-28 13:17:31 -04:00
weslambert
ae6f028666 Merge pull request #792 from Security-Onion-Solutions/fix/suricata_config_nsm
Move eve.json to /nsm
2020-05-28 13:00:15 -04:00
weslambert
12f426d4f4 Move eve.json to /nsm 2020-05-28 12:59:41 -04:00
weslambert
8291de40cf Merge pull request #791 from Security-Onion-Solutions/fix/socto-ip-hostname
add master to SOCtopus hosts file
2020-05-28 12:46:57 -04:00
Wes Lambert
869bfb947d add master to SOCtopus hosts file 2020-05-28 16:45:48 +00:00
weslambert
9de1a25703 Merge pull request #789 from Security-Onion-Solutions/fix/filebeat_init
Fix filebeat init
2020-05-28 12:11:39 -04:00
weslambert
d2263db0ff Update init.sls 2020-05-28 12:11:08 -04:00
m0duspwnens
4f15de8b77 refresh salt fileserver if suricata rule symlink is created 2020-05-28 12:00:22 -04:00
Josh Brower
e53e891bd6 Fleet reactor - Typo fix 2020-05-28 11:36:38 -04:00
Jason Ertel
6c4946f4e2 Provide option to skip reboot after setup completes 2020-05-28 10:20:44 -04:00
weslambert
c775e583dd Merge pull request #788 from Security-Onion-Solutions/feature/filebeat-syslog-fw
allow syslog
2020-05-28 09:58:15 -04:00
Wes Lambert
b7d7747f65 allow syslog 2020-05-28 13:56:02 +00:00
Mike Reeves
2b4cfe2b02 Merge pull request #786 from Security-Onion-Solutions/feature/suri5
Feature/suri5
2020-05-28 09:41:41 -04:00
Mike Reeves
8304d91b0b Merge branch 'dev' into feature/suri5 2020-05-28 09:41:28 -04:00
m0duspwnens
091cc8b789 fix how local salt and pillar dirs are created - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-28 08:57:07 -04:00
weslambert
3883c8bfe0 Merge pull request #784 from Security-Onion-Solutions/feature/filebeat-syslog
Feature/filebeat syslog
2020-05-28 08:39:11 -04:00
Wes Lambert
d2b93d531e Basic syslog config 2020-05-28 12:36:29 +00:00
Wes Lambert
5afc05feb2 Update FB init for syslog 2020-05-28 12:35:22 +00:00
Wes Lambert
b9bdca509e update Filebeat config for syslog 2020-05-28 12:33:41 +00:00
Doug Burks
f3efafc9ca combine two notice queries into one query with multiple groupby 2020-05-28 08:01:33 -04:00
Doug Burks
60cc3e9675 remove address from DHCP leases query 2020-05-28 07:50:52 -04:00
Jason Ertel
2a21d7403f Open firewall from all networks for automated testing 2020-05-28 00:47:46 -04:00
Jason Ertel
a75301cd0e Ensure IP is available to child process executing so-allow 2020-05-27 22:00:58 -04:00
Jason Ertel
1e5d5397a4 Support multiple command line options for setup, along with dynamic values per option 2020-05-27 19:42:48 -04:00
m0duspwnens
8b83799253 create local dirs sooner - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-27 18:16:02 -04:00
m0duspwnens
63e0a1e8a2 create local salt and pillar dirs - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-27 17:18:17 -04:00
m0duspwnens
59cc927878 Merge remote-tracking branch 'remotes/origin/dev' into issue/749 2020-05-27 15:56:38 -04:00
William Wernert
3712eb0acb [fix] Redirect so-allow output to log 2020-05-27 15:49:41 -04:00
weslambert
04800277c2 Merge pull request #783 from Security-Onion-Solutions/fix/hive_rename_bug
Hive to TheHive
2020-05-27 15:44:22 -04:00
weslambert
6a935b5452 Hive to TheHive 2020-05-27 15:43:41 -04:00
Josh Brower
11c641fd1b Initial support - integrated Fleet setup 2020-05-27 15:34:14 -04:00
m0duspwnens
6e5aa0f71b Merge remote-tracking branch 'remotes/origin/dev' into issue/749 2020-05-27 15:08:11 -04:00
m0duspwnens
16c6b2b202 dont allow addtotab to run grafana and utility states if it is initial setup - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-27 15:07:49 -04:00
m0duspwnens
12a6da928f create /opt/so/saltstack/local/salt/suricata - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-27 15:00:11 -04:00
m0duspwnens
d018648bc0 create addtotab templates sooner in setup - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-27 14:53:40 -04:00
William Wernert
769f5674eb [fix] Always call set_default_log_size 2020-05-27 14:08:27 -04:00
m0duspwnens
40f04ef6d0 merge with dev and fix conflicts 2020-05-27 13:54:08 -04:00
m0duspwnens
b197869a23 remove logic for if states should run or not - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-27 13:46:30 -04:00
weslambert
9595d63c01 Merge pull request #782 from Security-Onion-Solutions/feature/thehive-start-stop-restart
Add Hive/ES/Cortex scripts
2020-05-27 13:46:18 -04:00
m0duspwnens
21f1b423f3 move where in the process addtotab template and data directory are created - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-27 13:43:55 -04:00
Wes Lambert
b80eb5f73b Add Hive/ES/Cortex scripts 2020-05-27 17:43:17 +00:00
William Wernert
66c65490b9 Merge pull request #781 from Security-Onion-Solutions/feature/setup-allow
[feat] Add flag to run so-allow automatically post-setup
2020-05-27 13:26:27 -04:00
William Wernert
1952246c85 [feat] Add flag to run so-allow automatically post-setup 2020-05-27 13:23:37 -04:00
weslambert
f07d6dfb30 Merge pull request #780 from Security-Onion-Solutions/fix/thehive_path
Rename Hive to TheHive in several places
2020-05-27 13:22:57 -04:00
Wes Lambert
b26f6826dd Rename Hive to TheHive in several places 2020-05-27 17:17:55 +00:00
weslambert
58f4cce4f3 Merge pull request #779 from Security-Onion-Solutions/fix/suricata_log_path
Fix/suricata log path
2020-05-27 13:03:10 -04:00
Wes Lambert
d56bc4c167 fix path 2020-05-27 17:01:05 +00:00
Wes Lambert
3684cdf1c6 Update FB and LS 2020-05-27 17:00:09 +00:00
Wes Lambert
e78a3f3278 update Suricata config 2020-05-27 16:59:26 +00:00
Wes Lambert
b7a0f79038 Update Suricata init 2020-05-27 16:58:31 +00:00
m0duspwnens
23e9ee46b8 Merge remote-tracking branch 'remotes/origin/dev' into issue/749 2020-05-27 12:30:40 -04:00
m0duspwnens
693000afa8 remove addtotab templates and move surirulelink - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-27 12:30:12 -04:00
m0duspwnens
f35c59e6ce apply firewall state before we addtotab 2020-05-27 12:22:21 -04:00
Jason Ertel
9cc2614cc8 Automated setup will now output progress data to sosetup.log 2020-05-27 11:47:22 -04:00
William Wernert
dde66a664c Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-27 10:11:57 -04:00
William Wernert
c614e0a880 [feat] Add prompt about master needing internet access
When package updates go through the master node, that master needs internet access.
Therefore, prompt the user about this requirement.

Resolves #146
2020-05-27 10:11:54 -04:00
m0duspwnens
446e0f6f4c Merge remote-tracking branch 'remotes/origin/dev' into issue/749 2020-05-27 10:09:36 -04:00
m0duspwnens
7eb02d2af3 move suri rule symlink 2020-05-27 10:09:23 -04:00
weslambert
042618cd8f Merge pull request #777 from Security-Onion-Solutions/fix/strelka_init
Wrap with quotes
2020-05-27 09:03:06 -04:00
weslambert
f3809cb93d Wrap with quotes 2020-05-27 08:31:14 -04:00
Jason Ertel
65431e0fcc Do not expect network access to be available prior to the NIC being configured for DHCP/Static 2020-05-26 22:39:18 -04:00
Jason Ertel
5d0a7f99e9 Improve logging of automated setup 2020-05-26 18:45:33 -04:00
Mike Reeves
68dd333fbe Remove stats from eve.json 2020-05-26 17:49:11 -04:00
Mike Reeves
1259338e6c Remvoe old Suricata.yml 2020-05-26 17:44:19 -04:00
Mike Reeves
8e95115a7c Update Suricata.yml 2020-05-26 17:43:32 -04:00
m0duspwnens
2467f5636b only have addtotab.sh run grafana or utility state if masterfw.sls exists 2020-05-26 17:12:47 -04:00
m0duspwnens
1eb6142f11 remove dir creation - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-26 17:00:29 -04:00
William Wernert
377d8e6336 [fix] Don't run tr on a string again 2020-05-26 16:54:51 -04:00
William Wernert
00681649bd [fix] Don't run tr on a string again 2020-05-26 16:41:41 -04:00
William Wernert
8d684a0341 Merge pull request #775 from Security-Onion-Solutions/feature/turbo-proxy
Feature/turbo proxy
2020-05-26 16:37:58 -04:00
William Wernert
17970beebc Merge branch 'dev' into feature/turbo-proxy
# Conflicts:
#	setup/so-functions
2020-05-26 16:37:08 -04:00
William Wernert
ec0ec79470 [fix] Test install type after it has been set 2020-05-26 16:23:06 -04:00
Jason Ertel
8e1bd32f4d Improve automated installs and remove sleep during progress updates 2020-05-26 16:11:35 -04:00
William Wernert
001f7c6694 [fix] export TURBO var so it can be used from so-setup 2020-05-26 16:01:44 -04:00
Mike Reeves
8c6928d95a Merge remote-tracking branch 'remotes/origin/dev' into feature/suri5 2020-05-26 15:50:09 -04:00
Mike Reeves
4049df8cb4 Merge pull request #774 from Security-Onion-Solutions/feature/packages
Feature/packages
2020-05-26 15:40:30 -04:00
William Wernert
9e1ed6983f [fix] Parse options at beginning of setup 2020-05-26 15:25:30 -04:00
m0duspwnens
3d3d63173e addtotab should apply grafana instead of common state 2020-05-26 15:24:39 -04:00
m0duspwnens
13c2c4fa4c create and move files if they dont exist for addtotab.sh - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-26 15:20:12 -04:00
William Wernert
84e3ce508e [fix] Only check for proxy-user & proxy-pass when needed 2020-05-26 15:19:37 -04:00
Mike Reeves
b748a86694 Suricata 5 initial commit 2020-05-26 15:12:00 -04:00
William Wernert
92c6a52496 [feat][WIP] Add functionality to run setup through a proxy 2020-05-26 14:49:22 -04:00
m0duspwnens
e27facc843 ensure /opt/so/saltstack/local/salt/suricata/rules is created 2020-05-26 14:47:16 -04:00
m0duspwnens
413f08f1b9 change mkdirs to makedirs in ssl state 2020-05-26 14:43:15 -04:00
Mike Reeves
21cd66d109 add ntpdate/ntp 2020-05-26 14:05:47 -04:00
Mike Reeves
41935996d4 add ntpdate/ntp 2020-05-26 13:48:36 -04:00
Mike Reeves
d260224dfe Update reboot language 2020-05-26 13:39:36 -04:00
Josh Brower
894bfd47f4 Merge pull request #771 from Security-Onion-Solutions/feature/communityid-hive-pivot
Elasticsearch Ingest fixes
2020-05-26 13:08:40 -04:00
Josh Brower
8723f8785e osquery pipeline fix and fail state if errors 2020-05-26 13:05:56 -04:00
Doug Burks
7a657d1229 add Community ID to default fields in bottom data table in Hunt 2020-05-26 12:58:01 -04:00
Josh Brower
3274ec0721 Merge pull request #769 from Security-Onion-Solutions/feature/communityid-hive-pivot
Add TheHive communityid link
2020-05-26 12:02:33 -04:00
Josh Brower
2cb7464086 Add TheHive communityid link 2020-05-26 12:01:58 -04:00
m0duspwnens
fafb469b5c change from default to local - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-26 11:59:00 -04:00
Mike Reeves
87407c9ace rework common init.sls 2020-05-26 11:21:59 -04:00
weslambert
0b200d15fd Merge pull request #768 from Security-Onion-Solutions/fix/es_watermark
Update ES watermark settings
2020-05-26 10:19:57 -04:00
Wes Lambert
0e51ab41cf Update ES watermark settings 2020-05-26 14:18:58 +00:00
weslambert
8aa2cab680 Merge pull request #767 from Security-Onion-Solutions/fix/so_index_transition
Fix/so index transition
2020-05-26 10:08:20 -04:00
Wes Lambert
97306d3acd rename indices 2020-05-26 14:05:33 +00:00
Wes Lambert
3eb62287ac update Curator config for index transition 2020-05-26 14:00:16 +00:00
Jason Ertel
c28936d9e4 temporarily abort automated installation 2020-05-26 09:40:43 -04:00
weslambert
956926d870 Merge pull request #766 from Security-Onion-Solutions/fix/soctopus_host
update SOCtopus config for hostname/ip
2020-05-26 09:20:43 -04:00
Wes Lambert
330de46249 update SOCtopus config for hostname/ip 2020-05-26 13:19:15 +00:00
weslambert
b5bd6e6144 Merge pull request #765 from Security-Onion-Solutions/fix/strelka_cron
update Strelka cron
2020-05-26 09:01:24 -04:00
Wes Lambert
e09027e795 update Strelka cron 2020-05-26 13:00:03 +00:00
Jason Ertel
ad97092589 When automating setup installation wait for network availability 2020-05-24 21:38:44 -04:00
Mike Reeves
31b3563fb3 Fix package versions 2020-05-24 10:56:30 -04:00
Mike Reeves
1c207afb31 Define packages in the common state 2020-05-23 12:00:24 -04:00
Josh Brower
35f3498ffa Merge pull request #760 from Security-Onion-Solutions/feature/ingest-communityid
Ingest pipeline commid fix for conn logs
2020-05-22 17:11:38 -04:00
Josh Brower
56f5fbdf6b Ingest pipeline commid fix for conn logs 2020-05-22 17:11:08 -04:00
William Wernert
13423bed18 [fix] Add indent in proxy.conf 2020-05-22 16:35:16 -04:00
William Wernert
9a1e122c19 Merge pull request #759 from Security-Onion-Solutions/feature/turbo-proxy
Feature/turbo proxy
2020-05-22 16:31:20 -04:00
William Wernert
29726e957f [fix] Redirect parse_options output to setup log 2020-05-22 15:16:57 -04:00
William Wernert
d9feb0d95c [fix] Don't repeat protocol in daemon.json 2020-05-22 15:09:04 -04:00
William Wernert
ad96baab55 [feat] Trim quotes from arguments 2020-05-22 14:50:58 -04:00
William Wernert
08564ed6d4 [feat] Trim quotes from arguments 2020-05-22 14:50:42 -04:00
William Wernert
862631b93a [fix] Add space in daemon.json 2020-05-22 14:47:00 -04:00
Jason Ertel
19cd57bce0 Support automated setup 2020-05-22 14:44:57 -04:00
William Wernert
579b622935 [fix] Don't overwrite daemon.json, and only accept turbo mode on correct install types 2020-05-22 14:36:55 -04:00
William Wernert
78f6261fcc [fix] acng should be port 3142 not 3412 2020-05-22 14:00:01 -04:00
William Wernert
4b505827b1 [fix] Use correct ports for acng and docker registry 2020-05-22 13:31:58 -04:00
William Wernert
c790b3827d [fix] yum.conf proxy should not contain quotes 2020-05-22 13:25:17 -04:00
William Wernert
b029d9aca6 [feat] Initial work for running setup through proxy 2020-05-22 11:40:16 -04:00
William Wernert
967148890c [fix] Only prompt user about network install on network install 2020-05-22 11:39:32 -04:00
m0duspwnens
b24654002b rename salt custom directory to local 2020-05-21 14:53:25 -04:00
Josh Brower
767eda6d60 Merge pull request #754 from Security-Onion-Solutions/feature/ingest-communityid
Feature/ingest communityid
2020-05-21 14:36:08 -04:00
Josh Brower
bff86ea802 zeek.common ingest parser fix 2020-05-21 14:35:25 -04:00
Josh Brower
c74ace89ba Initial support - Ingest community_id 2020-05-21 14:34:00 -04:00
m0duspwnens
d0242c1da6 update references of /opt/so/saltstack to /opt/so/saltstack/default. use var default_salt_dir where appropriate - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-21 10:54:47 -04:00
m0duspwnens
bd4fdaaa00 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-21 09:51:31 -04:00
Josh Patterson
9aff026569 Merge pull request #748 from Security-Onion-Solutions/issue/706
Issue/706 and issue/747
2020-05-21 09:25:36 -04:00
m0duspwnens
0a6f0efdc5 Sort so-status output alphabetically - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/747 2020-05-21 09:21:28 -04:00
m0duspwnens
9f5a38c26f add so-filebeat to so-status for eval - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/706 2020-05-21 09:19:24 -04:00
m0duspwnens
ba9ff34cff Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-21 09:09:12 -04:00
Mike Reeves
9eb4d6c1d5 Merge pull request #745 from Security-Onion-Solutions/dev
1.3.0
2020-05-20 13:51:48 -04:00
Mike Reeves
35646b7945 Merge branch 'master' into dev 2020-05-20 13:49:48 -04:00
Josh Patterson
4e9ccdb6ed Merge pull request #743 from Security-Onion-Solutions/quickfix/wazuh
Quickfix/wazuh
2020-05-20 11:55:26 -04:00
m0duspwnens
4917d88db0 remove wazuh-agent being installed during setup, let salt mage it 2020-05-20 11:45:54 -04:00
m0duspwnens
e07f6af156 remove wazuh-agent exlude being added to repo conf during setup 2020-05-20 11:41:33 -04:00
m0duspwnens
d4840d203c fix version lock for wazuh 2020-05-20 11:23:55 -04:00
Mike Reeves
51250ef751 Update wazuh.repo 2020-05-20 09:56:27 -04:00
Josh Patterson
695930a06e Merge pull request #742 from Security-Onion-Solutions/quickfix/wazuh
ensure wazuh-agent service is enabled and running
2020-05-19 17:01:17 -04:00
m0duspwnens
92c2222879 ensure wazuh-agent service is enabled and running 2020-05-19 16:59:43 -04:00
m0duspwnens
b3ccba4c7e Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-19 16:35:52 -04:00
Mike Reeves
0f2369b5cb Fix permissions due to umask issues in Ubuntu 18 2020-05-19 16:31:39 -04:00
m0duspwnens
d27b18009f Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-19 15:24:40 -04:00
William Wernert
320e9d7432 [fix] Apply nginx state before states that rely on it 2020-05-19 14:20:58 -04:00
Mike Reeves
c045e3f936 remove replicas 2020-05-19 13:57:31 -04:00
Mike Reeves
46762e5ad9 change cortex to 0 replicas 2020-05-19 13:56:59 -04:00
Josh Patterson
07560463de Merge pull request #737 from Security-Onion-Solutions/quickfix/wazuh
https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/695
2020-05-19 13:27:52 -04:00
William Wernert
3959e1cd10 [fix] Update packages before anything else 2020-05-19 13:03:07 -04:00
William Wernert
6d5af5b07a [fix] Revert redirect fix for saltify and docker_seed_registry 2020-05-19 12:41:19 -04:00
William Wernert
7f08324862 [fix] Redirect stdout + stderr for every command in so-setup 2020-05-19 11:53:50 -04:00
Doug Burks
064768d07d Fix dce_rpc hunt query #736
https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/736
2020-05-19 11:27:01 -04:00
William Wernert
3f9d2e44b6 Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-19 11:24:04 -04:00
William Wernert
3b3072b002 [fix] Update filtered nic list before trying to flush unused nics 2020-05-19 11:23:59 -04:00
Mike Reeves
1d072eced2 Update VERSION 2020-05-19 10:47:56 -04:00
Josh Brower
10691036e0 Update hive_init 2020-05-19 10:27:46 -04:00
William Wernert
832d2db3f6 Merge branch 'bugfix/whiptail-percent' into dev 2020-05-19 10:22:27 -04:00
William Wernert
c8be95646c [fix] Remove newline in percentage string to fix printing 2020-05-19 10:22:14 -04:00
m0duspwnens
4f65d17690 https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/695 2020-05-19 10:14:40 -04:00
Doug Burks
29420da565 Only process zeek.dns.tld if dns.query.name contains a dot #734
https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/734
2020-05-19 10:08:30 -04:00
Mike Reeves
fc4afe6767 Fix Curl statement 2020-05-19 09:58:16 -04:00
William Wernert
84952d5aa6 [fix][WIP] Revert parts of2261fe9 2020-05-19 09:56:59 -04:00
m0duspwnens
7977c47fda Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-19 09:48:07 -04:00
Mike Reeves
1d677bb529 Update known issues list 2020-05-19 09:36:36 -04:00
William Wernert
2261fe9b66 [fix][WIP] Changes to set_progress_str to fix percentage dropping to 0 2020-05-19 09:32:10 -04:00
Josh Patterson
8957af0a4d Merge pull request #733 from Security-Onion-Solutions/quickfix/sostatus
removing strelka-backend from strelka so-status map
2020-05-18 17:53:32 -04:00
m0duspwnens
411389b68e removing strelka-backend from strelka so-status map 2020-05-18 17:52:47 -04:00
Josh Patterson
341c70de9e Merge pull request #732 from Security-Onion-Solutions/quickfix/sostatus
add strelka container list for so-status
2020-05-18 17:46:55 -04:00
m0duspwnens
e6bc8f2d26 add strelka container list for so-status 2020-05-18 17:46:14 -04:00
Josh Patterson
d25fbfec84 Merge pull request #731 from Security-Onion-Solutions/quickfix/sostatus
add strelka container list for so-status
2020-05-18 17:39:09 -04:00
m0duspwnens
5638c386db add strelka container list for so-status 2020-05-18 17:36:32 -04:00
Mike Reeves
8202344d01 Fix for Strelka 2020-05-18 17:28:26 -04:00
Doug Burks
def928804f Fix Hunt DHCP message_types query #728
https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/728
2020-05-18 17:12:20 -04:00
Josh Patterson
de2082c0e1 Merge pull request #730 from Security-Onion-Solutions/quickfix/sostatus
remove so-nginx from sensor so-status map
2020-05-18 17:09:35 -04:00
m0duspwnens
492e021fa4 remove so-nginx from sensor so-status map 2020-05-18 17:08:04 -04:00
m0duspwnens
6b8f2e4683 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-18 17:05:56 -04:00
Josh Patterson
b87ac725a4 Merge pull request #729 from Security-Onion-Solutions/quickfix/wazuh
prevent wazuh-agent from updating
2020-05-18 17:03:29 -04:00
m0duspwnens
a6575e7910 prevent wazuh-agent from updating - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/695 2020-05-18 17:00:18 -04:00
m0duspwnens
3f8b6402e6 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-18 16:34:19 -04:00
Josh Brower
b951094ea2 Change alert pivot links for MASTER 2020-05-18 14:13:32 -04:00
Josh Patterson
b27b7d2805 Merge pull request #725 from Security-Onion-Solutions/quickfix/standalone
allow utility state to run for so-standalone
2020-05-18 14:02:03 -04:00
m0duspwnens
8a4da01b7f allow utility state to run for so-standalone 2020-05-18 14:01:01 -04:00
m0duspwnens
7a4928e1e0 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-18 13:54:07 -04:00
Doug Burks
b291b242ee temporarily hardcode radius user.name to user.name.keyword 2020-05-18 13:47:21 -04:00
Mike Reeves
a10617c182 Update nids2hive.yaml 2020-05-18 13:43:25 -04:00
Mike Reeves
a56c776695 Update SOCtopus.conf 2020-05-18 13:41:37 -04:00
Mike Reeves
f144fa241f Change to URL base 2020-05-18 13:36:52 -04:00
m0duspwnens
3b17bf14c1 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-18 13:08:46 -04:00
Josh Patterson
35cb60b801 Merge pull request #720 from Security-Onion-Solutions/quickfix/strelka
change strelka ip for sensor nodes
2020-05-18 10:56:35 -04:00
m0duspwnens
eebe0eb618 get the first ip for the ip_interfaces:mainint grain 2020-05-18 10:54:07 -04:00
m0duspwnens
037bedb0c0 remove whitespace at top of file 2020-05-18 10:48:02 -04:00
m0duspwnens
15cd0c6b49 change strelka ip for sensor nodes 2020-05-18 10:41:39 -04:00
Doug Burks
00f6e8d61b update geoip country descriptions 2020-05-18 10:27:03 -04:00
Doug Burks
028d84b805 remove commas from groupby segments 2020-05-18 10:25:05 -04:00
m0duspwnens
f693968853 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-18 10:20:14 -04:00
Doug Burks
a3323c24ac fix ftp.argument 2020-05-18 09:52:56 -04:00
Doug Burks
2f15c30d9a fix dhcp query 2020-05-18 09:44:49 -04:00
weslambert
43a8ec6f50 Merge pull request #719 from Security-Onion-Solutions/fix/so-kibana-config
Fix/so kibana config
2020-05-18 09:23:17 -04:00
Wes Lambert
ee5937d038 update Kibana config 2020-05-18 13:21:18 +00:00
Wes Lambert
228bbbea5f update config export 2020-05-18 13:16:42 +00:00
Mike Reeves
fbbacd205c Update filebeat.yml 2020-05-18 08:47:03 -04:00
Doug Burks
bd4dfcb351 fix dns domain queries 2020-05-18 08:35:43 -04:00
Doug Burks
9cc750a90f fix dns tld failures 2020-05-18 08:32:37 -04:00
Mike Reeves
b29decb95f Remove Kratos placeholder 2020-05-17 21:23:12 -04:00
William Wernert
f319257f8d [feat] Change kratos:redirect to master:url_base 2020-05-17 13:14:28 -04:00
Josh Brower
b01209457d Merge pull request #718 from Security-Onion-Solutions/bugfix/kibana-fleet
Update Fleet IP placeholder
2020-05-17 12:51:57 -04:00
Josh Brower
8a8970d9ee Update Fleet IP placeholder 2020-05-17 12:51:20 -04:00
Mike Reeves
bc5e86bd4b Merge pull request #717 from Security-Onion-Solutions/issue/140
Issue/140
2020-05-17 11:24:59 -04:00
Mike Reeves
329a030585 Merge remote-tracking branch 'remotes/origin/dev' into issue/140 2020-05-17 09:38:30 -04:00
weslambert
f7de391518 Merge pull request #713 from Security-Onion-Solutions/fix/kibana_config_load
change KRATOS to MASTER
2020-05-16 13:07:24 -04:00
Wes Lambert
23eb73a943 change KRATOS to MASTER 2020-05-16 16:31:06 +00:00
weslambert
907702441f Merge pull request #712 from Security-Onion-Solutions/fix/kibana_config_load_order
Fix load order for PLACEHOLDER
2020-05-16 11:49:58 -04:00
Wes Lambert
047f4e31ad Fix load order for PLACEHOLDER 2020-05-16 15:48:55 +00:00
weslambert
6e9784f68c Merge pull request #711 from Security-Onion-Solutions/fix/kibana_config_placeholder
fix placeholder
2020-05-16 11:46:46 -04:00
Wes Lambert
3363a5a20a fix placeholder 2020-05-16 15:45:52 +00:00
weslambert
9d4397806b Merge pull request #710 from Security-Onion-Solutions/fix/kibana_config_export
Fix/kibana config export
2020-05-16 11:35:43 -04:00
Wes Lambert
9b8cf3845a update Kibana config export 2020-05-16 15:34:33 +00:00
Wes Lambert
89527c533a update Kibana config export 2020-05-16 15:33:20 +00:00
weslambert
5d7c020223 Merge pull request #709 from Security-Onion-Solutions/fix/kibana_config
update Kibana config
2020-05-16 11:09:45 -04:00
Wes Lambert
bd5cc35fc0 update Kibana config 2020-05-16 15:07:33 +00:00
weslambert
95141574d4 Merge pull request #707 from Security-Onion-Solutions/fix/dhcp_parsing
Fix/dhcp parsing
2020-05-16 11:04:13 -04:00
Wes Lambert
4b91ade2e8 fix message_types one more time :) 2020-05-16 15:03:27 +00:00
Wes Lambert
9845ee189c fix message_types for real 2020-05-16 15:02:41 +00:00
Wes Lambert
f0662eed48 remark Beat tag for now 2020-05-16 14:59:41 +00:00
Wes Lambert
6a2ddd4ef6 move to DNS 2020-05-16 14:58:51 +00:00
Wes Lambert
66c89abbc6 Fix DHCP message types 2020-05-16 14:58:06 +00:00
William Wernert
5619768212 [fix] Use hostname or ip in Kibana based on setup
Fixes #603
2020-05-15 20:40:35 -04:00
m0duspwnens
6c7f487a3e Merge remote-tracking branch 'remotes/origin/dev' into issue/140 2020-05-15 19:43:18 -04:00
m0duspwnens
0086f0b71b add redis state to standalone - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/140 2020-05-15 19:43:06 -04:00
m0duspwnens
bb2587aaa0 add standalone to curator conf and scripts as well as other appopriate node types - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/140 2020-05-15 15:42:04 -04:00
Doug Burks
cc7a244d0b Create zeek.dns.tld
https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/599
2020-05-15 15:32:25 -04:00
Doug Burks
60d2a0818b Add to zeek.dns and have it send to zeek.dns.tld
https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/599
2020-05-15 15:31:17 -04:00
m0duspwnens
2bd3a4ddd1 allow curator state to install on so-searchnode, so-eval, so-node, so-mastersearch, so-heavynode, so-standalone - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/140 2020-05-15 15:30:00 -04:00
m0duspwnens
4e63477b98 Merge remote-tracking branch 'remotes/origin/dev' into issue/140 2020-05-15 15:21:03 -04:00
m0duspwnens
e7baca16ef allow grafana and influxdb states to run on standalone mode - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/140 2020-05-15 15:20:36 -04:00
m0duspwnens
330ea0571f fix container list for so-status for standalone mode - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/140 2020-05-15 15:09:40 -04:00
Josh Brower
e02bf2ebb5 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-15 15:05:47 -04:00
Josh Brower
9d4536dcbe osquery ingest parsing update 2020-05-15 15:05:21 -04:00
Doug Burks
fc883745e5 add fields to conn log
https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/599
2020-05-15 15:02:02 -04:00
Doug Burks
58d59c6844 use null safe operator for source.port and destination.port
https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/594
2020-05-15 14:58:21 -04:00
Josh Brower
4737c0da3f Merge pull request #702 from Security-Onion-Solutions/bugfix/fleet-deployment
Fleet Setup - Restart nginx
2020-05-15 14:48:18 -04:00
Josh Brower
6b4822d98d Fleet Setup - Restart nginx 2020-05-15 14:47:19 -04:00
m0duspwnens
c89bc0b51a create nginx conf for standalone - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/140 2020-05-15 14:42:38 -04:00
weslambert
baf1de4b34 Merge pull request #700 from Security-Onion-Solutions/fix/common_type_removal
remove type field
2020-05-15 14:37:44 -04:00
William Wernert
87afedae82 [fix] Menu spelling fixes 2020-05-15 14:33:37 -04:00
Wes Lambert
03805bd6e2 remove type field 2020-05-15 18:29:49 +00:00
weslambert
59ece8fd29 Merge pull request #699 from Security-Onion-Solutions/fix/dce_rpc_parsing
update DCE/RPC parsing
2020-05-15 14:20:37 -04:00
Wes Lambert
5d5f5cf105 update DCE/RPC parsing 2020-05-15 18:19:05 +00:00
Mike Reeves
7e1016ff07 Update firewall rules to allow minions to connect 2020-05-15 13:59:07 -04:00
Mike Reeves
10896c1add Update Release Notes 2020-05-15 13:41:51 -04:00
m0duspwnens
2f566bf6d7 add so-standalone to agent/wazuh-register-agent 2020-05-15 13:25:31 -04:00
m0duspwnens
1a157eb6a5 add so-standalone to agent/ossec.conf 2020-05-15 13:23:58 -04:00
m0duspwnens
9c7481a0c7 add so-status map for standalone 2020-05-15 13:21:05 -04:00
Mike Reeves
d04f58a27e Update README.md 2020-05-15 13:10:52 -04:00
William Wernert
2f4ce40095 [fix] Change verbiage to indicate the master vs open is only for OS packages 2020-05-15 11:40:37 -04:00
William Wernert
692d1d72a3 [fix] Change verbiage to indicate the master vs open is only for OS packages 2020-05-15 11:39:59 -04:00
William Wernert
c9614f9baf [fix] Only add user to SOC on masters 2020-05-15 11:20:33 -04:00
m0duspwnens
74290eca2a change = to in - https://github.com/Security-Onion-Solutions/securityonion-saltstack.git 2020-05-15 11:20:06 -04:00
m0duspwnens
f3a2c1fb4d add missing ] - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/140 2020-05-15 11:08:10 -04:00
m0duspwnens
f4db261baf change elif - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/140 2020-05-15 10:57:25 -04:00
m0duspwnens
fdae84bb74 remove = in - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/140 2020-05-15 10:56:16 -04:00
William Wernert
cfec4eb5a2 Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-15 10:52:33 -04:00
William Wernert
b37b993eea [fix] Don't say we're downloading containers on iso install 2020-05-15 10:43:20 -04:00
William Wernert
eeb0579acb [fix] Don't change settings during whiptail menus on ISO 2020-05-15 10:42:52 -04:00
William Wernert
b9456dcc98 [fix] Set output dir for docker registry untar 2020-05-15 10:42:13 -04:00
Doug Burks
d6d27a2861 avoid duplicate entries in _cluster/settings for mastersearch
https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/696
2020-05-15 10:29:24 -04:00
m0duspwnens
509188092c adding so-standalone state logic, add zeek pillar to so-standalone - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/140 2020-05-15 10:02:25 -04:00
m0duspwnens
e8244cb2f2 add standalone to case statement in configure_minion so-functions - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/140 2020-05-14 17:14:35 -04:00
m0duspwnens
5f1582f39f remove extra space for standalone from pillar/top = https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/140 2020-05-14 16:57:50 -04:00
Doug Burks
e41c1b6755 fix typo 2020-05-14 16:57:34 -04:00
m0duspwnens
fb020f4fcd update so-functions to handle STANDALONE mode - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/140 2020-05-14 16:26:04 -04:00
m0duspwnens
692f04727f add standalone mode to pillar and state top - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/140 2020-05-14 16:06:19 -04:00
m0duspwnens
3064af753b allow STANDALONE mode to install salt-master - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/140 2020-05-14 15:23:53 -04:00
Josh Patterson
09368b05f7 Merge pull request #688 from Security-Onion-Solutions/issue/140
rename PROD to STANDALONE
2020-05-14 15:06:38 -04:00
m0duspwnens
5f4ec41497 rename PROD to STANDALONE 2020-05-14 15:05:37 -04:00
m0duspwnens
a97594135a Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-14 14:55:47 -04:00
Josh Patterson
989dc418a8 Merge pull request #686 from Security-Onion-Solutions/quickfix/sostatus
rename so-aptcacherng for so-status
2020-05-14 14:12:24 -04:00
m0duspwnens
9667f8b853 rename so-aptcacherng for so-status 2020-05-14 14:11:06 -04:00
m0duspwnens
a51e590d24 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-14 14:04:42 -04:00
Doug Burks
34d9882987 fix Wazuh and Sysmon queries 2020-05-14 13:47:01 -04:00
Josh Patterson
8cd3d0c16c Merge pull request #684 from Security-Onion-Solutions/issue/682
run so-elasticsearch-pipelines only on changes
2020-05-14 13:41:07 -04:00
m0duspwnens
7f464af5fa run so-elasticsearch-pipelines only on changes - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/682 2020-05-14 13:39:19 -04:00
m0duspwnens
fc582c7bf6 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-14 13:24:11 -04:00
William Wernert
02cd70c2e0 Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-14 12:33:34 -04:00
William Wernert
80cd408821 [fix] Only install nc, not full nmap 2020-05-14 12:33:28 -04:00
Mike Reeves
dbef2e2832 Update soc.json 2020-05-14 11:56:18 -04:00
William Wernert
5078ea8692 Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-14 11:50:22 -04:00
William Wernert
2642968089 [fix] Correct wazuh + suricata pillar placement 2020-05-14 11:50:16 -04:00
Mike Reeves
6991900ceb Update Query for geo 2020-05-14 11:34:10 -04:00
Doug Burks
5c3e7acc6d change resp_mime_types to file.resp_mime_types 2020-05-14 11:21:32 -04:00
Doug Burks
6112322bce change file.path to smb.path 2020-05-14 11:20:11 -04:00
Josh Brower
daf2936635 Merge pull request #680 from Security-Onion-Solutions/bugfix/navigator-top
Navigator top.sls fix
2020-05-14 11:20:00 -04:00
Josh Brower
554612d25f Navigator top.sls fix 2020-05-14 11:19:07 -04:00
Mike Reeves
937f488a8f Update static pillar 2020-05-14 11:13:43 -04:00
Doug Burks
c7b4ab116f fix rfb typo 2020-05-14 10:57:44 -04:00
Josh Brower
9186a553ca Merge pull request #678 from Security-Onion-Solutions/bugfix/nids-and-osquerypackages
osquery packages fix
2020-05-13 20:40:41 -04:00
Josh Brower
3db67de27a osquery packages fix 2020-05-13 20:39:56 -04:00
Josh Brower
a37ce376a7 Merge pull request #676 from Security-Onion-Solutions/bugfix/elastalert-nidsalert
Playbook hivealert fixes
2020-05-13 19:28:19 -04:00
Josh Brower
8a68e6adb3 Playbook hivealert fixes 2020-05-13 19:27:14 -04:00
Josh Patterson
0e43a948b5 Merge pull request #675 from Security-Onion-Solutions/issue/668
add missing install for apt-get
2020-05-13 17:38:44 -04:00
m0duspwnens
367f99bf6e add missing install for apt-get 2020-05-13 17:38:11 -04:00
Josh Patterson
e8778a2ad7 Merge pull request #674 from Security-Onion-Solutions/issue/668
point gpg key to archive/2019.2.5
2020-05-13 17:24:04 -04:00
m0duspwnens
d82c6c34ed Merge branch 'issue/668' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into issue/668 2020-05-13 17:22:34 -04:00
m0duspwnens
f3ff8dc18c add quiet option back to wget 2020-05-13 17:22:24 -04:00
Josh Patterson
5e2a1b9346 Merge branch 'dev' into issue/668 2020-05-13 17:17:53 -04:00
m0duspwnens
1499a0c5fd point gpg key to archive/2019.2.5 2020-05-13 17:16:15 -04:00
Josh Brower
e9deb99d2f Merge pull request #673 from Security-Onion-Solutions/bugfix/elastalert-nidsalert
Elastalert - NIDS fix
2020-05-13 17:04:00 -04:00
Josh Brower
c3627c38e3 Elastalert - NIDS fix 2020-05-13 17:03:14 -04:00
Josh Patterson
1b764f5d90 Merge pull request #672 from Security-Onion-Solutions/issue/668
remove space in package install
2020-05-13 16:43:34 -04:00
m0duspwnens
64cddfeed3 remove space in package install 2020-05-13 16:42:49 -04:00
Josh Brower
48ee1fe016 Merge pull request #671 from Security-Onion-Solutions/bugfix/elastalert
Elastalert --> TheHive fixes
2020-05-13 16:35:22 -04:00
Josh Brower
6e4ee26a58 Elastalert --> TheHive fixes 2020-05-13 16:34:35 -04:00
William Wernert
92bb1499c4 Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev
# Conflicts:
#	setup/so-functions
2020-05-13 16:20:10 -04:00
William Wernert
d7f5246dc4 [feat] Add quiet flag to wget 2020-05-13 16:19:06 -04:00
William Wernert
8c8e0bf0e4 [fix] Set hostname correctly so salt picks it up before reboot 2020-05-13 16:15:41 -04:00
Josh Patterson
c0c173fd71 Merge pull request #670 from Security-Onion-Solutions/issue/668
fix the missed changes for 2019.2.5 salt upgrade
2020-05-13 16:04:58 -04:00
m0duspwnens
c4ba7b3024 fix the missed changes for 2019.2.5 salt upgrade - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/668 2020-05-13 16:03:22 -04:00
Josh Patterson
a06498d8fb Merge pull request #669 from Security-Onion-Solutions/issue/668
pin salt repo to 2019.2.5 for centos7
2020-05-13 15:19:34 -04:00
m0duspwnens
9d33d6ae62 pin salt repo to 2019.2.5 for centos - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/668 2020-05-13 15:18:07 -04:00
m0duspwnens
8c090b180b Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-13 15:02:55 -04:00
Josh Patterson
9c98d7d570 Merge pull request #667 from Security-Onion-Solutions/issue/227
add newline to mastersearch tab
2020-05-13 14:10:07 -04:00
m0duspwnens
5b57c58b84 add newline to mastersearch tab 2020-05-13 14:09:15 -04:00
William Wernert
5623f2e9a4 [fix] INSTALLERTYPE > install_type 2020-05-13 13:25:55 -04:00
William Wernert
c7aac11868 [fix] Don't redirect echo twice 2020-05-13 13:04:39 -04:00
William Wernert
530dd3b82b [fix] Don't redirect echo twice 2020-05-13 12:49:37 -04:00
William Wernert
6cdcda30f4 Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-13 12:43:54 -04:00
William Wernert
8ce520317e [fix] Sensor needs to set up firewall before installing packages 2020-05-13 12:43:50 -04:00
Josh Brower
bb0a89f12b Merge pull request #666 from Security-Onion-Solutions/bugfix/playbook-updateplays
Playbook - update plays
2020-05-13 12:20:30 -04:00
Josh Brower
23b4870ee6 Playbook - update plays 2020-05-13 12:19:37 -04:00
Jason Ertel
db51ab9d45 Adjust elastalert salt setup to match new so-elastalert image 2020-05-13 12:14:18 -04:00
Josh Patterson
e9cf0f8599 Merge pull request #665 from Security-Onion-Solutions/issue/227
Issue/227
2020-05-13 12:11:43 -04:00
m0duspwnens
d94a76a2c7 fix docker_container_cpu calculations for grafana 2020-05-13 12:06:02 -04:00
William Wernert
36b16cd2fe [fix] Remove extra backslash 2020-05-13 11:57:17 -04:00
William Wernert
846a875429 [fix] Install epel before installing argon2 2020-05-13 11:54:57 -04:00
m0duspwnens
581000b920 add grafana dashboard for mastersearch node - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/227 2020-05-13 11:52:10 -04:00
William Wernert
10cd6dd8d9 Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-12 18:07:10 -04:00
William Wernert
24dd4e0489 [fix] Add user to SOC after state has been applied 2020-05-12 18:07:04 -04:00
Mike Reeves
50fc9a4713 Merge pull request #664 from Security-Onion-Solutions/feature/defaultsearch
Remove Keyword
2020-05-12 17:55:32 -04:00
Mike Reeves
0b0c8d8471 Remove Keyword 2020-05-12 17:54:25 -04:00
William Wernert
1230cc57d7 [fix] Correct percentages 2020-05-12 17:54:03 -04:00
William Wernert
75af1e9920 Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-12 17:52:48 -04:00
William Wernert
08007a491f [fix] reboot error fix 2020-05-12 17:52:44 -04:00
William Wernert
cb69edc6dd [fix] Add back call to add_web_user 2020-05-12 17:50:52 -04:00
Mike Reeves
71f99528ae Move idstools and master earlier in the setup 2020-05-12 17:47:55 -04:00
Josh Brower
bc4b4385bf Merge pull request #662 from Security-Onion-Solutions/bugfix/soctopus-config
soctopus config fix
2020-05-12 17:04:22 -04:00
Josh Patterson
81d66207ed Merge pull request #661 from Security-Onion-Solutions/quickfix/common
move statedir and salttmp from salt state to common state
2020-05-12 17:00:13 -04:00
Josh Brower
d270c8f32d soctopus config fix 2020-05-12 16:59:35 -04:00
m0duspwnens
d5b2a6f059 move statedir and salttmp from salt state to common state 2020-05-12 16:58:26 -04:00
m0duspwnens
d1a1e6e265 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-12 16:54:57 -04:00
m0duspwnens
56b92afb6b fix telegraf.conf for different roles 2020-05-12 16:54:38 -04:00
Josh Brower
6956f14c0d Merge pull request #660 from Security-Onion-Solutions/bugfix/playbook-mysql-final
salt bug workarounds
2020-05-12 16:25:13 -04:00
Josh Brower
4d3d7dc60e salt bug workarounds 2020-05-12 16:24:24 -04:00
m0duspwnens
3d643f88fd Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-12 15:32:39 -04:00
William Wernert
6b837f80ff [fix] numeric argument required, return 0 in wait_for_file 2020-05-12 14:26:02 -04:00
William Wernert
01b68e8b6a Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-12 14:20:14 -04:00
William Wernert
f8da001b7c [fix] numeric argument required, unquote var 2020-05-12 14:19:35 -04:00
Josh Brower
abd907fee1 Merge pull request #659 from Security-Onion-Solutions/bugfix/nids-parsing-alerting
suricata parsing
2020-05-12 14:07:51 -04:00
Josh Brower
62bec93190 suricata parsing 2020-05-12 14:04:02 -04:00
Mike Reeves
69bb422fa2 Merge pull request #658 from Security-Onion-Solutions/feature/defaultsearch
Update soc.json with default search info
2020-05-12 13:58:47 -04:00
Mike Reeves
0b7568e08f Update soc.json with default search info 2020-05-12 13:57:40 -04:00
Josh Brower
d1eac195d8 Enable Navigator 2020-05-11 22:41:54 -04:00
Josh Brower
4bd8e136be Enabled playbook 2020-05-11 22:41:02 -04:00
Josh Brower
d3992cb6e1 Merge pull request #657 from Security-Onion-Solutions/bugfix/playbook-mysql
playbook mysql fixes
2020-05-11 22:39:58 -04:00
Josh Brower
09ce3e088a playbook mysql fixes 2020-05-11 22:39:13 -04:00
m0duspwnens
66e48e3294 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-11 13:50:00 -04:00
Josh Brower
b658f7133b Update top.sls 2020-05-11 09:48:24 -04:00
Mike Reeves
09e2413695 Remove version hardcode 2020-05-10 17:31:50 -04:00
Josh Brower
945d50cc13 Merge pull request #649 from Security-Onion-Solutions/bugfix/playbook-mysql
navigator fixes
2020-05-10 11:58:39 -04:00
Josh Brower
20e7331bb9 navigator fixes 2020-05-10 11:57:20 -04:00
Josh Brower
4977a8b17c Merge pull request #648 from Security-Onion-Solutions/bugfix/playbook-mysql
Fix playbook mysql errors
2020-05-10 07:58:39 -04:00
Josh Brower
02160b12ee Fix playbook mysql errors 2020-05-10 07:57:45 -04:00
Josh Brower
170d799470 Merge pull request #647 from Security-Onion-Solutions/bugfix/playbook-mysql
feature/playbook mysql
2020-05-09 16:30:50 -04:00
Mike Reeves
02ea4eb410 Update so-functions 2020-05-09 12:00:57 -04:00
m0duspwnens
0f5ca7b62e Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-08 17:15:37 -04:00
Jason Ertel
47295d42f5 Initial iteration of new SOC Event search module 2020-05-08 17:00:06 -04:00
Josh Brower
e3a3a01ee1 Merge remote-tracking branch 'remotes/origin/dev' into bugfix/playbook-mysql 2020-05-08 16:49:38 -04:00
Josh Brower
9b54a432fc mysql playbook 2020-05-08 16:36:59 -04:00
Mike Reeves
fc2564e7be Update ip lists 2020-05-08 12:07:16 -04:00
Mike Reeves
85708b77c6 Update aliases 2020-05-08 11:47:35 -04:00
Mike Reeves
470046dda9 Update setup for new format 2020-05-08 11:16:26 -04:00
Mike Reeves
986df0c573 Update ports.yml 2020-05-08 11:13:23 -04:00
m0duspwnens
1945c57b0d starting new fw format - issue/641 2020-05-07 18:22:23 -04:00
Mike Reeves
818c5025f9 Merge pull request #644 from Security-Onion-Solutions/issue/140
Change Prod Mode to Standalone
2020-05-07 16:11:40 -04:00
Mike Reeves
34bcfd806d Change Prod Mode to Standalone 2020-05-07 16:10:50 -04:00
m0duspwnens
c393cc6594 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-07 11:39:12 -04:00
Mike Reeves
dd8627f9dd Initial Firewall State Simplification 2020-05-07 11:36:38 -04:00
Mike Reeves
a883af32e7 change core to nginx 2020-05-06 18:07:26 -04:00
Mike Reeves
f2acf93493 Fix version in so-functions 2020-05-06 17:51:32 -04:00
Mike Reeves
3550248d39 Fix registry unpack for ISO 2020-05-06 17:48:47 -04:00
m0duspwnens
cdd985cc57 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-06 16:51:16 -04:00
Josh Patterson
dd96a44c05 Merge pull request #640 from Security-Onion-Solutions/issue/632
Issue/632
2020-05-06 16:50:14 -04:00
m0duspwnens
2e6e474a54 require with onchanges is redundant 2020-05-06 16:48:27 -04:00
m0duspwnens
0662245590 fix for https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/632 2020-05-06 16:38:39 -04:00
m0duspwnens
7b0c385920 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-06 15:39:42 -04:00
Mike Reeves
50b352bfb6 Merge pull request #638 from Security-Onion-Solutions/issue/140
Added Production Mode
2020-05-06 14:37:36 -04:00
Mike Reeves
80aca60477 Added Production Mode 2020-05-06 14:27:34 -04:00
Mike Reeves
72ea577c70 Merge pull request #637 from Security-Onion-Solutions/issue/620
Remove Parsing Node
2020-05-06 14:08:50 -04:00
Mike Reeves
bc6c8c8332 Remove Parsing Node 2020-05-06 14:06:02 -04:00
Mike Reeves
1fa1277e31 Fix for osquery firewall 2020-05-06 11:29:28 -04:00
Mike Reeves
48ad831f9f Merge pull request #636 from Security-Onion-Solutions/feature/firewallupdate
Feature/firewallupdate
2020-05-06 09:38:52 -04:00
Josh Brower
bc34c67f47 Merge remote-tracking branch 'remotes/origin/dev' into bugfix/playbook-mysql 2020-05-06 08:30:45 -04:00
Josh Brower
2e3bcf600f Playbook mysql 2020-05-06 08:29:14 -04:00
Mike Reeves
88df4cc7ae Fix location for files 2020-05-05 23:31:34 -04:00
Mike Reeves
77b07bb6f8 Fix location for files 2020-05-05 23:02:50 -04:00
Mike Reeves
13e067c20a Fix location for files 2020-05-05 17:45:19 -04:00
m0duspwnens
7f2785770f Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-05 17:25:51 -04:00
Mike Reeves
6936bc9c3e Fix file for firewall templates 2020-05-05 14:45:54 -04:00
Mike Reeves
fbbf9dab60 Allow Firewall to update between versions 2020-05-05 13:57:36 -04:00
Josh Patterson
981801f23c Merge pull request #630 from Security-Onion-Solutions/issue/629
remove schedule state from being applied
2020-05-05 11:02:46 -04:00
m0duspwnens
ad7e59794a remove schedule state from being applied 2020-05-05 10:57:14 -04:00
m0duspwnens
be23a85bf0 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-05 10:52:28 -04:00
William Wernert
754f3ac537 Merge pull request #608 from Security-Onion-Solutions/feature/setup-testing-flag
Feature/setup testing flag
2020-05-05 09:08:55 -04:00
William Wernert
a20f9e2697 Merge branch 'dev' into feature/setup-testing-flag
# Conflicts:
#	setup/so-functions
#	setup/so-whiptail
2020-05-05 09:08:37 -04:00
William Wernert
aa00309f00 [fix] Add TESTING flag to resolve merge conflicts 2020-05-05 09:06:46 -04:00
William Wernert
fc2de5a384 [fix] Pipe firstcheckin output to /dev/null 2020-05-04 20:43:42 -04:00
William Wernert
1c0a78e8ad Merge pull request #628 from Security-Onion-Solutions/feature/hw-requirements
Feature/hw requirements
2020-05-04 16:57:35 -04:00
William Wernert
0b37437102 [fix] so-setup fixes (function ordering
* Firewall function needs to be run at different times for different install types
* Minion pillars need to be copied before running any salt states
2020-05-04 16:56:23 -04:00
William Wernert
d9a8fa0474 [fix] Hit -> Press 2020-05-04 16:06:02 -04:00
m0duspwnens
07df3c90ab Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-04 16:01:22 -04:00
William Wernert
6785b9e4d2 [feat] Add check for hardware requirements 2020-05-04 15:59:07 -04:00
Josh Patterson
d9dff52104 Merge pull request #627 from Security-Onion-Solutions/issue/623
nginx portion of https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/623
2020-05-04 15:45:23 -04:00
m0duspwnens
9adf08522c nginx portion of https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/623 2020-05-04 15:43:09 -04:00
William Wernert
457007c9c7 Merge pull request #626 from Security-Onion-Solutions/feature/gitignore
[feat] Add .gitignore
2020-05-04 14:10:16 -04:00
William Wernert
852c3ced3b [feat] Add .gitignore 2020-05-04 14:09:06 -04:00
William Wernert
398991de0c Merge pull request #625 from Security-Onion-Solutions/feature/setup-refactor
Feature/setup refactor
2020-05-04 14:01:47 -04:00
William Wernert
c42c22dc66 [fix] Correct require in fleet sls 2020-05-04 13:49:27 -04:00
William Wernert
07726de250 [fix] Remove old FIXMEs 2020-05-04 12:15:44 -04:00
m0duspwnens
81ce7b915a Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-04 11:05:31 -04:00
William Wernert
80aee06a67 [fix] Remove files that are no longer in dev 2020-05-04 10:57:46 -04:00
William Wernert
5805d68b58 [fix] Fix dev merge issues 2020-05-04 10:55:00 -04:00
William Wernert
a2fbdf644c [fix] Move + rename SOVERSION var for ISO build 2020-05-04 10:43:27 -04:00
William Wernert
714cd522cb Merge branch 'dev' into feature/setup-refactor
# Conflicts:
#	README.md
#	VERSION
#	pillar/top.sls
#	salt/common/grafana/grafana_dashboards/eval/eval.json
#	salt/common/init.sls
#	salt/common/tools/sbin/so-status
#	salt/curator/init.sls
#	salt/elastalert/init.sls
#	salt/elasticsearch/init.sls
#	salt/filebeat/init.sls
#	salt/fleet/files/scripts/so-fleet-setup
#	salt/fleet/init.sls
#	salt/grafana/dashboards/sensor_nodes/sensor.json
#	salt/hive/init.sls
#	salt/idstools/init.sls
#	salt/kibana/bin/so-kibana-config-load
#	salt/logstash/init.sls
#	salt/master/init.sls
#	salt/mysql/init.sls
#	salt/nginx/etc/index.html
#	salt/pcap/init.sls
#	salt/playbook/init.sls
#	salt/reactor/fleet.sls
#	salt/redis/init.sls
#	salt/sensoroni/init.sls
#	salt/soctopus/init.sls
#	salt/strelka/init.sls
#	salt/suricata/init.sls
#	salt/tcpreplay/init.sls
#	salt/wazuh/init.sls
#	salt/zeek/init.sls
#	setup/so-functions
#	setup/so-setup
#	setup/so-whiptail
2020-05-04 10:35:53 -04:00
William Wernert
26e40f433b [fix] Pull docker/config.sls changes from dev 2020-05-04 10:28:44 -04:00
William Wernert
c82f55695c [fix] Docker container list fix 2020-05-04 10:27:07 -04:00
William Wernert
2c307242b1 [fix] Set MAINIP var on all installs 2020-05-04 10:24:47 -04:00
William Wernert
6a4f3a526f [fix] Fix so-setup ordering
Run all salt commands after accepting salt key, and apply firewall state after all pillars generated
2020-05-04 09:43:36 -04:00
William Wernert
eb2c432f22 [fix] Correct ordering of setup commands
Firewall must be updated before checking in to salt,
and schedule state must run before copying minion temp files to master
2020-05-04 09:36:17 -04:00
William Wernert
c4741043e9 [fix] Only chmod files if they exist 2020-05-04 09:34:57 -04:00
William Wernert
6ae91c2ff0 [feat] Use getent instead of hosts in case the hostsfile has already been updated 2020-05-04 09:34:36 -04:00
Josh Patterson
285d74767d Merge pull request #624 from Security-Onion-Solutions/issue/619
Issue/619
2020-05-01 15:44:12 -04:00
m0duspwnens
2dd2289c94 fix some happy mistakes - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/619 2020-05-01 15:37:54 -04:00
m0duspwnens
174b353ce0 salt version pulled due to vuln, update to 2019.2.4 2020-05-01 14:01:10 -04:00
m0duspwnens
e2244bd839 use maps for so-status - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/619 2020-05-01 13:21:11 -04:00
William Wernert
299709108f [fix] Don't run check_exitstatus in whiptail_homenet_sensor 2020-05-01 11:04:35 -04:00
Mike Reeves
cb59d21f5a Merge pull request #622 from Security-Onion-Solutions/fix/1.2.2
Fix/1.2.2
2020-05-01 10:47:33 -04:00
Mike Reeves
aeebc893de Update SOC page 2020-05-01 10:44:05 -04:00
Mike Reeves
a0310b1c2c Update Readme 2020-05-01 10:38:04 -04:00
Mike Reeves
90840f6d00 Update Kratos yaml 2020-04-30 15:21:52 -04:00
William Wernert
a44158261a [fix] Run salt command to check in to master before accepting salt key 2020-04-30 12:45:48 -04:00
William Wernert
6359da0010 [fix] Move salt-key accept to after the ca + ssl states 2020-04-30 11:31:33 -04:00
Mike Reeves
784e2896bd Fix Strelka Versioning 2020-04-30 11:31:07 -04:00
William Wernert
4c6b841b16 [fix] Set minion id after prompting for hostname 2020-04-30 10:06:53 -04:00
Mike Reeves
793b887aea Update vertsion to 1.2.2 2020-04-30 09:44:49 -04:00
William Wernert
a281f59319 [fix] Update packages before setting highstate on salt startup in case it updates 2020-04-30 08:51:38 -04:00
William Wernert
1f030160b0 [feat] Update salt ver to 2019.2.4 2020-04-30 08:49:16 -04:00
William Wernert
93493b204f [fix] Add new whitespace 2020-04-29 18:15:21 -04:00
William Wernert
3d04ab59d5 [fix] Comment template lines in so-status 2020-04-29 18:14:28 -04:00
William Wernert
0ee4aa9eb9 [fix] Move common pillar values to the bottom of the top file 2020-04-29 18:13:22 -04:00
William Wernert
5e18eb6e4d [fix] Use False instead of 0 as default val in docker/config.sls 2020-04-29 18:12:50 -04:00
Mike Reeves
bf6b525359 Update Salt Version 2020-04-29 16:39:41 -04:00
m0duspwnens
19eec6e1f4 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-29 16:10:52 -04:00
Josh Patterson
cb541ebea2 Merge pull request #614 from Security-Onion-Solutions/issue/613
only do sed if fleet_node is true
2020-04-29 16:02:22 -04:00
m0duspwnens
9833d1754a only do sed if fleet_node is true - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/613 2020-04-29 11:19:28 -04:00
m0duspwnens
e95842deef Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-29 09:49:07 -04:00
William Wernert
bf41fe838c [fix] Correct order of setup salt states 2020-04-28 22:40:21 -04:00
William Wernert
31f9f31ff2 [fix] Run docker pull once more if the first time fails 2020-04-28 22:39:45 -04:00
William Wernert
fcc15e283a [fix] Remove duplicate salt state 2020-04-28 22:38:52 -04:00
William Wernert
e1a457e445 [fix] Correct mysql port 2020-04-28 22:38:36 -04:00
William Wernert
8afacd9709 [fix] Run elasticsearch state earlier in setup 2020-04-28 16:19:26 -04:00
William Wernert
05c55efe12 [fix] Test for 3306 on MASTERIP, not localhost 2020-04-28 16:19:08 -04:00
William Wernert
3cff145e2d [fix] Verify vm.max_map_count is present before so-thehive-es 2020-04-28 16:18:48 -04:00
Josh Patterson
f8dde1201e Merge pull request #609 from Security-Onion-Solutions/issue/585
Issue/585
2020-04-28 16:11:38 -04:00
m0duspwnens
fdf5450a2e remove stuff.sls 2020-04-28 14:29:44 -04:00
William Wernert
f22cb9aac1 [feat] Add TESTING flag to whiptail menus for automated setup script testing 2020-04-28 14:11:08 -04:00
m0duspwnens
8d2ca003fb change how we populate local.zeek - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/585 2020-04-28 14:10:57 -04:00
Mike Reeves
d5075d68b1 Change Version Files 2020-04-28 14:00:20 -04:00
William Wernert
0ea8c349fb [fix] Fix typo + permissions 2020-04-28 13:34:36 -04:00
William Wernert
fa09a0ef4d [fix] Add back missing containers 2020-04-28 13:19:01 -04:00
William Wernert
e6492d4852 [fix] Don't set startup state until end of setup 2020-04-28 13:02:27 -04:00
m0duspwnens
c46a45f00f LOAD to LOCAL in local.zeek and sort local.zeek and zeekctl.cfg output 2020-04-28 12:08:32 -04:00
m0duspwnens
ca42850a0c add missing ) 2020-04-28 11:31:19 -04:00
William Wernert
7a456c2c6b [fix] Install netcat so nc command works 2020-04-28 10:58:32 -04:00
William Wernert
54127cf77a [fix] Revert changes to collect_webuser_inputs 2020-04-28 10:58:16 -04:00
William Wernert
968e3189e7 [fix] Fix indentation on mysql init.sls + depend on mysql container for fleet 2020-04-28 10:57:14 -04:00
m0duspwnens
b6741daca6 pillarize local.zeek and move zeekctl from defaults.yml to zeek pillar - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/585 2020-04-28 09:44:37 -04:00
William Wernert
34ddc69bfe [refactor][fix] Move so_version to so-variables 2020-04-28 09:01:27 -04:00
William Wernert
1eb387dcdd [fix] Change docker image prune back to docker rmi 2020-04-28 09:01:01 -04:00
William Wernert
af7accd1e9 [fix] Only disable unused nics if the array is not empty 2020-04-28 09:00:22 -04:00
William Wernert
b4f65955fe [fix] Update FS variables to correct names 2020-04-28 02:34:47 -04:00
William Wernert
d88382af12 [refactor] Change fleet sls to depend on mysql 2020-04-28 01:36:57 -04:00
William Wernert
3bfaa6f8de [merge] Merge master into feature/setup-refactor 2020-04-28 01:35:09 -04:00
m0duspwnens
3b5736f983 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-27 16:48:14 -04:00
Josh Patterson
90aabde4c9 Merge pull request #607 from Security-Onion-Solutions/issue/587
remove nginx from unneeded states
2020-04-27 15:10:12 -04:00
m0duspwnens
aff02e1f1c remove nginx from unneeded states 2020-04-27 15:02:30 -04:00
William Wernert
5c5a97ca75 [fix] Change order of ip link parsing 2020-04-27 12:10:59 -04:00
William Wernert
dc8ed1978d [fix] Redirect further lines to setup log, and fix issues with install 2020-04-27 08:48:06 -04:00
Jason Ertel
e4afc20366 Update Kratos config to match latest version of Kratos 2020-04-24 16:27:36 -04:00
Josh Patterson
19a3354aa2 Merge pull request #602 from Security-Onion-Solutions/issue/587
Issue/587
2020-04-24 16:26:46 -04:00
m0duspwnens
8a64ba727f remote html bind for nginx 2020-04-24 16:18:55 -04:00
Mike Reeves
d695514929 Fix Error locations 2020-04-24 14:28:23 -04:00
m0duspwnens
3136affc91 updating nginx index.html - issue/587 2020-04-24 14:24:33 -04:00
Mike Reeves
09abd723d1 Add favicons back 2020-04-24 13:42:08 -04:00
m0duspwnens
00e12d0747 Merge remote-tracking branch 'remotes/origin/dev' into issue/587 2020-04-23 15:46:50 -04:00
Mike Reeves
ad17c18824 Update Version to 1.2.2 for build automation 2020-04-23 13:59:18 -04:00
William Wernert
3f8d063bde [fix] Install wget on CentOS 2020-04-23 12:12:35 -04:00
William Wernert
46fd4cf96e [fix] Move common package install and fix typo 2020-04-23 11:52:21 -04:00
Mike Reeves
4197bfb348 Change tarball location 2020-04-23 10:29:09 -04:00
m0duspwnens
766b56a944 update dockers to 1.2.2 2020-04-23 10:11:26 -04:00
William Wernert
805299bc75 [fix[ Don't repeat whiptail menu 2020-04-22 23:06:46 -04:00
William Wernert
948e6fd20d [fix] Correct conversion ratio for log_size_limit 2020-04-22 22:48:41 -04:00
William Wernert
10e46b6fc3 [fix] Calc log_size_limit more accurately + actually call function 2020-04-22 22:42:24 -04:00
William Wernert
09c22bbe43 [fix] Create arrays for bro_pins and suricata_pins 2020-04-22 16:59:31 -04:00
William Wernert
02cd1a7623 [fix] Provide more feedback about whiptail exit status to user 2020-04-22 16:58:33 -04:00
William Wernert
5b3584d738 [fix] Add check for TESTHOST being blank, only install packages before setup if missing 2020-04-22 15:56:27 -04:00
William Wernert
d011be3faa [fix] Sensor should also set minion flag 2020-04-22 15:35:08 -04:00
William Wernert
4024c9758c [fix] Don't trim double quotes inline, masks whiptail cancel ret code 2020-04-22 15:25:25 -04:00
William Wernert
158f380dac [fix] Change =<(...) to =$(...) 2020-04-22 14:59:46 -04:00
William Wernert
5c9e2f1820 [fix] Blank terminal before whiptail starts 2020-04-22 14:57:37 -04:00
William Wernert
8404453cec [refactor] Use nproc to calculate number of cpu cores 2020-04-22 14:48:52 -04:00
William Wernert
212e57a16c [fix] Correct calculation order in calculate_useable_cores 2020-04-22 14:41:54 -04:00
William Wernert
088e9f1e7d [fix] Propagate variable rename CPUCORES -> num_cpu_cores 2020-04-22 14:37:27 -04:00
William Wernert
7c1bf39ff4 [fix] Don't print hostname in whiptail_set_redirect
* Fixes #598
2020-04-22 14:14:57 -04:00
William Wernert
a3927e2e5a [fix] Move get_redirect to run under any master node 2020-04-22 13:59:57 -04:00
William Wernert
1d55d00caf [fix] Redirect so-user command output to setup log 2020-04-22 13:57:24 -04:00
William Wernert
25432b745d [fix] Export instead of declaring dynamic variables 2020-04-22 13:56:53 -04:00
William Wernert
89674a0697 [fix] Add back web user prompts to setup 2020-04-22 13:27:49 -04:00
William Wernert
39e6f8ecbd [fix] Misc fixes for setup to run properly 2020-04-22 13:15:39 -04:00
William Wernert
3f264163d4 [fix] Test if QUIET var is set, and convert whiptail output to arrays
Also rewrite filter_unused_nics so it is the only source for list of nics
2020-04-22 13:15:08 -04:00
William Wernert
0250bf026a [fix] Redirect command outputs within saltify and docker_install 2020-04-22 13:12:12 -04:00
m0duspwnens
7e34595f99 rename docker container so-core to so-nginx - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/587 2020-04-21 15:16:08 -04:00
m0duspwnens
fd87e7bc1d breakout common state - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/587 2020-04-21 13:01:56 -04:00
m0duspwnens
95ddb80612 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-21 08:40:16 -04:00
Mike Reeves
8b76b30266 Merge pull request #586 from Security-Onion-Solutions/dev
1.2.1-1
2020-04-20 16:12:54 -04:00
Mike Reeves
a0c79f1a4a Merge pull request #581 from joeb1kenobe/patch-1
Update README.md
2020-04-20 16:06:42 -04:00
Mike Reeves
fe2f1f9aa3 Merge branch 'master' into patch-1 2020-04-20 16:05:01 -04:00
Mike Reeves
eaf54781e8 Merge branch 'master' into dev 2020-04-20 16:03:23 -04:00
William Wernert
739989473d [fix] Provide feedback when first running script, and execute whiptail commands 2020-04-20 15:41:01 -04:00
Mike Reeves
c024bdf427 remove proxy declaration 2020-04-20 15:31:13 -04:00
William Wernert
12e87d119b [fix] Reference correct variable when checking for setup type 2020-04-20 15:30:30 -04:00
Mike Reeves
f271fadfec Fix tarball 2020-04-20 15:28:13 -04:00
Mike Reeves
af1a44f479 Merge pull request #580 from Security-Onion-Solutions/dougburks-patch-1
Update README.md to point ISO users to the ISO page
2020-04-19 18:43:48 -04:00
Mike Reeves
c213287e07 Update README.md 2020-04-18 19:15:55 -04:00
Josh Patterson
9f1a4ddf9b Update so-functions 2020-04-18 19:15:55 -04:00
Mike Reeves
a48baf528b Update README.md 2020-04-18 19:12:21 -04:00
m0duspwnens
eca8cf5502 remove logstash pillars from eval in top 2020-04-18 19:12:21 -04:00
Wes Lambert
7ea861650f updated placeholder in saved objects 2020-04-18 19:11:20 -04:00
Wes Lambert
8622dab0d2 update load script 2020-04-18 19:11:19 -04:00
Mike Reeves
977cf8d3d1 Update Notes 2020-04-18 19:11:19 -04:00
Mike Reeves
6798c35728 Update Version File 2020-04-18 19:11:19 -04:00
Mike Reeves
ff29c9741e Update JOSN for release 2020-04-18 19:11:18 -04:00
m0duspwnens
8fd79fb6c8 add missing , 2020-04-18 19:11:18 -04:00
Josh Brower
e660de236a osquery pipeline fix 2020-04-18 19:11:18 -04:00
Mike Reeves
698a0d285c Fix the Strelka redis 2020-04-18 19:11:17 -04:00
m0duspwnens
e2c8bdcd40 remove space - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/571 2020-04-18 19:11:17 -04:00
m0duspwnens
1e8bb8b887 fix bug not allowing grafana to install on mastersearch - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/571 2020-04-18 19:11:16 -04:00
William Wernert
c76ce035a6 [refactor][WIP] Initial main setup script refactor
Untested, probably broken
2020-04-18 19:11:16 -04:00
William Wernert
ceb46c4eca [fix] Revert variable rename (HNSENSOR, HNMASTER) 2020-04-18 19:10:37 -04:00
William Wernert
ae9a7a4b55 [fix] Variable renames 2020-04-18 19:10:37 -04:00
William Wernert
b27efec2ef [refactor][WIP] Add functions for setup refactor 2020-04-18 19:10:37 -04:00
William Wernert
c851ff449b [fix] Redirect all needed commands to setup log 2020-04-18 19:10:36 -04:00
William Wernert
2e0e5c0014 [fix] Correct progress string logic 2020-04-18 19:10:36 -04:00
William Wernert
6ec2a24cbe [refactor] Remove redundant function docs 2020-04-18 19:10:35 -04:00
William Wernert
ef2bc3bfad [refactor][WIP] Delete so-contstants 2020-04-18 19:10:35 -04:00
William Wernert
8083550bb4 [fix] Revert find+replace error in suricata yaml 2020-04-18 19:10:35 -04:00
William Wernert
fcbd22318a [feat] Add dependence on mysql state to fleet state 2020-04-18 19:10:34 -04:00
William Wernert
068672ea12 [feat] Add a port check to the mysql state 2020-04-18 19:10:34 -04:00
William Wernert
3ef3c157f3 [refactor][WIP] Setup changes part 6 2020-04-18 19:10:33 -04:00
m0duspwnens
860e4fcead fix nsm threshold sensor dashboard 2020-04-18 19:04:24 -04:00
Mike Reeves
759204e77b Update Versions 2020-04-18 19:04:23 -04:00
Josh Brower
a9fba05b03 rename kratos config field 2020-04-18 19:04:23 -04:00
Mike Reeves
ea6d78b294 Download Strlka Dockers 2020-04-18 19:04:23 -04:00
Mike Reeves
137ef36f74 Change location of strelka dockers 2020-04-18 19:03:11 -04:00
Wes Lambert
66b4f15a7b replace static value for comm id 2020-04-18 19:03:11 -04:00
m0duspwnens
ff56b0db2b update nsm threshholds for searchnode 2020-04-18 19:03:10 -04:00
m0duspwnens
e6f1d487a9 changes to master dashboard 2020-04-18 19:03:10 -04:00
m0duspwnens
2cca01fdee update master dashboard 2020-04-18 19:03:10 -04:00
m0duspwnens
c95ecac7a3 rename forward node to sensor node for grafana 2020-04-18 19:03:09 -04:00
m0duspwnens
b33eccf929 rename forward node to sensor node for grafana 2020-04-18 19:03:09 -04:00
m0duspwnens
4b35098dfe rename forward node to sensor node for grafana 2020-04-18 19:03:09 -04:00
m0duspwnens
9d04c7fb7c remove graph from uptime eval 2020-04-18 19:03:08 -04:00
m0duspwnens
e8990b4009 zeek restart count red if >= 1 2020-04-18 19:03:08 -04:00
m0duspwnens
70010db77b fix spacing in zeek packet loss grafana panel 2020-04-18 19:03:07 -04:00
m0duspwnens
812e439d85 changes to eval grafana dashboard 2020-04-18 19:03:07 -04:00
m0duspwnens
a738995b09 change healthcheck to send 0 or 1 to telegraf for zeek restart 2020-04-18 19:03:07 -04:00
Josh Brower
8cb94872e6 osquery package versioning bugfix 2020-04-18 19:03:06 -04:00
William Wernert
9f8064563e [fix] Correct placeholder subbing for Kibana 2020-04-18 19:03:06 -04:00
William Wernert
2ca8d4ed9e [fix] Add correct PATH location in so-setup 2020-04-18 19:03:05 -04:00
Josh Brower
8fdc2a59c2 Playbook - automatically set SOCtopus IP 2020-04-18 19:03:05 -04:00
Mike Reeves
4c837c7d15 Apply yum fixes once changes are opk 2020-04-18 19:02:46 -04:00
Wes Lambert
b67229783b update parsing for Zeek files 2020-04-18 18:59:21 -04:00
Josh Brower
4475ebfaa8 Fleet package fixes 2020-04-18 18:59:20 -04:00
Wes Lambert
358d2f74b2 update key name 2020-04-18 18:58:27 -04:00
Josh Brower
9216d92488 osquery ingest ecs 2020-04-18 18:58:27 -04:00
Wes Lambert
0a564a438b update Kibana config 2020-04-18 18:58:27 -04:00
Josh Brower
066f1251a7 NIDS2TheHive Update for ECS 2020-04-18 18:58:26 -04:00
Jason Ertel
b7f50c321b secure config files 2020-04-18 18:58:26 -04:00
Jason Ertel
61ae94b2b3 secure config files 2020-04-18 18:58:25 -04:00
Josh Brower
12af856d00 fleet osquery fixes 2020-04-18 18:58:25 -04:00
Jason Ertel
ad26900a01 Ensure Path=/ is specified for cookie for eval mode 2020-04-18 18:58:24 -04:00
m0duspwnens
cca408e2d8 change log_size_limit logic - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/551 2020-04-18 18:58:24 -04:00
Wes Lambert
5f2fa0fdc5 migrate Zeek clean script from Bro 2020-04-18 18:56:34 -04:00
Jason Ertel
f205d97f26 support auto redirect on login 2020-04-18 18:56:34 -04:00
Jason Ertel
decf2ef022 Added config changes needed for new admin pages in SOC 2020-04-18 18:56:34 -04:00
Jason Ertel
9c2975a546 Continued auth improvements 2020-04-18 18:56:33 -04:00
m0duspwnens
308ef0fc30 move salt logs to /opt/so/logs - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/530 2020-04-18 18:56:32 -04:00
Mike Reeves
bd0aaab003 Fix Filebeat Yaml 2020-04-18 18:55:44 -04:00
Mike Reeves
18450815d8 Have templates applied on the master only 2020-04-18 18:55:44 -04:00
Mike Reeves
2d086b7355 Disable Strelka for all things 2020-04-18 18:55:44 -04:00
Mike Reeves
093b6431f2 Fix Wazuh and Strelka 2020-04-18 18:55:43 -04:00
Mike Reeves
d3699cb9e3 Remove ES watch 2020-04-18 18:54:43 -04:00
Mike Reeves
a7c8df7f45 Fix ES Watch 2020-04-18 18:54:43 -04:00
Josh Brower
294fb67007 so-status Fleet node 2020-04-18 18:54:42 -04:00
m0duspwnens
38d4687b78 fix missing telegraf data for /nsm 2020-04-18 18:54:42 -04:00
William Wernert
48549cdd83 [fix] NetworkManager dir should not be string 2020-04-18 18:54:41 -04:00
Mike Reeves
786454c8d4 Make Kibana run faster on checkins 2020-04-18 18:53:50 -04:00
m0duspwnens
8f67056c71 removing path.config 2020-04-18 18:53:49 -04:00
m0duspwnens
ab6e989663 adding searchnode to salt/top 2020-04-18 18:53:49 -04:00
William Wernert
87e6763859 [fix] Change script permissions to allow execution 2020-04-18 18:53:43 -04:00
William Wernert
6a29c81f67 [refactor] Rename variables in suricata yamls 2020-04-18 18:52:34 -04:00
William Wernert
35b5dfd83e [refactor] Move functions used by multiple scripts to separate file 2020-04-18 18:51:58 -04:00
William Wernert
5c3a56a289 [refactor] Start using lower case for variables 2020-04-18 18:50:13 -04:00
William Wernert
ce59019967 [refactor] Move variables to their own file 2020-04-18 18:41:19 -04:00
William Wernert
63fd274106 [Fix] Remove mysql salt dep function calls from so-setup 2020-04-18 18:38:24 -04:00
William Wernert
1ac29c6fbe [refactor] Formatting change to calculate_useable_cores 2020-04-18 18:37:43 -04:00
William Wernert
912fb6d583 [refactor] Generic wait_for_file function 2020-04-18 18:36:52 -04:00
William Wernert
74375fe839 [refactor] More case statements. local vars, and double quoted strings 2020-04-18 18:36:12 -04:00
William Wernert
a7539c111e [refactor] Remove duplicate code in set_hostname 2020-04-18 18:34:04 -04:00
William Wernert
6e4a6ccfeb [refactor] Initial saltify function refactor 2020-04-18 18:32:44 -04:00
William Wernert
b57b1b6689 [refactor] Start using case statements and local vars 2020-04-18 18:29:57 -04:00
William Wernert
f801cbe376 [refactor] Use 0/1 for MASTERUPDATES variable 2020-04-18 18:28:02 -04:00
William Wernert
043f2df7e3 [refactor] Set enabled components in whiptail function 2020-04-18 18:26:27 -04:00
William Wernert
6ca5827ce6 [refactor] Use = instead of ==, more printf changes 2020-04-18 18:23:27 -04:00
William Wernert
076f161c35 [refactor][fix] Cleanup docker_install 2020-04-18 18:19:27 -04:00
William Wernert
2ab1fa75ee [refactor] Rearrange docker_registry seed 2020-04-18 18:18:41 -04:00
William Wernert
a4267fd28b [refactor] Use printf instead of echo to create multiline files 2020-04-18 18:18:08 -04:00
William Wernert
723d8f6f3f [fix] Fix various code formatting issues 2020-04-18 18:17:28 -04:00
William Wernert
b009c2677b [refactor] Generic user create and check password functions 2020-04-18 18:16:11 -04:00
William Wernert
9331ede408 [fix] Double quote variables, fix indents, remove useless cats 2020-04-18 18:14:55 -04:00
Wes Lambert
159799c91d move PL 2020-04-18 18:10:34 -04:00
Wes Lambert
0c658d01ef remark config load section for now 2020-04-18 18:10:33 -04:00
m0duspwnens
a8bd50a0cd adding searchnode to pillar/top 2020-04-18 18:10:33 -04:00
William Wernert
ef550fed2b [fix] Networking fixes 2020-04-18 18:10:32 -04:00
Wes Lambert
19678aa977 fix order 2020-04-18 18:09:38 -04:00
Wes Lambert
40e683d7a6 replace URL template with Label template 2020-04-18 18:09:38 -04:00
Wes Lambert
0e3978b87c Revert "update Kibana config"
This reverts commit 82bd14252c.
2020-04-18 18:09:37 -04:00
Mike Reeves
e1bd8c6d51 Filter out KVM kits so cpu count is correct 2020-04-18 18:09:37 -04:00
Mike Reeves
73f52d69d4 Fix so not executed in tmp 2020-04-18 18:08:41 -04:00
Wes Lambert
f2b3ca8763 add Kibana config export command 2020-04-18 18:08:41 -04:00
Wes Lambert
a7bb014fba update Kibana config 2020-04-18 18:08:40 -04:00
William Wernert
6d3bc4ec1d [refactor] grep file instead of piping cat to grep 2020-04-18 18:08:33 -04:00
William Wernert
789173be98 [refactor] Move collect_webuser_inputs to so-functions 2020-04-18 18:07:50 -04:00
William Wernert
586d231ab1 [refactor] Copy public keys instead of using HEREDOC 2020-04-18 18:07:11 -04:00
William Wernert
2127924066 [fix] Double quote variables + fix indents 2020-04-18 18:06:30 -04:00
Joe Brown
acf9c29c83 Update README.md
You stated in the blog that 16.04 was no longer supported. However in the Readme, it states to use 16.04. Update readme to 18.04.
2020-04-18 07:05:58 -04:00
Doug Burks
ea7dd0763f Update README.md 2020-04-18 06:50:17 -04:00
Doug Burks
eebc75d245 Update README.md 2020-04-18 06:48:12 -04:00
Doug Burks
997cb8f9ae Update README.md 2020-04-18 06:26:12 -04:00
Mike Reeves
b65b66fe57 Merge pull request #578 from Security-Onion-Solutions/dev
1.2.1
2020-04-17 13:40:32 -04:00
Mike Reeves
0e654f5394 Update README.md 2020-04-17 13:38:13 -04:00
Mike Reeves
ed2152ce74 Merge branch 'master' into dev 2020-04-17 13:36:48 -04:00
Mike Reeves
39d70d2e99 Update README.md 2020-04-17 13:30:35 -04:00
Josh Patterson
6cc7b98e7e Merge pull request #577 from Security-Onion-Solutions/quickfix/evallspillar
remove logstash pillars from eval in top
2020-04-16 16:13:35 -04:00
m0duspwnens
93c0730a2f remove logstash pillars from eval in top 2020-04-16 16:12:24 -04:00
m0duspwnens
703319f66b Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-16 16:11:02 -04:00
Mike Reeves
919c57ce00 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-16 16:00:15 -04:00
Mike Reeves
f1f681794c Update Notes 2020-04-16 16:00:08 -04:00
m0duspwnens
5b0158a6c9 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-16 15:54:29 -04:00
Josh Patterson
08f3d29b91 Merge pull request #568 from Security-Onion-Solutions/issue566
fix failed setup FP
2020-04-16 15:54:14 -04:00
m0duspwnens
615eecbd5a Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-16 15:47:10 -04:00
weslambert
60702687d2 Merge pull request #576 from Security-Onion-Solutions/fix/kibana_config
Fix/kibana config
2020-04-16 15:00:27 -04:00
Wes Lambert
1020428e49 updated placeholder in saved objects 2020-04-16 18:58:42 +00:00
Wes Lambert
15ba411d0a update load script 2020-04-16 18:58:14 +00:00
m0duspwnens
a874807bda Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-16 14:10:52 -04:00
Mike Reeves
a81d886063 Update Version File 2020-04-16 13:55:54 -04:00
m0duspwnens
2da3165019 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-16 10:55:49 -04:00
Mike Reeves
616baaf4be Update JOSN for release 2020-04-16 10:53:35 -04:00
Josh Patterson
eef6f299f9 Merge pull request #574 from Security-Onion-Solutions/quickfix/grafana
add missing ,
2020-04-16 00:21:53 -04:00
m0duspwnens
38d0d5285e add missing , 2020-04-16 00:19:16 -04:00
m0duspwnens
78b0b5ad18 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-16 00:17:51 -04:00
Josh Brower
aa266418ac Merge pull request #573 from Security-Onion-Solutions/bugfix/osquery-pipeline
osquery pipeline fix
2020-04-15 20:23:40 -04:00
Josh Brower
6332509a33 osquery pipeline fix 2020-04-15 20:22:54 -04:00
Mike Reeves
4cc2951ac4 Fix the Strelka redis 2020-04-15 17:34:54 -04:00
m0duspwnens
c840f81fe6 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-15 16:20:41 -04:00
Josh Patterson
99355de2d4 Merge pull request #572 from Security-Onion-Solutions/issue/571
Issue/571
2020-04-15 16:09:51 -04:00
m0duspwnens
e4f384f25c remove space - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/571 2020-04-15 16:09:12 -04:00
m0duspwnens
a7dea8b087 fix bug not allowing grafana to install on mastersearch - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/571 2020-04-15 16:06:17 -04:00
m0duspwnens
29b5e769d6 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-15 16:03:42 -04:00
Mike Reeves
5eed79e87e Fix the Strelka version 2020-04-15 15:38:48 -04:00
Mike Reeves
acc323f5ca Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-15 15:38:05 -04:00
Mike Reeves
d9e27a5444 Update Versions 2020-04-15 15:37:59 -04:00
m0duspwnens
445f44d847 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-15 15:08:52 -04:00
Josh Patterson
81bef868c2 Merge pull request #570 from Security-Onion-Solutions/quickfix/grafana
fix nsm threshold sensor dashboard
2020-04-15 14:58:54 -04:00
m0duspwnens
11be93e9a4 fix nsm threshold sensor dashboard 2020-04-15 14:57:00 -04:00
m0duspwnens
3ec37b7646 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-15 14:55:39 -04:00
Mike Reeves
017d0f1390 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-15 14:41:41 -04:00
Mike Reeves
cb7b6b6124 Download Strlka Dockers 2020-04-15 14:41:25 -04:00
Josh Brower
e8a32e439f Merge pull request #569 from Security-Onion-Solutions/bugfix/kratos-config
rename kratos config field
2020-04-15 14:39:12 -04:00
Josh Brower
c47abf7c56 rename kratos config field 2020-04-15 14:37:59 -04:00
Mike Reeves
fb09c85386 Change location of strelka dockers 2020-04-15 14:37:37 -04:00
weslambert
133450d2de Merge pull request #567 from Security-Onion-Solutions/fix/comm_id_pivot
replace static value for comm id
2020-04-15 14:16:36 -04:00
Wes Lambert
9a02550c69 replace static value for comm id 2020-04-15 18:15:01 +00:00
m0duspwnens
fe3d0867a5 fix failed setup FP - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/566 2020-04-15 14:05:45 -04:00
m0duspwnens
8c36a732a6 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-15 12:00:22 -04:00
Josh Patterson
19190cd137 Merge pull request #565 from Security-Onion-Solutions/issue/551
Issue/551
2020-04-15 10:21:33 -04:00
m0duspwnens
2e5877ff68 update nsm threshholds for searchnode 2020-04-15 10:16:30 -04:00
m0duspwnens
bef6d6d9f7 changes to master dashboard 2020-04-15 10:16:01 -04:00
m0duspwnens
e38d199e25 update master dashboard 2020-04-15 09:04:42 -04:00
m0duspwnens
eb3a069e8d rename forward node to sensor node for grafana 2020-04-14 19:02:44 -04:00
m0duspwnens
bb7c78891e rename forward node to sensor node for grafana 2020-04-14 18:55:08 -04:00
m0duspwnens
274ab07ce8 rename forward node to sensor node for grafana 2020-04-14 18:48:33 -04:00
m0duspwnens
41fd4fe715 remove graph from uptime eval 2020-04-14 18:47:49 -04:00
Josh Brower
615eb661c4 Merge pull request #564 from Security-Onion-Solutions/bugfix/fleet-package-versioning
osquery package versioning bugfix
2020-04-14 16:43:15 -04:00
Josh Brower
fabec23b37 osquery package versioning bugfix 2020-04-14 16:42:25 -04:00
m0duspwnens
51b68fde2d zeek restart count red if >= 1 2020-04-14 15:36:57 -04:00
m0duspwnens
efd43f6fe4 fix spacing in zeek packet loss grafana panel 2020-04-14 15:13:16 -04:00
m0duspwnens
28b4381e3c changes to eval grafana dashboard 2020-04-14 14:25:46 -04:00
William Wernert
7360f6ce7f [fix] Correct placeholder subbing for Kibana 2020-04-14 14:17:36 -04:00
William Wernert
8fdd32f263 [fix] Add correct PATH location in so-setup 2020-04-14 14:01:26 -04:00
m0duspwnens
f2980d7e09 change healthcheck to send 0 or 1 to telegraf for zeek restart 2020-04-14 12:57:54 -04:00
Josh Brower
983e9476e6 Merge pull request #563 from Security-Onion-Solutions/bugfix/playbook-set-api
Playbook - automatically set SOCtopus IP
2020-04-14 12:49:06 -04:00
Josh Brower
10b7f55372 Playbook - automatically set SOCtopus IP 2020-04-14 12:47:59 -04:00
Mike Reeves
9c5ef3d092 Fix Logix so py3 salt gets installed for non masters 2020-04-14 10:10:43 -04:00
Mike Reeves
6ef14afa9e Apply yum fixes once changes are opk 2020-04-14 09:59:48 -04:00
weslambert
3321e975bd Merge pull request #562 from Security-Onion-Solutions/fix/zeek_files
update parsing for Zeek files
2020-04-14 09:09:40 -04:00
Wes Lambert
59787a6532 update parsing for Zeek files 2020-04-14 13:08:31 +00:00
Josh Brower
a1bea7217b Merge pull request #561 from Security-Onion-Solutions/bugfix/fleet-launcher-versioning
Fleet package fixes
2020-04-13 16:19:44 -04:00
Josh Brower
29ebed3005 Fleet package fixes 2020-04-13 16:18:58 -04:00
weslambert
84e37856f0 Merge pull request #560 from Security-Onion-Solutions/fix/static_rename
Update key name for Wazuh and Strelka for Filebeat
2020-04-13 12:10:27 -04:00
Wes Lambert
e086db3de6 update key name 2020-04-13 16:09:06 +00:00
Josh Brower
febf18174d Merge pull request #559 from Security-Onion-Solutions/bugfix/playbook1
osquery ingest ecs
2020-04-13 10:58:54 -04:00
Josh Brower
634100318e osquery ingest ecs 2020-04-13 10:58:13 -04:00
weslambert
29437b9082 Merge pull request #557 from Security-Onion-Solutions/fix/kibana_config
update Kibana config
2020-04-13 08:18:47 -04:00
Wes Lambert
4df91ed008 update Kibana config 2020-04-13 12:17:07 +00:00
Josh Brower
277ee4d5ea Merge pull request #556 from Security-Onion-Solutions/bugfix/playbook1
NIDS2TheHive Update for ECS
2020-04-11 11:48:13 -04:00
Josh Brower
995b255017 NIDS2TheHive Update for ECS 2020-04-11 11:47:34 -04:00
Jason Ertel
5a16dc066d Merge pull request #554 from Security-Onion-Solutions/feature/auth
Feature/auth
2020-04-10 17:50:01 -04:00
Jason Ertel
607ff1fd0d secure config files 2020-04-10 17:48:28 -04:00
Jason Ertel
7529144635 secure config files 2020-04-10 17:27:50 -04:00
Josh Brower
7d92db23b4 Merge pull request #553 from Security-Onion-Solutions/bugfix/fleetv2
fleet osquery fixes
2020-04-10 16:57:12 -04:00
Josh Brower
edae63097c fleet osquery fixes 2020-04-10 16:56:37 -04:00
Jason Ertel
c5a4e567d9 Ensure Path=/ is specified for cookie for eval mode 2020-04-10 16:35:58 -04:00
Josh Patterson
1735cc8252 Merge pull request #552 from Security-Onion-Solutions/issue/551
change log_size_limit logic - https://github.com/Security-Onion-Solut…
2020-04-10 16:17:56 -04:00
m0duspwnens
69031ab6b2 change log_size_limit logic - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/551 2020-04-10 16:15:43 -04:00
m0duspwnens
69d9507758 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-10 14:50:58 -04:00
weslambert
6aafc4ef01 Merge pull request #550 from Security-Onion-Solutions/fix/zeek_clean
Zeek: migrate Zeek clean script from Bro
2020-04-10 08:51:54 -04:00
Wes Lambert
8d8bde36e8 migrate Zeek clean script from Bro 2020-04-10 12:46:28 +00:00
Jason Ertel
3bf7a5aab5 Merge pull request #549 from Security-Onion-Solutions/feature/auth
Feature/auth
2020-04-09 17:39:23 -04:00
Jason Ertel
c130c8fbf4 Merge branch 'dev' into feature/auth 2020-04-09 17:37:09 -04:00
Jason Ertel
bb470be4e6 support auto redirect on login 2020-04-09 17:37:03 -04:00
m0duspwnens
d824b91c42 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-09 15:08:52 -04:00
Mike Reeves
c0739976c9 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-09 13:58:25 -04:00
Mike Reeves
b70d19781d Fix Filebeat Yaml 2020-04-09 13:58:19 -04:00
Josh Patterson
be70de9623 Merge pull request #546 from Security-Onion-Solutions/issue/530
move salt logs to /opt/so/logs - https://github.com/Security-Onion-So…
2020-04-09 13:28:27 -04:00
m0duspwnens
57570fb740 move salt logs to /opt/so/logs - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/530 2020-04-09 13:27:32 -04:00
Mike Reeves
6625e17bf2 Have templates applied on the master only 2020-04-09 12:22:27 -04:00
m0duspwnens
2b05ae6c08 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-09 11:59:25 -04:00
Mike Reeves
5a985736e5 Disable Strelka for all things 2020-04-09 11:49:38 -04:00
Mike Reeves
8ffeb0a33d Fix Wazuh and Strelka 2020-04-09 11:45:45 -04:00
Mike Reeves
ac52c014d1 Remove ES watch 2020-04-09 11:30:24 -04:00
Mike Reeves
0b07d0f25f Fix ES Watch 2020-04-09 11:25:46 -04:00
Mike Reeves
69dca74afd Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-09 11:16:50 -04:00
Mike Reeves
5692f2a672 Make Kibana run faster on checkins 2020-04-09 11:16:36 -04:00
Josh Brower
422f4c928c Merge pull request #544 from Security-Onion-Solutions/bugfix/fleet-so-status
so-status Fleet node
2020-04-09 10:05:01 -04:00
Josh Brower
55ae5fa9f3 so-status Fleet node 2020-04-09 10:04:18 -04:00
m0duspwnens
48240498f9 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-09 08:28:55 -04:00
Josh Patterson
b10c424a7f Merge pull request #543 from Security-Onion-Solutions/quickfix/telegrafnsm
fix missing telegraf data for /nsm
2020-04-08 17:37:01 -04:00
m0duspwnens
7fe25f4c96 fix missing telegraf data for /nsm 2020-04-08 17:36:16 -04:00
m0duspwnens
3ec57eace8 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-08 17:27:44 -04:00
William Wernert
40af9f871e [fix] NetworkManager dir should not be string 2020-04-08 17:02:33 -04:00
Josh Patterson
09de027d2c Merge pull request #542 from Security-Onion-Solutions/quickfix/telegrafmodule
fix salt telegraf module
2020-04-08 16:25:35 -04:00
m0duspwnens
86c13fc392 fix salt telegraf module 2020-04-08 16:24:15 -04:00
m0duspwnens
638bf7e50b merge 2020-04-08 16:22:49 -04:00
Josh Patterson
19c5ca5643 Merge pull request #541 from Security-Onion-Solutions/quickfix/searchnode
removing path.config
2020-04-08 15:31:56 -04:00
m0duspwnens
749935339b removing path.config 2020-04-08 15:31:11 -04:00
Josh Patterson
95f37ac357 Merge pull request #540 from Security-Onion-Solutions/quickfix/searchnode
adding searchnode to salt/top
2020-04-08 14:55:40 -04:00
weslambert
5ecbac9abd Merge pull request #538 from Security-Onion-Solutions/fix/kibana_config_load
remark config load section for now
2020-04-08 14:49:24 -04:00
m0duspwnens
8a186285a5 adding searchnode to salt/top 2020-04-08 14:49:09 -04:00
Wes Lambert
f4c01eb313 move PL 2020-04-08 18:48:22 +00:00
Wes Lambert
ead03f5147 remark config load section for now 2020-04-08 18:47:04 +00:00
Josh Patterson
494e1aff49 Merge pull request #537 from Security-Onion-Solutions/quickfix/searchnode
adding searchnode to pillar/top
2020-04-08 14:44:01 -04:00
William Wernert
bc99903885 [fix] Networking fixes 2020-04-08 14:43:14 -04:00
m0duspwnens
f28187099d adding searchnode to pillar/top 2020-04-08 14:43:06 -04:00
weslambert
b293c3dd2c Merge pull request #536 from Security-Onion-Solutions/fix/kibana_config
Fix/kibana config
2020-04-08 14:26:40 -04:00
Wes Lambert
a6c7765dd1 fix order 2020-04-08 18:25:47 +00:00
Wes Lambert
ce3807a605 replace URL template with Label template 2020-04-08 18:16:09 +00:00
weslambert
3fab895435 Merge pull request #535 from Security-Onion-Solutions/fix/revert_kibana_config
Revert "update Kibana config"
2020-04-08 14:00:35 -04:00
Wes Lambert
433e571369 Revert "update Kibana config"
This reverts commit 82bd14252c.
2020-04-08 17:59:24 +00:00
Mike Reeves
394dfe654f Filter out KVM kits so cpu count is correct 2020-04-08 13:59:01 -04:00
Mike Reeves
eeeec6f7b9 Fix so not executed in tmp 2020-04-08 13:28:07 -04:00
Jason Ertel
7a7fcce1e1 Added config changes needed for new admin pages in SOC 2020-04-08 12:39:37 -04:00
weslambert
313f332ac8 Merge pull request #533 from Security-Onion-Solutions/elastic_updates
Elastic updates
2020-04-08 12:28:14 -04:00
Wes Lambert
051167a692 add Kibana config export command 2020-04-08 16:26:13 +00:00
Wes Lambert
82bd14252c update Kibana config 2020-04-08 16:25:24 +00:00
Jason Ertel
d906a89ad1 Continued auth improvements 2020-04-08 10:35:29 -04:00
m0duspwnens
cd1caa5568 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-07 17:00:10 -04:00
William Wernert
56326026b7 [refactor] Add variable to whiptail functions for quiet install
This is an initial change to allow for automated installs and testing.
The variable `QUIET` is checked in all whiptail functions and they are
skipped if the variable is set.

Closes #526
2020-04-07 15:24:36 -04:00
Josh Brower
cf8c33ccea Merge pull request #532 from Security-Onion-Solutions/bugfix/fleet-link
Redirect SOC Fleet link to current Fleet instance
2020-04-07 11:59:25 -04:00
Josh Brower
22ae8ac96a Redirect SOC Fleet link to current Fleet instance 2020-04-07 11:58:35 -04:00
m0duspwnens
ed392ac4c2 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-06 13:41:18 -04:00
William Wernert
0048ffde70 [fix] ES is not set up to use ssl by default 2020-04-06 11:46:23 -04:00
weslambert
fea345326b Merge pull request #525 from Security-Onion-Solutions/fix/strelka_filebeat
update variables
2020-04-06 09:11:04 -04:00
Wes Lambert
ad5626f407 update variables 2020-04-06 13:09:52 +00:00
Josh Brower
6b53770d5e Merge pull request #524 from Security-Onion-Solutions/bugfix/fleet-ingest
Gen filebeat certs for Fleet node
2020-04-06 08:53:22 -04:00
Josh Brower
9937ccaee7 Gen filebeat certs for Fleet node 2020-04-06 08:52:37 -04:00
weslambert
673c64d2a4 Merge pull request #523 from Security-Onion-Solutions/fix/elastic_improvements
Fix/elastic improvements
2020-04-05 16:53:19 -04:00
Wes Lambert
c476b28ac8 update script 2020-04-05 20:52:00 +00:00
Wes Lambert
cc9a91bfdb update Kibana config 2020-04-05 20:50:29 +00:00
Wes Lambert
7765d9a038 update common template 2020-04-05 20:40:30 +00:00
Wes Lambert
9e50387eec update ingest files 2020-04-05 20:40:00 +00:00
Josh Brower
35fc87e5f6 Merge pull request #522 from Security-Onion-Solutions/bugfix/fleet-ingest
Fleet pipeline fixes
2020-04-03 16:14:28 -04:00
Josh Brower
051f6d2310 Fleet pipeline fixes 2020-04-03 16:10:38 -04:00
Jason Ertel
476c6018c0 Merge pull request #521 from Security-Onion-Solutions/feature/auth
Validate email and password for the webuser during install
2020-04-03 15:50:39 -04:00
Jason Ertel
b7545c8dc5 Improve default SKIP_BOND behavior 2020-04-03 14:59:09 -04:00
Jason Ertel
b57892e806 Remove debug line 2020-04-03 14:50:07 -04:00
William Wernert
ae4db04603 [fix] so-status docker api version fix
* Change Docker api version from 2 to 1.40
2020-04-03 13:28:53 -04:00
Jason Ertel
99e8226ae5 Validate email and password for the webuser during install 2020-04-03 12:04:42 -04:00
weslambert
69c90fcdc1 Merge pull request #516 from Security-Onion-Solutions/fix/kibana_placeholders
fix placeholders
2020-04-03 08:31:54 -04:00
Wes Lambert
52edbd23d6 fix placeholders 2020-04-03 12:21:32 +00:00
weslambert
0e568103d1 Merge pull request #515 from Security-Onion-Solutions/fix/add_more_dashes
update dashboards
2020-04-03 00:25:58 -04:00
Wes Lambert
638ed36a79 update dashboards 2020-04-03 04:23:50 +00:00
weslambert
61aa723c1d Merge pull request #514 from Security-Onion-Solutions/fix/strelka_setup
install Strelka for sensor
2020-04-02 21:37:07 -04:00
Wes Lambert
b22a3a6534 install Strelka for sensor 2020-04-03 01:36:00 +00:00
weslambert
86ccca3c2e Merge pull request #513 from Security-Onion-Solutions/fix/strelka_backend_restart
change restart policy for now
2020-04-02 21:09:56 -04:00
Wes Lambert
17fd32f12d change restart policy for now 2020-04-03 01:07:45 +00:00
weslambert
395503165c Merge pull request #512 from Security-Onion-Solutions/fix/strelka_cron
change user
2020-04-02 21:03:32 -04:00
Wes Lambert
d477d73baa change user 2020-04-03 01:02:46 +00:00
weslambert
8d84ee9c81 Merge pull request #511 from Security-Onion-Solutions/fix/kibana_load
update Kibana config
2020-04-02 21:00:45 -04:00
Wes Lambert
f0848906e7 update Kibana config 2020-04-03 00:59:23 +00:00
William Wernert
375be3562e Merge pull request #510 from Security-Onion-Solutions/feature/soctopus-conf
Feature/soctopus conf
2020-04-02 20:54:00 -04:00
William Wernert
d626152e2f [fix] Remove extra blank line 2020-04-02 20:53:22 -04:00
William Wernert
dcbd5dcfb0 Merge branch 'dev' into feature/soctopus-conf 2020-04-02 20:49:46 -04:00
William Wernert
1e94961665 [fix] Bond NICs array expansion 2020-04-02 20:49:19 -04:00
William Wernert
baa5dba199 [fix] Network functions
* Rename network-manager.service references to NetworkManager for compatibility
* Fix array expansion in function to disable unused NICs
2020-04-02 20:47:19 -04:00
m0duspwnens
304e43e2ae Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-02 20:44:38 -04:00
Josh Brower
a38299d4ea Merge pull request #508 from Security-Onion-Solutions/feature/fleet-ingest
template + nginx config
2020-04-02 20:17:54 -04:00
Josh Brower
513419ce2f template + nginx config 2020-04-02 20:16:21 -04:00
Josh Patterson
8743244aa5 Merge pull request #507 from Security-Onion-Solutions/issue/90
Issue/90
2020-04-02 19:50:08 -04:00
m0duspwnens
c42f8276e2 change default in healthcheck state 2020-04-02 19:48:54 -04:00
m0duspwnens
f1857c61b9 remove comment from healthcheck module 2020-04-02 19:48:21 -04:00
m0duspwnens
5411307856 change default healthcheck schedule to 300 seconds 2020-04-02 19:46:29 -04:00
m0duspwnens
8c3a9ff5a3 change log levels in healthcheck module 2020-04-02 19:44:09 -04:00
Mike Reeves
f9377a9d39 Fix error in sudoers file 2020-04-02 19:42:24 -04:00
m0duspwnens
4a920e317c Merge remote-tracking branch 'remotes/origin/dev' into issue/90 2020-04-02 19:40:07 -04:00
m0duspwnens
85cfe3244c rename zeek restarts on grafana dashboard 2020-04-02 19:39:09 -04:00
Mike Reeves
1b6222a04b Fix Password Bug for SOREMOTE 2020-04-02 18:01:39 -04:00
Mike Reeves
4c112453eb Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-02 16:56:52 -04:00
Mike Reeves
ffe3ae7d70 Update soremote process 2020-04-02 16:56:28 -04:00
m0duspwnens
4bc592c751 Merge remote-tracking branch 'remotes/origin/dev' into issue/90 2020-04-02 16:42:57 -04:00
Jason Ertel
f2ceaf074b Switch from auth_pillar to secrets_pillar 2020-04-02 16:11:05 -04:00
weslambert
7cefc218c4 Merge pull request #505 from Security-Onion-Solutions/strelka-sensor
Strelka sensor
2020-04-02 16:04:35 -04:00
Wes Lambert
9a082725d1 add Strelka for sensor if enabled 2020-04-02 20:03:29 +00:00
Wes Lambert
eb0c23387b specify ES vs LS in FB config 2020-04-02 20:01:49 +00:00
Jason Ertel
be8398387e Support individual email or password validation 2020-04-02 15:38:30 -04:00
m0duspwnens
290abaf1d7 merge with dev and resolve conflicts 2020-04-02 15:24:23 -04:00
m0duspwnens
ec60b7a2d4 changing back from beacon to scheduled jobs for healthcheck 2020-04-02 15:22:20 -04:00
Jason Ertel
1cac115009 Add support for validating email address via so-user tool 2020-04-02 15:18:51 -04:00
Mike Reeves
4368bebbd5 Merge pull request #503 from Security-Onion-Solutions/feature/soremote
Feature/soremote
2020-04-02 15:13:28 -04:00
Mike Reeves
e270b18d94 Remove special character in logstash pillar 2020-04-02 14:25:58 -04:00
Jason Ertel
df89ef9672 Increase limit of HTTP request size from 1M to 1024M to support large PCAPS 2020-04-02 12:21:12 -04:00
Mike Reeves
fffe1ef720 Add soremote user 2020-04-02 11:51:39 -04:00
Jason Ertel
4b45a7d2d5 Merge pull request #501 from Security-Onion-Solutions/feature/auth
Renamed auth pillar to secrets pillar; removed remnants from old auth…
2020-04-02 11:31:11 -04:00
Jason Ertel
a25c16508f Renamed auth pillar to secrets pillar; removed remnants from old auth saltstack 2020-04-02 11:24:13 -04:00
Mike Reeves
c0f143d7f5 Add Epel earlier for argon2 2020-04-02 09:45:02 -04:00
Jason Ertel
ebcae86c0b Correct log directory for sensoroni agent 2020-04-02 09:06:37 -04:00
m0duspwnens
839b5673d4 merge with dev 2020-04-02 08:33:16 -04:00
Josh Brower
551af39446 Merge pull request #499 from Security-Onion-Solutions/feature/osquery-ingest-fixes
osquery updates and fixes
2020-04-02 08:29:20 -04:00
Josh Brower
1ca290c766 osquery updates and fixes 2020-04-02 08:28:22 -04:00
weslambert
fd2b35dd21 Merge pull request #498 from Security-Onion-Solutions/fix/observer
use agent name for observer name
2020-04-01 17:28:52 -04:00
Wes Lambert
e023aeb9be use agent name for observer name 2020-04-01 21:27:25 +00:00
m0duspwnens
28d11032b6 Merge remote-tracking branch 'remotes/origin/dev' into issue/90 2020-04-01 16:55:12 -04:00
m0duspwnens
53b72f8743 change log levels 2020-04-01 16:54:48 -04:00
Josh Patterson
7e21dd92ba Merge pull request #496 from Security-Onion-Solutions/issue/90
adding auth and comment back to pillar and salt top
2020-04-01 15:37:21 -04:00
m0duspwnens
884e267db5 adding auth and comment back to pillar and salt top 2020-04-01 15:36:15 -04:00
weslambert
b14f9067ab Merge pull request #495 from Security-Onion-Solutions/fix/zeek_output_config
Bro to Zeek
2020-04-01 15:19:02 -04:00
weslambert
edbe512d82 Bro to Zeek 2020-04-01 15:18:30 -04:00
weslambert
5f8d1c29b4 Merge pull request #494 from Security-Onion-Solutions/search_ls_pillar
Search ls pillar
2020-04-01 15:13:17 -04:00
Wes Lambert
22e7777d67 update search sls 2020-04-01 19:12:07 +00:00
Wes Lambert
09022ad752 Update Zeek and Strelka 2020-04-01 19:11:10 +00:00
Wes Lambert
1df2302287 Update Zeek and Strelka 2020-04-01 19:09:38 +00:00
Josh Patterson
38b5cffd16 Merge pull request #493 from Security-Onion-Solutions/issue/90
adding auth state back
2020-04-01 15:05:43 -04:00
m0duspwnens
832128ac96 adding auth state back 2020-04-01 15:04:32 -04:00
weslambert
82c99edbfc Update Suricata output 2020-04-01 15:02:52 -04:00
weslambert
e1008269ce Update OSSEC output 2020-04-01 15:00:52 -04:00
weslambert
9f58081ce8 Typo 2020-04-01 14:57:47 -04:00
weslambert
d0ad7e7ef9 Update config for search pipeline 2020-04-01 14:57:32 -04:00
weslambert
5c433c39e5 Merge pull request #492 from Security-Onion-Solutions/fix/strelka-zeek-extracted-sync
Add Zeek extracted file sync
2020-04-01 14:20:36 -04:00
weslambert
cc4b1bf936 Add Zeek extracted file sync 2020-04-01 14:19:36 -04:00
William Wernert
0a50c47525 Merge branch 'dev' into feature/soctopus-conf 2020-04-01 13:35:44 -04:00
William Wernert
13035a6c32 [fix] Update soctopus default es-index-patter 2020-04-01 13:35:11 -04:00
weslambert
df00405265 Merge pull request #491 from Security-Onion-Solutions/fix/strelka_init
Remove restart policy
2020-04-01 13:19:57 -04:00
weslambert
5173da5a33 Remove restart policy 2020-04-01 13:19:31 -04:00
Josh Patterson
c8e881b8c5 Merge pull request #490 from Security-Onion-Solutions/issue/90
Issue/90
2020-04-01 13:13:40 -04:00
m0duspwnens
62e8aa1063 fix conflict in salt/top.sls 2020-04-01 13:09:23 -04:00
m0duspwnens
9acaa514cf monitoring zeek - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/90 2020-04-01 13:06:37 -04:00
weslambert
44ae4604b5 Merge pull request #489 from Security-Onion-Solutions/fix/strelka-curly
Fix curly brace
2020-04-01 12:33:02 -04:00
weslambert
7390063026 Fix curly brace 2020-04-01 12:32:29 -04:00
Mike Reeves
7db4dafea1 Reserve Kratos Group ID 2020-04-01 11:56:36 -04:00
weslambert
92c714ea4c Merge pull request #488 from Security-Onion-Solutions/fix/strelka_top
Update Eval for Strelka
2020-04-01 11:42:18 -04:00
weslambert
2fcfb06ba5 Update Eval for Strelka 2020-04-01 11:41:56 -04:00
weslambert
3001abc3ea Merge pull request #487 from Security-Onion-Solutions/fix/elastic_fixes
Fix/elastic fixes
2020-04-01 11:32:22 -04:00
weslambert
f13093dc51 Add message rename 2020-04-01 11:31:57 -04:00
weslambert
26efad1c45 Update Strelka log path 2020-04-01 11:30:02 -04:00
Josh Brower
572c1b5582 Merge pull request #486 from Security-Onion-Solutions/feature/osquery-ingest
osquery ingest - initial support
2020-04-01 10:19:42 -04:00
Josh Brower
5ca9a643a8 Merge branch 'dev' into feature/osquery-ingest 2020-04-01 10:19:35 -04:00
Josh Brower
0e76447d11 osquery ingest - initial support 2020-04-01 10:17:36 -04:00
weslambert
9f44a86ae4 Merge pull request #485 from Security-Onion-Solutions/strelka_enable
Enable Strelka via Setup
2020-04-01 10:08:09 -04:00
Wes Lambert
2164de97b5 Enable Strelka via Setup 2020-04-01 14:06:19 +00:00
weslambert
fd6832bf51 Merge pull request #483 from Security-Onion-Solutions/elastic_config
template and kibana config updates
2020-04-01 09:15:10 -04:00
Wes Lambert
33512eca2a template and kibana config updates 2020-04-01 13:14:13 +00:00
weslambert
a6b3e0e4a8 Merge pull request #482 from Security-Onion-Solutions/fix/strelka_config
add strelka index
2020-04-01 09:04:35 -04:00
Wes Lambert
6cc757e1de add strelka index 2020-04-01 13:02:36 +00:00
weslambert
d8f30a0240 Merge pull request #481 from Security-Onion-Solutions/fix/strelka_stuff
Fix/strelka stuff
2020-04-01 09:00:07 -04:00
Wes Lambert
70422809ec add category 2020-04-01 12:59:10 +00:00
Wes Lambert
9bbcc185aa change Strelka log location 2020-04-01 12:57:51 +00:00
William Wernert
df7851c2ed Merge branch 'dev' into feature/soctopus-conf 2020-03-31 18:59:07 -04:00
Jason Ertel
8767f17325 Removed obsolete osquery-packages.html since it's now in soc 2020-03-31 17:43:03 -04:00
William Wernert
2a0ed7a466 Merge branch 'dev' into feature/soctopus-conf 2020-03-31 15:08:07 -04:00
William Wernert
a8cdda84d1 [fix] Put soctopus.conf in the right folder 2020-03-31 11:12:01 -04:00
Josh Brower
2bfacecb4b Merge pull request #478 from Security-Onion-Solutions/bugfix/osquery
fleet init fix
2020-03-31 09:54:45 -04:00
Josh Brower
131fd1f322 fleet init fix 2020-03-31 09:53:59 -04:00
Jason Ertel
14c44e0f6e Merge pull request #476 from Security-Onion-Solutions/feature/auth
Integrate new auth system and SOC interface
2020-03-31 08:57:19 -04:00
Jason Ertel
f7e9e99eae Added new soc-related saltstack files. 2020-03-30 22:15:49 -04:00
weslambert
fd00cdf8f3 Merge pull request #473 from Security-Onion-Solutions/more_elastic_stuff
More elastic stuff
2020-03-30 20:41:56 -04:00
Wes Lambert
68138e009a update FB config 2020-03-31 00:37:58 +00:00
Wes Lambert
5226ec1560 update Kibana config/dashboards/etc 2020-03-31 00:37:17 +00:00
Wes Lambert
eacd3c9bfd update zeek.common 2020-03-31 00:36:42 +00:00
Jason Ertel
cbd710bcf2 Replaced auth system with new identity management system. 2020-03-30 19:27:56 -04:00
weslambert
9758563967 Merge pull request #470 from Security-Onion-Solutions/ecs_community_id
add community_id parsing for ingest
2020-03-30 11:51:05 -04:00
Wes Lambert
ad50093315 add community_id parsing for ingest 2020-03-30 15:49:36 +00:00
weslambert
ee4e3c0659 Merge pull request #469 from Security-Onion-Solutions/fix/ingest_stuff
update wazuh fields and category
2020-03-30 10:24:43 -04:00
Wes Lambert
93c3c86e2f update wazuh fields and category 2020-03-30 14:24:01 +00:00
weslambert
b6db36723d Merge pull request #467 from Security-Onion-Solutions/fix/kibana_config_update
update Kibana json config
2020-03-30 10:21:18 -04:00
Wes Lambert
70bc35eb7e update Kibana json config 2020-03-30 14:20:06 +00:00
William Wernert
d7478bbcb7 [fix] Revert checksum script change 2020-03-27 09:05:21 -04:00
William Wernert
c105732976 Merge pull request #466 from Security-Onion-Solutions/bugfix/ubuntu-xenial-fixes
Bugfix/ubuntu xenial fixes
2020-03-26 18:55:41 -04:00
William Wernert
04cbda356f Merge pull request #465 from Security-Onion-Solutions/hotfix/so-status-docker-api
[fix] Use v2 of Docker http api
2020-03-26 18:48:11 -04:00
William Wernert
7709bfd28e [fix] Use v2 of Docker http api
Docker no longer exposes the default api path, so we need to use /v2 in our api call
2020-03-26 18:47:37 -04:00
William Wernert
f02808aaa7 [fix] Networking config fixes + 18.04 changes
* Add code to allow 18.04 to use Network Manager
* Disable ipv6 on all interfaces to prevent multicast traffic on sniffing interface (revisit later)
* Rename and modify checksum disable script for 18.04 compatibility

Fixes #387
Fixes #413
2020-03-26 18:45:56 -04:00
Josh Brower
e44157aa7d Merge pull request #464 from Security-Onion-Solutions/feature/zeek-communityid
Zeek - enable Community ID policy
2020-03-26 16:34:46 -04:00
Josh Brower
31ae8a2c26 Zeek - enable Community ID policy 2020-03-26 16:33:47 -04:00
Josh Patterson
3918b697e4 Merge pull request #463 from Security-Onion-Solutions/issue/90
Issue/90
2020-03-26 15:54:25 -04:00
m0duspwnens
c14f32fcc9 more changes for healthcheck - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/90 2020-03-26 15:45:19 -04:00
Josh Brower
11907dc4ad Merge pull request #462 from Security-Onion-Solutions/bugfix/fleet
Bugfix/fleet
2020-03-26 11:23:28 -04:00
Josh Brower
1c9dd40b02 Fleet webpage fix 2020-03-26 11:20:20 -04:00
m0duspwnens
22127a3d58 Merge remote-tracking branch 'remotes/origin/dev' into issue/90 2020-03-26 11:01:10 -04:00
m0duspwnens
cfdaedb89c changes to healthcheck. specify mount points for telegraf 2020-03-26 11:00:46 -04:00
William Wernert
83c2edb0d9 [fix] Set all indents to tabs 2020-03-25 15:59:04 -04:00
William Wernert
ecbd78c6a1 [feature] Add options to soctopus.conf
Resolves #420
2020-03-25 15:38:42 -04:00
William Wernert
693e3e69de [fix] Manage soctopus.conf separately
Resolves #419
2020-03-25 15:37:35 -04:00
Josh Brower
e5ecf0f4cb Fleet dedicated node - various fixes 2020-03-25 13:03:40 -04:00
m0duspwnens
e6f91264fb send proper format data to telegraf module from healtheck module - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/90 2020-03-25 12:48:47 -04:00
m0duspwnens
566a26e3b7 fix dashboards to use right node name 2020-03-25 12:47:01 -04:00
Josh Brower
05690691f5 Merge pull request #459 from Security-Onion-Solutions/feature/communityid-suricata
Suricata - enable community id
2020-03-25 09:28:02 -04:00
Josh Brower
51b9af7ac4 Suricata - enable community id 2020-03-25 09:24:45 -04:00
m0duspwnens
77a48b1d66 Merge remote-tracking branch 'remotes/origin/dev' into issue/90 2020-03-25 09:03:16 -04:00
Josh Brower
9bcba41882 Feature/Fleet-Standalone 2020-03-24 20:57:24 -04:00
m0duspwnens
b96579f6d3 Merge remote-tracking branch 'remotes/origin/dev' into issue/90 2020-03-24 17:28:46 -04:00
m0duspwnens
7e6c70aff2 add modules to be used in monitoring - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/90 2020-03-24 17:27:55 -04:00
Josh Brower
e4e598f0be Merge pull request #458 from Security-Onion-Solutions/bugfix/so-functions
so-functions --- conditional-fix
2020-03-24 16:01:12 -04:00
Josh Brower
166a21c1d1 conditional-fix 2020-03-24 15:59:50 -04:00
weslambert
b59fc5b77e Merge pull request #457 from Security-Onion-Solutions/fix/more_ossec_fields
fix ossec fields
2020-03-24 11:44:45 -04:00
Wes Lambert
ef808875f4 fix ossec fields 2020-03-24 15:42:31 +00:00
weslambert
239e0a0cb6 Merge pull request #456 from Security-Onion-Solutions/kibana_disable_telem
Disable telemetry
2020-03-24 10:20:51 -04:00
weslambert
fef0185e90 Disable telemetry 2020-03-24 10:18:39 -04:00
weslambert
81a481022c Merge pull request #455 from Security-Onion-Solutions/fix/zeek_weird_ingest
add some more fields
2020-03-23 23:44:47 -04:00
Wes Lambert
083c588a87 add some more fields 2020-03-24 03:43:31 +00:00
weslambert
a01b0e44e1 Merge pull request #454 from Security-Onion-Solutions/es_template_fix
Add message field
2020-03-23 23:39:44 -04:00
weslambert
ece7e139f2 Add message 2020-03-23 23:39:15 -04:00
weslambert
126913e41b Merge pull request #453 from Security-Onion-Solutions/fix/kibana_config_load
Fix/kibana config load
2020-03-23 23:24:09 -04:00
weslambert
f5e932ab58 Re-enable load script 2020-03-23 23:23:32 -04:00
weslambert
1a44b744f7 Update so-kibana-config-load 2020-03-23 23:23:04 -04:00
weslambert
1c153b9081 Fix path 2020-03-23 23:09:00 -04:00
Mike Reeves
d3ecfe543f Update so-functions 2020-03-23 18:08:27 -04:00
weslambert
5207ca71c9 Merge pull request #452 from Security-Onion-Solutions/fix/remove_dupe
Update init.sls
2020-03-23 17:07:50 -04:00
weslambert
951a087c20 Update init.sls 2020-03-23 17:07:18 -04:00
weslambert
2ae3ff7490 Merge pull request #451 from Security-Onion-Solutions/fix/saved_objects_config
Fix/saved objects config
2020-03-23 15:58:20 -04:00
Wes Lambert
0b6ff18a0d change default route 2020-03-23 19:57:41 +00:00
Josh Patterson
6c39f93569 Merge pull request #450 from Security-Onion-Solutions/issue/90
adding zeekctl module to be used for monitoring zeek
2020-03-23 15:57:12 -04:00
m0duspwnens
bc76739f6e adding zeekctl module to be used for monitoring zeek - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/90 2020-03-23 15:55:45 -04:00
Wes Lambert
fe0ab0965a move saved_objects 2020-03-23 19:55:07 +00:00
weslambert
79feee1dd1 Merge pull request #449 from Security-Onion-Solutions/fix/kibana_master
Fix master and remark config load
2020-03-23 15:36:38 -04:00
weslambert
8edecfceb9 Fix master and remark config load 2020-03-23 15:36:12 -04:00
Mike Reeves
c88a356a73 Merge pull request #448 from Security-Onion-Solutions/feature/updates
Feature/updates
2020-03-23 15:20:46 -04:00
Mike Reeves
a48ecfbbb1 Merge branch 'dev' into feature/updates 2020-03-23 15:20:36 -04:00
weslambert
c8345753ac Merge pull request #447 from Security-Onion-Solutions/fix/kibana_state
Fix/kibana state
2020-03-23 15:17:04 -04:00
weslambert
8e9cffad4a Update init.sls 2020-03-23 15:15:05 -04:00
weslambert
2a5ab3492d Update init.sls 2020-03-23 15:14:42 -04:00
Mike Reeves
98caae8ec9 Update Stuff round 3 2020-03-23 15:12:36 -04:00
weslambert
9c29f39cc1 Merge pull request #446 from Security-Onion-Solutions/fix/kibana_docker_image
Update init.sls
2020-03-23 14:50:54 -04:00
weslambert
8d0659c200 Update init.sls 2020-03-23 14:50:34 -04:00
weslambert
c1e3a00d22 Merge pull request #445 from Security-Onion-Solutions/fix/kibana_config
more Kibana config
2020-03-23 14:12:11 -04:00
Wes Lambert
a43154e0eb more Kibana config 2020-03-23 18:07:12 +00:00
m0duspwnens
1095f01c4f Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-03-23 09:34:53 -04:00
Mike Reeves
b48612dd3b Update Stuff Round 2 2020-03-19 13:46:19 -04:00
William Wernert
d21df50689 Merge pull request #439 from Security-Onion-Solutions/bugfix/html-formatting
[fix] HTML formatting and css changes
2020-03-19 10:09:12 -04:00
William Wernert
c58e6d6cba [fix] HTML formatting and css changes
* Centered osquery packages page
* Fixed HTML formatting on main and osquery pages
2020-03-19 10:08:15 -04:00
weslambert
029c1791a2 Merge pull request #438 from Security-Onion-Solutions/fix/elastic_fixes
Fix/elastic fixes
2020-03-18 16:18:55 -04:00
Wes Lambert
7a71a2c459 removing mapping types 2020-03-18 20:17:57 +00:00
Wes Lambert
5072095eeb removing mapping types 2020-03-18 20:15:10 +00:00
Wes Lambert
150eaf59fd don't load FB template 2020-03-18 20:05:42 +00:00
weslambert
8bd3c3f333 Merge pull request #435 from Security-Onion-Solutions/fix/index_names
fix index names
2020-03-18 12:45:01 -04:00
Wes Lambert
fcc5c306ea fix index names 2020-03-18 16:42:06 +00:00
Josh Patterson
85cc1e9e17 Merge pull request #433 from Security-Onion-Solutions/quickfix/lsetcsync
fix issue lsetcsync if node doesnt have templates defined
2020-03-18 10:50:52 -04:00
m0duspwnens
504d22de83 fix issue lsetcsync if node doesnt have templates defined 2020-03-18 10:49:51 -04:00
m0duspwnens
88acbc4d4d Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-03-18 10:45:53 -04:00
weslambert
0d3280feb7 Merge pull request #432 from Security-Onion-Solutions/fix/template
fix strelka pattern
2020-03-18 09:52:24 -04:00
Wes Lambert
29a4932785 fix strelka pattern 2020-03-18 13:47:22 +00:00
weslambert
597f746ccb Merge pull request #431 from Security-Onion-Solutions/fix/elastic_changes
Fix/elastic changes
2020-03-17 17:32:05 -04:00
Wes Lambert
4eac285fd9 change soversion 2020-03-17 21:31:19 +00:00
Wes Lambert
70f109af86 elastic changes 2020-03-17 21:29:28 +00:00
Mike Reeves
73be1d0927 Update Stuff Round 1 2020-03-17 17:06:37 -04:00
Mike Reeves
c3055b0a03 Update Versions for Docker 2020-03-17 15:23:55 -04:00
weslambert
bfefbe247f Merge pull request #430 from Security-Onion-Solutions/kibana_7_dark_mode
UI Dark Mode
2020-03-17 12:19:56 -04:00
weslambert
272649f330 UI Dark Mode 2020-03-17 12:19:27 -04:00
weslambert
caeef9c903 Merge pull request #429 from Security-Onion-Solutions/kibana_7
Update config.json
2020-03-17 11:51:29 -04:00
weslambert
113fbdb863 Update config.json 2020-03-17 11:50:53 -04:00
m0duspwnens
4aba09c44e Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-03-17 11:28:43 -04:00
weslambert
367626c65e Merge pull request #428 from Security-Onion-Solutions/more_ecs
More ecs
2020-03-17 11:23:19 -04:00
Wes Lambert
a5ff21c528 remove agent field for non-Wazuh logs 2020-03-17 15:20:46 +00:00
Wes Lambert
b80e7fedcb remove agent field for non-Wazuh logs 2020-03-17 15:20:31 +00:00
Wes Lambert
488858f8bc remove beat field removal 2020-03-17 15:19:08 +00:00
Wes Lambert
8bea56eccf change prospectors to inputs 2020-03-17 15:17:52 +00:00
Wes Lambert
faea67c9cf update env vars 2020-03-17 15:17:13 +00:00
Wes Lambert
5ed3dbff39 Fix template name 2020-03-17 15:15:01 +00:00
Josh Patterson
2e72816d2a Merge pull request #427 from Security-Onion-Solutions/quickfix/hostnames
ensure name uniformity for elascticsearch and telegraf/grafana
2020-03-17 09:19:27 -04:00
m0duspwnens
cd84f87581 ensure name uniformity for elascticsearch and telegraf/grafana 2020-03-17 09:18:00 -04:00
m0duspwnens
632aad2787 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-03-17 08:59:19 -04:00
Josh Patterson
ad0aa85e79 Merge pull request #426 from Security-Onion-Solutions/issue/97
add tojson to dict passed into zeekctl
2020-03-16 10:28:49 -04:00
m0duspwnens
20a6a79551 add tojson to dict passed into zeekctl 2020-03-16 10:28:12 -04:00
weslambert
85f5c53b51 Merge pull request #425 from Security-Onion-Solutions/fix/template_script
Fix/template script
2020-03-14 20:36:17 -04:00
Wes Lambert
81da44b85d fix Logstash Eval SLS 2020-03-15 00:32:29 +00:00
Wes Lambert
26c4d453d3 Add ES templates script 2020-03-15 00:30:59 +00:00
weslambert
775066489a Merge pull request #424 from Security-Onion-Solutions/ecs_parsing
ECS parsing
2020-03-14 08:11:15 -04:00
Wes Lambert
85c1873f4d switch logging to error 2020-03-14 12:10:06 +00:00
Wes Lambert
b6ba8e483d update ES init 2020-03-14 12:06:32 +00:00
Wes Lambert
d2016d3ff2 modify Filebeat config 2020-03-14 12:05:16 +00:00
Wes Lambert
c52220330b modify pipelines 2020-03-14 12:03:32 +00:00
Wes Lambert
d48c2723ba modify default templates 2020-03-14 12:02:52 +00:00
Wes Lambert
9fb3a47358 modify default templates 2020-03-14 12:02:42 +00:00
Wes Lambert
ffc33b15e5 switch to Filebeat 2020-03-14 12:00:17 +00:00
Josh Patterson
a9d286b90f Merge pull request #423 from Security-Onion-Solutions/issue/97
allow all zeekctl configuration options to be defined
2020-03-13 16:12:54 -04:00
m0duspwnens
2bda1f4beb remove whitespace 2020-03-13 16:12:16 -04:00
m0duspwnens
1db9692c6b allow all zeekctl configuration options to be defined - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/97 2020-03-13 16:10:42 -04:00
Josh Patterson
1c4429613d Merge pull request #422 from Security-Onion-Solutions/issue/97
add option to compress archived logs for zeekctl
2020-03-13 15:06:34 -04:00
m0duspwnens
a21ffaecc8 add option to compress archived logs for zeekctl - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/97 2020-03-13 15:05:25 -04:00
Josh Patterson
b18f4eb720 Merge pull request #421 from Security-Onion-Solutions/issue/97
Issue/97
2020-03-13 14:52:34 -04:00
m0duspwnens
da8811bc87 restart zeek docker if zeekctl.cfg changes 2020-03-13 14:44:56 -04:00
m0duspwnens
1b7e22d5bd fix couple minor issue - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/97 2020-03-13 14:41:16 -04:00
m0duspwnens
8e82633772 fix missing : in playbook state 2020-03-13 13:45:29 -04:00
m0duspwnens
f9cf04e14e fix couple minor issue - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/97 2020-03-13 13:42:28 -04:00
m0duspwnens
bc6aab5b22 add zeekctl.cfg docker file bind 2020-03-13 13:23:27 -04:00
m0duspwnens
3aa48b1a23 first go at managing zeekctl.cfg - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/97 2020-03-13 13:20:48 -04:00
m0duspwnens
417e3ee19f Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-03-13 12:44:06 -04:00
Josh Patterson
762841b14a Merge pull request #417 from Security-Onion-Solutions/issue/134
add salt cron identifiers
2020-03-13 08:43:12 -04:00
m0duspwnens
7ea0b2c284 add salt cron identifiers - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/134 2020-03-13 08:38:45 -04:00
m0duspwnens
70fd326041 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-03-13 08:14:27 -04:00
Josh Patterson
1a8c8e4c17 Merge pull request #416 from Security-Onion-Solutions/issue/362
fix spacing for titles in grafana dashboard
2020-03-13 08:10:41 -04:00
m0duspwnens
2d91851c34 fix spacing for titles in grafana dashboard - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/362 2020-03-13 08:08:51 -04:00
m0duspwnens
f40d6d8ba9 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-03-13 07:56:39 -04:00
Josh Patterson
8b0509aa4a Merge pull request #415 from Security-Onion-Solutions/issue/136
Issue/136
2020-03-12 17:46:38 -04:00
m0duspwnens
804a87eb21 append role to minion id and use it to target in top - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/136 2020-03-12 17:42:32 -04:00
Mike Reeves
efda3b9295 Merge pull request #412 from Security-Onion-Solutions/feature/ubuntu18
Feature/ubuntu18
2020-03-11 12:03:55 -04:00
Mike Reeves
fa9dbf7316 Merge branch 'dev' into feature/ubuntu18 2020-03-11 12:03:46 -04:00
Mike Reeves
16d549ce03 Fix mysql 2020-03-11 10:58:54 -04:00
weslambert
7838018e3d Merge pull request #410 from Security-Onion-Solutions/feature/ECS
Feature/ecs
2020-03-11 08:23:22 -04:00
Wes Lambert
648b0ba790 remove old config 2020-03-11 12:14:22 +00:00
Wes Lambert
9ad16e8c71 upadte ingest config 2020-03-11 12:13:53 +00:00
Wes Lambert
f9e4d218ec update config 2020-03-11 12:13:11 +00:00
Wes Lambert
70e78a0642 add renamed templates 2020-03-11 12:12:32 +00:00
Wes Lambert
84e54a8fae update Eval pillar 2020-03-11 12:09:34 +00:00
Mike Reeves
f74bc4cfa0 Fix IP Calculation 2020-03-10 15:56:05 -04:00
m0duspwnens
1222f2cf0e Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-03-10 12:10:06 -04:00
Mike Reeves
68d1e7993e Merge pull request #408 from Security-Onion-Solutions/quickfix/saltinstall
Update so-functions
2020-03-09 15:26:00 -04:00
Josh Patterson
f4f31ef2a5 Update so-functions 2020-03-09 15:22:30 -04:00
Josh Patterson
1b81223eb6 update repo location for ubuntu non master install 2020-03-09 15:20:05 -04:00
Mike Reeves
4ca2f3eafd Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into feature/ubuntu18 2020-03-09 11:41:49 -04:00
Mike Reeves
868e7bd807 Fix the repo definition 2020-03-09 09:52:03 -04:00
weslambert
aff51b6bb9 Merge pull request #407 from Security-Onion-Solutions/fix/bro_template
Fix/bro template
2020-03-09 09:19:37 -04:00
weslambert
14dfec5365 Change to bro template 2020-03-09 09:18:57 -04:00
weslambert
4a4c378327 Add bro template 2020-03-09 09:18:14 -04:00
Josh Brower
e3916e5de2 Merge pull request #406 from Security-Onion-Solutions/feature/playbook-alerting
Playbook - Schedule Playbook rule updates
2020-03-09 08:58:39 -04:00
Josh Brower
a96465383f Schedule Playbook rule updates 2020-03-09 08:57:31 -04:00
weslambert
47a7e025ee Merge pull request #403 from Security-Onion-Solutions/fix/zeek-extract
fix typo
2020-03-06 13:50:36 -05:00
Wes Lambert
aeb298a818 fix typo 2020-03-06 18:49:29 +00:00
weslambert
0f8fb7bd89 Merge pull request #402 from Security-Onion-Solutions/fix/node_init
fix repo name
2020-03-06 12:46:12 -05:00
Wes Lambert
84df1db201 fix repo name 2020-03-06 17:45:16 +00:00
weslambert
21aa54690e Merge pull request #401 from Security-Onion-Solutions/fix/node_files
add files back
2020-03-06 12:34:07 -05:00
Wes Lambert
ed8adcae5a add files back 2020-03-06 17:28:05 +00:00
weslambert
1b667b9cb9 Merge pull request #400 from Security-Onion-Solutions/fix/node_webhook
Fix/node webhook
2020-03-06 11:17:40 -05:00
Wes Lambert
6af6d7f5b6 fix typo 2020-03-06 16:17:04 +00:00
Wes Lambert
627d89c481 fix webhook 2020-03-06 16:16:02 +00:00
weslambert
08c16aaf67 Merge pull request #399 from Security-Onion-Solutions/fix/node_scripts
add Node scripts
2020-03-06 08:48:17 -05:00
Wes Lambert
0bf125e88e add Node scripts 2020-03-06 13:47:21 +00:00
weslambert
162bbaebb6 Merge pull request #398 from Security-Onion-Solutions/feature/nodered
Feature/nodered
2020-03-06 08:32:32 -05:00
Wes Lambert
19cff23a2b restructure files 2020-03-06 13:14:52 +00:00
Wes Lambert
8bac9118fb add flows 2020-03-06 13:13:34 +00:00
Wes Lambert
32f8d7c793 update init 2020-03-06 13:11:00 +00:00
Mike Reeves
746a1d1c3a More Ubuntu 18 Python 2020-03-05 13:53:27 -05:00
weslambert
b0b3211f02 Merge pull request #397 from Security-Onion-Solutions/fix/zeek-file-extraction
Fix/zeek file extraction
2020-03-05 10:50:16 -05:00
Wes Lambert
73cbadfe5c add complete directory to extracted 2020-03-05 15:49:22 +00:00
Wes Lambert
ee611d44cf update file extraction script 2020-03-05 15:48:28 +00:00
Mike Reeves
4e9f1b1a7b Make Ubuntu 18 defautl to python 3 2020-03-04 17:01:48 -05:00
Mike Reeves
cb8493551d Fix Salt Repo for Python 3 2020-03-04 16:10:32 -05:00
Mike Reeves
dd47b5825d Fix Salt Repo for Python 3 2020-03-04 15:42:15 -05:00
Mike Reeves
ef47a87715 Fix Salt Repo 2020-03-04 14:33:31 -05:00
Mike Reeves
b7a977184d Fix Salt Repo 2020-03-04 14:30:41 -05:00
Mike Reeves
1bb77fb07a Activate 18.04 2020-03-04 13:56:49 -05:00
m0duspwnens
2c21ade950 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-03-04 12:26:01 -05:00
Josh Patterson
79210a07da Merge pull request #396 from Security-Onion-Solutions/issue/326
fix issue with salt not removing pipeline configs or templates if removed from pillar
2020-03-04 10:14:57 -05:00
m0duspwnens
28c4bb4b22 fix issue with salt not removing pipeline configs or templates if removed from pillar 2020-03-04 10:12:28 -05:00
weslambert
478b14c488 Merge pull request #395 from Security-Onion-Solutions/fix/zeek_extracted
Fix/zeek extracted
2020-03-03 17:41:58 -05:00
Wes Lambert
a0522943f7 fix path 2020-03-03 22:40:46 +00:00
Wes Lambert
a8a93260a9 add file extraction 2020-03-03 22:40:06 +00:00
weslambert
84b29839d8 Merge pull request #394 from Security-Onion-Solutions/config_cleanup
Config cleanup
2020-03-03 16:21:54 -05:00
Wes Lambert
b1203cfb9f add initial Strelka ingest config 2020-03-03 21:20:45 +00:00
Wes Lambert
b75bd35bc2 remove Strelka from LS PL 2020-03-03 21:19:54 +00:00
weslambert
02cf44f4a5 Merge pull request #393 from Security-Onion-Solutions/cleanup/more_eval_ls_cleanup
cleanup default config files
2020-03-03 13:04:58 -05:00
Wes Lambert
3fbb81f6d1 cleanup default config files 2020-03-03 18:03:45 +00:00
weslambert
12ada0c127 Merge pull request #391 from Security-Onion-Solutions/fix/strelka_init
Update Strelka init
2020-03-02 17:16:59 -05:00
Wes Lambert
4939884d93 Update Strelka init 2020-03-02 22:15:55 +00:00
weslambert
00adb06d7c Merge pull request #390 from Security-Onion-Solutions/ls_config_cleanup
Ls config cleanup
2020-03-02 15:04:08 -05:00
Wes Lambert
bbebc4fc9b Add src/dst objects and Bro template 2020-03-02 20:02:39 +00:00
Wes Lambert
880c5abe6b prune default loaded configs for Eval Mode 2020-03-02 19:58:46 +00:00
weslambert
80a23f99fa Merge pull request #389 from Security-Onion-Solutions/ecs_prep
ecs prep
2020-03-02 14:13:37 -05:00
Wes Lambert
ec6638a276 src/dst ip/port fields to ECS 2020-03-02 19:10:18 +00:00
Wes Lambert
e4fee51ed6 Change Bro Files source to file_source 2020-03-02 19:09:24 +00:00
Wes Lambert
9eb5a9be3a Begin switch to ECS for Suricata 2020-03-02 19:07:40 +00:00
m0duspwnens
6c8d6812f9 rename INSTALL type for starting issue 136 2020-02-28 11:11:24 -05:00
m0duspwnens
035a0a4ee2 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-02-27 11:08:52 -05:00
Josh Patterson
f40b23e4b2 Merge pull request #376 from Security-Onion-Solutions/issue/326
Issue/326
2020-02-26 16:41:07 -05:00
m0duspwnens
847e6d2d13 create pipelines directory 2020-02-26 16:38:47 -05:00
m0duspwnens
a3e48f0315 logstash cleanup and conflict resolution - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/326 2020-02-26 10:58:39 -05:00
m0duspwnens
54e4c40c2a logstash cleanup and conflict resolution - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/326 2020-02-26 10:26:50 -05:00
m0duspwnens
0c4973ad77 pillarize logstash config,parsers,templates and docker port bindings 2020-02-25 17:44:32 -05:00
weslambert
cc76699a2e Merge pull request #375 from Security-Onion-Solutions/strelka_config
remove source
2020-02-25 13:47:56 -05:00
Wes Lambert
5d81bf3204 remove source 2020-02-25 12:36:35 +00:00
m0duspwnens
e2ccebd2fa resolve conflicts 2020-02-20 17:00:15 -05:00
m0duspwnens
a5f5eba9fb Merge branch 'issue/326' into dev 2020-02-20 16:51:06 -05:00
m0duspwnens
2b34bdece9 logstash cleanup - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/326 2020-02-20 16:47:40 -05:00
weslambert
38b856b2b0 Merge pull request #368 from Security-Onion-Solutions/fix/more_template_fixes
More template fixes
2020-02-20 11:46:41 -05:00
weslambert
fc9786e541 Change template name 2020-02-20 11:46:15 -05:00
weslambert
6945cbb843 Change template name 2020-02-20 11:45:50 -05:00
weslambert
3303992685 Merge pull request #367 from Security-Onion-Solutions/fix/template_fix
Fix template name
2020-02-20 11:20:48 -05:00
weslambert
30a1197b44 Rename template to avoid duplication under different name 2020-02-20 11:20:06 -05:00
m0duspwnens
7604853c59 fix logic for logstash pipelines 2020-02-19 16:02:24 -05:00
m0duspwnens
54e94676fe fix pipelines variable 2020-02-19 14:59:39 -05:00
m0duspwnens
408b3695e0 add back deleted states to logstash state 2020-02-19 14:12:18 -05:00
m0duspwnens
c396342aea fix syntax error with new ls pipeline config 2020-02-19 13:46:52 -05:00
m0duspwnens
6a7580404d directory cleanup - logstash pipeline rework 2020-02-19 13:08:14 -05:00
Josh Brower
689ef31189 Merge pull request #361 from Security-Onion-Solutions/bugfix/bpf
bpf fix
2020-02-18 16:38:54 -05:00
Josh Brower
f9e07709f2 bpf fix 2020-02-18 16:36:20 -05:00
weslambert
82dac03199 Merge pull request #360 from Security-Onion-Solutions/feature/nodered
Experimental: Node-RED
2020-02-18 00:12:01 -05:00
Wes Lambert
de6efffd95 Experimental: Node-RED 2020-02-18 05:04:51 +00:00
weslambert
3eb34d9926 Merge pull request #359 from Security-Onion-Solutions/feature/strelka_ls
Add initial/basic Strelka config
2020-02-17 21:47:32 -05:00
Wes Lambert
50fcf8307f Add initia/basic Strelka config 2020-02-18 02:46:31 +00:00
weslambert
4d98670fac Merge pull request #358 from Security-Onion-Solutions/fix/strelka_config
Fix/strelka config
2020-02-17 16:16:16 -05:00
Wes Lambert
64166f96a1 Ensure correct template is used 2020-02-17 21:15:11 +00:00
Wes Lambert
8d9ff4428b Update Strelka LS config 2020-02-17 21:12:25 +00:00
Josh Brower
074ebe6008 Merge pull request #357 from Security-Onion-Solutions/bugfix/playbook
SOCtopus.conf quick fix RE: playbook API
2020-02-17 07:49:29 -05:00
Josh Brower
63c8515d87 SOCtopus.conf quick fix RE: playbook API 2020-02-17 07:48:54 -05:00
Josh Brower
6c37fbd020 Merge pull request #355 from Security-Onion-Solutions/feature/playbook-changes
Playbook - Schema changes & more
2020-02-14 16:40:28 -05:00
Josh Brower
240620caa3 Playbook - create play API 2020-02-14 16:38:02 -05:00
Josh Brower
9491e75b77 Merge pull request #354 from Security-Onion-Solutions/dev
Update README.md
2020-02-13 16:50:30 -05:00
Mike Reeves
ae1fa9a7a4 Update README.md 2020-02-13 16:48:06 -05:00
Mike Reeves
a04daff113 Merge pull request #353 from Security-Onion-Solutions/dev
Final Final
2020-02-13 15:32:14 -05:00
Mike Reeves
61063d62c4 Merge pull request #352 from Security-Onion-Solutions/TOoSmOotH-patch-1
T oo sm oot h patch 1
2020-02-13 15:28:24 -05:00
Mike Reeves
4caedca795 Update telegraf.conf 2020-02-13 15:27:45 -05:00
Doug Burks
a1e80d8366 Merge pull request #351 from Security-Onion-Solutions/dev
last fixes
2020-02-13 15:12:12 -05:00
Mike Reeves
6f42c607f7 Update telegraf.conf 2020-02-13 15:08:00 -05:00
Mike Reeves
ae113c0b84 Merge pull request #348 from Security-Onion-Solutions/fix/patch-1
Update README - install instructions
2020-02-13 14:32:25 -05:00
weslambert
f8d162ac5f Merge pull request #349 from Security-Onion-Solutions/hotfix/wazuh_archive_path
Fix Wazuh archives path
2020-02-13 13:48:45 -05:00
Wes Lambert
11319362c4 Fix Wazuh archives path 2020-02-13 18:47:45 +00:00
Josh Brower
6920240f8e Update README - install instructions 2020-02-13 12:50:12 -05:00
Mike Reeves
9666f24e14 Update VERSION 2020-02-13 10:55:24 -05:00
Doug Burks
1fa238eb1d Merge pull request #343 from Security-Onion-Solutions/dev
Update README.md
2020-02-13 06:15:01 -05:00
Mike Reeves
4cf2b8c0f9 Update README.md 2020-02-12 21:11:49 -05:00
Josh Brower
3ba619b720 Merge pull request #340 from Security-Onion-Solutions/dev
Update Readme and index.html
2020-02-12 10:32:18 -05:00
Mike Reeves
2ffa903e15 Merge pull request #339 from Security-Onion-Solutions/feature/nginx
Move index.html outside the docker
2020-02-12 10:30:13 -05:00
Mike Reeves
0e74698f3f Move index.html outside the docker 2020-02-12 10:28:43 -05:00
Mike Reeves
3b5991705a New Index 2020-02-12 10:09:38 -05:00
Mike Reeves
f2e7ef6dc5 Update README.md 2020-02-12 10:03:56 -05:00
Doug Burks
d3826bc605 Merge pull request #337 from Security-Onion-Solutions/dev
1.1.4
2020-02-12 09:55:34 -05:00
William Wernert
e656e5af45 [fix] so-functions and so-restart 2020-02-12 09:26:34 -05:00
William Wernert
fe2de8c9e4 Merge branch 'master' into dev
# Conflicts:
#	setup/so-functions
2020-02-12 09:13:31 -05:00
weslambert
15533b7fac Merge pull request #336 from Security-Onion-Solutions/hotfix/wazuh
Hotfix/wazuh
2020-02-11 22:45:43 -05:00
Wes Lambert
e76dc73ea6 change Wazuh install order 2020-02-12 03:44:20 +00:00
Wes Lambert
718dacf29a update Wazuh order 2020-02-12 03:37:56 +00:00
Wes Lambert
0344ea7878 update Wazuh path 2020-02-12 03:34:12 +00:00
Mike Reeves
f7ab43e428 Update telegraf.conf 2020-02-11 19:30:17 -05:00
Josh Patterson
cb3977a6c2 Merge pull request #335 from Security-Onion-Solutions/feature/helixeps
changes to helixeps script for telegraf
2020-02-11 17:44:10 -05:00
m0duspwnens
73d5b637ad changes to helixeps script for telegraf 2020-02-11 17:43:05 -05:00
weslambert
bb4a428dda Merge pull request #334 from Security-Onion-Solutions/hotfix/wazuh_data_path
update Wazuh data paths
2020-02-11 17:18:06 -05:00
Wes Lambert
41db668af6 update Wazuh data paths 2020-02-11 22:16:25 +00:00
Josh Patterson
2df79ab909 Merge pull request #333 from Security-Onion-Solutions/feature/helixeps
fix pipeline name for helix eps telegraf script
2020-02-11 15:57:12 -05:00
m0duspwnens
c6a7543366 fix pipeline name for helix eps telegraf script 2020-02-11 15:53:19 -05:00
Josh Patterson
ae1ad31fc2 Merge pull request #332 from Security-Onion-Solutions/feature/helixeps
adding helix eps count for telegraf
2020-02-11 14:56:54 -05:00
Mike Reeves
0693034608 Merge pull request #331 from Security-Onion-Solutions/feature/wazuh
Stop wazzuh directory management
2020-02-11 14:56:27 -05:00
m0duspwnens
8b835284ef adding helix eps count for telegraf 2020-02-11 14:55:44 -05:00
Mike Reeves
aa578bffba Stop wazzuh directory management 2020-02-11 14:53:54 -05:00
Mike Reeves
99b1a15306 Helix Telegraf 2020-02-11 10:26:41 -05:00
weslambert
6a70511cc9 Merge pull request #330 from Security-Onion-Solutions/hotfix/wazuh_paths
update Wazuh paths
2020-02-11 08:54:12 -05:00
Wes Lambert
0994f598c7 update Wazuh paths 2020-02-11 13:45:28 +00:00
Mike Reeves
521de8f154 Update 9997_output_helix.conf 2020-02-10 22:47:11 -05:00
William Wernert
9e5c96ddfa [fix] Remove containers from so-status for roles that don't use them 2020-02-10 17:05:48 -05:00
William Wernert
e07029bf6b [fix] Remove containers from so-status for roles that don't use them 2020-02-10 16:59:06 -05:00
weslambert
776d5c3fcc Merge pull request #328 from Security-Onion-Solutions/hotfix/wazuh_config
dont manage config
2020-02-10 16:23:18 -05:00
Wes Lambert
76305d42fc dont manage config 2020-02-10 21:21:22 +00:00
weslambert
419493e52e Merge pull request #327 from Security-Onion-Solutions/hotfix/wazuh_dir
change wazuh dir
2020-02-10 15:58:04 -05:00
Wes Lambert
fbeba98af8 change wazuh dir 2020-02-10 20:56:03 +00:00
Mike Reeves
34f6cec8e2 Set Unique ID in Pillar file 2020-02-10 14:32:36 -05:00
William Wernert
aa43cc4e01 Merge pull request #322 from Security-Onion-Solutions/hotfix/so-status
hotfix/so-status
2020-02-09 22:46:43 -05:00
William Wernert
301ff77501 [fix] Jinja2 templating comparisons 2020-02-09 22:30:39 -05:00
William Wernert
d29cd1caee [fix] Elastalert typo 2020-02-09 22:30:37 -05:00
William Wernert
2804247f88 [fix] Syntax errors in so-status 2020-02-09 22:30:36 -05:00
William Wernert
95c394cae8 Merge pull request #321 from Security-Onion-Solutions/hotfix/checksum-offload-dir
hotfix/checksum-offload-dir
2020-02-08 18:46:28 -05:00
William Wernert
b341a7f0cd [fix] Move checksum offload script dir to pre-up.d 2020-02-08 18:43:33 -05:00
William Wernert
319c22d740 Merge pull request #320 from Security-Onion-Solutions/hotfix/checksum-offload
hotfix/checksum-offload
2020-02-08 12:38:41 -05:00
William Wernert
9218121a23 [fix] checksum-offload-disable syntax errors 2020-02-08 12:35:52 -05:00
Mike Reeves
fe6990dfb3 Merge pull request #318 from Security-Onion-Solutions/bugfix/wazuhpath
Bugfix/wazuhpath
2020-02-07 16:49:11 -05:00
Mike Reeves
3dc73278a2 Fix Wazuh paths for logstash 2020-02-07 16:47:45 -05:00
Mike Reeves
9740b23b1d Fix Wazuh paths for logstash 2020-02-07 16:42:16 -05:00
Mike Reeves
98a6a1d1d5 Merge pull request #317 from Security-Onion-Solutions/bugfix/wazuhpath
Fix Wazuh paths for logstash
2020-02-07 16:18:14 -05:00
Mike Reeves
e4a73d9773 Fix Wazuh paths for logstash 2020-02-07 16:16:28 -05:00
Mike Reeves
7fc0a09abf Merge pull request #316 from Security-Onion-Solutions/bugfix/wazuhpath
Fix Wazuh paths for logstash/fb
2020-02-07 08:54:44 -05:00
Mike Reeves
bf6101fc30 Merge branch 'dev' into bugfix/wazuhpath 2020-02-07 08:54:32 -05:00
Mike Reeves
6ceb127c46 Fix Wazuh paths for logstash/fb 2020-02-07 08:52:09 -05:00
Mike Reeves
a77f44cf29 Merge pull request #315 from Security-Onion-Solutions/bugfix/wazuh
Fix Wazuh perms
2020-02-06 18:56:20 -05:00
Mike Reeves
3cfec72b40 Fix Wazuh perms 2020-02-06 18:55:23 -05:00
Josh Patterson
afdb2f93f0 Merge pull request #314 from Security-Onion-Solutions/quickfix/issue277
adjusting logstash heapsize for https://github.com/Security-Onion-Sol…
2020-02-06 16:19:42 -05:00
m0duspwnens
2f055d4c00 adjusting logstash heapsize for https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/277 2020-02-06 15:41:13 -05:00
Josh Brower
3b083970e6 Merge pull request #313 from Security-Onion-Solutions/fix/logstash-restart
Logstash restart script
2020-02-06 15:36:15 -05:00
Josh Brower
12d3ae92e7 Logstash restart script 2020-02-06 15:35:15 -05:00
William Wernert
f8b8bdaaf3 Merge pull request #312 from Security-Onion-Solutions/hotfix/auth-timeout
[fix] Various timeout fixes for so-auth
2020-02-06 15:28:49 -05:00
William Wernert
f4b8211938 [fix] Various timeout fixes for so-auth 2020-02-06 15:27:56 -05:00
William Wernert
3d7c0e5eef Merge pull request #311 from Security-Onion-Solutions/feature/so-status
feature/so-status
2020-02-06 15:26:04 -05:00
William Wernert
7c00e7c286 [feature] Final changes for so-status re: predefined container list 2020-02-06 15:25:50 -05:00
Mike Reeves
d2dd0f09e9 fix zeek path 2020-02-06 10:25:01 -05:00
Mike Reeves
79dc6c84d9 add auth to mastersearch 2020-02-05 21:19:07 -05:00
Mike Reeves
725b56c858 add registry to mastersearch 2020-02-05 21:07:08 -05:00
Mike Reeves
bdfa47143e Merge pull request #310 from Security-Onion-Solutions/bugfix/filebeatformaster
Fix Filebeat Cert
2020-02-05 18:43:46 -05:00
Mike Reeves
9f53d2ce3e Fix Filebeat Cert 2020-02-05 18:42:55 -05:00
William Wernert
c5fa0fcdf7 Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-02-05 18:17:36 -05:00
William Wernert
9779037e99 crossthestream -> crossthestreams 2020-02-05 18:16:43 -05:00
weslambert
aeec5563eb Merge pull request #309 from Security-Onion-Solutions/fix/redis_conf
Remove Redis config from eval PL
2020-02-05 15:36:04 -05:00
Wes Lambert
ec11b9ea25 Remove Redis config from eval PL 2020-02-05 20:34:32 +00:00
Josh Patterson
3fff89e538 Merge pull request #308 from Security-Onion-Solutions/quickfix/helix
Quickfix/helix
2020-02-05 15:10:45 -05:00
m0duspwnens
799cf32265 fix logstash for so-helix role 2020-02-05 14:45:07 -05:00
William Wernert
981dfa1cb2 chmod +x script changes 2020-02-05 11:39:37 -05:00
Mike Reeves
b69dfd9b25 Helix fix dockers 2020-02-05 11:27:19 -05:00
Josh Patterson
997b50f12b Merge pull request #307 from Security-Onion-Solutions/quickfix/helix
add helix pipeline pillar
2020-02-05 11:16:09 -05:00
m0duspwnens
833c700418 Merge branch 'dev' into quickfix/helix 2020-02-05 11:14:13 -05:00
m0duspwnens
66092ada15 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-02-05 11:13:10 -05:00
m0duspwnens
d133222a86 Merge branch 'quickfix/helix' into dev 2020-02-05 11:12:51 -05:00
m0duspwnens
f042cb074f add helix pipeline pillar 2020-02-05 11:10:12 -05:00
William Wernert
8a925209e9 Merge pull request #306 from Security-Onion-Solutions/feature/script-fixes
Feature/script fixes
2020-02-05 11:03:17 -05:00
William Wernert
3e97930506 Merge branch 'dev' into feature/script-fixes
# Conflicts:
#	salt/auth/init.sls
#	salt/common/tools/sbin/so-bro-restart
#	salt/common/tools/sbin/so-bro-start
#	salt/common/tools/sbin/so-bro-stop
#	salt/wazuh/files/wazuh-manager-whitelist
2020-02-05 10:58:51 -05:00
Josh Brower
dc89f95d4b Merge pull request #305 from Security-Onion-Solutions/fix/logstash-osquery
Logstash EVAL pipeline fix - osquery
2020-02-05 08:13:10 -05:00
Josh Brower
c1dd26d97e Logstash EVAL pipeline fix - osquery 2020-02-05 08:12:08 -05:00
Josh Patterson
de04cc6631 Merge pull request #304 from Security-Onion-Solutions/quickfix/grafana
fix grafana for zeek
2020-02-04 17:25:04 -05:00
m0duspwnens
ad651dbea4 fix grafana for zeek 2020-02-04 17:21:13 -05:00
Josh Patterson
8148be6ec8 Merge pull request #301 from Security-Onion-Solutions/quickfix/zeek
fix zeek state
2020-02-03 11:17:39 -05:00
m0duspwnens
820462e45a fix zeek state 2020-02-03 11:15:44 -05:00
Josh Brower
6220c92cb2 Merge pull request #300 from Security-Onion-Solutions/fix/tcpreplay
tcpreplay fix
2020-02-03 10:13:16 -05:00
Josh Brower
a6a999af95 tcpreplay fix 2020-02-03 09:59:41 -05:00
Josh Brower
e07f5d30b7 Merge pull request #299 from Security-Onion-Solutions/fix/zeek-bpfv2
Zeek - bpf fixup
2020-01-31 15:08:29 -05:00
Josh Brower
b5bf12f8c8 Zeek - bpf fixup 2020-01-31 15:06:57 -05:00
Josh Brower
f5efc68825 Merge pull request #289 from Security-Onion-Solutions/feature/so-status
feature/so-status
2020-01-31 14:02:15 -05:00
Josh Brower
b21b88a844 Merge pull request #298 from Security-Onion-Solutions/feature/so-scripts-fixes
SO Scripts - fixes
2020-01-31 12:42:13 -05:00
Josh Brower
c96a95e526 SO Scripts - fixes 2020-01-31 12:41:01 -05:00
Josh Patterson
4cdcabbd18 Merge pull request #297 from Security-Onion-Solutions/quickfix/eval
evalmode fix
2020-01-30 17:56:13 -05:00
m0duspwnens
6b580eaba9 evalmode fix 2020-01-30 17:54:24 -05:00
Josh Patterson
daa6905ab4 Merge pull request #295 from Security-Onion-Solutions/quickfix/eval
Quickfix/eval
2020-01-30 17:40:13 -05:00
m0duspwnens
68e7dcfba0 evalfix 2020-01-30 17:38:48 -05:00
m0duspwnens
88967c2512 evalfix 2020-01-30 17:36:38 -05:00
Josh Patterson
cc909682c0 Merge pull request #294 from Security-Onion-Solutions/quickfix/eval
evalfix
2020-01-30 17:13:52 -05:00
Josh Patterson
666ca150f6 Merge branch 'dev' into quickfix/eval 2020-01-30 17:13:35 -05:00
m0duspwnens
d94065fa00 evalfix 2020-01-30 17:09:06 -05:00
William Wernert
025c1972cd Merge pull request #288 from Security-Onion-Solutions/hotfix/auth-init
hotfix/auth-init
2020-01-30 16:34:24 -05:00
Mike Reeves
1e7259c32f Merge pull request #292 from Security-Onion-Solutions/bugfix/evalproblem
Fix Eval Event Pickup x2
2020-01-30 16:17:22 -05:00
Mike Reeves
1e0d0d74e1 Fix Eval Event Pickup x2 2020-01-30 16:16:21 -05:00
Mike Reeves
5c64d19c01 Merge pull request #291 from Security-Onion-Solutions/bugfix/evalproblem
Bugfix/evalproblem
2020-01-30 16:14:16 -05:00
Mike Reeves
c32b2726fa Fix Eval Event Pickup 2020-01-30 16:10:59 -05:00
Mike Reeves
59d6b7cb8a Add log paths 2020-01-30 16:00:57 -05:00
Mike Reeves
e26aad47e5 Merge pull request #290 from Security-Onion-Solutions/bugfix/filebeat
Fix Filebeat
2020-01-30 15:49:24 -05:00
Mike Reeves
048c77695d Fix Filebeat 2020-01-30 15:47:51 -05:00
William Wernert
746bd99f99 Merge branch 'dev' into feature/so-status 2020-01-30 12:41:41 -05:00
William Wernert
f839f38553 Fix for jinja error 2020-01-30 12:40:39 -05:00
William Wernert
5dec2b1c87 Move auth init.sls to docker registry 2020-01-30 12:39:09 -05:00
Josh Patterson
63d0a21a0c Merge pull request #287 from Security-Onion-Solutions/quickfix/ssl
Fix SSL State
2020-01-30 11:11:55 -05:00
Mike Reeves
21e374c82e Fix SSL State 2020-01-30 11:10:52 -05:00
Mike Reeves
a2c75c8fc0 Merge pull request #284 from Security-Onion-Solutions/fix/bpf-zeek
Dep Bro and enabled Zeek BPF
2020-01-30 10:00:09 -05:00
Josh Brower
3fdc5fbef4 Dep Bro and enabled Zeek BPF 2020-01-30 09:45:02 -05:00
Mike Reeves
960bb51218 Merge pull request #280 from Security-Onion-Solutions/fix/zeek_cfg
Update Zeek config
2020-01-29 18:11:17 -05:00
Wes Lambert
3277ca185e Update Zeek config 2020-01-29 22:09:32 +00:00
weslambert
eba02ef3b4 Merge pull request #279 from Security-Onion-Solutions/features/heavynode
Features/heavynode
2020-01-29 17:07:00 -05:00
m0duspwnens
8b17d3ba6c change ls heap for heavy node - issue 277 2020-01-29 17:05:11 -05:00
m0duspwnens
07df8bff7e add filebeat features back 2020-01-29 17:00:39 -05:00
m0duspwnens
0d22502072 changes to filebeat for heavynode 2020-01-29 16:45:04 -05:00
Mike Reeves
779a9129d6 Merge pull request #278 from Security-Onion-Solutions/issue/277
chagne ls heap for eval and mastersearch - https://github.com/Securit…
2020-01-29 16:33:16 -05:00
m0duspwnens
817044a000 chagne ls heap for eval and mastersearch - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/277 2020-01-29 16:26:35 -05:00
Josh Brower
a75949e062 Merge pull request #274 from Security-Onion-Solutions/fix/elastic_clear
so-elastic-clear: Set IP in script
2020-01-29 15:49:16 -05:00
Josh Brower
3bbc0b5150 Merge pull request #275 from Security-Onion-Solutions/fix/zeek_setup_id
change bro user to zeek
2020-01-29 15:48:49 -05:00
Josh Brower
870ce7f995 Merge pull request #276 from Security-Onion-Solutions/fix/zeek_scripts
Change bro to zeek in start|stop|restart scripts
2020-01-29 15:47:54 -05:00
Wes Lambert
aa3fc72565 Change bro to zeek 2020-01-29 18:56:21 +00:00
Wes Lambert
f187180509 change bro user to zeek 2020-01-29 18:50:09 +00:00
m0duspwnens
e60f6ac820 Merge branch 'features/heavynode' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into features/heavynode 2020-01-29 12:56:59 -05:00
m0duspwnens
bd5b597aed heavynode 2020-01-29 12:56:25 -05:00
m0duspwnens
306cc1127b heavynode 2020-01-29 12:56:25 -05:00
Wes Lambert
ef83d812d2 Set IP 2020-01-29 17:41:56 +00:00
Mike Reeves
97c0b0ddd1 Merge pull request #273 from Security-Onion-Solutions/bugfix/suricata-logfile
Suricata - logfile fix
2020-01-29 10:26:39 -05:00
m0duspwnens
b45241b420 heavynode 2020-01-29 10:05:20 -05:00
Josh Brower
5213c19e44 Suricata - logfile fix 2020-01-29 09:30:03 -05:00
weslambert
2a5d62e3f2 Merge pull request #272 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update filebeat.yml
2020-01-28 22:20:58 -05:00
Mike Reeves
bd395b8356 Update filebeat.yml 2020-01-28 22:20:21 -05:00
weslambert
101c2a93d1 Merge pull request #269 from Security-Onion-Solutions/feature/so-status
feature/so-status
2020-01-28 22:13:47 -05:00
weslambert
8ba3b07c5e Merge pull request #271 from Security-Onion-Solutions/feature/bpf-suricata-fix
Suricata  - bpf hotfix
2020-01-28 22:13:20 -05:00
Josh Brower
3925ed52c7 Suricata - BPF hotfix 2020-01-28 22:02:18 -05:00
Mike Reeves
bf1187ad60 Merge pull request #270 from Security-Onion-Solutions/feature/bpf-zeek
Zeek - Initial BPF Support
2020-01-28 21:49:03 -05:00
Mike Reeves
357cfcbe78 Merge pull request #266 from Security-Onion-Solutions/fix/elastalert_indices
Update config.yaml for Elastalert shard/replica changes
2020-01-28 21:47:07 -05:00
Mike Reeves
2a8ad3a4c3 Merge pull request #260 from Security-Onion-Solutions/fix/elastic_features
Fix order of static add
2020-01-28 21:46:28 -05:00
Josh Brower
aa2fbc2d53 Zeek - Initial BPF support 2020-01-28 21:44:42 -05:00
Mike Reeves
745a92f217 Merge pull request #259 from Security-Onion-Solutions/fix/wazuh_whitelist
Don't restart when running whitelist script
2020-01-28 21:44:06 -05:00
William Wernert
5bd037e88c Initial so-status script 2020-01-28 21:42:47 -05:00
William Wernert
50d4693a09 Merge branch 'dev' into feature/script-fixes 2020-01-28 21:39:41 -05:00
Josh Brower
492ad7035b Merge pull request #268 from Security-Onion-Solutions/feature/nsm_clear
Feature/nsm clear
2020-01-28 21:01:04 -05:00
Wes Lambert
48ebc5e2e3 Fix data checks 2020-01-29 01:13:40 +00:00
Wes Lambert
5e0299e7bb Add PCAP stop|start|restart scripts 2020-01-29 01:11:22 +00:00
Wes Lambert
41e5c6ae90 Add data deletion scripts 2020-01-29 00:57:58 +00:00
m0duspwnens
7150564c70 heavynode 2020-01-28 18:58:26 -05:00
Wes Lambert
8b415b9db4 Update config.yaml for Elastalert shard/replica changes 2020-01-28 23:55:06 +00:00
Mike Reeves
149c10435e Merge pull request #264 from Security-Onion-Solutions/feature/bpf-suricata
Suricata - Initial bpf support
2020-01-28 18:20:45 -05:00
Josh Brower
bc6a2f1e27 Merge pull request #265 from Security-Onion-Solutions/feature/bpf-steno
Steno bpf - final tweaks
2020-01-28 18:18:30 -05:00
Josh Brower
86689edf24 Merge branch 'dev' into feature/bpf-steno 2020-01-28 18:18:17 -05:00
Josh Brower
ae087c5552 Steno BPF tweaks 2020-01-28 16:53:19 -05:00
Josh Brower
f536e89064 Suricata bpf cleanup 2020-01-28 16:12:46 -05:00
Josh Brower
8204ffdd05 Suricata bpf - docker bind bpf file 2020-01-28 15:51:13 -05:00
Josh Brower
5403dab027 Suricata - Initial bpf support 2020-01-28 15:48:40 -05:00
Wes Lambert
b92cceb986 Fix order of static add 2020-01-28 19:44:56 +00:00
Wes Lambert
c22753a8fb Don't restart when running whitelist script 2020-01-28 19:42:59 +00:00
Mike Reeves
de369494ed Merge pull request #252 from Security-Onion-Solutions/feature/bpf-steno
Steno BPF - cleanup & simplify
2020-01-28 10:18:23 -05:00
Mike Reeves
aeafc82677 Merge pull request #256 from Security-Onion-Solutions/fix/wazuh_restart
Update Wazuh scripts
2020-01-28 10:17:42 -05:00
Mike Reeves
1f501c0c7d Merge pull request #254 from Security-Onion-Solutions/hotfix/auth-conf
hotfix/auth-conf
2020-01-28 10:16:55 -05:00
Mike Reeves
67d940048f Merge pull request #257 from Security-Onion-Solutions/features/features_setup
Initial Features Support
2020-01-28 10:15:27 -05:00
Wes Lambert
38f42eafa5 Add Features enable script 2020-01-28 15:02:50 +00:00
Wes Lambert
b995b09d52 Update version in all state files 2020-01-28 14:59:53 +00:00
Wes Lambert
fbb9f099f9 Update Elastic state files 2020-01-28 14:49:58 +00:00
Wes Lambert
1de8902eef Add default to setup 2020-01-28 14:45:29 +00:00
Wes Lambert
a9ccd17d89 Update Wazuh scripts 2020-01-28 14:34:19 +00:00
Josh Brower
5321c0db5d Merge pull request #255 from Security-Onion-Solutions/feature/zeek_cve
Add Zeek CVE-2020-0601 Detection
2020-01-28 08:20:02 -05:00
Wes Lambert
b754c88ab1 Add script for CVE-2020-0601 2020-01-28 13:08:10 +00:00
Wes Lambert
c38569d8a6 Add script for CVE-2020-0601 2020-01-28 13:07:37 +00:00
William Wernert
47f02389fc Add so-auth to master and master/search 2020-01-27 15:23:35 -05:00
William Wernert
f22e5eb649 Fix for install error 2020-01-27 15:18:26 -05:00
William Wernert
67eda42c78 Merge branch 'dev' into feature/script-fixes 2020-01-27 15:03:20 -05:00
Josh Brower
7875436efd Steno BPF - cleanup & simplify 2020-01-25 11:27:10 -05:00
Mike Reeves
5c1d191ac6 Merge pull request #251 from Security-Onion-Solutions/quickfix/dockerregistry
fix so-buildregistry from returning error
2020-01-24 15:20:38 -05:00
m0duspwnens
d54a41a1f0 fix so-buildregistry from returning error 2020-01-24 15:08:09 -05:00
Josh Brower
468822c449 Merge pull request #250 from Security-Onion-Solutions/issues/249
reorder pillar top - https://github.com/Security-Onion-Solutions/secu…
2020-01-24 13:36:25 -05:00
m0duspwnens
dcf1dc6e09 reorder pillar top - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/249 2020-01-24 12:33:15 -05:00
weslambert
190adad69f Merge pull request #247 from Security-Onion-Solutions/feature/bpf-steno
Initial support for Steno bpf
2020-01-24 07:49:55 -05:00
Josh Brower
3262854f4e Steno - fix error name 2020-01-24 04:30:06 -05:00
Josh Brower
7dd30ef07e Steno - fix disk percentage 2020-01-24 04:22:47 -05:00
Josh Brower
78527ab87c Steno - BPF Config 2020-01-24 04:20:49 -05:00
William Wernert
3d4e805b60 Merge branch 'dev' into feature/script-fixes 2020-01-23 17:11:45 -05:00
Mike Reeves
9778c37855 Merge pull request #246 from Security-Onion-Solutions/hotfix/hive-init
hotfix/hive-init
2020-01-23 17:06:21 -05:00
Mike Reeves
9fc400c129 Merge pull request #245 from Security-Onion-Solutions/quickfix/mastersearch
quick fix for missing master search items in setup
2020-01-23 17:05:56 -05:00
William Wernert
4a288a0d63 [fix] Further .sh extension removal
* Remove more .sh extensions
* Edit jinja markup to prevent whitespace trimming
2020-01-23 17:03:03 -05:00
William Wernert
d4d5891c70 [fix] Remove require from hive init.sls 2020-01-23 16:58:26 -05:00
m0duspwnens
5603afd2bd quick fix for missing master search items in setup 2020-01-23 15:36:26 -05:00
William Wernert
d2a7ef1e64 [fix] Misc script convention changes
* Remove sudo from scripts that are already running as sudo
* Also remove sudo from several so scripts and add sudo check
* Remove .sh extension from user facing scripts
* Remove superfluous # characters from so scripts
* Rename scripts to follow so-{subject}-{verb} naming convention
* Add shebangs where missing
2020-01-23 14:23:26 -05:00
Mike Reeves
74f5c2d6d6 Merge pull request #244 from Security-Onion-Solutions/update_inits
Update inits
2020-01-23 13:58:33 -05:00
Wes Lambert
e687def4dc remove Cyberchef 2020-01-23 18:44:34 +00:00
Wes Lambert
d2c9689b44 update TheHive init 2020-01-23 18:35:04 +00:00
weslambert
dc0c92fb92 Merge pull request #243 from Security-Onion-Solutions/feature/isoregistry
Feature/isoregistry
2020-01-23 13:25:26 -05:00
Mike Reeves
bf6c309f16 Update Registry to unpack new repo 2020-01-23 11:09:55 -05:00
Mike Reeves
2c619db6ad Update Registry to unpack new repo 2020-01-23 10:45:08 -05:00
Mike Reeves
71edddd846 Update Registry to unpack new repo 2020-01-23 10:13:20 -05:00
weslambert
005aa35918 Merge pull request #242 from Security-Onion-Solutions/issues/241
fix master state
2020-01-22 14:35:32 -05:00
m0duspwnens
b275f81da3 fix master state - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/241 2020-01-22 14:28:27 -05:00
weslambert
774f138c33 Merge pull request #240 from Security-Onion-Solutions/feature/issue124
changes for multipipelines / mastersearch node
2020-01-21 16:50:10 -05:00
Mike Reeves
d1d6435eca Merge pull request #238 from Security-Onion-Solutions/pcap-disk-limit
Steno - Adjust PCAP disk limit
2020-01-21 16:50:01 -05:00
Mike Reeves
e038a8b731 Merge branch 'dev' into feature/issue124 2020-01-21 16:48:26 -05:00
m0duspwnens
a39edad3f6 changes for multipipelines / mastersearch node - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/124 2020-01-21 16:39:42 -05:00
Wes Lambert
0b45d6f638 increase free disk percentage 2020-01-20 14:08:02 +00:00
Josh Brower
72c84f7e25 Merge pull request #231 from Security-Onion-Solutions/quickfix/ubuntusalt
Update functions.sh
2020-01-17 17:12:28 -05:00
Mike Reeves
9f57a9bb4b Update functions.sh 2020-01-17 17:11:09 -05:00
William Wernert
0151ca1be7 Merge pull request #230 from Security-Onion-Solutions/quickfix/readme
Update README.md
2020-01-17 10:13:45 -05:00
Mike Reeves
cedc5fc88b Update README.md 2020-01-17 10:10:31 -05:00
Mike Reeves
3de81ad2f1 Merge pull request #229 from Security-Onion-Solutions/bugfix/salt
Upgrade Salt Version to 2019.2.3
2020-01-17 09:36:33 -05:00
Mike Reeves
be01931520 Upgrade Salt Version to 2019.2.3 2020-01-17 09:19:52 -05:00
weslambert
533d54793d Merge pull request #228 from Security-Onion-Solutions/bugfix/localhost
Bugfix/localhost
2020-01-16 11:43:37 -05:00
Mike Reeves
c19ce2d527 Update Error message if localhsot is in there 2020-01-16 11:32:14 -05:00
Mike Reeves
593c8a9ea5 If contains localhost don't allow to move forward 2020-01-16 11:24:17 -05:00
Josh Brower
8550dc63c2 Merge pull request #221 from Security-Onion-Solutions/feature/registry
Feature/registry
2020-01-14 15:50:08 -05:00
William Wernert
54fb2ad244 Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into feature/registry
# Conflicts:
#	salt/common/init.sls
#	salt/elasticsearch/init.sls
#	salt/filebeat/init.sls
#	salt/hive/init.sls
#	salt/kibana/init.sls
#	salt/logstash/init.sls
#	salt/suricata/init.sls
#	salt/tcpreplay/init.sls
#	salt/wazuh/init.sls
2020-01-14 15:48:56 -05:00
Mike Reeves
916f77f0f2 Change registry path to /nsm 2020-01-14 11:55:07 -05:00
Mike Reeves
cdabaabd05 Fix common state 2020-01-14 11:51:40 -05:00
Mike Reeves
e141443238 Fix some contianer links 2020-01-14 11:05:36 -05:00
Mike Reeves
aa3016d1b8 Speed up Downloads of Containers 2020-01-14 10:56:24 -05:00
Mike Reeves
941106934b Remove Cyberchef 2020-01-14 10:13:31 -05:00
Mike Reeves
ae55b59048 Switch to using images in registry 2020-01-14 10:11:26 -05:00
Mike Reeves
2055350cec Fix saltid conflict 2020-01-14 09:02:45 -05:00
Mike Reeves
d84cc41e12 Merge pull request #219 from Security-Onion-Solutions/allow_script
so-allow: source so-common
2020-01-14 08:59:13 -05:00
Wes Lambert
348dbb752a source so-common 2020-01-14 13:48:57 +00:00
Josh Brower
04570d5502 Merge pull request #216 from Security-Onion-Solutions/feature/replay_scripts
Add initial replay wrappers
2020-01-14 05:42:05 -05:00
Josh Brower
fffae29af9 Merge pull request #214 from Security-Onion-Solutions/feature/so-allow-flags
Feature/so allow flags
2020-01-14 05:40:04 -05:00
Josh Brower
512391066d Merge pull request #215 from Security-Onion-Solutions/wazuh_whitelist
Wazuh - Whitelist manager host IP
2020-01-14 05:37:14 -05:00
Wes Lambert
4917a7284d add initial replay wrappers 2020-01-13 22:19:15 +00:00
Mike Reeves
bfed2a9638 Need Firewalls 2020-01-13 17:02:39 -05:00
Mike Reeves
d73c3159e7 Need Firewalls 2020-01-13 16:55:19 -05:00
Mike Reeves
a542198289 Need Firewalls 2020-01-13 16:48:28 -05:00
Mike Reeves
e92fcdc67c Need Firewalls 2020-01-13 16:42:35 -05:00
Mike Reeves
b69249b2c0 Break out registry 2020-01-13 16:35:37 -05:00
Mike Reeves
ed3c2b1bac Break out registry 2020-01-13 16:33:20 -05:00
Mike Reeves
4d28224774 Fix Variable for registry 2020-01-13 16:14:53 -05:00
Wes Lambert
a960083d6e add Wazuh manager whitelist script 2020-01-13 21:13:28 +00:00
Wes Lambert
1338f7125f update Wazuh init for whitelist 2020-01-13 21:12:33 +00:00
Mike Reeves
28905a4319 Fix docker seed 2020-01-13 16:07:08 -05:00
Wes Lambert
8e7b2bc888 remove double bash declaration 2020-01-13 20:57:03 +00:00
Mike Reeves
385644757c Switch to Zeek and download registry 2020-01-13 15:52:58 -05:00
Mike Reeves
4d00f26c35 Switch to Zeek and download registry 2020-01-13 15:51:38 -05:00
Wes Lambert
8c36b3b695 add quotes 2020-01-13 20:17:38 +00:00
Wes Lambert
c4626020a4 update so-allow to allow arguments 2020-01-13 20:07:54 +00:00
Mike Reeves
15adc79959 Merge pull request #209 from Security-Onion-Solutions/update_version
Update various image versions
2020-01-13 09:00:41 -05:00
Wes Lambert
7e1870e9d0 update image versions 2020-01-13 13:52:30 +00:00
Mike Reeves
686282da62 Registry Update - Update Script for image pull 2020-01-10 14:34:00 -05:00
Mike Reeves
29f188f921 Merge pull request #206 from Security-Onion-Solutions/feature/auth
Add so-auth
2020-01-10 09:14:34 -05:00
William Wernert
140feb5515 Fix git merge leftovers 2020-01-10 08:58:50 -05:00
William Wernert
5cb8bd61b6 Merge remote-tracking branch 'origin/dev' into feature/auth
# Conflicts:
#	salt/common/nginx/nginx.conf.so-eval
2020-01-09 18:41:46 -05:00
weslambert
6ea941dfba Merge pull request #205 from Security-Onion-Solutions/feature/soscripts
soscripts - so-elastic-diagnose
2020-01-09 15:07:32 -05:00
William Wernert
1bfb8bbea2 Update SO-Auth version 2020-01-09 12:20:25 -05:00
Josh Brower
209f60d99e soscripts - so-elastic-diagnose 2020-01-08 16:13:10 -05:00
Josh Brower
665b8170ed Merge pull request #204 from Security-Onion-Solutions/cyberchef2core
Remove cyberchef from proxy conf
2020-01-08 09:59:31 -05:00
Wes Lambert
79ef0b6e1f remove cyberchef from proxy conf 2020-01-08 14:27:50 +00:00
weslambert
7b081b10ad Merge pull request #203 from Security-Onion-Solutions/feature/soscripts-elastalert
so scripts - elastalert dev
2020-01-07 17:08:35 -05:00
Josh Brower
243e97f761 so scripts - elastalert dev 2020-01-07 15:19:33 -05:00
weslambert
c91acd654a Merge pull request #202 from Security-Onion-Solutions/feature/playbook-bulkimport
Playbook - redmine.db schema changes
2020-01-06 16:23:02 -05:00
Josh Brower
5ce5a46292 Playbook - redmine.db schema changes 2020-01-05 21:25:01 -05:00
Josh Brower
0c08f8e727 Merge pull request #200 from Security-Onion-Solutions/bugfix/tcpreplay
fix typo
2020-01-03 16:34:12 -05:00
Wes Lambert
a646c1123f fix typo 2020-01-03 21:31:40 +00:00
weslambert
fbf6e5590d Merge pull request #199 from Security-Onion-Solutions/feature/issue127
manage threshold.conf with Salt - #127
2020-01-03 14:57:43 -05:00
m0duspwnens
4dc667d805 change threshold.conf template - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/127 2020-01-03 14:50:32 -05:00
m0duspwnens
7415ed8dd0 manage threshold.conf with Salt - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/127 2020-01-03 13:31:19 -05:00
weslambert
cc4b536042 Merge pull request #198 from Security-Onion-Solutions/feature/so-scripts
SO Scripts - start|stop|restart
2020-01-02 16:03:41 -05:00
Josh Brower
3d436037e2 SO Scripts - start|stop|restart 2020-01-02 15:58:15 -05:00
weslambert
5358220121 Merge pull request #197 from Security-Onion-Solutions/feature/so-scripts-stop
so-stop scripts - initial commit
2020-01-02 13:38:19 -05:00
Josh Patterson
3ed6baccdf Merge pull request #196 from Security-Onion-Solutions/feature/freqserver
Break out FS & DS into their own states
2020-01-02 12:52:18 -05:00
Josh Brower
4b23d333ef so-stop scripts - initial commit 2020-01-02 12:29:56 -05:00
Josh Brower
5a772e4f1c Break out FS & DS into their own states 2020-01-02 11:43:28 -05:00
Mike Reeves
e39adc65d8 Merge pull request #195 from Security-Onion-Solutions/feature/zeek_clean
add Zeek clean script
2020-01-02 11:05:38 -05:00
Mike Reeves
272a31f31d Merge pull request #194 from Security-Onion-Solutions/feature/thehive_alerter
update TheHiveAlerter module
2020-01-02 11:05:11 -05:00
Mike Reeves
389e3feb05 Merge pull request #193 from Security-Onion-Solutions/feature/wazuh_updates
Add AR whitelist for Wazuh (analyst role)
2020-01-02 11:04:46 -05:00
Wes Lambert
82abdedb02 add license 2020-01-02 15:55:52 +00:00
Wes Lambert
82f1d5718a add exclusion for Zeek clean log and extracted file mgmt 2020-01-02 15:39:38 +00:00
Wes Lambert
566d3ed280 revise message text 2020-01-02 15:20:34 +00:00
Wes Lambert
c4f57f09ee add Zeek clean script 2020-01-02 15:13:46 +00:00
William Wernert
c7e98f17e1 Add volume binding to so-auth-api 2019-12-31 17:19:57 -05:00
Wes Lambert
bc533bef24 update TheHiveAlerter module 2019-12-30 21:10:56 +00:00
Wes Lambert
f597b9f4e5 add AR whitelist for Wazuh 2019-12-30 19:04:54 +00:00
Mike Reeves
bbd95c977c Merge pull request #184 from Security-Onion-Solutions/issues/157
Issues/157
2019-12-30 13:47:46 -05:00
Mike Reeves
c6345a8950 Merge pull request #192 from Security-Onion-Solutions/feature/wazuh_updates
Wazuh: Add auth log path for Centos
2019-12-30 13:47:13 -05:00
Mike Reeves
9ee0273180 Merge pull request #183 from Security-Onion-Solutions/feature/so-scripts
more so-restart scripts
2019-12-30 13:46:41 -05:00
Wes Lambert
df722c173f fix typo and prevent agent from getting re-added 2019-12-30 17:47:00 +00:00
Wes Lambert
ffc116085e add auth log path for Centos 2019-12-30 17:32:54 +00:00
m0duspwnens
1b8bb8e761 fix writing to PILLARFILE 2019-12-20 16:02:20 -05:00
William Wernert
8ded3d0e9b Merge branch 'dev' into feature/auth 2019-12-20 15:43:26 -05:00
William Wernert
ac800782f7 [BUG] Remove unneeded dir from auth salt file
Auth no longer needs a volume mount, so remove its directory
2019-12-20 15:34:23 -05:00
m0duspwnens
2feb14503c changes for https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/157 2019-12-20 14:40:08 -05:00
William Wernert
74e0092352 Merge branch 'dev' into feature/auth 2019-12-20 14:37:52 -05:00
Josh Brower
beb12663f5 more so-restart scripts 2019-12-20 13:10:53 -05:00
weslambert
8829b5132e Merge pull request #179 from Security-Onion-Solutions/feature/cyberchef_cleanup
Remove Cyberchef from top file since it is now in so-core
2019-12-20 12:40:44 -05:00
Mike Reeves
4ed7751fb8 Merge pull request #182 from Security-Onion-Solutions/quickfix/issue176
rename logstash config for storage to search
2019-12-20 12:39:29 -05:00
m0duspwnens
ed28be4ba9 rename logstash config for storage to search - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/176 2019-12-20 11:32:55 -05:00
Wes Lambert
124c552fca remove Cyberchef from top file since it is now in so-core 2019-12-20 15:49:22 +00:00
Mike Reeves
c2a4de3f70 Merge pull request #162 from Security-Onion-Solutions/feature/strelka
Strelka - initial config
2019-12-20 10:28:37 -05:00
Wes Lambert
eea08f3515 add back helix 2019-12-20 01:24:20 +00:00
weslambert
574ee6b97a Merge pull request #174 from Security-Onion-Solutions/quickfix/cyberchef-version
[BUG] Updated missed text in cyberchef init.sls
2019-12-19 18:12:11 -05:00
William Wernert
2b6e2e0465 Initial changes to add new auth framework
* Changes to evalmode only at this time
* Cleaned up nginx eval config
2019-12-19 17:54:31 -05:00
m0duspwnens
b97ff72bc2 fix ssl verify hive_init.sh 2019-12-19 17:54:05 -05:00
William Wernert
7653959d60 [BUG] Updated missed text in cyberchef init.sls
The docker pull command was updated but not the run instruction
2019-12-19 17:50:45 -05:00
weslambert
1876bc2b57 Merge pull request #173 from Security-Onion-Solutions/quickfix/cyberchef-version
Revert cyberchef version update
2019-12-19 17:08:13 -05:00
William Wernert
2b20d009e1 Fixed cyberchef container image version error.
Cyberchef container image v1.1.4 has not been built yet, revert to 1.1.3 for now
2019-12-19 17:04:23 -05:00
Josh Brower
c4fc9e1619 Merge pull request #171 from Security-Onion-Solutions/feature/so-restart-scripts
initial commit - so-component-restart scripts
2019-12-19 16:21:17 -05:00
Josh Brower
0d541f4949 initial commit - so-component-restart scripts 2019-12-19 10:49:23 -05:00
Mike Reeves
dd8728e275 Registry Update - Switch all to use registry 2019-12-18 15:32:07 -05:00
weslambert
839f710f61 Merge pull request #166 from Security-Onion-Solutions/feature/fix_hive
fix ssl verify hive_init.sh
2019-12-18 14:20:43 -05:00
m0duspwnens
2888dce48f fix ssl verify hive_init.sh 2019-12-18 14:11:26 -05:00
Mike Reeves
9bae1c7a03 Registry Update 2019-12-18 12:06:57 -05:00
Wes Lambert
c597dd2fb4 Strelka - Filebeat config 2019-12-18 03:22:30 +00:00
Wes Lambert
88f142664f Strelka - intial config 2019-12-18 03:13:14 +00:00
Mike Reeves
74afecbfb7 Merge pull request #161 from Security-Onion-Solutions/feature/restart-script2
Initial commit - so-restart & so-common
2019-12-17 16:35:05 -05:00
Josh Brower
2319f503f8 Initial commit - so-common 2019-12-17 16:24:26 -05:00
Josh Brower
82076b1988 Initial commit - so-restart 2019-12-17 16:23:59 -05:00
Mike Reeves
b0584f2178 Merge pull request #160 from Security-Onion-Solutions/mastersearch
Mastersearch Menu Option
2019-12-17 16:18:20 -05:00
Mike Reeves
5ead3a26b6 Rename Storage to Search Nodes 2019-12-17 15:32:43 -05:00
Mike Reeves
110049436e Fix Search node naming for firewall state 2019-12-17 14:53:15 -05:00
Mike Reeves
efd641f0df Rename Storage to Search Nodes 2019-12-17 13:43:37 -05:00
Mike Reeves
ef030c6a14 Merge pull request #155 from Security-Onion-Solutions/hive_init
Wait for TheHive before attempting to configure
2019-12-17 13:29:24 -05:00
Doug Burks
d668bc3511 Merge pull request #151 from Security-Onion-Solutions/cyberchef_static
update Cyberchef to serve static files vs self-hosted
2019-12-17 13:20:45 -05:00
Doug Burks
b1fd8a5f45 Merge pull request #154 from Security-Onion-Solutions/newupdatemaster
Update Master - Fix bleeding edge
2019-12-17 11:35:58 -05:00
Mike Reeves
3879798d46 Update Master - Fix bleeding edge 2019-12-17 11:25:39 -05:00
Wes Lambert
4a34ac7c05 wait for TheHive before attempting to configure 2019-12-17 13:34:01 +00:00
Wes Lambert
56d354b256 update Cyberchef to serve static files vs self-hosted 2019-12-16 21:22:00 +00:00
Wes Lambert
d66eca1db4 add Bro extracted directory 2019-12-16 20:45:14 +00:00
Mike Reeves
f9fd237fa5 Merge pull request #149 from TOoSmOotH/master
1.1.3
2019-12-16 11:02:36 -05:00
Mike Reeves
8a615b1262 Update README.md 2019-12-16 09:48:39 -05:00
Mike Reeves
b53c3362f2 Update README.md 2019-12-16 09:31:52 -05:00
Mike Reeves
dc09f14379 Helix - Fix heap size 2019-12-13 14:29:54 -05:00
Mike Reeves
e49de63460 Helix - Final Parser Fixes 2019-12-13 13:59:29 -05:00
Mike Reeves
684ab737bf Helix - Fix Helix Setup 2019-12-13 12:11:41 -05:00
Mike Reeves
80acab7bec Helix - Fix Helix Setup 2019-12-13 12:00:51 -05:00
Mike Reeves
13e9bf91f9 Helix - Fix Helix Setup 2019-12-13 11:58:18 -05:00
Mike Reeves
fdbb223155 Helix - Add geo 2019-12-13 11:52:43 -05:00
Mike Reeves
e263d72813 Setup - Add sensor pillar to Helix 2019-12-13 11:46:30 -05:00
Mike Reeves
b61d022254 Setup - Add sensor pillar to Helix 2019-12-13 10:56:55 -05:00
Mike Reeves
30023ae725 Setup - Add sensor pillar to Helix 2019-12-13 10:06:49 -05:00
Mike Reeves
4c89cb50bb Setup - update Helix Script 2019-12-12 23:12:08 -05:00
Mike Reeves
222ea74bbb Setup - Fix paths so checksum will disable for real 2019-12-12 22:51:09 -05:00
Mike Reeves
6095f0ed9d Setup - Fix paths so checksum will disable 2019-12-12 22:11:08 -05:00
Mike Reeves
9b1f5abc22 Setup - Fix HOSTNAME race condition 2019-12-12 21:12:20 -05:00
Mike Reeves
3b4e371505 Setup - Remove rsync 2019-12-12 21:10:41 -05:00
Mike Reeves
d8d94b7dc5 Helix - Add API Key Option 2019-12-12 20:46:30 -05:00
Mike Reeves
897cf57042 Setup - Fix Hostname Race Condition 2019-12-12 20:00:35 -05:00
Mike Reeves
b04da4562c Merge pull request #163 from m0duspwnens/master
reverting for Security-Onion-Solutions#111
2019-12-12 16:54:36 -05:00
Mike Reeves
ed6ca5a3a9 Setup - copy from the onion home dir vs root 2019-12-12 16:45:19 -05:00
m0duspwnens
349d8f4bd7 reverting for https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/111 2019-12-12 16:40:24 -05:00
m0duspwnens
cc7de9aee2 reverting for https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/111 2019-12-12 16:36:22 -05:00
Mike Reeves
3ec6429631 Setup - setterm so iso doesn't blank out 2019-12-12 16:29:41 -05:00
m0duspwnens
481d52a5a8 reverting for https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/111 2019-12-12 16:21:57 -05:00
Mike Reeves
1d5a4a564b Setup - Remove extra socore add 2019-12-12 16:15:49 -05:00
Mike Reeves
cab0fb369f Copying Helps with -R 2019-12-12 15:44:13 -05:00
Mike Reeves
79d48f9e77 Logstash - Fix helix output typeo 2019-12-12 15:17:19 -05:00
Mike Reeves
70acb23976 Merge pull request #161 from weslambert/tcpreplay
add initial tcpreplay state
2019-12-12 15:10:51 -05:00
Mike Reeves
79966e0424 Merge pull request #162 from m0duspwnens/master
remove pip3 installing m2crypto from functions
2019-12-12 15:10:26 -05:00
Mike Reeves
bd9b1957ba Logstash - Fix helix output 2019-12-12 14:12:51 -05:00
Mike Reeves
b8ea1f041a Setup - add admin user iso 2019-12-12 13:08:07 -05:00
m0duspwnens
af61469bad Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2019-12-12 11:02:25 -05:00
m0duspwnens
1deb520a56 remove pip3 installing m2crypto 2019-12-12 11:02:18 -05:00
Mike Reeves
6eab27f1de Setup - fix iso hostname 2019-12-12 09:19:05 -05:00
Mike Reeves
e4c8786e36 Setup - fix missing whiptail for iso 2019-12-12 09:07:32 -05:00
Mike Reeves
549358c0ea Setup - add dhcp or static for iso install 2019-12-11 17:08:23 -05:00
Wes Lambert
c47d163a32 add initial tcpreplay state 2019-12-11 19:39:03 +00:00
Mike Reeves
dd74c224df Setup - get rid of setting pw in eval 2019-12-11 13:49:31 -05:00
Mike Reeves
989641eb5a Setup - Fix prompts and disable onion user if iso 2019-12-11 13:44:40 -05:00
Mike Reeves
e52f469915 Setup - Fix rules lingo 2019-12-10 20:55:03 -05:00
Mike Reeves
73363cb2a3 Merge pull request #160 from m0duspwnens/master
change whiptail rules text
2019-12-10 20:52:40 -05:00
m0duspwnens
858bb486d8 change whiptail rules text 2019-12-10 20:51:44 -05:00
Mike Reeves
f7af0f0831 Merge pull request #159 from m0duspwnens/master
whiptail changes for rule setup
2019-12-10 20:40:09 -05:00
Mike Reeves
5cf527fd6e Helix - Remove rules 2019-12-10 17:41:32 -05:00
m0duspwnens
f0b2d45268 whiptail changes for rule setup 2019-12-10 17:27:29 -05:00
Mike Reeves
96bf8f66ff SSL - Fix helix mode ssl certs 2019-12-10 17:04:18 -05:00
Mike Reeves
72b481855f Setup - add jq and fix eval calculation of failure 2019-12-10 16:50:23 -05:00
Mike Reeves
0c637b2fff Helix - Fix Group Error 2019-12-10 16:27:29 -05:00
Mike Reeves
c83decc0a0 Helix - add firewall for mode helix 2019-12-10 14:44:10 -05:00
Mike Reeves
ae6fa3f4a4 Helix - add brologs pillar 2019-12-10 14:24:25 -05:00
Mike Reeves
7386d800ae Helix - add filebeat config for helix 2019-12-10 14:06:20 -05:00
Mike Reeves
e134071295 Helix - Change Parsers for Helix 2019-12-10 13:50:27 -05:00
Mike Reeves
c46c539277 Helix - fix suricata.yml 2019-12-10 11:24:56 -05:00
Mike Reeves
e350ee71bb Helix - Add sensor pillar 2019-12-10 11:03:46 -05:00
Mike Reeves
fe042ed2bb Filebeat State - Fix watch statement to only change on yml 2019-12-10 10:59:35 -05:00
Mike Reeves
ce517dfebc Helix Mode - Fix SSL so Filebeat works properly 2019-12-10 10:40:28 -05:00
Mike Reeves
115a0ec229 Helix Mode - Add bond 2019-12-10 10:18:16 -05:00
Mike Reeves
ae3c428941 Helix Logstash Changes 2019-12-10 10:02:41 -05:00
Mike Reeves
54fd5254c0 Merge pull request #158 from m0duspwnens/master
changes for FireEye Helix integration
2019-12-09 17:22:34 -05:00
m0duspwnens
69172b05b5 fix vi typo from last commit 2019-12-09 17:21:03 -05:00
m0duspwnens
4874e540da changes for FireEye Helix integration 2019-12-09 17:18:12 -05:00
Mike Reeves
4c4cdb7189 Helix changes and Wazuh 2019-12-09 16:27:03 -05:00
Mike Reeves
8342dc1447 Helix node type 2019-12-09 12:49:46 -05:00
Mike Reeves
f61cb3b890 top.sls troubleshooting 2019-12-09 12:37:27 -05:00
Mike Reeves
768784ccaa top.sls troubleshooting 2019-12-09 12:33:13 -05:00
Mike Reeves
a3d88fd4a4 top.sls troubleshooting 2019-12-09 12:26:21 -05:00
Mike Reeves
c58c1a494a top.sls troubleshooting 2019-12-09 12:21:17 -05:00
Mike Reeves
f1abab560c Fix pillar dir 2019-12-09 11:55:53 -05:00
Mike Reeves
5c9dddf90a Helix Role Additions 2019-12-09 11:47:56 -05:00
Mike Reeves
cdb3877077 Install Master is HelixSensor 2019-12-09 11:15:54 -05:00
Mike Reeves
5a52623e71 Add Master Updates Variable to HELIXSENSOR role 2019-12-09 11:04:20 -05:00
Mike Reeves
087b6eabab Fix py3 issue for the yum repo 2019-12-09 11:00:22 -05:00
Mike Reeves
e5ef8de1a8 Fix variable nbame for iso install 2019-12-09 10:54:20 -05:00
Mike Reeves
365d4a975c Merge pull request #157 from m0duspwnens/master
add fireeye pillar dir during setup
2019-12-09 10:52:51 -05:00
m0duspwnens
f382a9cc8b Merge branch 'master' of https://github.com/m0duspwnens/securityonion-saltstack 2019-12-09 10:50:58 -05:00
m0duspwnens
88ef3d05c1 add fireeye pillar dir during setup 2019-12-09 10:50:29 -05:00
Mike Reeves
1c8553d4cd Fix Spelling 2019-12-09 10:40:57 -05:00
Mike Reeves
21843089c4 Fix Setup Syntax 2019-12-09 10:37:53 -05:00
Mike Reeves
fe8a70f661 Fix Setup Syntax 2019-12-09 10:32:45 -05:00
Mike Reeves
bb6e736e79 Fix Setup Syntax 2019-12-09 10:31:11 -05:00
Mike Reeves
ecd231ec58 Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2019-12-09 10:26:34 -05:00
Mike Reeves
0bb5922372 Fix Setup Syntax 2019-12-09 10:26:25 -05:00
Mike Reeves
9207e336d9 Merge pull request #156 from m0duspwnens/master
logstash helix
2019-12-09 10:24:32 -05:00
Mike Reeves
f9f27c30e2 Merge branch 'master' into master 2019-12-09 10:24:24 -05:00
m0duspwnens
a4b59ee8bf logstash helix 2019-12-09 10:22:35 -05:00
Mike Reeves
3904c19333 Change Variables to UperCase 2019-12-09 10:04:14 -05:00
Mike Reeves
7cd0b48c4d Merge pull request #155 from m0duspwnens/master
adding api key for Helix
2019-12-09 10:01:27 -05:00
m0duspwnens
599341483e adding api key for Helix 2019-12-09 09:59:28 -05:00
Mike Reeves
362cd0487f Additional Helix Support 2019-12-09 09:52:52 -05:00
Mike Reeves
897e009231 Salt Top file for helix sensor 2019-12-08 19:21:16 -05:00
Mike Reeves
22389d99ef Add Helix Install Option to Setup 2019-12-08 19:17:33 -05:00
Mike Reeves
7ae30414c9 Merge pull request #154 from m0duspwnens/master
whiptail size adjustments. fix menus that couldn't be cancelled out of. add path for source so setup can be called from anywhere
2019-12-08 19:03:36 -05:00
m0duspwnens
2d7ff4e0fd whiptail size adjustments. fix menus that couldn't be cancelled out of. add path for source so setup can be called from anywhere 2019-12-06 15:29:07 -05:00
Mike Reeves
d454216a4b Merge pull request #151 from m0duspwnens/master
update OS patch restart needed MOTD
2019-12-06 15:03:07 -05:00
Mike Reeves
100bcdd81d Merge pull request #152 from weslambert/master
Initial support for pre-loading custom fields in TheHive
2019-12-06 15:02:31 -05:00
Mike Reeves
880f57c424 Merge pull request #153 from defensivedepth/master
Playbook - scripts
2019-12-06 15:02:17 -05:00
Josh Brower
d27de7c8be Update init.sls 2019-12-05 16:54:33 -05:00
Josh Brower
65ddac4535 Playbook - add cron job for so-playbook-sync 2019-12-05 16:50:58 -05:00
Josh Brower
7721e913ec Create so-playbook-ruleupdate 2019-12-05 16:36:29 -05:00
Josh Brower
84485b7f79 Create so-playbook-sync 2019-12-05 16:34:30 -05:00
Mike Reeves
91f67cb62f Misc Script - Redis Count 2019-12-05 15:09:45 -05:00
Wes Lambert
65a5a2e64a pre-load custom reputation field 2019-12-05 17:41:19 +00:00
m0duspwnens
6040633a8c update OS patch restart needed MOTD 2019-12-05 12:38:46 -05:00
Mike Reeves
9413ec97dc New Setup Script - Add ISO support 2019-12-05 12:04:22 -05:00
Mike Reeves
a4ff015c04 Merge pull request #150 from m0duspwnens/master
revert Ubuntu to Salt py2.7
2019-12-05 10:47:32 -05:00
m0duspwnens
fb0fc1120b revert Ubuntu to Salt py2.7 2019-12-05 10:41:21 -05:00
Mike Reeves
5c817cfa6d Merge pull request #149 from weslambert/master
add auto_analyze_alerts option
2019-12-05 09:47:38 -05:00
Wes Lambert
b58b3afa35 add auto_analyze_alerts option 2019-12-05 03:22:10 +00:00
Mike Reeves
6a48445a90 Merge pull request #148 from weslambert/master
Add SOCtopus webhook for TheHive
2019-12-04 14:11:52 -05:00
Wes Lambert
79e1ac5336 add webhook 2019-12-04 18:39:58 +00:00
Mike Reeves
eae714c90e Merge pull request #147 from weslambert/master
Update SOCtopus config for Cortex details and supported analyzers
2019-12-04 09:34:49 -05:00
Wes Lambert
5eb0a4f19c update SOCtopus conf 2019-12-04 03:12:02 +00:00
Mike Reeves
649c706926 New Setup Script - Fix order so setup check works 2019-12-03 17:16:34 -05:00
Mike Reeves
3cf547c50c New Setup Script - Fix path for copy of offload script 2019-12-03 17:07:38 -05:00
Mike Reeves
1cc2365cf1 New Setup Script - Fix Path 2019-12-03 16:17:47 -05:00
Mike Reeves
67e7fa19c2 New Setup Script Layout 2019-12-03 16:05:35 -05:00
Mike Reeves
8ca168a73d Merge pull request #146 from m0duspwnens/master
unbutu py3 salt install changes
2019-12-03 10:41:13 -05:00
m0duspwnens
e57715a5ec unbutu py3 salt install changes 2019-12-03 10:39:48 -05:00
Mike Reeves
130eceab14 Setup Changes 2019-12-02 11:16:24 -05:00
Mike Reeves
ffaadcf1ca Merge pull request #145 from defensivedepth/fleetfixes
Fleet - Fix path issues
2019-11-26 11:43:45 -05:00
Mike Reeves
bfb1dd2704 Merge pull request #142 from rwwiv/master
Network setup fixes
2019-11-26 11:38:26 -05:00
William Wernert
d5a2c23ed5 Fix merge conflicts 2019-11-26 10:50:32 -05:00
Josh Brower
f36d7b6926 Update so-fleet-setup.sh 2019-11-26 10:28:48 -05:00
Mike Reeves
aafa99ec4e Merge pull request #143 from defensivedepth/playbook-alert-tweaks
Playbook - thehive alert name change
2019-11-26 09:58:39 -05:00
Mike Reeves
d9f21ebcb8 Merge pull request #144 from m0duspwnens/master
patch motd changes and py3 salt ubuntu
2019-11-26 09:58:23 -05:00
m0duspwnens
c0d342c46e changes for py3 salt on ubuntu 2019-11-26 09:54:27 -05:00
Josh Brower
185dd7983c Update so-fleet-setup.sh 2019-11-26 08:28:06 -05:00
Josh Brower
3ac4aa255e Merge remote-tracking branch 'upstream/master' into fleet-fixes 2019-11-26 07:01:08 -05:00
Josh Brower
ed9c52925a Playbook - thehive alert tweak 2019-11-23 14:09:41 -05:00
William Wernert
05a9d3e0da Network setup fixes 2019-11-22 16:37:13 -05:00
Mike Reeves
c547e6be47 Merge pull request #141 from defensivedepth/playbook-tweaks
Playbook - db updated
2019-11-21 16:58:21 -05:00
Josh Brower
d16f5c5398 redmine db updated for new custom field - Case Analyzers 2019-11-21 16:10:22 -05:00
Mike Reeves
c0aa48ad89 Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2019-11-20 10:36:44 -05:00
Mike Reeves
21a29d7274 Initial Setup overhaul testing 2019-11-20 10:36:32 -05:00
m0duspwnens
312946bf58 Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2019-11-19 15:35:00 -05:00
m0duspwnens
6153c25c37 update mine via mine_interval now vs applying a state 2019-11-19 15:34:27 -05:00
Mike Reeves
5140a17fe3 Merge pull request #140 from defensivedepth/logstash-fix
Fix dup events
2019-11-19 15:25:46 -05:00
Josh Brower
7373473b3f Fix dup events 2019-11-19 15:02:35 -05:00
Mike Reeves
0151955bdd Merge pull request #139 from weslambert/master
Cortex org changes
2019-11-19 14:55:36 -05:00
Mike Reeves
6e2eb99056 Merge pull request #138 from m0duspwnens/master
Fixed bugs with motd update from OS patch updates
2019-11-19 14:55:21 -05:00
Mike Reeves
cc98e45f73 Move and simplify dependencies for Centos 2019-11-19 14:52:29 -05:00
Josh Brower
118f4e34f2 Update nginx.conf.so-eval 2019-11-19 14:33:51 -05:00
Josh Brower
e895d8509b append /fleet to osquery client config 2019-11-19 14:06:12 -05:00
Wes Lambert
76cdc02305 user Cortex org user instead 2019-11-19 16:28:42 +00:00
Wes Lambert
b7ad65a837 add Cortex org user 2019-11-19 16:28:05 +00:00
Wes Lambert
34460a6b07 add Cortex org user to setup 2019-11-19 16:25:10 +00:00
m0duspwnens
09bf22c97a fix issues with updating motd if nodes needs restarted due to OS patch updates 2019-11-19 10:06:52 -05:00
m0duspwnens
767115c218 fix typo in salt top file 2019-11-18 16:27:14 -05:00
m0duspwnens
bec95f3aef apply patch.needs_restarting state to all nodes 2019-11-18 16:25:06 -05:00
m0duspwnens
726251cd94 changes to patch motd so nodes can be removed after they restarted - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/112 2019-11-18 16:02:48 -05:00
m0duspwnens
d7a1b035bd Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2019-11-18 15:34:13 -05:00
m0duspwnens
cc5565d5bc fix needs_restarting module 2019-11-18 15:33:21 -05:00
Mike Reeves
525b0e2a90 Change install time for python36-docker 2019-11-18 14:16:13 -05:00
Mike Reeves
05ef3d54e5 Change install time for python36-docker 2019-11-18 13:39:06 -05:00
Mike Reeves
f05fcc271f Trying using packages vs pip for centos 2019-11-18 12:45:12 -05:00
Mike Reeves
188d0dd096 Merge pull request #137 from m0duspwnens/master
move pip3 install after firewall setup
2019-11-18 11:14:32 -05:00
m0duspwnens
81e825b954 move pip3 install after firewall setup 2019-11-18 11:12:05 -05:00
Mike Reeves
04da7ce19b Merge pull request #136 from m0duspwnens/master
fix repo for distributed salt install
2019-11-18 09:41:54 -05:00
m0duspwnens
8da092e497 fix repo for distributed salt install - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/116 2019-11-18 09:40:08 -05:00
Mike Reeves
cbc635da76 Merge pull request #135 from m0duspwnens/master
os patch motd changes, install pip3 for Centos install
2019-11-18 09:30:16 -05:00
m0duspwnens
6bcadded14 change scp of pillar files, install pip3 for centos 2019-11-15 18:16:27 -05:00
m0duspwnens
95a3919df4 make socore own /opt/so/saltstack recursively - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/113 2019-11-15 16:08:50 -05:00
m0duspwnens
f40f00255f adding install_pip3 for sensor and node types 2019-11-15 16:02:21 -05:00
m0duspwnens
f9b1fc8b1f bug fix for remote distribution so setup - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/114 2019-11-15 15:48:21 -05:00
m0duspwnens
8261b6fc63 move cmd assignment - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/112 2019-11-15 14:02:06 -05:00
m0duspwnens
ff4077a46f update all nodes motd with nodes that need restarted from patch updates - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/112 2019-11-15 13:58:32 -05:00
Mike Reeves
f8fed24aa5 Version Updates 2019-11-14 13:14:33 -05:00
Mike Reeves
dcabe04992 Merge pull request #134 from defensivedepth/fleetupdate
Fleet - New Docker env var for path prefix
2019-11-14 11:10:43 -05:00
Mike Reeves
2fb0a2fce1 Merge pull request #133 from m0duspwnens/master
install py3 libraries for 2019.2.2 Salt on Ubuntu
2019-11-13 16:24:18 -05:00
m0duspwnens
b2b75acedb install py3 libraries for 2019.2.2 Salt on Ubuntu - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/105 2019-11-13 16:19:33 -05:00
Mike Reeves
8cdcfd0a51 Merge pull request #132 from defensivedepth/playbook-tweaks
Playbook - Bulk import
2019-11-13 14:29:14 -05:00
Josh Brower
0007af1e12 Updated for bulk import 2019-11-13 14:27:24 -05:00
Josh Brower
7259a5346b Update osquery.template 2019-11-13 13:49:34 -05:00
Josh Brower
3fc43fa2da Update osquery.template 2019-11-13 09:52:07 -05:00
Josh Brower
977f39cea7 Update generic.template 2019-11-13 09:47:04 -05:00
Mike Reeves
3f1b0bd916 Merge pull request #131 from m0duspwnens/master
target install directory for mysql, docker and dateutil libraries for Salt
2019-11-13 09:04:39 -05:00
Mike Reeves
ca87fd2ec0 Merge pull request #130 from weslambert/fix_cyberchef
fix require
2019-11-12 22:43:12 -05:00
Wes Lambert
55db27c898 fix require 2019-11-13 02:21:36 +00:00
Mike Reeves
96f835a929 Merge pull request #129 from weslambert/add_cyberchef
Add Cyberchef
2019-11-12 19:29:08 -05:00
m0duspwnens
b15886b26a remove --user add trailing / for pip3 target install 2019-11-12 17:51:59 -05:00
Wes Lambert
1feddb7922 add Cyberchef dir 2019-11-12 22:50:46 +00:00
Wes Lambert
e364638a62 add Cyberchef 2019-11-12 22:50:00 +00:00
Mike Reeves
b2113403dc Merge pull request #128 from weslambert/master
only configure Telegraf if Grafana enabled
2019-11-12 17:35:21 -05:00
m0duspwnens
5fc08a39b4 change target directory of pip3 installs 2019-11-12 16:54:32 -05:00
Wes Lambert
2e82d06f27 only configure Telegraf if Grafana enabled 2019-11-12 21:10:31 +00:00
m0duspwnens
d809718d9e add --user to pip3 install 2019-11-12 16:03:26 -05:00
m0duspwnens
3f02fed277 change PYTHONPATH assignment - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/105 2019-11-12 15:16:28 -05:00
Mike Reeves
1c85f91558 Merge pull request #127 from m0duspwnens/master
add py3 python-dateutil for salt
2019-11-12 11:59:00 -05:00
m0duspwnens
dc54860e96 add py3 python-dateutil for salt 2019-11-12 11:10:07 -05:00
Mike Reeves
94bed1947a Merge pull request #126 from m0duspwnens/master
add mysql python library and dependencies for py3 salt centos7
2019-11-12 09:45:50 -05:00
m0duspwnens
6a3eac3288 add mysql python library and dependencies for py3 salt centos7 - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/105 2019-11-12 09:33:42 -05:00
Mike Reeves
e495f85b19 Merge pull request #125 from m0duspwnens/master
Upgrade Salt to 2019.2.2 and fix module.run deprecation warnings
2019-11-11 13:48:28 -05:00
m0duspwnens
f1d7dff565 set PYTHONPATH env var differently - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/105 2019-11-11 12:08:37 -05:00
m0duspwnens
67108ccc77 iteritems deprecated for items in py3 - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/105 2019-11-11 11:09:32 -05:00
m0duspwnens
bd26db1f23 install docker python3 library and set env var PYTHONPATH - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/105 2019-11-11 10:50:35 -05:00
m0duspwnens
3ba2ae9a23 Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2019-11-11 09:49:52 -05:00
m0duspwnens
aac9ab8e83 install the py3 version of salt 2019.2.2 - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/105 2019-11-11 08:49:59 -05:00
m0duspwnens
f58031f4e3 enable the new module.run behavior on the minion config - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/106 2019-11-07 17:35:19 -05:00
m0duspwnens
939ab918b4 update states using module.run - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/106 2019-11-07 17:31:06 -05:00
m0duspwnens
0ff5541801 upgrade salt to 2019.2.2 - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/105 2019-11-07 17:27:38 -05:00
Mike Reeves
59cdf05fad Merge pull request #124 from defensivedepth/soctopus-logging
Soctopus logging
2019-11-07 15:57:19 -05:00
Josh Brower
c0cb281d27 Move logging outside container 2019-11-07 15:41:40 -05:00
Josh Brower
cf0164a55b SOCtopus - move logging outside container 2019-11-07 15:40:54 -05:00
Josh Brower
d99b865527 Do not disable a rule when an uncaught exception is thrown 2019-11-07 13:27:38 -05:00
Mike Reeves
ebaada86b1 Merge pull request #122 from weslambert/master
change intial user role to superadmin
2019-11-07 13:15:54 -05:00
Mike Reeves
5a17b92a97 Merge pull request #123 from m0duspwnens/master
Changes to address Issue 101 and Issue 84
2019-11-07 13:15:41 -05:00
Josh Brower
7d29787512 Update nids2hive.yaml 2019-11-07 11:44:08 -05:00
m0duspwnens
c640a0bf9b ensure inherit patch schedule name isn't blank, allow cancel from inherit screen - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/84 2019-11-07 11:22:42 -05:00
m0duspwnens
d849c33b9c ensure the os patch schedule name is set - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/84 2019-11-07 10:57:35 -05:00
m0duspwnens
43915488e2 prevent hostname from being localhost in setup script - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/101 2019-11-07 10:50:27 -05:00
m0duspwnens
98cd96eedd change auto schedule to every 8 hours and update wording of whiptail auto patch selection - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/84 2019-11-07 10:18:40 -05:00
m0duspwnens
9914e55ec3 rework of os patch scheduling, added the abilty to enable/disable and adjust splay - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/84 2019-11-07 09:49:36 -05:00
Wes Lambert
e323a44827 change intial user role to superadmin 2019-11-07 14:37:18 +00:00
Mike Reeves
f3c204c790 Disable Beats input - Update sensoroni version 2019-11-06 13:37:42 -05:00
m0duspwnens
fa87308bac change splay for scheduled pkg update - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/84 2019-11-06 07:47:00 -05:00
m0duspwnens
9c83cceba1 put quotes around hours to interpret properly for 24h - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/84 2019-11-05 18:02:17 -05:00
m0duspwnens
c96678f5a0 clean up variable name - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/84 2019-11-05 17:34:36 -05:00
m0duspwnens
51211aa5a8 Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2019-11-05 17:26:59 -05:00
m0duspwnens
e6421f45fb add state to add os patch schedule and state to apply patches - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/84 2019-11-05 17:22:27 -05:00
m0duspwnens
21494ab1ff install package python-dateutil during setup to help with job scheduling - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/84 2019-11-05 16:01:55 -05:00
Mike Reeves
f608cba442 Sensoroni State - Fix log location 2019-11-05 15:46:14 -05:00
m0duspwnens
5e5d0d616c copy_minion_pillar replaced with copy_minion_pillar to simplify pillar copying, os patch pillar written - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/84 2019-11-05 14:22:37 -05:00
m0duspwnens
f7df14b48f add os patch scheduling options to the network install script - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/84 2019-11-05 08:58:51 -05:00
Mike Reeves
ec2275f707 Setup Script - Issue 91 2019-11-04 12:12:56 -05:00
Mike Reeves
612783d77f Setup Script - Issue 91 2019-11-04 12:03:44 -05:00
Mike Reeves
ab306dd454 Setup Script - Issue 91 2019-11-04 11:56:43 -05:00
Mike Reeves
bdb0efa153 Setup Script - Issue 91 2019-11-04 11:50:39 -05:00
Mike Reeves
d658473485 Hive State - Fix cortex docker name 2019-11-04 11:31:27 -05:00
Mike Reeves
47be406075 Setup Script - Issue 91 2019-11-04 09:47:45 -05:00
Mike Reeves
48f4637a70 Merge pull request #121 from m0duspwnens/master
update pillar/top.sls to match on id instead of host grain
2019-11-04 09:38:04 -05:00
m0duspwnens
f85dc49789 update pillar/top.sls to match on id instead of host grain - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/96 2019-11-04 09:34:04 -05:00
Josh Brower
5a7e68206e Update init.sls 2019-11-03 05:57:22 -05:00
Mike Reeves
8e6771e2c4 Merge pull request #120 from defensivedepth/cortex-initial
Cortex - initial commit
2019-11-02 23:50:08 -04:00
Josh Brower
4f66474da1 Fix docker location 2019-11-02 12:15:49 -04:00
Josh Brower
b6c77ba695 Cortex - initial commit 2019-11-01 18:39:51 -04:00
Mike Reeves
260391b28b Merge pull request #119 from m0duspwnens/master
change the mine target to master's minion id instead of it's hostname
2019-10-31 11:17:43 -04:00
Mike Reeves
aef56d243d Merge pull request #117 from weslambert/master
pin Wazuh agent version
2019-10-31 11:13:14 -04:00
Mike Reeves
fdee590c82 Merge pull request #118 from defensivedepth/nids2hive-tweak
Adds NIDS SID to Hive Alert as a Tag
2019-10-31 11:13:03 -04:00
Josh Brower
0b0d8e21ed Adds NIDS SID to Hive Alert as a Tag 2019-10-31 11:08:52 -04:00
Wes Lambert
74428f33eb pin Wazuh agent version 2019-10-31 14:55:14 +00:00
m0duspwnens
c1e3615d9e change the mine target to master's minion id instead of it's hostname - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/96 2019-10-31 10:49:11 -04:00
Mike Reeves
054be1db11 Merge pull request #116 from m0duspwnens/master
changes for issues #92 and #96
2019-10-30 12:41:19 -04:00
m0duspwnens
974efbaf21 fix ca signing policies for changes related to https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/96 2019-10-30 12:37:44 -04:00
m0duspwnens
07d2ae013d changes to address - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/96 and https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/92 2019-10-29 11:24:17 -04:00
Mike Reeves
9d9b3c18f3 Merge pull request #115 from defensivedepth/logstash-tweaks
Logstash tweaks
2019-10-28 10:38:51 -04:00
Josh Brower
94e15ed502 Tweaked for sigmac backend change 2019-10-27 14:36:52 -04:00
m0duspwnens
0d33ce2741 QOL change, populate hostname instead of localhost in set hostname dialog box - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/92 2019-10-25 11:49:17 -04:00
Josh Brower
4dbc5f07b2 Enable 0006_input_beats.conf by default on EVAL 2019-10-25 10:19:05 -04:00
Mike Reeves
783a9cd102 Elastic Search State - Fix ingest to work with storage nodes 2019-10-25 09:51:04 -04:00
Mike Reeves
20c4f15bbb Elastic Search State - Fix ingest to work with storage nodes 2019-10-24 18:51:32 -04:00
Mike Reeves
c064121f49 Elastic Search State - Fix ingest to work with storage nodes 2019-10-24 18:47:21 -04:00
Mike Reeves
f6a8b192df Elastic Search State - Fix ingest to work with storage nodes 2019-10-24 18:45:33 -04:00
Josh Brower
504dd6559d Default ssl to false 2019-10-24 16:44:33 -04:00
Mike Reeves
0f5c0373c5 SSL Issue 79 - Remove extensions from filebeat cert 2019-10-23 15:27:31 -04:00
Mike Reeves
3ecb6a7c3f SSL Issue 79 - Add extended type to all certs 2019-10-21 17:55:06 -04:00
Mike Reeves
06261b0b9a SSL Issue 79 - Add extended type to all certs 2019-10-21 17:54:09 -04:00
Mike Reeves
792cc7d4c4 SSL Issue 79 - Reduce valid time 2019-10-21 17:04:18 -04:00
Mike Reeves
776cc89520 Filebeat Module - Issue 61 2019-10-16 11:22:54 -04:00
Mike Reeves
ca4cd782a1 Docker URL Fix - Issue #68 2019-10-16 10:39:18 -04:00
Mike Reeves
7f05b3747f Merge pull request #78 from TOoSmOotH/master
Readme Update
2019-10-11 09:28:59 -04:00
Mike Reeves
a4a2f7eeda Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2019-10-11 09:26:28 -04:00
Mike Reeves
564da2e581 Readme Update - Fix spelling error 2019-10-11 09:26:21 -04:00
Mike Reeves
ac9500c011 Merge pull request #113 from dlee35/master
beats template parity w/16.04.6.2 & rm fleet-launcher container fix
2019-10-11 08:56:36 -04:00
Mike Reeves
9a7b6c0672 Merge pull request #77 from TOoSmOotH/master
Update README.md
2019-10-11 08:55:53 -04:00
Dustin Lee
96ec2863dc fleet-launcher: rm container after run 2019-10-11 08:37:09 -04:00
Dustin Lee
699371a4d7 logstash: add beats template used in latest SO 2019-10-11 08:36:44 -04:00
Mike Reeves
8968f533f6 Update README.md 2019-10-09 20:51:25 -04:00
Mike Reeves
c6f3a1bdd1 Merge pull request #74 from TOoSmOotH/master
1.1.2
2019-10-09 14:53:07 -04:00
Mike Reeves
e999a27d3e 1.1.2 2019-10-09 14:15:05 -04:00
Mike Reeves
3f124c8728 Merge remote-tracking branch 'upstream/master' 2019-10-09 14:02:59 -04:00
Mike Reeves
32d1641b6e Firewall Module - Fix some docker iptables issues 2019-10-09 13:33:07 -04:00
Mike Reeves
7cceb9ea9e Update README.md 2019-10-09 09:31:59 -04:00
Mike Reeves
590268550a Merge pull request #112 from dlee35/master
add playbook as installation option
2019-10-08 16:08:26 -04:00
Dustin Lee
1b532cd670 add playbook as installation option 2019-10-08 15:43:48 -04:00
Mike Reeves
6f2dec3885 Merge pull request #70 from TOoSmOotH/master
Alpha 1.1.1
2019-10-04 16:47:30 -04:00
Doug Burks
16ff276bf1 Update README.md 2019-10-03 09:05:45 -04:00
Josh Brower
308041fad6 SOCtopus - Edit osquery playbook template
Fixes bug for when there is no [osquery][columns][address] field
2019-10-01 17:59:35 -04:00
Mike Reeves
176677add4 Common Module - Upgrade core version 2019-09-30 13:57:07 -04:00
Doug Burks
d10666ad97 Update so-setup-network.sh 2019-09-30 07:39:47 -04:00
Doug Burks
a2e07a7638 Update README.md 2019-09-30 07:21:12 -04:00
Doug Burks
d025724336 Update README.md 2019-09-30 07:17:42 -04:00
Mike Reeves
5b0a02befd Readme - Add git install 2019-09-30 07:15:32 -04:00
Mike Reeves
7d62c8ece5 Readme - Add git install 2019-09-30 07:14:40 -04:00
Mike Reeves
244934b12d Readme - Remove prereq section 2019-09-30 07:09:31 -04:00
Mike Reeves
feabee0eaf Readme - Add more detail around ES Hive 2019-09-30 07:06:53 -04:00
Mike Reeves
67509aad7c Readme - Add some things I missed 2019-09-30 06:56:17 -04:00
Mike Reeves
f12401e436 Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2019-09-30 06:52:22 -04:00
Mike Reeves
d4bd077f6b Merge remote-tracking branch 'upstream/master' 2019-09-30 06:50:57 -04:00
Josh Brower
6486dbc0d8 Kibana - New docker HH1.1.1 2019-09-27 16:29:32 -04:00
Josh Brower
08c3eb79e3 Merge pull request #109 from defensivedepth/playbook
Playbook - Move db outside of container & setup webhook
2019-09-27 15:23:21 -04:00
Josh Brower
93c73b50ce Playbook - Move db outside of container 2019-09-27 15:21:02 -04:00
weslambert
ca8c4a6b93 Update README.md 2019-09-27 14:56:35 -04:00
Mike Reeves
76b5624e03 Update README.md 2019-09-27 14:34:59 -04:00
Mike Reeves
38df11826d Setup Script - Reboot at the end v3 2019-09-27 12:00:17 -04:00
Mike Reeves
d188fd5f73 Setup Script - Reboot at the end v3 2019-09-27 11:59:50 -04:00
Mike Reeves
c2109ac037 Setup Script - Reboot at the end v2 2019-09-27 11:30:55 -04:00
Mike Reeves
a833025a73 Setup Script - Reboot at the end 2019-09-27 10:53:50 -04:00
Mike Reeves
657ddc42a8 Playbook - Add flag for runtime 2019-09-27 10:40:28 -04:00
Josh Brower
4352b1ebf6 Updated Kibana NIDS SID Drilldown dashboard 2019-09-26 11:11:18 -04:00
Mike Reeves
1dd59e92e4 Common Module - Fix nginx for websockets 2019-09-25 16:58:15 -04:00
Mike Reeves
063f9012d1 PCAP Module - Fix sensoroni logging 2019-09-25 16:21:02 -04:00
Josh Brower
563378e2a4 Merge pull request #108 from defensivedepth/playbook
Playbook & SOCtopus init edits
2019-09-25 15:28:58 -04:00
Josh Brower
d9713cc14a Playbook & SOCtopus init edits 2019-09-25 15:18:18 -04:00
Mike Reeves
81091fb686 Merge pull request #107 from dougburks/master
Set freq and domainstats to 0 in so-setup-network.sh
2019-09-25 13:49:18 -04:00
Doug Burks
57f574ff1b Update so-setup-network.sh 2019-09-25 13:47:15 -04:00
Mike Reeves
d979be82fb Hive Module - New Version 2019-09-25 13:16:49 -04:00
Josh Brower
f69a5212ff Merge pull request #106 from defensivedepth/playbook
Playbook and Navigator - initial salt config
2019-09-25 13:07:44 -04:00
Josh Brower
909e35ec3b Playbook and Navigator - initial salt config 2019-09-25 13:04:53 -04:00
Mike Reeves
58073cd04f Hive Module - Fix ES 2019-09-25 11:43:30 -04:00
Mike Reeves
bb8a884cc5 Setup Script - Fix display message for eval hive 2019-09-25 11:01:03 -04:00
Mike Reeves
ae9624eb64 Setup Script - Add Hive Progress 2019-09-25 10:35:58 -04:00
Mike Reeves
db7920710b Hive Module - Temp remove init 2019-09-25 10:34:46 -04:00
Mike Reeves
ee5fa8d2db Setup Script - Remove undeeded password message 2019-09-25 09:59:15 -04:00
Josh Brower
089d80427a Fleet - New Docker env var for path prefix 2019-09-25 09:16:30 -04:00
Josh Brower
130705ff99 Merge pull request #105 from defensivedepth/viz
Playbook - initial commit
2019-09-25 07:59:20 -04:00
Josh Brower
bc788a3d35 Playbook - initial commit 2019-09-24 20:09:20 -04:00
weslambert
4dd414fb16 Merge pull request #104 from weslambert/master
update log path
2019-09-24 16:38:52 -04:00
Wes Lambert
5bd77a5177 update log path 2019-09-24 20:37:07 +00:00
Mike Reeves
331b66f8ed Merge pull request #103 from weslambert/master
update Filebeat log config
2019-09-24 16:06:21 -04:00
Wes Lambert
497edcbe45 update Filebeat log config 2019-09-24 19:38:06 +00:00
Mike Reeves
1fc4cca2ad Hive Module - update version 2019-09-24 15:23:12 -04:00
Mike Reeves
5ba4c703a4 Setup Script - Actually check the passwords 2019-09-24 14:25:03 -04:00
Mike Reeves
f92d618f82 Setup Script - Actually check the passwords 2019-09-24 14:22:28 -04:00
Mike Reeves
8f2e3e87ff Setup Script - Actually check the passwords 2019-09-24 14:18:54 -04:00
Mike Reeves
b0b76c1809 Filebeat - Roll back version 2019-09-24 14:15:00 -04:00
Mike Reeves
33c17ec175 Setup Script - More hostname stuff 2019-09-24 14:14:17 -04:00
Mike Reeves
637eb25d23 Setup Script - More hostname stuff 2019-09-24 14:07:49 -04:00
Mike Reeves
5e2cc08039 PCAP Module - Update steno image 2019-09-24 14:05:20 -04:00
Mike Reeves
d01acea307 Merge pull request #102 from dougburks/master
incoming bro_tunnel logs should go to bro_tunnels
2019-09-24 14:04:01 -04:00
doug
cb899943aa incoming bro_tunnel logs should go to bro_tunnels 2019-09-24 14:00:22 -04:00
Mike Reeves
8ccf3c9119 Merge pull request #101 from defensivedepth/nids
Update nids2hive.yaml
2019-09-24 12:43:09 -04:00
Mike Reeves
c869a156c3 Setup Script - New Changes for 1.1.1 2019-09-24 12:35:32 -04:00
Josh Brower
eb10914969 Update nids2hive.yaml 2019-09-24 12:32:59 -04:00
Mike Reeves
d65c900981 Setup Script - New Changes for 1.1.1 2019-09-24 12:32:08 -04:00
Mike Reeves
b1f582d218 Logstash Module - 1.1.1 2019-09-24 11:22:07 -04:00
Mike Reeves
e6ea6b4d73 Wazuh Module - Fix gid error 2019-09-24 11:07:38 -04:00
Mike Reeves
e080dcfe80 Filebeat Module - Update to 1.1.1 2019-09-24 11:03:48 -04:00
Mike Reeves
590827b08c Suricata Module - Suricata 4.1.5 2019-09-24 10:26:55 -04:00
Mike Reeves
6f547f5189 Merge pull request #100 from weslambert/elastalert
more updates to Elastalert config
2019-09-23 20:42:27 -04:00
Wes Lambert
2784542cdb update Elastalert config 2019-09-23 22:39:43 +00:00
Mike Reeves
b9d6961f3a Merge pull request #99 from dougburks/master
parse Bro logs using Elasticsearch ingest node
2019-09-23 16:17:19 -04:00
doug
8472b24a67 parse Bro logs using Elasticsearch ingest node 2019-09-23 16:04:23 -04:00
Mike Reeves
c685089b2b Merge pull request #98 from weslambert/elastalert
update config for Elastalert to use custom modules
2019-09-23 10:45:53 -04:00
Wes Lambert
965ee6f922 remove duplicate alerter 2019-09-23 14:43:54 +00:00
Wes Lambert
5419bd6f08 update config for Elastalert 2019-09-23 14:43:14 +00:00
Mike Reeves
6d14a94765 Logstash Module - Fix watch 2019-09-20 16:31:23 -04:00
Mike Reeves
50c074bb4e Logstash Module - Add more watches 2019-09-19 15:46:46 -04:00
Mike Reeves
06cc8e7236 OSSEC Module - Fix User Creation 2019-09-19 13:44:28 -04:00
Mike Reeves
b68391acd0 cmd.script - Fix location 2019-09-19 10:22:10 -04:00
Mike Reeves
9421e4d8e2 Merge pull request #97 from defensivedepth/nids
Add rule_signature mapping
2019-09-19 08:56:05 -04:00
Mike Reeves
a9113a99a6 cmd.script cleanup 2019-09-19 08:52:44 -04:00
Josh Brower
9a4eadc967 Add rule_signature mapping 2019-09-19 08:30:33 -04:00
Mike Reeves
d7d3dc9977 Merge pull request #96 from weslambert/elastalert
sync default Elastalert rules
2019-09-18 16:53:09 -04:00
Wes Lambert
9a53cfd5ff update path 2019-09-18 19:47:39 +00:00
Wes Lambert
1f8fd7ddd1 fix typo 2019-09-18 19:42:02 +00:00
Wes Lambert
30d732e18f sync default Elastalert rules 2019-09-18 19:37:47 +00:00
Mike Reeves
6cd9ce8040 Merge pull request #95 from weslambert/master
update to allow use of custom modules and local config
2019-09-10 03:48:38 -04:00
Wes Lambert
3f07d7de91 add files 2019-09-09 20:28:31 +00:00
Wes Lambert
a1998a8aa2 update to allow use of custom modules and local config 2019-09-09 20:23:37 +00:00
Mike Reeves
209a46bad6 Merge pull request #94 from rwwiv/master
Fix for packet capture loss by disabling checksum offloading for non-management interfaces
2019-08-18 09:18:00 -04:00
William Wernert
75ab90d5e8 Further fixes for network offloading 2019-08-15 16:14:21 -04:00
William Wernert
8dbb5de55d Preliminary fix for packet capture loss
Interface offloading was not being turned off during setup
2019-08-15 16:14:14 -04:00
Mike Reeves
f1ae2617c2 Filebeat Module - Change log dir mapping 2019-08-14 08:44:54 -04:00
Mike Reeves
5ca2db8407 Filebeat Module - Create Log dir to fix permissions 2019-08-13 10:07:40 -04:00
Mike Reeves
a9f592a53b Filebeat Module - Move logging to the top 2019-08-13 09:37:41 -04:00
Mike Reeves
e36b178e1c Filebeat Module - Change logging to error 2019-08-13 09:27:38 -04:00
Mike Reeves
7688691dbc Bro Module - redirect packet loss to file 2019-08-07 15:00:22 -04:00
Mike Reeves
4e41a8ef0a Bro Module - Fix version to 1.1.0 2019-08-07 14:53:40 -04:00
Mike Reeves
4f2354485c Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2019-08-07 13:49:55 -04:00
Mike Reeves
60d2845185 1.1.0 updates 2019-08-07 13:49:43 -04:00
Doug Burks
1a3eacb444 Update README.md 2019-07-26 10:59:01 -04:00
Mike Reeves
bf8bd25efc Update README.md 2019-07-26 09:40:15 -04:00
Mike Reeves
534d1947bf Update README.md 2019-07-26 09:38:15 -04:00
Mike Reeves
432b0eef0a Update README.md 2019-07-26 09:36:23 -04:00
Doug Burks
ef695c7871 Update README.md 2019-07-25 16:13:43 -04:00
Doug Burks
d530c01a1b Update README.md 2019-07-25 16:11:29 -04:00
Doug Burks
ebd7531772 Update README.md 2019-07-25 16:10:27 -04:00
Mike Reeves
ac040dd7d9 Merge pull request #60 from TOoSmOotH/master
Alpha 1.1.0
2019-07-25 16:04:23 -04:00
Mike Reeves
e98b0587c2 Merge branch 'master' into master 2019-07-25 16:04:02 -04:00
Mike Reeves
1965e3f037 Update Readme. Welcome to Alpha 2019-07-25 15:53:45 -04:00
Mike Reeves
a9370ea886 idstools module - Fix script name 2019-07-25 13:31:26 -04:00
Mike Reeves
1fc389a1b9 idstools module - add cron job to update rules 2019-07-25 12:49:54 -04:00
Mike Reeves
9885e188a1 Setup Script - Remove reboot since it messed with the hive 2019-07-25 10:50:43 -04:00
Mike Reeves
7b4d501ef3 Merge pull request #93 from rwwiv/master
Fix logging issue found in Ubuntu 16.04
2019-07-25 08:41:35 -04:00
William Wernert
7198637b45 Merge branch 'master' of github.com:TOoSmOotH/securityonion-saltstack 2019-07-24 13:36:43 -04:00
Mike Reeves
9f48ea683c Common Module - remove auth for thehive 2019-07-24 09:05:08 -04:00
William Wernert
c3224283f5 Removed unused bond function and attempted to fix error logging for new nmcli bond creation. 2019-07-23 12:16:14 -04:00
Mike Reeves
8804a43463 Firewall Module - Add so-allow 2019-07-23 10:08:09 -04:00
Mike Reeves
ab3a7aec00 Core Module - Fix the auth for master 2019-07-22 12:57:58 -04:00
Mike Reeves
1e62e78bd9 Core Module - Fix the auth for eval 2019-07-22 12:46:04 -04:00
Mike Reeves
78213e5074 Hive Module - Remove force 2019-07-22 10:12:21 -04:00
Mike Reeves
f08fe5f677 Fleet Module - Update container version 2019-07-17 11:20:08 -04:00
Mike Reeves
c36a141142 Core Module - Add rewrites 2019-07-17 10:24:31 -04:00
Mike Reeves
b83efb51ef Core Module - Add rewrites 2019-07-17 10:23:17 -04:00
Mike Reeves
582713d027 Bro Module - Fix local.bro 2019-07-16 11:03:12 -04:00
Mike Reeves
c4a9179946 Core Module - Remove auth for grafana 2019-07-16 09:15:21 -04:00
Mike Reeves
b98d5e3694 Remove ISO install script 2019-07-15 22:31:02 -04:00
Mike Reeves
7c9af420a7 Core Module - Update versions for alpha 2019-07-15 22:25:50 -04:00
Mike Reeves
e0e6e2193a Core Module - Fix NGinx config 2019-07-15 21:55:48 -04:00
Mike Reeves
186defe0e2 Core Module - Add htpasswd love 2019-07-15 15:39:43 -04:00
Mike Reeves
9ba5f67828 Update all containers to alpha except so-core 2019-06-26 13:16:49 -04:00
Mike Reeves
f03124ae13 MySQL Module - Update tag to alpha 2019-06-26 11:37:33 -04:00
Mike Reeves
6e29c38333 idstools Module - Update tag to alpha 2019-06-26 11:22:21 -04:00
Mike Reeves
30b21488b0 Fleet Module - Update tag to alpha 2019-06-26 11:20:55 -04:00
Mike Reeves
276db9ed50 Elastalert Module - Update tag to alpha 2019-06-26 11:16:29 -04:00
Mike Reeves
d5c889e484 Curator Module - Update tag to alpha 2019-06-25 10:32:38 -04:00
Mike Reeves
687814df00 Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2019-06-25 10:17:30 -04:00
Mike Reeves
eb5e0a53df Bro Module - Update to 2.6.2 2019-06-25 10:17:23 -04:00
Mike Reeves
75f3e51db7 Merge pull request #92 from rwwiv/master
Fixed slave -> bond issues and standardized syntax for nmcli
2019-06-24 12:48:18 -04:00
William Wernert
1b3c5f8b79 Fixed slave -> bond issues and standardized syntax for nmcli so it works on any version 2019-06-24 12:46:51 -04:00
Mike Reeves
d40f31d59d Merge pull request #91 from rwwiv/master
Added logging syntax and fixed bond interface bring up
2019-06-24 10:29:22 -04:00
William Wernert
625668e259 Added logging syntax and fixed bond interface bring up
We should bring the bond connections up after creating them
2019-06-24 10:25:42 -04:00
Mike Reeves
c9b55407fe Merge pull request #90 from rwwiv/master
Added initial code to account for different nmcli versions
2019-06-24 10:00:08 -04:00
William Wernert
36f2756ae2 Added initial code to account for different nmcli versions 2019-06-24 09:49:56 -04:00
Mike Reeves
919272bb8d Sensoroni - Move up to start earlier 2019-06-20 16:37:33 -04:00
Mike Reeves
e2967a1255 Setup script - enable network manager 2019-06-20 11:39:34 -04:00
Mike Reeves
8a4180a8ed Setup script - install nmcli on Ubuntu 2019-06-20 11:21:04 -04:00
Mike Reeves
b6fd6fa2cc PCAP module - fix dir 2019-06-19 22:10:09 -04:00
Mike Reeves
ecd75d121b PCAP module - fix logging for sensoroni 2019-06-19 09:15:12 -04:00
Mike Reeves
f8b6b752b6 Logstash - Fix filebeat 2019-06-18 10:30:00 -04:00
Mike Reeves
02d49c8376 PCAP module - add log dir for sensoroni 2019-06-18 10:10:58 -04:00
Mike Reeves
e5d3ad847e PCAP Module - Disable cert verify 2019-06-18 09:26:51 -04:00
Mike Reeves
ad2cbcbc59 PCAP Module - Fix Cert stuff 2019-06-17 19:51:47 -04:00
Mike Reeves
feefc07235 HH Alpha Initial Push 2019-06-17 18:09:46 -04:00
Mike Reeves
cbafbe812f Core Module - restart influx if config changed 2019-06-12 15:03:24 -04:00
Mike Reeves
db63898f21 Redis Module - restart the container on config change 2019-06-12 15:01:02 -04:00
Mike Reeves
ce976852bf Redis Module - Remove a legacy docker download 2019-06-12 15:00:09 -04:00
Mike Reeves
f8af24509d Sensoroni Module - Add watch statement and recreate docker 2019-06-12 14:58:41 -04:00
Mike Reeves
61d681eb65 Sensoroni Module - Add watch statement and recreate docker 2019-06-12 14:29:47 -04:00
Mike Reeves
f5343b114e Sensoroni Module - Add log file 2019-06-11 14:52:14 -04:00
Mike Reeves
9df2e1690b Sensoroni Module - Wired up with new docker 2019-06-11 14:13:49 -04:00
Mike Reeves
65ccef72b8 Firewall Module - Add 443 for sensoroni 2019-06-10 18:49:29 -04:00
Mike Reeves
c2f1bb919e Firewall Module - Add new beats port for hh traffic 2019-06-10 18:48:05 -04:00
Mike Reeves
9c1e128ca0 Logstash Module - Add new input conf 2019-06-10 18:44:10 -04:00
Mike Reeves
d9b1caf044 Logstash Module - Add new input conf 2019-06-10 18:33:09 -04:00
Mike Reeves
0876566317 Filebeat Module - Change port for internal filebeat traffic 2019-06-10 18:27:03 -04:00
Mike Reeves
dbdacf5bf8 Common Module - Update Sensoroni reverse proxy config 2019-06-10 14:34:19 -04:00
Mike Reeves
8036c8b236 Sensoroni Module - Add Valid Configs 2019-06-10 11:16:56 -04:00
Mike Reeves
6b219710b1 Sensoroni Module - Fix docker version 2019-06-06 20:41:19 -04:00
Mike Reeves
1ef679c19e Common Module - Fix Dashboard issue 2019-06-06 16:36:25 -04:00
Mike Reeves
33f21509ea Sensoroni Master - Enable 2019-06-06 11:08:22 -04:00
Mike Reeves
5630da5998 Sensoroni Master - Add Initial files 2019-06-06 10:58:43 -04:00
Mike Reeves
75753c8b27 Merge pull request #89 from rwwiv/master
Fixes to create_bond_nmcli() function
2019-06-03 11:42:34 -04:00
William Wernert
468798fd6d Merge remote-tracking branch 'fork-origin/master'
# Conflicts:
#	so-setup-network.sh
2019-06-03 11:39:33 -04:00
William Wernert
1b0bf5a0d3 Fixed issues around ipv4/v6 flags being set incorrectly 2019-05-31 16:37:10 -04:00
William Wernert
21a144248e Fixed further issues in substitution and ipv4/v6 flags 2019-05-31 16:05:47 -04:00
William Wernert
bad922bf77 Fixing substitution and ipv4/ipv6 issues in nmcli bond function. 2019-05-31 15:19:09 -04:00
William Wernert
23300bf260 Calling new 'create_bond_nmcli' function 2019-05-31 15:03:19 -04:00
Mike Reeves
96f42da3a5 Merge pull request #88 from rwwiv/master
Added a function to create the network bond using nmcli
2019-05-31 14:53:42 -04:00
Mike Reeves
1eb00a5d7b Merge pull request #85 from weslambert/master
ensure setup log is consistent
2019-05-31 14:53:28 -04:00
William Wernert
9f0f41b1fd First attempt at writing a function to create a bond using nmcli 2019-05-31 14:40:38 -04:00
Wes Lambert
707e0e378a ensure setup log is consistent 2019-05-16 13:25:02 +00:00
Mike Reeves
9f8ca6607f Merge pull request #83 from dlee35/master
update whiptail text
2019-05-16 09:12:28 -04:00
Dustin Lee
276cd02d12 force reinstantiation of new hive container 2019-05-15 16:24:13 -04:00
Dustin Lee
7778b99ad2 avoid installing registry on eval 2019-05-15 15:25:00 -04:00
Dustin Lee
105384ecda Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2019-05-15 15:12:49 -04:00
Dustin Lee
1d738abf1f added link to The Hive wiki 2019-05-09 11:58:43 -04:00
Dustin Lee
afaad4fe81 s/Installing ElasticSearch/Installing Kibana/ 2019-05-09 11:34:06 -04:00
Mike Reeves
6855744664 Merge pull request #44 from TOoSmOotH/master
1.0.8.1
2019-05-08 10:20:44 -04:00
Mike Reeves
35606b046b 1.0.8 Readme Fix 2019-05-08 10:18:56 -04:00
Mike Reeves
d414ef21e8 Hive Docker - Fix entrypoint 2019-05-07 16:07:35 -04:00
Mike Reeves
619dd594a1 Merge pull request #82 from dlee35/master
add noninteractive dpkg options to apt-get
2019-05-07 15:55:07 -04:00
Mike Reeves
98427af0bb Hive Docker - Fix entrypoint 2019-05-07 15:44:58 -04:00
Mike Reeves
578ebfa315 Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2019-05-07 15:28:20 -04:00
Mike Reeves
fcc44cbf74 Breaking the Hive 2019-05-07 15:28:11 -04:00
Dustin Lee
f3cff6cb86 add noninteractive dpkg options to apt-get 2019-05-07 14:52:26 -04:00
Mike Reeves
a62c910203 Merge pull request #43 from TOoSmOotH/master
1.0.8
2019-05-07 09:49:15 -04:00
Mike Reeves
561df7e57b Merge branch 'master' into master 2019-05-07 09:48:42 -04:00
Mike Reeves
5824e3c11d Update README 2019-05-06 15:23:32 -04:00
Mike Reeves
8e59f66378 Core Module - Update version to 1.0.8 2019-05-06 15:20:33 -04:00
Mike Reeves
a283fbde4b Update README for 1.0.8 2019-05-06 11:16:46 -04:00
Mike Reeves
56749cae6e Launcher Module - Fix Package naming 2019-05-06 10:47:27 -04:00
Mike Reeves
8158c0259f Common Module - Fix list 2019-05-03 10:29:20 -04:00
Mike Reeves
27441cefcd Common Module - Fix list 2019-05-02 17:21:34 -04:00
Mike Reeves
f1e015edcf Add content trust to all modules 2019-05-02 16:53:19 -04:00
Mike Reeves
9273b6cadd SOcotpus module - testing signed repo 2019-05-02 15:55:22 -04:00
Mike Reeves
b53146f711 SOcotpus module - testing signed repo 2019-05-02 15:53:12 -04:00
Mike Reeves
f6ba41782c SOcotpus module - testing signed repo 2019-05-02 15:41:20 -04:00
Mike Reeves
d6826a3197 Setup Script - Added progress bars for node install 2019-05-02 13:49:56 -04:00
Mike Reeves
2725eaac98 Setup Script - Added progress bars for node install 2019-05-02 13:44:40 -04:00
Mike Reeves
bd9df6bfee Setup Script - Added progress bars for sensor install 2019-05-01 14:02:27 -04:00
Mike Reeves
264c9f792b Setup Script - Added progress bars for master install 2019-05-01 11:00:41 -04:00
Mike Reeves
bc7d643023 Setup Script - Remove -G setting 2019-04-30 14:15:16 -04:00
Mike Reeves
fd9f26128e Setup Script - Fix static.sls 2019-04-30 13:20:38 -04:00
Mike Reeves
d900991794 Launcher Module - Fix logic 2019-04-30 13:12:11 -04:00
Mike Reeves
e4614f91f3 Suricata Module - Update Suricata Version to 4.1.4 2019-04-30 12:59:45 -04:00
Mike Reeves
89786c16c6 Fleet Module - Add some default firewall rules 2019-04-30 09:44:58 -04:00
Mike Reeves
85f7137901 Fleet Module - Added auto install of launcher if osq enabled 2019-04-30 09:35:29 -04:00
Mike Reeves
44e2dbdc60 Merge pull request #81 from defensivedepth/tweaks
Additional functionality/tweaks
2019-04-29 10:55:04 -04:00
Josh Brower
c23153b91e Install osquery locally 2019-04-28 14:50:30 -04:00
Josh Brower
e5ac4cb711 Added missing packs 2019-04-27 08:36:26 -04:00
Josh Brower
ff4c34b5fa Update Generated timestamp on both confg & src files
Otherwise /opt/so/conf/fleet/packages/index.html gets overwritten.
2019-04-27 08:17:54 -04:00
Mike Reeves
f8cb1d21ae Merge pull request #80 from defensivedepth/patch-3
Update so-fleet-setup.sh
2019-04-25 14:47:14 -04:00
Josh Brower
c3fb7259d0 Update so-fleet-setup.sh 2019-04-25 11:12:57 -04:00
Mike Reeves
e3a06caa7a Merge pull request #79 from defensivedepth/patch-2
Spelling fix....
2019-04-23 16:35:01 -04:00
Josh Brower
1f07b46a53 Spelling fix.... 2019-04-23 16:21:09 -04:00
Mike Reeves
ec6b523b10 Merge pull request #78 from defensivedepth/patch-1
Fix naming issue
2019-04-23 14:27:08 -04:00
Josh Brower
9aa46fe08e Fix naming issue
docker is looking for `launcher.crt`
2019-04-23 14:25:35 -04:00
Mike Reeves
73b90dd4ba Fleet Module - Updated launcher docker 2019-04-22 19:29:23 -04:00
Mike Reeves
0d8906b77f Setup Script - Update Eval 2019-04-17 11:13:42 -04:00
Mike Reeves
734887c294 Setup Script - Update Eval 2019-04-17 11:11:23 -04:00
Mike Reeves
3ba399e065 Setup Script - Update Eval 2019-04-17 10:37:43 -04:00
Mike Reeves
bf664e5f7c Setup Script - Update Eval 2019-04-17 10:35:38 -04:00
Mike Reeves
b7ea3b7190 Setup Script - Update Eval 2019-04-17 10:21:58 -04:00
Mike Reeves
7acdbefa3e Grafana - Fix Eval Dashboard 2019-04-09 13:48:34 -04:00
Mike Reeves
5a09b18258 Grafana - Fix Eval Dashboard 2019-04-09 12:46:04 -04:00
Mike Reeves
4668890798 Grafana - Fix Eval Dashboard 2019-04-09 12:33:09 -04:00
Mike Reeves
58eeed1d71 Setup - Fix log location 2019-04-09 11:28:52 -04:00
Mike Reeves
5c82ce29cb Grafana Module - Fix monint for grafana dash 2019-04-09 11:05:25 -04:00
Mike Reeves
c1663d5096 Setup - Make sure install completes properly 2019-04-08 20:49:31 -04:00
Mike Reeves
30d6de90ae Setup - Make sure install completes properly 2019-04-08 20:46:41 -04:00
Mike Reeves
709b03c32f Setup - Make sure install completes properly 2019-04-08 20:11:27 -04:00
Mike Reeves
3c2651fd6f Setup - Make sure install completes properly 2019-04-08 19:50:19 -04:00
Mike Reeves
8907c8316f Setup - Make sure install completes properly 2019-04-08 19:45:38 -04:00
Mike Reeves
890df7af21 Setup - Make sure install completes properly 2019-04-08 19:32:27 -04:00
Mike Reeves
ebb59ce729 Setup - Make sure install completes properly 2019-04-08 19:31:16 -04:00
Mike Reeves
ff7159727f Setup - Adding verification step 1 2019-04-08 19:14:30 -04:00
Mike Reeves
da66cae336 Setup - Added status bar for eval install 2019-04-08 16:50:18 -04:00
Mike Reeves
048976b216 Setup - Add Progress Bar test 2019-04-08 15:38:22 -04:00
Mike Reeves
69e699f99d Setup - Add Progress Bar test 2019-04-08 15:22:11 -04:00
Mike Reeves
f5ca34e03e Merge pull request #77 from defensivedepth/master
Adds osquery package generation
2019-04-08 14:38:44 -04:00
Josh Brower
e3e05133fe Merge pull request #3 from defensivedepth/launcher
Adds HH Launcher  - osquery packaging
2019-04-08 13:15:13 -04:00
Doug Burks
49b526ceca Update README.md 2019-04-05 12:35:22 -04:00
Josh Brower
91d814f4eb added pre-flight check (is so-fleet running?) 2019-04-04 08:03:34 -04:00
Josh Brower
7607739fca Update osquery-packages.html 2019-04-04 07:52:12 -04:00
Josh Brower
e6f6c5f35e Merge pull request #2 from TOoSmOotH/master
...
2019-04-04 06:22:31 -04:00
Josh Brower
55fcb930cd Add osquery-packages.html 2019-04-04 06:15:09 -04:00
Josh Brower
ca8a774c19 Create osquery-packages.html 2019-04-04 06:12:34 -04:00
Josh Brower
b11668b601 Update timestamp on packages webpage 2019-04-04 06:06:35 -04:00
Mike Reeves
c162095327 Core Module - Fix html path for osquery binaires 2019-04-03 20:35:50 -04:00
Mike Reeves
f530c2a873 Merge pull request #35 from TOoSmOotH/master
1.0.7 - Update readme
2019-04-03 14:21:32 -04:00
Mike Reeves
1d0ab687e4 1.0.7 - Update readme 2019-04-03 14:20:45 -04:00
Josh Brower
d9b8bc08c2 update so-fleet-setup.sh for new hh-launcher docker 2019-04-03 12:28:58 -04:00
Mike Reeves
fa8424ee87 Merge pull request #34 from TOoSmOotH/master
Hybrid Hunter 1.0.7
2019-04-03 11:00:50 -04:00
Josh Brower
08462ff69e Merge pull request #1 from TOoSmOotH/master
....
2019-04-03 10:06:12 -04:00
Mike Reeves
2bbd31c954 Core Module - Update packages mapping 2019-04-02 11:21:57 -04:00
Mike Reeves
139f0cd281 1.0.7 Upgrade 2019-04-01 17:22:22 -04:00
Mike Reeves
2dd6558826 Suricata Module - Suricata 4.1.3 2019-04-01 11:10:44 -04:00
Mike Reeves
87fde50eb1 Top.sls - Add SOCtopus as default docker to get loaded 2019-03-28 14:46:20 -04:00
Mike Reeves
77c90ce752 The Hive - Just scripted filed left 2019-03-28 11:23:06 -04:00
Mike Reeves
fd027cb954 The Hive - Fix the user creation script 2019-03-28 10:55:32 -04:00
Mike Reeves
fce80236de The Hive - Wes Mods 2019-03-28 10:40:29 -04:00
Mike Reeves
f08ab2ec2a Merge pull request #76 from weslambert/master
TheHive: Add initial user
2019-03-28 10:29:09 -04:00
Wes Lambert
4f15e14cc2 TheHive: Add initial user 2019-03-28 14:24:17 +00:00
Josh Brower
b84b356c22 Create so-fleet-setup.sh 2019-03-27 08:40:35 -04:00
Josh Brower
d19d541e32 Copy over so-fleet-setup.sh 2019-03-27 08:39:59 -04:00
Josh Brower
9df8ccac7b Add masterhostname & masterip to fleet.crt as SAN 2019-03-26 20:26:57 -04:00
Mike Reeves
5d2097cf77 Merge pull request #75 from weslambert/master
SOCtopus: more config updates
2019-03-26 10:18:57 -04:00
Wes Lambert
8b8556213b SOCtopus: more config updates 2019-03-25 21:26:53 +00:00
Wes Lambert
1d01192b9e SOCtopus: update config 2019-03-25 21:21:21 +00:00
Mike Reeves
82f1980ce6 Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2019-03-25 16:28:28 -04:00
Mike Reeves
5b8e00b8bc SOCtopus Module - Fixed Configs 2019-03-25 16:28:20 -04:00
Mike Reeves
f38a5bf0ec Merge pull request #74 from weslambert/master
SOCtopus: update config
2019-03-25 15:52:38 -04:00
Wes Lambert
03e42a009a SOCtopus: update config 2019-03-25 16:12:24 +00:00
Mike Reeves
b32558b2ac The Hive - Reverse Proxy config 2019-03-22 14:20:09 -04:00
Mike Reeves
392cde313f The Hive - Reverse Proxy config 2019-03-22 13:44:55 -04:00
Mike Reeves
dcc8db312c The Hive - Reverse Proxy config 2019-03-22 13:44:36 -04:00
Mike Reeves
636692fbb3 The Hive - Reverse Proxy config 2019-03-20 16:52:06 -04:00
Mike Reeves
e7964f3a40 The Hive - Reverse Proxy config 2019-03-20 14:37:07 -04:00
Mike Reeves
c126afe3f7 MEGARAMS Savings - Remove redis from eval 2019-03-18 16:23:56 -04:00
Mike Reeves
f72f70330a MEGARAMS Savings - Remove redis from eval 2019-03-18 16:23:07 -04:00
Mike Reeves
55e577a7a2 MEGARAMS Savings - Add advanced logic for services disabled 2019-03-18 15:46:47 -04:00
Mike Reeves
dfd25567e1 Setup Script - Turn off wazuh and osq by default in eval mode 2019-03-18 15:17:31 -04:00
Mike Reeves
2c13b0c663 Setup Script - Eval mode memory savings 2019-03-18 14:43:33 -04:00
Mike Reeves
661f71b04e Setup Script - Eval mode memory savings 2019-03-18 14:25:04 -04:00
Mike Reeves
bb608541a7 Setup Script - Eval mode memory savings 2019-03-18 14:09:10 -04:00
Mike Reeves
8663da0330 Logstash Module - Disable stuff that isn't used in eval 2019-03-18 10:23:43 -04:00
Mike Reeves
c8102fe7b5 Logstash Module - Disable stuff that isn't used in eval 2019-03-18 10:17:33 -04:00
Mike Reeves
9a2b98aa17 Setup Script - Eval Advanced Settings 2019-03-15 08:12:40 -04:00
Mike Reeves
a35e90ad38 Setup Script - Eval Advanced Settings 2019-03-15 08:02:08 -04:00
Mike Reeves
b81ff6a150 Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2019-03-15 08:01:42 -04:00
Mike Reeves
681966a83d Setup Script - Change Eval memory settings 2019-03-15 07:52:27 -04:00
Mike Reeves
a7d3181bbf Merge pull request #73 from weslambert/master
SOCtopus: Initial Commit
2019-03-14 23:11:48 -04:00
Wes Lambert
28c0cda16b SOCtopus: Initial Commit 2019-03-15 02:40:02 +00:00
Mike Reeves
6e29ad90c7 Nginx Module - add hive support 2019-03-14 09:35:45 -04:00
Mike Reeves
d589a7ac73 Setup Script - Remove hosts entry 2019-03-13 15:25:39 -04:00
Mike Reeves
27d53a3a75 Setup Script - Add entry to hosts file 2019-03-13 14:40:21 -04:00
Mike Reeves
7bc9085001 Setup Script - Add entry to hosts file 2019-03-13 14:36:12 -04:00
Mike Reeves
924b061b50 Setup Script - Make sure you have at least 1 mon nic 2019-03-13 14:21:27 -04:00
Mike Reeves
20441df78e Setup Script - Make sure a management nic is selected 2019-03-13 14:15:32 -04:00
Mike Reeves
bc09ee87b4 Setup Script - Make sure a management nic is selected 2019-03-13 14:08:38 -04:00
Mike Reeves
e193ec797b Setup Script - Make sure a management nic is selected 2019-03-13 14:04:34 -04:00
Mike Reeves
4d567fd431 TheHive Module - Fix application.conf 2019-03-13 11:04:29 -04:00
Mike Reeves
e23c7c1a3c TheHive Module - Fix env variables 2019-03-13 10:56:10 -04:00
Mike Reeves
e2d3caa2f7 TheHive ES Docker - Change yml 2019-03-13 10:23:10 -04:00
Mike Reeves
6a5ab47870 TheHive Module - Fix ES 2019-03-12 15:37:07 -04:00
Mike Reeves
02f9d2b9c5 TheHive Module - Fix ES 2019-03-12 15:17:12 -04:00
Mike Reeves
1858bc83fb TheHive Module - Change permissions 2019-03-12 13:09:28 -04:00
Mike Reeves
201668eed9 TheHive Module - Add our new dockers 2019-03-12 12:35:22 -04:00
Mike Reeves
92818bebca Hive Module - Add application.conf 2019-03-11 12:20:03 -04:00
Mike Reeves
57c92e724b Hive Module - Add application.conf 2019-03-11 12:19:18 -04:00
Mike Reeves
c454850e19 Hive Module - Add application.conf 2019-03-11 12:10:23 -04:00
Mike Reeves
33513f1810 Hive Module - Add application.conf 2019-03-11 12:05:14 -04:00
Mike Reeves
e1b444b2bf Hive Module - Add more publish ports 2019-03-11 12:01:59 -04:00
Mike Reeves
9dd863e1ab Hive Module - Add publish ports 2019-03-11 11:49:46 -04:00
Mike Reeves
ccee0803d0 Hive Module - Fix ES logging 2019-03-11 11:43:52 -04:00
Mike Reeves
7c278f9578 Hive Module - Fix ES logging 2019-03-11 11:34:21 -04:00
Mike Reeves
5a41d3e2ab Hive Module - Fix ES logging 2019-03-11 11:30:54 -04:00
Mike Reeves
2caf331e8e Hive Module - Fix ES logging 2019-03-11 11:26:10 -04:00
Mike Reeves
2b1f0719f1 Hive Module - Fix ES memory usage 2019-03-11 11:19:17 -04:00
Mike Reeves
f494ffcebe Hive Module - Sync ES config 2019-03-11 11:16:24 -04:00
Mike Reeves
e171c1d176 Hive Module - Fix heap size 2019-03-11 10:43:38 -04:00
Mike Reeves
3b6b896390 Merge pull request #30 from TOoSmOotH/master
Fix Salt Version
2019-03-08 16:17:37 -05:00
Mike Reeves
422d1c52a3 Setup Script - Centos Fix Salt Agent version 2019-03-08 15:59:03 -05:00
Mike Reeves
ec862c75ad Setup Script - Ubuntu Fix m2crypto 2019-03-08 15:13:27 -05:00
Mike Reeves
d93a062f91 Setup Script - Ubuntu fix minion version 2019-03-08 14:45:32 -05:00
Mike Reeves
c3983a82c9 Setup Script - Ubuntu fix minion version 2019-03-08 14:39:53 -05:00
Mike Reeves
1422163cdc Setup Script - Ubuntu rollback of salt package version 2018.3 2019-03-08 14:33:44 -05:00
Mike Reeves
7f43cf7357 The Hive Module - Fix Salt Code 2019-03-08 13:33:29 -05:00
Mike Reeves
39ea1ad1ee Firewall Module - Add rules for hive 2019-03-08 13:07:11 -05:00
Mike Reeves
01ac51f2e4 The Hive Module - Config Update 2019-03-08 12:44:17 -05:00
Mike Reeves
fa2331d9b6 The Hive Module - Initial Skeleton 2019-03-08 12:00:44 -05:00
Mike Reeves
ae7f170df3 Suricata Module - Fix Worker designation for performance 2019-03-08 11:26:00 -05:00
Mike Reeves
e763acf78d Merge pull request #24 from TOoSmOotH/master
HH 1.0.6
2019-01-25 13:22:24 -05:00
Mike Reeves
e4183ae704 Version 1.0.6 Release 2019-01-25 11:02:14 -05:00
Mike Reeves
70e8db5991 Logstash Module - Add the osquery configs 2019-01-24 20:27:57 -05:00
Mike Reeves
365c302cad Fleet Module - Add decorations 2019-01-24 19:54:01 -05:00
Mike Reeves
a0c0efda32 Fleet Module - Try and fix LiveQuery 2019-01-24 16:17:01 -05:00
Mike Reeves
b12651c4d6 Fleet Module - Try and fix LiveQuery 2019-01-24 14:38:22 -05:00
Mike Reeves
3dee401c36 Fleet Module - Try and fix LiveQuery 2019-01-24 14:33:41 -05:00
Mike Reeves
030ba021a3 Fleet Module - Fix script 2019-01-24 13:37:31 -05:00
Mike Reeves
0ef2946ddd Fleet Module - Add post install scripts 2019-01-24 12:56:20 -05:00
Mike Reeves
6ecdfaca86 Fleet Module - Add post install scripts 2019-01-24 10:55:15 -05:00
Mike Reeves
ff900d1dc6 Fleet Module - Adding some Rule Packs 2019-01-24 10:41:40 -05:00
Mike Reeves
49357f4947 Filebeat Module - Make it log to a file 2019-01-23 13:38:59 -05:00
Mike Reeves
cdddd8f9f4 Fleet Module - Update version 2019-01-22 08:42:52 -05:00
Mike Reeves
f613c622a6 Fleet Module - Add Rule Packs Dir 2019-01-18 16:23:57 -05:00
Mike Reeves
ec09d07357 Fix for Salt Master Firewall 2019-01-18 13:03:33 -05:00
Mike Reeves
2c74cdcdc4 Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2019-01-17 15:40:03 -05:00
Mike Reeves
fa58f8317e Fleet Module - Add Config 2019-01-17 15:39:16 -05:00
Mike Reeves
3083a44b4f Merge pull request #72 from weslambert/master
osquery: fix host field conflict
2019-01-16 14:35:52 -05:00
Wes Lambert
cdfc3a15ad osquery: fix host field conflict 2019-01-16 19:25:06 +00:00
Mike Reeves
05a4c6410f LogStash and Kibana modules - Clean up for new Zeek Version 2019-01-15 10:51:30 -05:00
Mike Reeves
7e4264fa60 Firewall Module - Remove extra influxdb ports 2019-01-10 14:13:52 -05:00
Mike Reeves
6d5b9c46cf Firewall Module - Remove extra influxdb ports 2019-01-10 14:12:41 -05:00
Mike Reeves
b688c8783d Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2019-01-10 14:07:36 -05:00
Mike Reeves
4f0d204c21 Firewall Module - Removed permissions for analyst role 2019-01-10 14:07:13 -05:00
Mike Reeves
199ca59ecf Merge pull request #71 from defensivedepth/master
Cleaned up dashboard
2019-01-10 12:18:30 -05:00
Mike Reeves
e79f5ef3be Tools Module - Adding start and restart scripts 2019-01-10 11:58:20 -05:00
Josh Brower
ff112454b1 Cleaned up dashboard 2019-01-10 11:31:23 -05:00
Mike Reeves
42d6ce171b Bro Module - Update correct Bro Version 2019-01-09 16:09:58 -05:00
Mike Reeves
901f02e5e9 Bro Module - Remove Comments from local.bro 2019-01-09 15:58:00 -05:00
Mike Reeves
b0bb7ad404 Bro Module - Update the node.cfg 2019-01-09 14:45:07 -05:00
Mike Reeves
a00c107136 Bro Module - Add hassh 2019-01-09 13:09:40 -05:00
Mike Reeves
c1a788e85d Kibana Module - Fix Problem with custom dashboard link 2019-01-09 10:06:31 -05:00
Mike Reeves
9af5a84a34 Kibana Module - Remove kibana.index from the config for testing 2019-01-09 09:03:34 -05:00
Mike Reeves
ccc1a5058b Kibana Module - Add kibana index to kibana config 2019-01-08 16:31:00 -05:00
Mike Reeves
341297bbaa Update For 1.0.6 2019-01-08 13:29:24 -05:00
Mike Reeves
a508ce80ce Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2019-01-08 10:37:06 -05:00
Mike Reeves
ccd541a8d9 Update Bro and Suricata Versions 2019-01-08 10:15:08 -05:00
Mike Reeves
8a4e180a18 Merge pull request #70 from defensivedepth/osquery
Osquery - tweaks to initial config
2019-01-02 09:54:19 -05:00
Josh Brower
ce43fd7cd4 Moved to dynamic 2019-01-01 11:20:09 -05:00
Josh Brower
b9f6269925 Moved to dynamic 2019-01-01 11:20:01 -05:00
Josh Brower
bc7bf5774a Enable osquery parsers for EVAL role 2019-01-01 11:14:38 -05:00
Josh Brower
15bfce07e8 Move osquery parsers from custom to dynamic 2019-01-01 11:13:05 -05:00
Josh Brower
f21e52b431 Add missing character 2019-01-01 11:11:29 -05:00
Mike Reeves
739c8b8d5e Merge pull request #68 from defensivedepth/osquery
Osquery/Fleet initial enhancements
2018-12-28 14:59:28 -05:00
Josh Brower
fff13d5861 Tag & initial JSON decode for osquery logs 2018-12-28 13:56:06 -05:00
Josh Brower
1917b469ec osquery-tagged logs output to ES 2018-12-28 13:55:02 -05:00
Josh Brower
389b57f226 parser for windows event logs shipped by osquery 2018-12-28 13:54:11 -05:00
Josh Brower
679a6841f8 Osquery Overview dashboard - initial version 2018-12-28 13:51:44 -05:00
Josh Brower
9c3f476f6d add bind for fleet logs 2018-12-28 13:50:43 -05:00
Josh Brower
44eed120cb add osquery logs if fleet is enabled 2018-12-28 13:49:53 -05:00
Mike Reeves
9c62bded2b Merge pull request #23 from TOoSmOotH/master
Fix for Fleet
2018-12-18 10:53:03 -05:00
Mike Reeves
94d25d96e9 Merge pull request #66 from weslambert/master
Redis - Re-enable for Fleet live queries
2018-12-18 10:51:48 -05:00
Wes Lambert
04cdd2d976 Redis - Re-enable for Fleet live queries 2018-12-18 15:45:25 +00:00
Mike Reeves
59964adfe0 Merge pull request #22 from TOoSmOotH/master
HH 1.0.5
2018-12-14 16:31:20 -05:00
Mike Reeves
7df029764d Merge pull request #65 from weslambert/master
Wazuh - Add conditional for config profile
2018-12-14 16:30:42 -05:00
Wes Lambert
9930aac556 Wazuh - Add conditional for config profile 2018-12-14 21:28:46 +00:00
Doug Burks
db02a2c135 increment version to 1.0.5 2018-12-14 16:26:18 -05:00
Mike Reeves
46546e2952 Readme Update Version to 1.0.5 2018-12-14 15:22:22 -05:00
Mike Reeves
d3ddc52035 Merge pull request #64 from weslambert/master
Logstash - Wazuh parsing updates
2018-12-14 13:27:28 -05:00
Wes Lambert
172c9e0593 Logstash - Wazuh parsing updates 2018-12-14 18:00:19 +00:00
Mike Reeves
46372d1384 Merge pull request #63 from weslambert/master
Updates
2018-12-14 10:10:33 -05:00
Wes Lambert
2f12c36c87 Setup - Clean up old Wazuh stuff and move Curator config to SN Adv Mode 2018-12-14 14:07:20 +00:00
Wes Lambert
09f5c24251 SSL - Ensure storage node gets FB cert 2018-12-14 14:05:35 +00:00
Mike Reeves
26418cfb26 Merge pull request #62 from dlee35/master
remove nginx.conf.so-SENSOR
2018-12-14 08:18:26 -05:00
dlee35
e7c34cb1b8 remove nginx.conf.so-SENSOR 2018-12-14 08:04:46 -05:00
Mike Reeves
b3cb297813 Merge pull request #61 from weslambert/master
Cleanup - Lowercase SENSOR
2018-12-13 22:29:31 -05:00
Wes Lambert
55a426c347 Cleanup - Lowercase SENSOR 2018-12-14 03:27:13 +00:00
Mike Reeves
f8b1bd0ffc Merge pull request #59 from weslambert/master
Various updates
2018-12-13 20:35:43 -05:00
Mike Reeves
f00e59dea3 Merge pull request #60 from dlee35/master
fix filename and grep checks
2018-12-13 20:35:00 -05:00
dlee35
bd9f8ee2c7 fix filename and grep checks 2018-12-13 19:31:13 -05:00
Wes Lambert
9ce41f81b9 Setup - Make sensor minion config consistent 2018-12-14 00:12:37 +00:00
Wes Lambert
c7dcbb8dcb Merge remote-tracking branch 'upstream/master' 2018-12-13 23:57:24 +00:00
Wes Lambert
a662badc5b Firewall - Fix stuff for sensor 2018-12-13 23:52:15 +00:00
Mike Reeves
2e78fc2e1e Master Module - I dont' want to talk about it 2018-12-13 17:19:35 -05:00
Mike Reeves
5a8ab7830e Master Module - Update acng version 2018-12-13 17:04:14 -05:00
Wes Lambert
1d9fae304c Setup - Get Curator disk size when /nsm not present 2018-12-13 22:01:21 +00:00
Mike Reeves
de7e7df2b8 Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2018-12-13 16:55:55 -05:00
Mike Reeves
cc5bf1cf64 Setup Script - Install the repo on Ubuntu 2018-12-13 16:55:48 -05:00
Mike Reeves
7d5d364bd7 Merge pull request #58 from dlee35/master
generate self-signed cert for osquery clients
2018-12-13 16:30:43 -05:00
dlee35
06037d8222 generate self-signed cert for osquery clients 2018-12-13 16:28:52 -05:00
Mike Reeves
1326d8d573 Setup Script - Cleanup of some Wazuh 2018-12-13 14:46:03 -05:00
Mike Reeves
1d0cb9c20e Setup Script - Cleanup of some Wazuh 2018-12-13 14:41:50 -05:00
Mike Reeves
52998d7340 Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2018-12-13 14:24:47 -05:00
Mike Reeves
7ff47faa3d Common Module - Update core docker version 2018-12-13 14:24:40 -05:00
Mike Reeves
fdd6bcdd6b Merge pull request #56 from dlee35/master
add firewall rule option for osquery
2018-12-13 13:42:13 -05:00
Mike Reeves
7fd2869159 Merge pull request #57 from weslambert/master
Wazuh - Fix Jinja
2018-12-13 13:34:30 -05:00
Mike Reeves
d47e0ac4f8 Setup Script - Add Wazuh Repo for Ubuntu 2018-12-13 13:33:38 -05:00
Wes Lambert
bd04dc45a3 Wazuh - Fix Jinja 2018-12-13 18:30:04 +00:00
dlee35
fe56e171d4 add firewall rule option for osquery 2018-12-13 13:28:37 -05:00
Mike Reeves
07a2b34583 Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2018-12-13 13:22:04 -05:00
Mike Reeves
eb04bd1bb4 Setup Script - Add Wazuh Repo for Ubuntu 2018-12-13 13:21:55 -05:00
Mike Reeves
f538eddb5f Merge pull request #55 from weslambert/master
More Wazuh updates
2018-12-13 13:01:38 -05:00
Wes Lambert
75ed258d19 Firewall - Fix Wazuh IP logic for sensors 2018-12-13 17:57:22 +00:00
Wes Lambert
4db52ec865 Wazuh - Add logic for sensors 2018-12-13 17:56:51 +00:00
Wes Lambert
5e23859557 Salt - Add Wazuh to other roles 2018-12-13 17:34:19 +00:00
Wes Lambert
62067f37cf Wazuh - Fix agent ip for storage nodes 2018-12-13 17:33:12 +00:00
Wes Lambert
d13e7559fe Filebeat - Enabled for master and only enable Bro/Suri inputs when needed 2018-12-13 17:32:03 +00:00
Mike Reeves
8163beadb0 Merge pull request #54 from dlee35/master
Updated Fleet init.sls and nginx confs for fleet
2018-12-12 16:34:35 -05:00
Mike Reeves
90d648cef1 Merge pull request #53 from weslambert/master
Wazuh archive logs
2018-12-12 16:33:48 -05:00
dlee35
5c737e9fda Updated Fleet init.sls and nginx confs for fleet 2018-12-12 16:19:35 -05:00
Wes Lambert
41e9c4c7e0 Logstash - Alter input for Wazuh logs 2018-12-12 20:52:18 +00:00
Wes Lambert
54c35cdc0d Filebeat - Add Wazuh archive logs 2018-12-12 20:51:41 +00:00
Mike Reeves
d12f49aa9d Merge pull request #52 from weslambert/master
Wazuh updates
2018-12-12 13:02:14 -05:00
Wes Lambert
8496834f8b Wazuh - Re-order top.sls so Filebeat does not overrite Wazuh logs 2018-12-12 15:48:59 +00:00
Wes Lambert
9d86744e07 Filebeat - Fix Wazuh alerts path 2018-12-12 15:19:51 +00:00
Wes Lambert
e20ab3b407 Filebeat - Config for Wazuh alerts 2018-12-12 14:48:17 +00:00
Wes Lambert
5822842d2e Wazuh - Add sleep to wait for API 2018-12-12 13:36:13 +00:00
Wes Lambert
a99ec40506 Setup - Remark Wazuh agent config 2018-12-12 13:10:27 +00:00
Wes Lambert
8404897fe3 Wazuh - Move agent config to init.sls 2018-12-12 06:05:13 +00:00
Wes Lambert
823a589fae Wazuh - Set mode for agent registration script 2018-12-12 04:01:13 +00:00
Wes Lambert
1a4a7382e2 Wazuh - Fix Wazuh agent registration script name 2018-12-12 03:18:55 +00:00
Wes Lambert
86a72984c7 Setup - Add auth pillar to eval mode 2018-12-12 02:58:09 +00:00
Wes Lambert
113f030873 Wazuh - Add agent register script to init.sls 2018-12-12 02:26:38 +00:00
Wes Lambert
634c435ad6 Setup - Configure Wazuh agent 2018-12-12 01:51:30 +00:00
Wes Lambert
9a021164ac Wazuh - Fix port, add agent conf, and agent registration script 2018-12-12 01:42:05 +00:00
Wes Lambert
223237f8c2 Wazuh - Expose both UDP and TCP ports 2018-12-11 19:45:56 +00:00
Wes Lambert
6cdf1ef857 Firewall - Add rules for Wazuh Manager 2018-12-11 19:44:32 +00:00
Mike Reeves
dd15a6e31a SSL Module - Fixed it so certs do not keep renewing 2018-12-11 12:27:57 -05:00
Mike Reeves
bea4286054 Setup - Fix static file creation 2018-12-11 11:57:27 -05:00
Mike Reeves
a54a5ede8c MySQL Module - fix password designation 2018-12-11 11:32:37 -05:00
Mike Reeves
8c1a7b3e0c Setup - Change so passwords survive re-install 2018-12-11 11:19:54 -05:00
Mike Reeves
4c88f89835 Merge pull request #51 from weslambert/master
Wazuh updates
2018-12-10 15:23:22 -05:00
Wes Lambert
0f5fbadaf5 Filebeat - Switch negation to equals 2018-12-10 20:17:41 +00:00
Wes Lambert
10d6c0f5a9 Setup - Remark Wazuh user section completely 2018-12-10 19:55:53 +00:00
Wes Lambert
2544984433 Wazuh - add to top.sls for Eval Mode 2018-12-10 19:51:57 +00:00
Wes Lambert
e70db05a0f Filebeat - Modify config for Wazuh alerts 2018-12-10 19:50:55 +00:00
Wes Lambert
cb68f502ee Wazuh - Changes to init.sls 2018-12-10 19:49:14 +00:00
Wes Lambert
0a33204726 Setup - Only add Wazuh repo 2018-12-07 18:16:03 +00:00
Wes Lambert
e6469d505a Wazuh - initial init.sls 2018-12-07 18:13:42 +00:00
Mike Reeves
cdc8b577bd Redis Module - Update REDIS version to address vuln 2018-12-07 10:28:43 -05:00
Mike Reeves
65d6b07f6d Merge pull request #50 from weslambert/master
Updates
2018-12-07 08:46:56 -05:00
Wes Lambert
6a9a537cf8 Wazuh - Remove filebeat.yml 2018-12-07 13:39:10 +00:00
Wes Lambert
e355503324 Filebeat - Update for Wazuh logs 2018-12-07 13:38:31 +00:00
Wes Lambert
e11aadf730 Wazuh - agent install for CentOS 2018-12-07 13:36:11 +00:00
Wes Lambert
f5e2b7f210 Setup - Adjust to prevent unary operator error 2018-12-07 04:22:11 +00:00
Wes Lambert
6bfb813cdf Setup - Adjust syntax 2018-12-07 04:18:28 +00:00
Wes Lambert
e21c67f553 Setup - Fix typo 2018-12-07 04:14:30 +00:00
Wes Lambert
bccb83fae9 Setup - Install Wazuh agent 2018-12-07 03:57:31 +00:00
Mike Reeves
f5d16181d4 Common Module - Add Fleet to nginx 2018-12-06 14:40:44 -05:00
Mike Reeves
7d7cd313fa Fleet Module - Use the SO docker 2018-12-06 14:25:31 -05:00
Mike Reeves
8315f9279e Fleet Module - Fix order 2018-12-06 14:10:28 -05:00
Mike Reeves
ac3eaaf114 Setup Script - Add MYSQL and fleet password generation 2018-12-06 13:51:59 -05:00
Mike Reeves
bcd7773ace Fleet Module - fix assignment of MYSQLPASS 2018-12-06 11:19:44 -05:00
Mike Reeves
4e28feb084 Mysql Module - fix nameing 2018-12-06 11:18:13 -05:00
Mike Reeves
43d75ba07d Fleet Module - Move database stuff to the fleet module 2018-12-06 11:17:04 -05:00
Mike Reeves
5a830b4ff4 Fleet Module - Move database stuff to the fleet module 2018-12-06 11:12:56 -05:00
Mike Reeves
46ef0280cd Fleet Module - Move database stuff to the fleet module 2018-12-06 11:11:25 -05:00
Mike Reeves
7816c6e18e Merge pull request #49 from weslambert/master
Various Updates
2018-12-06 09:15:48 -05:00
Wes Lambert
e335be7476 Elastalert - Remove config from ES Module 2018-12-06 05:44:09 +00:00
Wes Lambert
d310f163e8 Elastalert - Enable for Master/Eval 2018-12-06 05:43:15 +00:00
Wes Lambert
fe1c771f21 Elastalert - Initial Config 2018-12-06 05:42:30 +00:00
Wes Lambert
52dfe2500a Cleanup - Remove pulledpork module 2018-12-06 03:14:03 +00:00
Wes Lambert
e7be61bd28 Cleanup - Remove somaster module 2018-12-06 03:13:39 +00:00
Wes Lambert
3ffdcd81d6 Redis - Don't start if using Eval Mode 2018-12-06 03:07:16 +00:00
Wes Lambert
5c28576674 Logtash - Update input for Eval Mode 2018-12-06 02:38:59 +00:00
Mike Reeves
24cb7f4a14 Fleet Modules 2018-12-05 19:50:59 -05:00
Mike Reeves
e9d97286c3 MYSQL Module - Modify network for fleetdb user 2018-12-05 18:29:46 -05:00
Mike Reeves
b2c711af53 MYSQL Module - Modify network for fleetdb user 2018-12-05 17:21:46 -05:00
Mike Reeves
f988c7c0e7 Fleet Module - SSL additions 2018-12-05 17:16:46 -05:00
Mike Reeves
53f7fcd07c Fleet Module - SSL additions 2018-12-05 15:54:43 -05:00
Mike Reeves
b22b10926d MySQL Module - Fix password file formatting 2018-12-05 15:12:53 -05:00
Mike Reeves
c5dfe32c55 Merge pull request #48 from dlee35/master
changed tag eval to type
2018-12-05 15:09:59 -05:00
Dustin Lee
a52fdafea0 Merge pull request #1 from dlee35/development
changed tag eval to type
2018-12-05 15:06:31 -05:00
dlee35
7fc1f576d9 changed tag eval to type 2018-12-05 15:05:11 -05:00
Mike Reeves
13a4388b97 Merge branch 'master' of https://github.com/TOoSmOotH/securityonion-saltstack 2018-12-05 12:43:20 -05:00
Mike Reeves
658bc2cc8e Logstash Module - Update Version 2018-12-05 12:43:13 -05:00
Mike Reeves
1beca2d841 Merge pull request #47 from weslambert/master
Curator Setup
2018-12-05 11:17:59 -05:00
Wes Lambert
6399889e60 Merge branch 'master' of https://github.com/toosmooth/securityonion-saltstack 2018-12-05 16:13:40 +00:00
Mike Reeves
314e35b2be Kibana Module - Added Dustin's dashboard mods 2018-12-05 11:10:34 -05:00
Mike Reeves
51ffa32e67 MySQL Module - Change name to socore 2018-12-05 11:09:40 -05:00
Mike Reeves
3f645bbdcf Merge pull request #46 from dlee35/master
Added docker_registry to centos and fixed service restart/enable
2018-12-05 10:59:55 -05:00
Wes Lambert
88c144a250 Curator - Fix path for master pillar additions 2018-12-05 15:51:10 +00:00
Wes Lambert
aa32a55b4e Curator - Update Master pillar in setup 2018-12-05 15:16:14 +00:00
Wes Lambert
3461c7e226 Curator - Update config for Eval Mode 2018-12-05 15:14:36 +00:00
Wes Lambert
7a260a4876 Curator - Move files to /usr/sbin 2018-12-05 13:24:16 +00:00
Wes Lambert
90e3b6912c Curator - Remove Curator files from ES module 2018-12-05 13:14:19 +00:00
Wes Lambert
2e73a6fb02 Curator - Update top.sls for Curator 2018-12-05 13:13:15 +00:00
Wes Lambert
1ccece70ef Curator - Remove config from ES 2018-12-05 13:10:29 +00:00
Wes Lambert
ce70e590a1 Curator - break out from ES and add config 2018-12-05 13:09:07 +00:00
Wes Lambert
4c67695cd0 Setup - Set cur_close_days and log_size_limit 2018-12-05 13:06:29 +00:00
dlee35
705b242042 Added docker_registry to centos and fixed service restart/enable 2018-12-05 08:05:08 -05:00
Mike Reeves
0f0adb6c4b Core Module - Changed interval to 30s for telegraf to slow down the amount of data 2018-12-04 20:54:42 -05:00
Mike Reeves
9a61c460b4 Core Module - Start Tracking InfluxDB size in telegraf 2018-12-04 20:49:26 -05:00
Mike Reeves
00e57d9b03 Core Module - Fix font size for PCAP retention so when it hits weeks it looks ok 2018-12-04 20:24:49 -05:00
Mike Reeves
d911c892ba Setup Script - Restart salt Minion after nuking key 2018-12-04 17:42:50 -05:00
Mike Reeves
f41f619441 Merge pull request #45 from dlee35/master
Proxy path setup
2018-12-04 08:17:20 -05:00
Dustin Lee
afa39aa7df Added basePath for proxy config 2018-12-03 20:36:53 -05:00
Mike Reeves
8c77d74efe Firewall Module - Add mysql access 2018-12-03 20:29:22 -05:00
Mike Reeves
8667cad374 Mysql Module - Fix config location 2018-12-03 20:26:11 -05:00
Mike Reeves
9deaba8be9 Mysql Module - Change to new docker 2018-12-03 20:20:57 -05:00
Dustin Lee
40a87d339f Added /grafana/ and /kibana/ proxy info 2018-12-03 20:00:36 -05:00
Dustin Lee
935c4470e8 Added /grafana/ and /kibana/ proxy info 2018-12-03 19:59:43 -05:00
Dustin Lee
27dce49a31 Uncommented root_url and added proxy info 2018-12-03 19:56:09 -05:00
Dustin Lee
39c3e5793f Added grafana.ini in RO to prep for proxy 2018-12-03 19:54:33 -05:00
Mike Reeves
ac5510ee95 Merge pull request #21 from TOoSmOotH/master
Fix an upstream issue with python-docker
2018-12-03 17:23:37 -05:00
Mike Reeves
291e3b20f0 Setup Script - Fix Python 2018-12-03 17:04:35 -05:00
Mike Reeves
647e782687 Setup Script - Fix Python 2018-12-03 16:57:38 -05:00
Mike Reeves
a781da2c96 MySQL Module - Change to correct image 2018-12-03 16:51:34 -05:00
Mike Reeves
1d0f045fd1 MySQL Module - Fix name mismatch 2018-12-03 16:44:01 -05:00
Mike Reeves
5192dc3337 MySQL Module - AddMASTERIP entry 2018-12-03 16:39:02 -05:00
Mike Reeves
80202dbb07 MySQL Module - First BIG checkin 2018-12-03 16:32:40 -05:00
Mike Reeves
3ec8c16f35 Merge pull request #20 from TOoSmOotH/master
Fix MTU Setup Issue
2018-12-03 15:22:42 -05:00
Mike Reeves
f62cca2c07 Fix bug in setup for MTU 2018-12-03 15:19:49 -05:00
Mike Reeves
dbce2ffccd Mysql Module - Add my.cnf 2018-12-03 12:43:30 -05:00
Mike Reeves
c77d6be3d1 Fleet Skeleton 2018-12-02 10:32:14 -05:00
594 changed files with 55393 additions and 22063 deletions

59
.gitignore vendored
View File

@@ -1,2 +1,59 @@
# Created by https://www.gitignore.io/api/macos,windows
# Edit at https://www.gitignore.io/?templates=macos,windows
### macOS ###
# General
.DS_Store
.idea
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
### Windows ###
# Windows thumbnail cache files
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
# Dump file
*.stackdump
# Folder config file
[Dd]esktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msix
*.msm
*.msp
# Windows shortcuts
*.lnk
# End of https://www.gitignore.io/api/macos,windows

134
README.md
View File

@@ -1,81 +1,125 @@
# Security Onion Hybrid Hunter Tech Preview 1.0.4
## Hybrid Hunter Beta 1.4.1 - Beta 3
### About
Hybrid Hunter is a brand new Security Onion platform with the following characteristics:
- Move from Ubuntu DEB packages to Docker images
- Support both Ubuntu 16.04 and RedHat/CentOS 7
- Higher performance
- More centralized configuration
- Fix install script to handle hostnames properly.
## Hybrid Hunter Beta 1.4.0 - Beta 3
- Complete overhaul of the way we handle custom and default settings and data. You will now see a default and local directory under the saltstack directory. All customizations are stored in local.
- The way firewall rules are handled has been completely revamped. This will allow the user to customize firewall rules much easier.
- Users can now change their own password in SOC.
- Hunt now allows users to enable auto-hunt. This is a toggle which, when enabled, automatically submits a new hunt when filtering, grouping, etc.
- Title bar now reflects current Hunt query. This will assist users in locating a previous query from their browser history.
- Zeek 3.0.7
- Elastic 7.7.1
- Suricata can now be used for meta data generation.
- Suricata eve.json has been moved to `/nsm` to align with storage of other data.
- Suricata will now properly rotate its logs.
- Grafana dashboards now work properly in standalone mode.
- Kibana Dashboard updates including osquery, community_id.
- New Elasticsearch Ingest processor to generate community_id from any log that includes the required fields.
- Community_id generated for additional logs: Zeek HTTP/SMTP/ , Sysmon shipped with Osquery or Winlogbeat.
- Major streamlining of Fleet setup & configuration - no need to run a secondary setup script anymore.
- Fleet Standalone node now includes the ability to set a FQDN to point osquery endpoints to.
- Distributed installs now support ingesting Windows Eventlogs via Winlogbeat - includes full parsing support for Sysmon.
- SOC Downloads section now includes a link to the supported version of Winlogbeat.
- Basic syslog ingestion capability now included.
- Elasticsearch index name transition fixes for various components.
- Updated URLs for pivot fields in Kibana.
- Instances of `hive` renamed to `thehive`.
### Known Issues:
- The Hunt feature is currently considered "Preview" and although very useful in its current state, not everything works. We wanted to get this out as soon as possible to get the feedback from you! Let us know what you want to see! Let us know what you think we should call it!
- You cannot pivot to PCAP from Suricata alerts in Kibana or Hunt.
- Navigator is currently not working when using hostname to access SOC. IP mode works correctly.
- Due to the move to ECS, the current Playbook plays may not alert correctly at this time.
- The osquery MacOS package does not install correctly.
## Hybrid Hunter Beta 1.3.0 - Beta 2
### Changes:
- New Feature: Codename: "Onion Hunt". Select Hunt from the menu and start hunting down your adversaries!
- Improved ECS support.
- Complete refactor of the setup to make it easier to follow.
- Improved setup script logging to better assist on any issues.
- Setup now checks for minimal requirements during install.
- Updated Cyberchef to version 9.20.3.
- Updated Elastalert to version 0.2.4 and switched to alpine to reduce container size.
- Updated Redis to 5.0.9 and switched to alpine to reduce container size.
- Updated Salt to 2019.2.5
- Updated Grafana to 6.7.3.
- Zeek 3.0.6
- Suricata 4.1.8
- Fixes so-status to now display correct containers and status.
- local.zeek is now controlled by a pillar instead of modifying the file directly.
- Renamed so-core to so-nginx and switched to alpine to reduce container size.
- Playbook now uses MySQL instead of SQLite.
- Sigma rules have all been updated.
- Kibana dashboard improvements for ECS.
- Fixed an issue where geoip was not properly parsed.
- ATT&CK Navigator is now it's own state.
- Standlone mode is now supported.
- Mastersearch previously used the same Grafana dashboard as a Search node. It now has its own dashboard that incorporates panels from the Master node and Search node dashboards.
### Known Issues:
- The Hunt feature is currently considered "Preview" and although very useful in its current state, not everything works. We wanted to get this out as soon as possible to get the feedback from you! Let us know what you want to see! Let us know what you think we should call it!
- You cannot pivot to PCAP from Suricata alerts in Kibana or Hunt.
- Updating users via the SOC ui is known to fail. To change a user, delete the user and re-add them.
- Due to the move to ECS, the current Playbook plays may not alert correctly at this time.
- The osquery MacOS package does not install correctly.
### Warnings and Disclaimers
- This technology PREVIEW is PRE-ALPHA, BLEEDING EDGE, and TOTALLY UNSUPPORTED!
- This BETA release is BLEEDING EDGE and TOTALLY UNSUPPORTED!
- If this breaks your system, you get to keep both pieces!
- This script is a work in progress and is in constant flux.
- This script is intended to build a quick prototype proof of concept so you can see what our new platform might look like. This configuration will change drastically over time leading up to the final - release.
- This script is intended to build a quick prototype proof of concept so you can see what our new platform might look like. This configuration will change drastically over time leading up to the final release.
- Do NOT run this on a system that you care about!
- Do NOT run this on a system that has data that you care about!
- This script should only be run on a TEST box with TEST data!
- This script is only designed for standalone boxes and does NOT support distributed deployments.
- Use of this script may result in nausea, vomiting, or a burning sensation.
### Requirements
Evaluation Mode:
- Single VM running Ubuntu 16.04 or CentOS 7
- Minimum 8GB of RAM
- ISO or a Single VM running Ubuntu 18.04 or CentOS 7
- Minimum 12GB of RAM
- Minimum 4 CPU cores
- Minimum 2 NICs
Distributed:
- 3 VMs running Ubuntu 16.04 or CentOS 7 (You can mix and match)
- 3 VMs running the ISO or Ubuntu 18.04 or CentOS 7 (You can mix and match)
- Minimum 8GB of RAM per VM
- Minimum 4 CPU cores per VM
- Minimum 2 NICs for forward nodes
### Prerequisites
If you are running CentOS 7 there are a couple of prerequisites:
```
sudo yum -y install git bind-utils
sudo hostnamectl set-hostname YOURHOSTNAME
sudo reboot
```
### Installation
Once you resolve those requirements or are using Ubuntu 16.04 do the following:
For most users, we recommend installing using [our ISO image](https://github.com/Security-Onion-Solutions/securityonion-saltstack/wiki/ISO).
If instead you would like to try a manual installation (not using our ISO), you can build from CentOS 7 or Ubuntu 18.04.
If using CentOS 7 Minimal, you will need to install git:
```sudo yum -y install git```
Once you have git, then do the following:
```
git clone https://github.com/Security-Onion-Solutions/securityonion-saltstack
cd securityonion-saltstack
sudo bash so-setup-network.sh
sudo bash so-setup-network
```
Follow the prompts and reboot if asked to do so.
Want to try the bleeding edge? You can install the following:
```
git clone https://github.com/TOoSmOotH/securityonion-saltstack
cd securityonion-saltstack
sudo bash so-setup-network.sh
```
This is an active development repo so many things can and will be broken.
### Allow Access to Kibana
Once Setup is complete and services have initialized, you can then allow access to Kibana as follows.
For a single host:
```
sudo /opt/so/saltstack/pillar/firewall/addfirewall.sh analyst 192.168.30.1
```
For a network range:
```
sudo /opt/so/saltstack/pillar/firewall/addfirewall.sh analyst 192.168.30.0/24
```
Then connect to your master via https://YOURMASTER
Then proceed to the [Hybrid Hunter Quick Start Guide](https://github.com/Security-Onion-Solutions/securityonion-saltstack/wiki/Hybrid-Hunter-Quick-Start-Guide).
### FAQ
See the [FAQ](https://github.com/Security-Onion-Solutions/securityonion-saltstack/wiki/FAQ) on the Hybrid Hunter wiki.

View File

@@ -1 +1 @@
1.0.4
1.4.1

View File

@@ -1,2 +0,0 @@
salt/bro/files/local.bro
salt/bro/files/local.bro.community

View File

@@ -0,0 +1,20 @@
{% import_yaml 'firewall/portgroups.yaml' as default_portgroups %}
{% set default_portgroups = default_portgroups.firewall.aliases.ports %}
{% import_yaml 'firewall/portgroups.local.yaml' as local_portgroups %}
{% if local_portgroups.firewall.aliases.ports %}
{% set local_portgroups = local_portgroups.firewall.aliases.ports %}
{% else %}
{% set local_portgroups = {} %}
{% endif %}
{% set portgroups = salt['defaults.merge'](default_portgroups, local_portgroups, in_place=False) %}
role:
eval:
fleet:
heavynode:
helixsensor:
master:
mastersearch:
standalone:
searchnode:
sensor:

View File

@@ -0,0 +1,62 @@
firewall:
hostgroups:
analyst:
ips:
delete:
insert:
beats_endpoint:
ips:
delete:
insert:
beats_endpoint_ssl:
ips:
delete:
insert:
fleet:
ips:
delete:
insert:
heavy_node:
ips:
delete:
insert:
master:
ips:
delete:
insert:
minion:
ips:
delete:
insert:
node:
ips:
delete:
insert:
osquery_endpoint:
ips:
delete:
insert:
search_node:
ips:
delete:
insert:
sensor:
ips:
delete:
insert:
syslog:
ips:
delete:
insert:
wazuh_agent:
ips:
delete:
insert:
wazuh_api:
ips:
delete:
insert:
wazuh_authd:
ips:
delete:
insert:

View File

@@ -0,0 +1,3 @@
firewall:
aliases:
ports:

View File

@@ -12,6 +12,7 @@
# modified files cause conflicts, set verify_env to False.
# user: socore
log_file: /opt/so/log/salt/master
##### File Server settings #####
##########################################
@@ -36,7 +37,9 @@
#
file_roots:
base:
- /opt/so/saltstack/salt
- /opt/so/saltstack/local/salt
- /opt/so/saltstack/default/salt
# The master_roots setting configures a master-only copy of the file_roots dictionary,
# used by the state compiler.
@@ -52,8 +55,13 @@ file_roots:
pillar_roots:
base:
- /opt/so/saltstack/pillar
- /opt/so/saltstack/local/pillar
- /opt/so/saltstack/default/pillar
peer:
.*:
- x509.sign_remote_certificate
reactor:
- 'so/fleet':
- salt://reactor/fleet.sls

View File

@@ -1,7 +1,8 @@
#!/usr/bin/env bash
# This script adds sensors/nodes/etc to the nodes tab
default_salt_dir=/opt/so/saltstack/default
local_salt_dir=/opt/so/saltstack/local
TYPE=$1
NAME=$2
IPADDRESS=$3
@@ -11,9 +12,11 @@ MANINT=$6
ROOTFS=$7
NSM=$8
MONINT=$9
#NODETYPE=$10
#HOTNAME=$11
echo "Seeing if this host is already in here. If so delete it"
if grep -q $NAME "/opt/so/saltstack/pillar/data/$TYPE.sls"; then
if grep -q $NAME "$local_salt_dir/pillar/data/$TYPE.sls"; then
echo "Node Already Present - Let's re-add it"
awk -v blah=" $NAME:" 'BEGIN{ print_flag=1 }
{
@@ -29,23 +32,29 @@ if grep -q $NAME "/opt/so/saltstack/pillar/data/$TYPE.sls"; then
if ( print_flag == 1 )
print $0
} ' /opt/so/saltstack/pillar/data/$TYPE.sls > /opt/so/saltstack/pillar/data/tmp.$TYPE.sls
mv /opt/so/saltstack/pillar/data/tmp.$TYPE.sls /opt/so/saltstack/pillar/data/$TYPE.sls
} ' $local_salt_dir/pillar/data/$TYPE.sls > $local_salt_dir/pillar/data/tmp.$TYPE.sls
mv $local_salt_dir/pillar/data/tmp.$TYPE.sls $local_salt_dir/pillar/data/$TYPE.sls
echo "Deleted $NAME from the tab. Now adding it in again with updated info"
fi
echo " $NAME:" >> /opt/so/saltstack/pillar/data/$TYPE.sls
echo " ip: $IPADDRESS" >> /opt/so/saltstack/pillar/data/$TYPE.sls
echo " manint: $MANINT" >> /opt/so/saltstack/pillar/data/$TYPE.sls
echo " totalcpus: $CPUS" >> /opt/so/saltstack/pillar/data/$TYPE.sls
echo " guid: $GUID" >> /opt/so/saltstack/pillar/data/$TYPE.sls
echo " rootfs: $ROOTFS" >> /opt/so/saltstack/pillar/data/$TYPE.sls
echo " nsmfs: $NSM" >> /opt/so/saltstack/pillar/data/$TYPE.sls
echo " $NAME:" >> $local_salt_dir/pillar/data/$TYPE.sls
echo " ip: $IPADDRESS" >> $local_salt_dir/pillar/data/$TYPE.sls
echo " manint: $MANINT" >> $local_salt_dir/pillar/data/$TYPE.sls
echo " totalcpus: $CPUS" >> $local_salt_dir/pillar/data/$TYPE.sls
echo " guid: $GUID" >> $local_salt_dir/pillar/data/$TYPE.sls
echo " rootfs: $ROOTFS" >> $local_salt_dir/pillar/data/$TYPE.sls
echo " nsmfs: $NSM" >> $local_salt_dir/pillar/data/$TYPE.sls
if [ $TYPE == 'sensorstab' ]; then
echo " monint: $MONINT" >> /opt/so/saltstack/pillar/data/$TYPE.sls
salt-call state.apply common
echo " monint: $MONINT" >> $local_salt_dir/pillar/data/$TYPE.sls
salt-call state.apply grafana queue=True
fi
if [ $TYPE == 'evaltab' ]; then
echo " monint: $MONINT" >> /opt/so/saltstack/pillar/data/$TYPE.sls
salt-call state.apply common
salt-call state.apply utility
if [ $TYPE == 'evaltab' ] || [ $TYPE == 'standalonetab' ]; then
echo " monint: $MONINT" >> $local_salt_dir/pillar/data/$TYPE.sls
if [ ! $10 ]; then
salt-call state.apply grafana queue=True
salt-call state.apply utility queue=True
fi
fi
#if [ $TYPE == 'nodestab' ]; then
# echo " nodetype: $NODETYPE" >> $local_salt_dir/pillar/data/$TYPE.sls
# echo " hotname: $HOTNAME" >> $local_salt_dir/pillar/data/$TYPE.sls
#fi

View File

@@ -1 +0,0 @@
evaltab:

View File

@@ -1 +0,0 @@
mastertab:

View File

@@ -1 +0,0 @@
nodestab:

View File

@@ -1 +0,0 @@
sensorstab:

211
pillar/docker/config.sls Normal file
View File

@@ -0,0 +1,211 @@
{%- set FLEETMASTER = salt['pillar.get']('static:fleet_master', False) -%}
{%- set FLEETNODE = salt['pillar.get']('static:fleet_node', False) -%}
{% set WAZUH = salt['pillar.get']('master:wazuh', '0') %}
{% set THEHIVE = salt['pillar.get']('master:thehive', '0') %}
{% set PLAYBOOK = salt['pillar.get']('master:playbook', '0') %}
{% set FREQSERVER = salt['pillar.get']('master:freq', '0') %}
{% set DOMAINSTATS = salt['pillar.get']('master:domainstats', '0') %}
{% set BROVER = salt['pillar.get']('static:broversion', 'COMMUNITY') %}
{% set GRAFANA = salt['pillar.get']('master:grafana', '0') %}
eval:
containers:
- so-nginx
- so-telegraf
{% if GRAFANA == '1' %}
- so-influxdb
- so-grafana
{% endif %}
- so-dockerregistry
- so-soc
- so-kratos
- so-idstools
{% if FLEETMASTER %}
- so-mysql
- so-fleet
- so-redis
{% endif %}
- so-elasticsearch
- so-logstash
- so-kibana
- so-steno
- so-suricata
- so-zeek
- so-curator
- so-elastalert
{% if WAZUH != '0' %}
- so-wazuh
{% endif %}
- so-soctopus
{% if THEHIVE != '0' %}
- so-thehive
- so-thehive-es
- so-cortex
{% endif %}
{% if PLAYBOOK != '0' %}
- so-playbook
- so-navigator
{% endif %}
{% if FREQSERVER != '0' %}
- so-freqserver
{% endif %}
{% if DOMAINSTATS != '0' %}
- so-domainstats
{% endif %}
heavy_node:
containers:
- so-nginx
- so-telegraf
- so-redis
- so-logstash
- so-elasticsearch
- so-curator
- so-steno
- so-suricata
- so-wazuh
- so-filebeat
{% if BROVER != 'SURICATA' %}
- so-zeek
{% endif %}
helix:
containers:
- so-nginx
- so-telegraf
- so-idstools
- so-steno
- so-zeek
- so-redis
- so-logstash
- so-filebeat
hot_node:
containers:
- so-nginx
- so-telegraf
- so-logstash
- so-elasticsearch
- so-curator
master_search:
containers:
- so-nginx
- so-telegraf
- so-soc
- so-kratos
- so-acng
- so-idstools
- so-redis
- so-logstash
- so-elasticsearch
- so-curator
- so-kibana
- so-elastalert
- so-filebeat
- so-soctopus
{% if FLEETMASTER %}
- so-mysql
- so-fleet
- so-redis
{% endif %}
{% if WAZUH != '0' %}
- so-wazuh
{% endif %}
- so-soctopus
{% if THEHIVE != '0' %}
- so-thehive
- so-thehive-es
- so-cortex
{% endif %}
{% if PLAYBOOK != '0' %}
- so-playbook
- so-navigator
{% endif %}
{% if FREQSERVER != '0' %}
- so-freqserver
{% endif %}
{% if DOMAINSTATS != '0' %}
- so-domainstats
{% endif %}
master:
containers:
- so-dockerregistry
- so-nginx
- so-telegraf
{% if GRAFANA == '1' %}
- so-influxdb
- so-grafana
{% endif %}
- so-soc
- so-kratos
- so-acng
- so-idstools
- so-redis
- so-elasticsearch
- so-logstash
- so-kibana
- so-elastalert
- so-filebeat
{% if FLEETMASTER %}
- so-mysql
- so-fleet
- so-redis
{% endif %}
{% if WAZUH != '0' %}
- so-wazuh
{% endif %}
- so-soctopus
{% if THEHIVE != '0' %}
- so-thehive
- so-thehive-es
- so-cortex
{% endif %}
{% if PLAYBOOK != '0' %}
- so-playbook
- so-navigator
{% endif %}
{% if FREQSERVER != '0' %}
- so-freqserver
{% endif %}
{% if DOMAINSTATS != '0' %}
- so-domainstats
{% endif %}
parser_node:
containers:
- so-nginx
- so-telegraf
- so-logstash
search_node:
containers:
- so-nginx
- so-telegraf
- so-logstash
- so-elasticsearch
- so-curator
- so-filebeat
{% if WAZUH != '0' %}
- so-wazuh
{% endif %}
sensor:
containers:
- so-nginx
- so-telegraf
- so-steno
- so-suricata
{% if BROVER != 'SURICATA' %}
- so-zeek
{% endif %}
- so-wazuh
- so-filebeat
warm_node:
containers:
- so-nginx
- so-telegraf
- so-elasticsearch
fleet:
containers:
{% if FLEETNODE %}
- so-mysql
- so-fleet
- so-redis
- so-filebeat
- so-nginx
- so-telegraf
{% endif %}

View File

@@ -1,13 +1,13 @@
#!/usr/bin/env bash
# This script adds ip addresses to specific rule sets defined by the user
local_salt_dir=/opt/so/saltstack/local
POLICY=$1
IPADDRESS=$2
if grep -q $2 "/opt/so/saltstack/pillar/firewall/$1.sls"; then
if grep -q $2 "$local_salt_dir/pillar/firewall/$1.sls"; then
echo "Firewall Rule Already There"
else
echo " - $2" >> /opt/so/saltstack/pillar/firewall/$1.sls
salt-call state.apply firewall
fi
echo " - $2" >> $local_salt_dir/pillar/firewall/$1.sls
salt-call state.apply firewall queue=True
fi

View File

@@ -1,3 +0,0 @@
analyst:
- 127.0.0.1

View File

@@ -1,3 +0,0 @@
beats_endpoint:
- 127.0.0.1

View File

@@ -1,3 +0,0 @@
forward_nodes:
- 127.0.0.1

View File

@@ -1,2 +0,0 @@
masterfw:
- 127.0.0.1

View File

@@ -1,3 +0,0 @@
minions:
- 127.0.0.1

62
pillar/firewall/ports.sls Normal file
View File

@@ -0,0 +1,62 @@
firewall:
analyst:
ports:
tcp:
- 80
- 443
udp:
beats_endpoint:
ports:
tcp:
- 5044
forward_nodes:
ports:
tcp:
- 443
- 5044
- 5644
- 9822
udp:
master:
ports:
tcp:
- 1514
- 3200
- 3306
- 4200
- 5601
- 6379
- 8086
- 8090
- 9001
- 9200
- 9300
- 9400
- 9500
udp:
- 1514
minions:
ports:
tcp:
- 3142
- 4505
- 4506
- 5000
- 8080
- 8086
- 55000
osquery_endpoint:
ports:
tcp:
- 8090
search_nodes:
ports:
tcp:
- 6379
- 9300
wazuh_endpoint:
ports:
tcp:
- 1514
udp:
-1514

View File

@@ -1,2 +0,0 @@
storage_nodes:
- 127.0.0.1

View File

@@ -0,0 +1,5 @@
healthcheck:
enabled: False
schedule: 300
checks:
- zeek

View File

@@ -0,0 +1,5 @@
healthcheck:
enabled: False
schedule: 300
checks:
- zeek

View File

@@ -0,0 +1,5 @@
healthcheck:
enabled: False
schedule: 300
checks:
- zeek

21
pillar/logstash/eval.sls Normal file
View File

@@ -0,0 +1,21 @@
logstash:
pipelines:
eval:
config:
- so/0800_input_eval.conf
- so/1002_preprocess_json.conf
- so/1033_preprocess_snort.conf
- so/7100_osquery_wel.conf
- so/8999_postprocess_rename_type.conf
- so/9000_output_bro.conf.jinja
- so/9002_output_import.conf.jinja
- so/9033_output_snort.conf.jinja
- so/9100_output_osquery.conf.jinja
- so/9400_output_suricata.conf.jinja
- so/9500_output_beats.conf.jinja
- so/9600_output_ossec.conf.jinja
- so/9700_output_strelka.conf.jinja
templates:
- so/so-beats-template.json
- so/so-common-template.json
- so/so-zeek-template.json

42
pillar/logstash/helix.sls Normal file
View File

@@ -0,0 +1,42 @@
logstash:
pipelines:
helix:
config:
- so/0010_input_hhbeats.conf
- so/1033_preprocess_snort.conf
- so/1100_preprocess_bro_conn.conf
- so/1101_preprocess_bro_dhcp.conf
- so/1102_preprocess_bro_dns.conf
- so/1103_preprocess_bro_dpd.conf
- so/1104_preprocess_bro_files.conf
- so/1105_preprocess_bro_ftp.conf
- so/1106_preprocess_bro_http.conf
- so/1107_preprocess_bro_irc.conf
- so/1108_preprocess_bro_kerberos.conf
- so/1109_preprocess_bro_notice.conf
- so/1110_preprocess_bro_rdp.conf
- so/1111_preprocess_bro_signatures.conf
- so/1112_preprocess_bro_smtp.conf
- so/1113_preprocess_bro_snmp.conf
- so/1114_preprocess_bro_software.conf
- so/1115_preprocess_bro_ssh.conf
- so/1116_preprocess_bro_ssl.conf
- so/1117_preprocess_bro_syslog.conf
- so/1118_preprocess_bro_tunnel.conf
- so/1119_preprocess_bro_weird.conf
- so/1121_preprocess_bro_mysql.conf
- so/1122_preprocess_bro_socks.conf
- so/1123_preprocess_bro_x509.conf
- so/1124_preprocess_bro_intel.conf
- so/1125_preprocess_bro_modbus.conf
- so/1126_preprocess_bro_sip.conf
- so/1127_preprocess_bro_radius.conf
- so/1128_preprocess_bro_pe.conf
- so/1129_preprocess_bro_rfb.conf
- so/1130_preprocess_bro_dnp3.conf
- so/1131_preprocess_bro_smb_files.conf
- so/1132_preprocess_bro_smb_mapping.conf
- so/1133_preprocess_bro_ntlm.conf
- so/1134_preprocess_bro_dce_rpc.conf
- so/8001_postprocess_common_ip_augmentation.conf
- so/9997_output_helix.conf.jinja

11
pillar/logstash/init.sls Normal file
View File

@@ -0,0 +1,11 @@
logstash:
docker_options:
port_bindings:
- 0.0.0.0:514:514
- 0.0.0.0:5044:5044
- 0.0.0.0:5644:5644
- 0.0.0.0:6050:6050
- 0.0.0.0:6051:6051
- 0.0.0.0:6052:6052
- 0.0.0.0:6053:6053
- 0.0.0.0:9600:9600

View File

@@ -0,0 +1,7 @@
logstash:
pipelines:
master:
config:
- so/0009_input_beats.conf
- so/0010_input_hhbeats.conf
- so/9999_output_redis.conf.jinja

View File

@@ -0,0 +1,16 @@
logstash:
pipelines:
search:
config:
- so/0900_input_redis.conf.jinja
- so/9000_output_zeek.conf.jinja
- so/9002_output_import.conf.jinja
- so/9034_output_syslog.conf.jinja
- so/9100_output_osquery.conf.jinja
- so/9400_output_suricata.conf.jinja
- so/9500_output_beats.conf.jinja
- so/9600_output_ossec.conf.jinja
- so/9700_output_strelka.conf.jinja
templates:
- so/so-common-template.json
- so/so-zeek-template.json

View File

@@ -1,10 +0,0 @@
# Example Pillar file for a master
master:
esaccessip: 127.0.0.1
esheap: CHANGEME
esclustername: {{ grains.host }}
freq: 0
domainstats: 0
lsheap: 1500m
lsaccessip: 127.0.0.1
elastalert: 1

View File

@@ -1,5 +0,0 @@
# Example Pillar file for a sensor
node:
ls_heapsize: CHANGEME
es_heapsize: CHANGEME
node_type: CHANGEME

View File

@@ -0,0 +1,2 @@
mine_functions:
needs_restarting.check: []

View File

@@ -1,14 +0,0 @@
# Example Pillar file for a sensor
sensor:
interface: CHANGEME
bro_pins:
- 1
- 2
- 3
- 4
brobpf:
pcapbpf:
nidsbpf:
s3bucket:
s3key:

View File

@@ -0,0 +1,44 @@
thresholding:
sids:
8675309:
- threshold:
gen_id: 1
type: threshold
track: by_src
count: 10
seconds: 10
- threshold:
gen_id: 1
type: limit
track: by_dst
count: 100
seconds: 30
- rate_filter:
gen_id: 1
track: by_rule
count: 50
seconds: 30
new_action: alert
timeout: 30
- suppress:
gen_id: 1
track: by_either
ip: 10.10.3.7
11223344:
- threshold:
gen_id: 1
type: limit
track: by_dst
count: 10
seconds: 10
- rate_filter:
gen_id: 1
track: by_src
count: 50
seconds: 20
new_action: pass
timeout: 60
- suppress:
gen_id: 1
track: by_src
ip: 10.10.3.0/24

View File

@@ -0,0 +1,20 @@
thresholding:
sids:
<signature id>:
- threshold:
gen_id: <generator id>
type: <threshold | limit | both>
track: <by_src | by_dst>
count: <count>
seconds: <seconds>
- rate_filter:
gen_id: <generator id>
track: <by_src | by_dst | by_rule | by_both>
count: <count>
seconds: <seconds>
new_action: <alert | pass>
timeout: <seconds>
- suppress:
gen_id: <generator id>
track: <by_src | by_dst | by_either>
ip: <ip | subnet>

View File

@@ -1,24 +1,78 @@
base:
'G@role:so-sensor':
- sensors.{{ grains.host }}
'*':
- patch.needs_restarting
'*_eval or *_helix or *_heavynode or *_sensor or *_standalone':
- match: compound
- zeek
'*_mastersearch or *_heavynode':
- match: compound
- logstash
- logstash.master
- logstash.search
'*_sensor':
- static
- firewall.*
- brologs
- healthcheck.sensor
- minions.{{ grains.id }}
'G@role:so-master':
- masters.{{ grains.host }}
'*_master or *_mastersearch':
- match: compound
- static
- firewall.*
- data.*
- secrets
- minions.{{ grains.id }}
'G@role:so-eval':
- masters.{{ grains.host }}
'*_master':
- logstash
- logstash.master
'*_eval':
- static
- firewall.*
- data.*
- brologs
- secrets
- healthcheck.eval
- minions.{{ grains.id }}
'G@role:so-node':
- nodes.{{ grains.host }}
'*_standalone':
- logstash
- logstash.master
- logstash.search
- data.*
- brologs
- secrets
- healthcheck.standalone
- static
- firewall.*
- minions.{{ grains.id }}
'*_node':
- static
- minions.{{ grains.id }}
'*_heavynode':
- static
- brologs
- minions.{{ grains.id }}
'*_helix':
- static
- fireeye
- brologs
- logstash
- logstash.helix
- minions.{{ grains.id }}
'*_fleet':
- static
- data.*
- secrets
- minions.{{ grains.id }}
'*_searchnode':
- static
- logstash
- logstash.search
- minions.{{ grains.id }}

55
pillar/zeek/init.sls Normal file
View File

@@ -0,0 +1,55 @@
zeek:
zeekctl:
MailTo: root@localhost
MailConnectionSummary: 1
MinDiskSpace: 5
MailHostUpDown: 1
LogRotationInterval: 3600
LogExpireInterval: 0
StatsLogEnable: 1
StatsLogExpireInterval: 0
StatusCmdShowAll: 0
CrashExpireInterval: 0
SitePolicyScripts: local.zeek
LogDir: /nsm/zeek/logs
SpoolDir: /nsm/zeek/spool
CfgDir: /opt/zeek/etc
CompressLogs: 1
local:
'@load':
- misc/loaded-scripts
- tuning/defaults
- misc/capture-loss
- misc/stats
- frameworks/software/vulnerable
- frameworks/software/version-changes
- protocols/ftp/software
- protocols/smtp/software
- protocols/ssh/software
- protocols/http/software
- protocols/dns/detect-external-names
- protocols/ftp/detect
- protocols/conn/known-hosts
- protocols/conn/known-services
- protocols/ssl/known-certs
- protocols/ssl/validate-certs
- protocols/ssl/log-hostcerts-only
- protocols/ssh/geo-data
- protocols/ssh/detect-bruteforcing
- protocols/ssh/interesting-hostnames
- protocols/http/detect-sqli
- frameworks/files/hash-all-files
- frameworks/files/detect-MHR
- policy/frameworks/notice/extend-email/hostnames
- ja3
- hassh
- intel
- cve-2020-0601
- securityonion/bpfconf
- securityonion/communityid
- securityonion/file-extraction
'@load-sigs':
- frameworks/signatures/detect-windows-shells
redef:
- LogAscii::use_json = T;
- LogAscii::json_timestamps = JSON::TS_ISO8601;

33
salt/_beacons/zeek.py Normal file
View File

@@ -0,0 +1,33 @@
import logging
def status():
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl status'"
retval = __salt__['docker.run']('so-zeek', cmd)
logging.info('zeekctl_module: zeekctl.status retval: %s' % retval)
return retval
def beacon(config):
retval = []
is_enabled = __salt__['healthcheck.is_enabled']()
logging.info('zeek_beacon: healthcheck_is_enabled: %s' % is_enabled)
if is_enabled:
zeekstatus = status().lower().split(' ')
logging.info('zeek_beacon: zeekctl.status: %s' % str(zeekstatus))
if 'stopped' in zeekstatus or 'crashed' in zeekstatus or 'error' in zeekstatus or 'error:' in zeekstatus:
zeek_restart = True
else:
zeek_restart = False
__salt__['telegraf.send']('healthcheck zeek_restart=%s' % str(zeek_restart))
retval.append({'zeek_restart': zeek_restart})
logging.info('zeek_beacon: retval: %s' % str(retval))
return retval

View File

@@ -0,0 +1,96 @@
#!py
import logging
import sys
allowed_functions = ['is_enabled', 'zeek']
states_to_apply = []
def apply_states(states=''):
calling_func = sys._getframe().f_back.f_code.co_name
logging.debug('healthcheck_module: apply_states function caller: %s' % calling_func)
if not states:
states = ','.join(states_to_apply)
if states:
logging.info('healthcheck_module: apply_states states: %s' % str(states))
__salt__['state.apply'](states)
def docker_stop(container):
try:
stopdocker = __salt__['docker.rm'](container, 'stop=True')
except Exception as e:
logging.error('healthcheck_module: %s' % e)
def is_enabled():
if __salt__['pillar.get']('healthcheck:enabled', 'False'):
retval = True
else:
retval = False
return retval
def run(checks=''):
retval = []
calling_func = sys._getframe().f_back.f_code.co_name
logging.debug('healthcheck_module: run function caller: %s' % calling_func)
if checks:
checks = checks.split(',')
else:
checks = __salt__['pillar.get']('healthcheck:checks', {})
logging.debug('healthcheck_module: run checks to be run: %s' % str(checks))
for check in checks:
if check in allowed_functions:
retval.append(check)
check = getattr(sys.modules[__name__], check)
check()
else:
logging.warning('healthcheck_module: attempted to run function %s' % check)
# If you want to apply states at the end of the run,
# be sure to append the state name to states_to_apply[]
apply_states()
return retval
def send_event(tag, eventdata):
__salt__['event.send'](tag, eventdata[0])
def zeek():
calling_func = sys._getframe().f_back.f_code.co_name
logging.debug('healthcheck_module: zeek function caller: %s' % calling_func)
retval = []
retcode = __salt__['zeekctl.status'](verbose=False)
logging.debug('healthcheck_module: zeekctl.status retcode: %i' % retcode)
if retcode:
zeek_restart = 1
if calling_func != 'beacon':
docker_stop('so-zeek')
states_to_apply.append('zeek')
else:
zeek_restart = 0
__salt__['telegraf.send']('healthcheck zeek_restart=%i' % zeek_restart)
if calling_func == 'execute' and zeek_restart:
apply_states()
retval.append({'zeek_restart': zeek_restart})
send_event('so/healthcheck/zeek', retval)
return retval

View File

@@ -0,0 +1,24 @@
from os import path
import subprocess
def check():
os = __grains__['os']
retval = 'False'
if os == 'Ubuntu':
if path.exists('/var/run/reboot-required'):
retval = 'True'
elif os == 'CentOS':
cmd = 'needs-restarting -r > /dev/null 2>&1'
try:
needs_restarting = subprocess.check_call(cmd, shell=True)
except subprocess.CalledProcessError:
retval = 'True'
else:
retval = 'Unsupported OS: %s' % os
return retval

16
salt/_modules/telegraf.py Normal file
View File

@@ -0,0 +1,16 @@
#!py
import logging
import socket
def send(data):
mainint = __salt__['pillar.get']('sensor:mainint', __salt__['pillar.get']('master:mainint'))
mainip = __salt__['grains.get']('ip_interfaces').get(mainint)[0]
dstport = 8094
sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
sent = sock.sendto(data.encode('utf-8'), (mainip, dstport))
return sent

160
salt/_modules/zeekctl.py Normal file
View File

@@ -0,0 +1,160 @@
#!py
import logging
def capstats(interval=10):
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl capstats %i'" % interval
retval = __salt__['docker.run']('so-zeek', cmd)
return retval
def check():
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl check'"
retval = __salt__['docker.run']('so-zeek', cmd)
return retval
def cleanup(all=''):
retval = ''
if all:
if all == 'all':
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl cleanup --all'"
else:
retval = 'Invalid option. zeekctl.help for options'
else:
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl cleanup'"
if not retval:
retval = __salt__['docker.run']('so-zeek', cmd)
return retval
def config():
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl config'"
retval = __salt__['docker.run']('so-zeek', cmd)
return retval
def deploy():
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl deploy'"
retval = __salt__['docker.run']('so-zeek', cmd)
return retval
def df():
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl df'"
retval = __salt__['docker.run']('so-zeek', cmd)
return retval
def diag():
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl diag'"
retval = __salt__['docker.run']('so-zeek', cmd)
return retval
def install(local=''):
retval = ''
if local:
if local == 'local':
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl install --local'"
else:
retval = 'Invalid option. zeekctl.help for options'
else:
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl install'"
if not retval:
retval = __salt__['docker.run']('so-zeek', cmd)
return retval
def netstats():
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl netstats'"
retval = __salt__['docker.run']('so-zeek', cmd)
return retval
def nodes():
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl nodes'"
retval = __salt__['docker.run']('so-zeek', cmd)
return retval
def restart(clean=''):
retval = ''
if clean:
if clean == 'clean':
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl restart --clean'"
else:
retval = 'Invalid option. zeekctl.help for options'
else:
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl restart'"
if not retval:
retval = __salt__['docker.run']('so-zeek', cmd)
return retval
def scripts(c=''):
retval = ''
if c:
if c == 'c':
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl scripts -c'"
else:
retval = 'Invalid option. zeekctl.help for options'
else:
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl scripts'"
if not retval:
retval = __salt__['docker.run']('so-zeek', cmd)
return retval
def start():
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl start'"
retval = __salt__['docker.run']('so-zeek', cmd)
return retval
def status(verbose=True):
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl status'"
retval = __salt__['docker.run']('so-zeek', cmd)
if not verbose:
retval = __context__['retcode']
logging.info('zeekctl_module: zeekctl.status retval: %s' % retval)
return retval
def stop():
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl stop'"
retval = __salt__['docker.run']('so-zeek', cmd)
return retval
def top():
cmd = "runuser -l zeek -c '/opt/zeek/bin/zeekctl top'"
retval = __salt__['docker.run']('so-zeek', cmd)
return retval

View File

@@ -1,2 +0,0 @@
#!/bin/bash
/usr/bin/docker exec so-bro /opt/bro/bin/broctl netstats | awk -F '[ =]' '{RCVD += $5;DRP += $7;TTL += $9} END { print "rcvd: " RCVD, "dropped: " DRP, "total: " TTL}' >> /nsm/bro/logs/packetloss.log

View File

@@ -10,7 +10,7 @@ x509_signing_policies:
- keyUsage: "digitalSignature, nonRepudiation"
- subjectKeyIdentifier: hash
- authorityKeyIdentifier: keyid,issuer:always
- days_valid: 3000
- days_valid: 820
- copypath: /etc/pki/issued_certs/
registry:
- minions: '*'
@@ -23,7 +23,8 @@ x509_signing_policies:
- keyUsage: "critical keyEncipherment"
- subjectKeyIdentifier: hash
- authorityKeyIdentifier: keyid,issuer:always
- days_valid: 3000
- extendedKeyUsage: serverAuth
- days_valid: 820
- copypath: /etc/pki/issued_certs/
masterssl:
- minions: '*'
@@ -36,7 +37,8 @@ x509_signing_policies:
- keyUsage: "critical keyEncipherment"
- subjectKeyIdentifier: hash
- authorityKeyIdentifier: keyid,issuer:always
- days_valid: 3000
- extendedKeyUsage: serverAuth
- days_valid: 820
- copypath: /etc/pki/issued_certs/
influxdb:
- minions: '*'
@@ -49,5 +51,20 @@ x509_signing_policies:
- keyUsage: "critical keyEncipherment"
- subjectKeyIdentifier: hash
- authorityKeyIdentifier: keyid,issuer:always
- days_valid: 3000
- extendedKeyUsage: serverAuth
- days_valid: 820
- copypath: /etc/pki/issued_certs/
fleet:
- minions: '*'
- signing_private_key: /etc/pki/ca.key
- signing_cert: /etc/pki/ca.crt
- C: US
- ST: Utah
- L: Salt Lake City
- basicConstraints: "critical CA:false"
- keyUsage: "critical keyEncipherment"
- subjectKeyIdentifier: hash
- authorityKeyIdentifier: keyid,issuer:always
- extendedKeyUsage: serverAuth
- days_valid: 820
- copypath: /etc/pki/issued_certs/

View File

@@ -39,10 +39,8 @@ pki_private_key:
- require:
- file: /etc/pki
mine.send:
send_x509_pem_entries_to_mine:
module.run:
- func: x509.get_pem_entries
- kwargs:
glob_path: /etc/pki/ca.crt
- onchanges:
- x509: /etc/pki/ca.crt
- mine.send:
- func: x509.get_pem_entries
- glob_path: /etc/pki/ca.crt

View File

@@ -1,35 +0,0 @@
apiVersion: 1
providers:
{%- if grains['role'] != 'so-eval' %}
- name: 'Master'
folder: 'Master'
type: file
disableDeletion: false
editable: true
options:
path: /etc/grafana/grafana_dashboards/master
- name: 'Forward Nodes'
folder: 'Forward Nodes'
type: file
disableDeletion: false
editable: true
options:
path: /etc/grafana/grafana_dashboards/forward_nodes
- name: 'Storage Nodes'
folder: 'Storage Nodes'
type: file
disableDeletion: false
editable: true
options:
path: /etc/grafana/grafana_dashboards/storage_nodes
{%- else %}
- name: 'Security Onion'
folder: 'Eval Mode'
type: file
disableDeletion: false
editable: true
options:
path: /etc/grafana/grafana_dashboards/eval
{% endif %}

View File

@@ -14,7 +14,6 @@ socore:
- shell: /bin/bash
# Create a state directory
statedir:
file.directory:
- name: /opt/so/state
@@ -29,20 +28,85 @@ salttmp:
- group: 939
- makedirs: True
# Install packages needed for the sensor
sensorpkgs:
# Install epel
{% if grains['os'] == 'CentOS' %}
epel:
pkg.installed:
- skip_suggestions: False
- skip_suggestions: True
- pkgs:
- epel-release
{% endif %}
# Install common packages
{% if grains['os'] != 'CentOS' %}
commonpkgs:
pkg.installed:
- skip_suggestions: True
- pkgs:
- apache2-utils
- wget
- ntpdate
- jq
- python3-docker
- docker-ce
{% if grains['os'] != 'CentOS' %}
- python-docker
- python-m2crypto
{% else %}
- net-tools
- curl
- ca-certificates
- software-properties-common
- apt-transport-https
- openssl
- netcat
- python3-mysqldb
- sqlite3
- argon2
- libssl-dev
- python3-dateutil
- python3-m2crypto
- python3-mysqldb
- git
heldpackages:
pkg.installed:
- pkgs:
- containerd.io: 1.2.13-2
- docker-ce: 5:19.03.9~3-0~ubuntu-bionic
- hold: True
- update_holds: True
{% else %}
commonpkgs:
pkg.installed:
- skip_suggestions: True
- pkgs:
- wget
- ntpdate
- bind-utils
- jq
- tcpdump
{% endif %}
- httpd-tools
- net-tools
- curl
- sqlite
- argon2
- mariadb-devel
- nmap-ncat
- python3
- python36-docker
- python36-dateutil
- python36-m2crypto
- python36-mysql
- yum-utils
- device-mapper-persistent-data
- lvm2
- openssl
- git
heldpackages:
pkg.installed:
- pkgs:
- containerd.io: 1.2.13-3.2.el7
- docker-ce: 3:19.03.11-3.el7
- hold: True
- update_holds: True
{% endif %}
# Always keep these packages up to date
@@ -55,331 +119,15 @@ alwaysupdated:
- skip_suggestions: True
# Set time to UTC
Etc/UTC:
timezone.system
# Make sure Docker is running!
docker:
service.running:
- enable: True
salt-minion:
service.running:
- enable: True
# Drop the correct nginx config based on role
nginxconfdir:
file.directory:
- name: /opt/so/conf/nginx
- user: 939
- group: 939
- makedirs: True
nginxconf:
file.managed:
- name: /opt/so/conf/nginx/nginx.conf
- user: 939
- group: 939
- template: jinja
- source: salt://common/nginx/nginx.conf.{{ grains.role }}
nginxlogdir:
file.directory:
- name: /opt/so/log/nginx/
- user: 939
- group: 939
- makedirs: True
nginxtmp:
file.directory:
- name: /opt/so/tmp/nginx/tmp
- user: 939
- group: 939
- makedirs: True
# Start the core docker
so-core:
docker_container.running:
- image: soshybridhunter/so-core:HH1.0.3
- hostname: so-core
- user: socore
- binds:
- /opt/so:/opt/so:rw
- /opt/so/conf/nginx/nginx.conf:/etc/nginx/nginx.conf:ro
- /opt/so/log/nginx/:/var/log/nginx:rw
- /opt/so/tmp/nginx/:/var/lib/nginx:rw
- /opt/so/tmp/nginx/:/run:rw
- /etc/pki/masterssl.crt:/etc/pki/nginx/server.crt:ro
- /etc/pki/masterssl.key:/etc/pki/nginx/server.key:ro
- cap_add: NET_BIND_SERVICE
- port_bindings:
- 80:80
- 443:443
- watch:
- file: /opt/so/conf/nginx/nginx.conf
# Add Telegraf to monitor all the things.
tgraflogdir:
file.directory:
- name: /opt/so/log/telegraf
- makedirs: True
tgrafetcdir:
file.directory:
- name: /opt/so/conf/telegraf/etc
- makedirs: True
tgrafetsdir:
file.directory:
- name: /opt/so/conf/telegraf/scripts
- makedirs: True
tgrafsyncscripts:
# Sync some Utilities
utilsyncscripts:
file.recurse:
- name: /opt/so/conf/telegraf/scripts
- user: 939
- group: 939
- name: /usr/sbin
- user: 0
- group: 0
- file_mode: 755
- template: jinja
- source: salt://common/telegraf/scripts
tgrafconf:
file.managed:
- name: /opt/so/conf/telegraf/etc/telegraf.conf
- user: 939
- group: 939
- template: jinja
- source: salt://common/telegraf/etc/telegraf.conf
so-telegraf:
docker_container.running:
- image: soshybridhunter/so-telegraf:HH1.0.4
- environment:
- HOST_PROC=/host/proc
- HOST_ETC=/host/etc
- HOST_SYS=/host/sys
- HOST_MOUNT_PREFIX=/host
- network_mode: host
- binds:
- /opt/so/log/telegraf:/var/log/telegraf:rw
- /opt/so/conf/telegraf/etc/telegraf.conf:/etc/telegraf/telegraf.conf:ro
- /var/run/utmp:/var/run/utmp:ro
- /var/run/docker.sock:/var/run/docker.sock:ro
- /:/host/root:ro
- /sys:/host/sys:ro
- /proc:/host/proc:ro
- /nsm:/host/nsm:ro
- /etc:/host/etc:ro
{% if grains['role'] == 'so-master' or grains['role'] == 'so-eval' %}
- /etc/pki/ca.crt:/etc/telegraf/ca.crt:ro
{% else %}
- /etc/ssl/certs/intca.crt:/etc/telegraf/ca.crt:ro
{% endif %}
- /etc/pki/influxdb.crt:/etc/telegraf/telegraf.crt:ro
- /etc/pki/influxdb.key:/etc/telegraf/telegraf.key:ro
- /opt/so/conf/telegraf/scripts:/scripts:ro
- /opt/so/log/stenographer:/var/log/stenographer:ro
- /opt/so/log/suricata:/var/log/suricata:ro
- watch:
- /opt/so/conf/telegraf/etc/telegraf.conf
- /opt/so/conf/telegraf/scripts
# If its a master or eval lets install the back end for now
{% if grains['role'] == 'so-master' or grains['role'] == 'so-eval' %}
# Influx DB
influxconfdir:
file.directory:
- name: /opt/so/conf/influxdb/etc
- makedirs: True
influxdbdir:
file.directory:
- name: /nsm/influxdb
- makedirs: True
influxdbconf:
file.managed:
- name: /opt/so/conf/influxdb/etc/influxdb.conf
- user: 939
- group: 939
- template: jinja
- source: salt://common/influxdb/etc/influxdb.conf
so-influxdb:
docker_container.running:
- image: soshybridhunter/so-influxdb:HH1.0.4
- hostname: influxdb
- environment:
- INFLUXDB_HTTP_LOG_ENABLED=false
- binds:
- /opt/so/conf/influxdb/etc/influxdb.conf:/etc/influxdb/influxdb.conf:ro
- /nsm/influxdb:/var/lib/influxdb:rw
- /etc/pki/influxdb.crt:/etc/ssl/influxdb.crt:ro
- /etc/pki/influxdb.key:/etc/ssl/influxdb.key:ro
- port_bindings:
- 0.0.0.0:8086:8086
# Grafana all the things
grafanadir:
file.directory:
- name: /nsm/grafana
- user: 939
- group: 939
- makedirs: True
grafanaconfdir:
file.directory:
- name: /opt/so/conf/grafana/etc
- user: 939
- group: 939
- makedirs: True
grafanadashdir:
file.directory:
- name: /opt/so/conf/grafana/grafana_dashboards
- user: 939
- group: 939
- makedirs: True
grafanadashmdir:
file.directory:
- name: /opt/so/conf/grafana/grafana_dashboards/master
- user: 939
- group: 939
- makedirs: True
grafanadashevaldir:
file.directory:
- name: /opt/so/conf/grafana/grafana_dashboards/eval
- user: 939
- group: 939
- makedirs: True
grafanadashfndir:
file.directory:
- name: /opt/so/conf/grafana/grafana_dashboards/forward_nodes
- user: 939
- group: 939
- makedirs: True
grafanadashsndir:
file.directory:
- name: /opt/so/conf/grafana/grafana_dashboards/storage_nodes
- user: 939
- group: 939
- makedirs: True
grafanaconf:
file.recurse:
- name: /opt/so/conf/grafana/etc
- user: 939
- group: 939
- template: jinja
- source: salt://common/grafana/etc
{% if salt['pillar.get']('mastertab', False) %}
{%- for SN, SNDATA in salt['pillar.get']('mastertab', {}).iteritems() %}
dashboard-master:
file.managed:
- name: /opt/so/conf/grafana/grafana_dashboards/master/{{ SN }}-Master.json
- user: 939
- group: 939
- template: jinja
- source: salt://common/grafana/grafana_dashboards/master/master.json
- defaults:
SERVERNAME: {{ SN }}
MANINT: {{ SNDATA.manint }}
MONINT: {{ SNDATA.manint }}
CPUS: {{ SNDATA.totalcpus }}
UID: {{ SNDATA.guid }}
ROOTFS: {{ SNDATA.rootfs }}
NSMFS: {{ SNDATA.nsmfs }}
{%- endfor %}
{% endif %}
{% if salt['pillar.get']('sensorstab', False) %}
{%- for SN, SNDATA in salt['pillar.get']('sensorstab', {}).iteritems() %}
dashboard-{{ SN }}:
file.managed:
- name: /opt/so/conf/grafana/grafana_dashboards/forward_nodes/{{ SN }}-Sensor.json
- user: 939
- group: 939
- template: jinja
- source: salt://common/grafana/grafana_dashboards/forward_nodes/sensor.json
- defaults:
SERVERNAME: {{ SN }}
MONINT: {{ SNDATA.monint }}
MANINT: {{ SNDATA.manint }}
CPUS: {{ SNDATA.totalcpus }}
UID: {{ SNDATA.guid }}
ROOTFS: {{ SNDATA.rootfs }}
NSMFS: {{ SNDATA.nsmfs }}
{% endfor %}
{% endif %}
{% if salt['pillar.get']('nodestab', False) %}
{%- for SN, SNDATA in salt['pillar.get']('nodestab', {}).iteritems() %}
dashboard-{{ SN }}:
file.managed:
- name: /opt/so/conf/grafana/grafana_dashboards/storage_nodes/{{ SN }}-Node.json
- user: 939
- group: 939
- template: jinja
- source: salt://common/grafana/grafana_dashboards/storage_nodes/storage.json
- defaults:
SERVERNAME: {{ SN }}
MANINT: {{ SNDATA.manint }}
MONINT: {{ SNDATA.manint }}
CPUS: {{ SNDATA.totalcpus }}
UID: {{ SNDATA.guid }}
ROOTFS: {{ SNDATA.rootfs }}
NSMFS: {{ SNDATA.nsmfs }}
{% endfor %}
{% endif %}
{% if salt['pillar.get']('evaltab', False) %}
{%- for SN, SNDATA in salt['pillar.get']('evaltab', {}).iteritems() %}
dashboard-{{ SN }}:
file.managed:
- name: /opt/so/conf/grafana/grafana_dashboards/eval/{{ SN }}-Node.json
- user: 939
- group: 939
- template: jinja
- source: salt://common/grafana/grafana_dashboards/eval/eval.json
- defaults:
SERVERNAME: {{ SN }}
MANINT: {{ SNDATA.manint }}
MONINT: {{ SNDATA.manint }}
CPUS: {{ SNDATA.totalcpus }}
UID: {{ SNDATA.guid }}
ROOTFS: {{ SNDATA.rootfs }}
NSMFS: {{ SNDATA.nsmfs }}
{% endfor %}
{% endif %}
# Install the docker. This needs to be behind nginx at some point
so-grafana:
docker_container.running:
- image: soshybridhunter/so-grafana:HH1.0.4
- hostname: grafana
- user: socore
- binds:
- /nsm/grafana:/var/lib/grafana:rw
- /opt/so/conf/grafana/etc/datasources:/etc/grafana/provisioning/datasources:rw
- /opt/so/conf/grafana/etc/dashboards:/etc/grafana/provisioning/dashboards:rw
- /opt/so/conf/grafana/grafana_dashboards:/etc/grafana/grafana_dashboards:rw
- environment:
- GF_SECURITY_ADMIN_PASSWORD=augusta
- port_bindings:
- 0.0.0.0:3000:3000
- watch:
- file: /opt/so/conf/grafana/*
{% endif %}
- source: salt://common/tools/sbin

View File

@@ -0,0 +1,5 @@
{% set docker = {
'containers': [
'so-zeek'
]
} %}

View File

@@ -0,0 +1,5 @@
{% set docker = {
'containers': [
'so-domainstats'
]
} %}

View File

@@ -0,0 +1,19 @@
{% set docker = {
'containers': [
'so-filebeat',
'so-nginx',
'so-telegraf',
'so-dockerregistry',
'so-soc',
'so-kratos',
'so-idstools',
'so-elasticsearch',
'so-kibana',
'so-steno',
'so-suricata',
'so-zeek',
'so-curator',
'so-elastalert',
'so-soctopus'
]
} %}

View File

@@ -0,0 +1,10 @@
{% set docker = {
'containers': [
'so-mysql',
'so-fleet',
'so-redis',
'so-filebeat',
'so-nginx',
'so-telegraf'
]
} %}

View File

@@ -0,0 +1,7 @@
{% set docker = {
'containers': [
'so-mysql',
'so-fleet',
'so-redis'
]
} %}

View File

@@ -0,0 +1,5 @@
{% set docker = {
'containers': [
'so-freqserver'
]
} %}

View File

@@ -0,0 +1,6 @@
{% set docker = {
'containers': [
'so-influxdb',
'so-grafana'
]
} %}

View File

@@ -0,0 +1,14 @@
{% set docker = {
'containers': [
'so-nginx',
'so-telegraf',
'so-redis',
'so-logstash',
'so-elasticsearch',
'so-curator',
'so-steno',
'so-suricata',
'so-wazuh',
'so-filebeat
]
} %}

View File

@@ -0,0 +1,12 @@
{% set docker = {
'containers': [
'so-nginx',
'so-telegraf',
'so-idstools',
'so-steno',
'so-zeek',
'so-redis',
'so-logstash',
'so-filebeat
]
} %}

View File

@@ -0,0 +1,9 @@
{% set docker = {
'containers': [
'so-nginx',
'so-telegraf',
'so-logstash',
'so-elasticsearch',
'so-curator',
]
} %}

View File

@@ -0,0 +1,18 @@
{% set docker = {
'containers': [
'so-dockerregistry',
'so-nginx',
'so-telegraf',
'so-soc',
'so-kratos',
'so-aptcacherng',
'so-idstools',
'so-redis',
'so-elasticsearch',
'so-logstash',
'so-kibana',
'so-elastalert',
'so-filebeat',
'so-soctopus'
]
} %}

View File

@@ -0,0 +1,18 @@
{% set docker = {
'containers': [
'so-nginx',
'so-telegraf',
'so-soc',
'so-kratos',
'so-aptcacherng',
'so-idstools',
'so-redis',
'so-logstash',
'so-elasticsearch',
'so-curator',
'so-kibana',
'so-elastalert',
'so-filebeat',
'so-soctopus'
]
} %}

View File

@@ -0,0 +1,6 @@
{% set docker = {
'containers': [
'so-playbook',
'so-navigator'
]
} %}

View File

@@ -0,0 +1,10 @@
{% set docker = {
'containers': [
'so-nginx',
'so-telegraf',
'so-logstash',
'so-elasticsearch',
'so-curator',
'so-filebeat'
]
} %}

View File

@@ -0,0 +1,8 @@
{% set docker = {
'containers': [
'so-telegraf',
'so-steno',
'so-suricata',
'so-filebeat'
]
} %}

View File

@@ -0,0 +1,45 @@
{% set role = grains.id.split('_') | last %}
{% from 'common/maps/'~ role ~'.map.jinja' import docker with context %}
# Check if the service is enabled and append it's required containers
# to the list predefined by the role / minion id affix
{% macro append_containers(pillar_name, k, compare )%}
{% if salt['pillar.get'](pillar_name~':'~k, {}) != compare %}
{% from 'common/maps/'~k~'.map.jinja' import docker as d with context %}
{% for li in d['containers'] %}
{{ docker['containers'].append(li) }}
{% endfor %}
{% endif %}
{% endmacro %}
{% set docker = salt['grains.filter_by']({
'*_'~role: {
'containers': docker['containers']
}
},grain='id', merge=salt['pillar.get']('docker')) %}
{% if role in ['eval', 'mastersearch', 'master', 'standalone'] %}
{{ append_containers('master', 'grafana', 0) }}
{{ append_containers('static', 'fleet_master', 0) }}
{{ append_containers('master', 'wazuh', 0) }}
{{ append_containers('master', 'thehive', 0) }}
{{ append_containers('master', 'playbook', 0) }}
{{ append_containers('master', 'freq', 0) }}
{{ append_containers('master', 'domainstats', 0) }}
{% endif %}
{% if role in ['eval', 'heavynode', 'sensor', 'standalone'] %}
{{ append_containers('static', 'strelka', 0) }}
{% endif %}
{% if role in ['heavynode', 'standalone'] %}
{{ append_containers('static', 'broversion', 'SURICATA') }}
{% endif %}
{% if role == 'searchnode' %}
{{ append_containers('master', 'wazuh', 0) }}
{% endif %}
{% if role == 'sensor' %}
{{ append_containers('static', 'broversion', 'SURICATA') }}
{% endif %}

View File

@@ -0,0 +1,21 @@
{% set docker = {
'containers': [
'so-nginx',
'so-telegraf',
'so-soc',
'so-kratos',
'so-aptcacherng',
'so-idstools',
'so-redis',
'so-logstash',
'so-elasticsearch',
'so-curator',
'so-kibana',
'so-elastalert',
'so-filebeat',
'so-suricata',
'so-steno',
'so-dockerregistry',
'so-soctopus'
]
} %}

View File

@@ -0,0 +1,9 @@
{% set docker = {
'containers': [
'so-strelka-coordinator',
'so-strelka-gatekeeper',
'so-strelka-manager',
'so-strelka-frontend',
'so-strelka-filestream'
]
} %}

View File

@@ -0,0 +1,7 @@
{% set docker = {
'containers': [
'so-thehive',
'so-thehive-es',
'so-cortex'
]
} %}

View File

@@ -0,0 +1,7 @@
{% set docker = {
'containers': [
'so-nginx',
'so-telegraf',
'so-elasticsearch'
]
} %}

View File

@@ -0,0 +1,5 @@
{% set docker = {
'containers': [
'so-wazuh'
]
} %}

View File

@@ -1,110 +0,0 @@
{%- set masterip = salt['pillar.get']('master:mainip', '') %}
# For more information on configuration, see:
# * Official English Documentation: http://nginx.org/en/docs/
# * Official Russian Documentation: http://nginx.org/ru/docs/
user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;
# Load dynamic modules. See /usr/share/nginx/README.dynamic.
include /usr/share/nginx/modules/*.conf;
events {
worker_connections 1024;
}
http {
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
include /etc/nginx/mime.types;
default_type application/octet-stream;
# Load modular configuration files from the /etc/nginx/conf.d directory.
# See http://nginx.org/en/docs/ngx_core_module.html#include
# for more information.
include /etc/nginx/conf.d/*.conf;
#server {
# listen 80 default_server;
# listen [::]:80 default_server;
# server_name _;
# root /opt/socore/html;
# index index.html;
# Load configuration files for the default server block.
#include /etc/nginx/default.d/*.conf;
# location / {
# }
# error_page 404 /404.html;
# location = /40x.html {
# }
# error_page 500 502 503 504 /50x.html;
# location = /50x.html {
# }
#}
server {
listen 80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
# Settings for a TLS enabled server.
server {
listen 443 ssl http2 default_server;
#listen [::]:443 ssl http2 default_server;
server_name _;
root /opt/socore/html;
index index.html;
ssl_certificate "/etc/pki/nginx/server.crt";
ssl_certificate_key "/etc/pki/nginx/server.key";
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 10m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
# Load configuration files for the default server block.
#include /etc/nginx/default.d/*.conf;
#location / {
# try_files $uri $uri.html /index.html;
# }
location / {
proxy_pass http://{{ masterip }}:5601/;
proxy_read_timeout 90;
proxy_connect_timeout 90;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Proxy "";
}
error_page 404 /404.html;
location = /40x.html {
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
}
}

0
salt/common/scripts/dockernet.sh Normal file → Executable file
View File

126
salt/common/tools/sbin/so-allow Executable file
View File

@@ -0,0 +1,126 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
default_salt_dir=/opt/so/saltstack/default
local_salt_dir=/opt/so/saltstack/local
SKIP=0
while getopts "abowi:" OPTION
do
case $OPTION in
h)
usage
exit 0
;;
a)
FULLROLE="analyst"
SKIP=1
;;
b)
FULLROLE="beats_endpoint"
SKIP=1
;;
i) IP=$OPTARG
;;
o)
FULLROLE="osquery_endpoint"
SKIP=1
;;
w)
FULLROLE="wazuh_agent"
SKIP=1
;;
s)
FULLROLE="syslog"
SKIP=1
;;
p)
FULLROLE="wazuh_api"
SKIP=1
;;
r)
FULLROLE="wazuh_authd"
SKIP=1
;;
esac
done
if [ "$SKIP" -eq 0 ]; then
echo "This program allows you to add a firewall rule to allow connections from a new IP address."
echo ""
echo "Choose the role for the IP or Range you would like to add"
echo ""
echo "[a] - Analyst - ports 80/tcp and 443/tcp"
echo "[b] - Logstash Beat - port 5044/tcp"
echo "[o] - Osquery endpoint - port 8090/tcp"
echo "[s] - Syslog device - 514/tcp/udp"
echo "[w] - Wazuh agent - port 1514/tcp/udp"
echo "[p] - Wazuh API - port 55000/tcp"
echo "[r] - Wazuh registration service - 1515/tcp"
echo "Please enter your selection (a - analyst, b - beats, o - osquery, w - wazuh):"
read ROLE
echo "Enter a single ip address or range to allow (example: 10.10.10.10 or 10.10.0.0/16):"
read IP
if [ "$ROLE" == "a" ]; then
FULLROLE=analyst
elif [ "$ROLE" == "b" ]; then
FULLROLE=beats_endpoint
elif [ "$ROLE" == "o" ]; then
FULLROLE=osquery_endpoint
elif [ "$ROLE" == "w" ]; then
FULLROLE=wazuh_agent
elif [ "$ROLE" == "s" ]; then
FULLROLE=syslog
elif [ "$ROLE" == "p" ]; then
FULLROLE=wazuh_api
elif [ "$ROLE" == "r" ]; then
FULLROLE=wazuh_authd
else
echo "I don't recognize that role"
exit 1
fi
fi
echo "Adding $IP to the $FULLROLE role. This can take a few seconds"
/usr/sbin/so-firewall includehost $FULLROLE $IP
salt-call state.apply firewall queue=True
# Check if Wazuh enabled
if grep -q -R "wazuh: 1" $local_salt_dir/pillar/*; then
# If analyst, add to Wazuh AR whitelist
if [ "$FULLROLE" == "analyst" ]; then
WAZUH_MGR_CFG="/opt/so/wazuh/etc/ossec.conf"
if ! grep -q "<white_list>$IP</white_list>" $WAZUH_MGR_CFG ; then
DATE=`date`
sed -i 's/<\/ossec_config>//' $WAZUH_MGR_CFG
sed -i '/^$/N;/^\n$/D' $WAZUH_MGR_CFG
echo -e "<!--Address $IP added by /usr/sbin/so-allow on "$DATE"-->\n <global>\n <white_list>$IP</white_list>\n </global>\n</ossec_config>" >> $WAZUH_MGR_CFG
echo "Added whitelist entry for $IP in $WAZUH_MGR_CFG."
echo
echo "Restarting OSSEC Server..."
/usr/sbin/so-wazuh-restart
fi
fi
fi

View File

@@ -0,0 +1,37 @@
#!/bin/bash
# Copyright 2014 Google Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
if [ "$#" -lt 2 ]; then
cat 1>&2 <<EOF
$0 compiles a BPF expression to be passed to stenotype to apply a socket filter.
Its first argument is the interface (link type is required) and all other arguments
are passed to TCPDump.
Examples:
$0 eth0 dst port 80
$0 eth0 udp port 53
EOF
exit 1
fi
interface="$1"
shift
sudo tcpdump -i $interface -ddd $@ | tail -n+2 |
while read line; do
cols=( $line )
printf "%04x%02x%02x%08x" ${cols[0]} ${cols[1]} ${cols[2]} ${cols[3]}
done
echo ""

View File

@@ -1,11 +1,12 @@
#!/bin/bash
local_salt_dir=/opt/so/saltstack/local
bro_logs_enabled() {
echo "brologs:" > /opt/so/saltstack/pillar/brologs.sls
echo " enabled:" >> /opt/so/saltstack/pillar/brologs.sls
echo "brologs:" > $local_salt_dir/pillar/brologs.sls
echo " enabled:" >> $local_salt_dir/pillar/brologs.sls
for BLOG in ${BLOGS[@]}; do
echo " - $BLOG" | tr -d '"' >> /opt/so/saltstack/pillar/brologs.sls
echo " - $BLOG" | tr -d '"' >> $local_salt_dir/pillar/brologs.sls
done
}

View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
salt-call state.highstate

View File

@@ -0,0 +1,30 @@
#!/bin/bash
#
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Check for prerequisites
if [ "$(id -u)" -ne 0 ]; then
echo "This script must be run using sudo!"
exit 1
fi
# Define a banner to separate sections
banner="========================================================================="
header() {
echo
printf '%s\n' "$banner" "$*" "$banner"
}

View File

@@ -0,0 +1,21 @@
#!/bin/bash
#
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-stop cortex $1
/usr/sbin/so-start thehive $1

View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-start thehive $1

View File

@@ -0,0 +1,20 @@
#!/bin/bash
#
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-stop cortex $1

View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-restart curator $1

View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-start curator $1

View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-stop curator $1

View File

@@ -0,0 +1,112 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
got_root(){
if [ "$(id -u)" -ne 0 ]; then
echo "This script must be run using sudo!"
exit 1
fi
}
master_check() {
# Check to see if this is a master
MASTERCHECK=$(cat /etc/salt/grains | grep role | awk '{print $2}')
if [ $MASTERCHECK == 'so-eval' ] || [ $MASTERCHECK == 'so-master' ] || [ $MASTERCHECK == 'so-mastersearch' ] || [ $MASTERCHECK == 'so-standalone' ] || [ $MASTERCHECK == 'so-helix' ]; then
echo "This is a master. We can proceed"
else
echo "Please run soup on the master. The master controls all updates."
exit 1
fi
}
update_docker_containers() {
# Download the containers from the interwebs
for i in "${TRUSTED_CONTAINERS[@]}"
do
# Pull down the trusted docker image
echo "Downloading $i"
docker pull --disable-content-trust=false docker.io/soshybridhunter/$i
# Tag it with the new registry destination
docker tag soshybridhunter/$i $HOSTNAME:5000/soshybridhunter/$i
docker push $HOSTNAME:5000/soshybridhunter/$i
done
}
version_check() {
if [ -f /etc/soversion ]; then
VERSION=$(cat /etc/soversion)
else
echo "Unable to detect version. I will now terminate."
exit 1
fi
}
got_root
master_check
version_check
# Use the hostname
HOSTNAME=$(hostname)
BUILD=HH
# List all the containers
if [ $MASTERCHECK != 'so-helix' ]; then
TRUSTED_CONTAINERS=( \
"so-acng:$BUILD$VERSION" \
"so-thehive-cortex:$BUILD$VERSION" \
"so-curator:$BUILD$VERSION" \
"so-domainstats:$BUILD$VERSION" \
"so-elastalert:$BUILD$VERSION" \
"so-elasticsearch:$BUILD$VERSION" \
"so-filebeat:$BUILD$VERSION" \
"so-fleet:$BUILD$VERSION" \
"so-fleet-launcher:$BUILD$VERSION" \
"so-freqserver:$BUILD$VERSION" \
"so-grafana:$BUILD$VERSION" \
"so-idstools:$BUILD$VERSION" \
"so-influxdb:$BUILD$VERSION" \
"so-kibana:$BUILD$VERSION" \
"so-kratos:$BUILD$VERSION" \
"so-logstash:$BUILD$VERSION" \
"so-mysql:$BUILD$VERSION" \
"so-navigator:$BUILD$VERSION" \
"so-nginx:$BUILD$VERSION" \
"so-playbook:$BUILD$VERSION" \
"so-redis:$BUILD$VERSION" \
"so-soc:$BUILD$VERSION" \
"so-soctopus:$BUILD$VERSION" \
"so-steno:$BUILD$VERSION" \
"so-strelka:$BUILD$VERSION" \
"so-suricata:$BUILD$VERSION" \
"so-telegraf:$BUILD$VERSION" \
"so-thehive:$BUILD$VERSION" \
"so-thehive-es:$BUILD$VERSION" \
"so-wazuh:$BUILD$VERSION" \
"so-zeek:$BUILD$VERSION" )
else
TRUSTED_CONTAINERS=( \
"so-filebeat:$BUILD$VERSION" \
"so-idstools:$BUILD$VERSION" \
"so-logstash:$BUILD$VERSION" \
"so-nginx:$BUILD$VERSION" \
"so-redis:$BUILD$VERSION" \
"so-steno:$BUILD$VERSION" \
"so-suricata:$BUILD$VERSION" \
"so-telegraf:$BUILD$VERSION" \
"so-zeek:$BUILD$VERSION" )
fi
update_docker_containers

View File

@@ -0,0 +1,999 @@
#!/bin/bash
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Original written by Bryant Treacle
# https://raw.githubusercontent.com/bryant-treacle/Elastalert-Rule-Generator/master/so-elastalert-create
# Modified by Doug Burks
#
# Purpose: This script will allow you to test your elastalert rule without entering the Docker container.
######################################################
# Universal Rule Options #
######################################################
#################################
# Function for Main Menu #
#################################
main_menu()
{
while true; do
rule_type_select_prompt
read rule_type
if [ $rule_type = "1" ] ; then
rule_name_prompt
index_name_prompt
cardinality_rule_prompt
realert_prompt
filter_options_prompt
alert_options_prompt
final_prompt
elif [ $rule_type = "2" ] ; then
rule_name_prompt
index_name_prompt
blacklist_rule_prompt
realert_prompt
filter_options_prompt
alert_options_prompt
final_prompt
elif [ $rule_type = "3" ] ; then
rule_name_prompt
index_name_prompt
whitelist_rule_prompt
realert_prompt
filter_options_prompt
alert_options_prompt
final_prompt
elif [ $rule_type = "4" ] ; then
rule_name_prompt
index_name_prompt
frequency_rule_prompt
realert_prompt
filter_options_prompt
alert_options_prompt
final_prompt
elif [ $rule_type = "5" ] ; then
rule_name_prompt
index_name_prompt
change_rule_prompt
realert_prompt
filter_options_prompt
alert_options_prompt
final_prompt
elif [ $rule_type = "6" ] ; then
rule_name_prompt
index_name_prompt
spike_rule_prompt
realert_prompt
filter_options_prompt
alert_options_prompt
final_prompt
elif [ $rule_type = "7" ] ; then
rule_name_prompt
index_name_prompt
new_term_rule_prompt
realert_prompt
filter_options_prompt
alert_options_prompt
final_prompt
elif [ $rule_type = "8" ] ; then
rule_name_prompt
index_name_prompt
flatline_rule_prompt
realert_prompt
filter_options_prompt
alert_options_prompt
final_prompt
elif [ $rule_type = "9" ] ; then
exit
fi
done
}
#############################
# Rule Type #
#############################
rule_type_select_prompt()
{
cat << EOF
This script will help automate the creation of Elastalert Rules.
Please choose the rule you would like to build.
For Cardinality rules: Press 1
For Blacklist rules: Press 2
For Whitelist rules: Press 3
For Frequency rules: Press 4
For Change rules: Press 5
For Spike rules: Press 6
For New Term rules: Press 7
For Flatline rules: Press 8
To Exit: Press 9
EOF
}
#############################
# Rule Name #
#############################
rule_name_prompt()
{
cat << EOF
The rule name will appear in the subject of the alerts and be the name of the yaml rule file.
What do you want to name the rule?
EOF
read raw_rulename
rulename=$(echo ${raw_rulename,,} | sed 's/ /_/g')
cat << EOF >> "$rulename.yaml"
# Elasticsearch Host
es_host: elasticsearch
es_port: 9200
# (Required)
# Rule name, must be unique
name: $raw_rulename
EOF
}
#############################
# Index Name #
#############################
index_name_prompt()
{
cat << EOF
What elasticsearch index do you want to use?
Below are the default Index Patterns used in Security Onion:
*:so-ids-*
*:elastalert_status*
EOF
read indexname
cat << EOF >> "$rulename.yaml"
# (Required)
# Index to search, wildcard supported
index: "$indexname"
EOF
}
#############################
# Alert Options #
#############################
alert_options_prompt()
{
cat << EOF
By default, all matches will be written back to the elastalert index.
Please choose from the below options.
- For Email: Press 1
- For Slack: Press 2
- For the default (debug): Press 3
EOF
read alertoption
if [ $alertoption = "1" ] ; then
echo "Please enter the email address you want to send the alerts to. Note: Ensure the Master Server is configured for SMTP."
read emailaddress
cat << EOF >> "$rulename.yaml"
# (Required)
# The alert is use when a match is found
alert:
- email
# (required, email specific)
# a list of email addresses to send alerts to
email:
- $emailaddress
EOF
elif [ $alertoption = "2" ] ; then
echo "The webhook URL that includes your auth data and the ID of the channel (room) you want to post to."
echo "Go to the Incoming Webhooks section in your Slack account https://XXXXX.slack.com/services/new/incoming-webhook,"
echo "choose the channel, click Add Incoming Webhooks Integration and copy the resulting URL. You can use a list of URLs to send to multipe channels."
echo ""
echo "Please enter the webhook URL below:"
echo ""
read webhookurl
cat << EOF >> "$rulename.yaml"
# (Required)
# The alert is use when a match is found
alert:
- slack
# (required,Slack specific)
# Enter the webhook URL below
slack:
- $webhookurl
EOF
else
echo "Using default alert type of debug. Alerts will only be written to the *:elastalert_status* index."
cat << EOF >> "$rulename.yaml"
# (Required)
# The alert is use when a match is found
alert:
- debug
EOF
fi
}
#############################
# Filter Options #
#############################
filter_options_prompt()
{
cat << EOF
By default this script will use a wildcard search that will include all logs for the index chosen above.
Would you like to use a specific filter? (Y/N)
EOF
read filteroption
if [ ${filteroption,,} = "y" ] ; then
echo "This script will allow you to generate basic filters. For complex filters visit https://elastalert.readthedocs.io/en/latest/recipes/writing_filters.html"
echo ""
echo "Term: Allows you to match a value in a field. For example you can select the field source_ip and the value 192.168.1.1"
echo "or choose a specific log type you want the rule to apply to ie. field_type: event_type and the field_value bro_http"
echo ""
echo "Wildcard: Allows you to use the wildcard * in the field_value. For example field_type: useragent and field_value: *Mozilla* "
echo ""
echo "Please choose from the following filter types."
echo ""
echo "term or wildcard"
read filter_type
if [ ${filter_type,,} = "term" ] ; then
echo "What field do you want to filter on?"
read field_name
echo "What is the value for the $field_name field."
read field_value
cat << EOF >> "$rulename.yaml"
#(Required)
# A list of Elasticsearch filters used for find events
# These filters are joined with AND and nested in a filtered query
# For more info: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl.html
filter:
- term:
$field_name: "$field_value"
EOF
elif [ ${filter_type,,} = "wildcard" ] ; then
echo "What field do you want to use?"
read field_name
echo "What is the value for the $field_name field."
read field_value
cat << EOF >> "$rulename.yaml"
#(Required)
# A list of Elasticsearch filters used for find events
# These filters are joined with AND and nested in a filtered query
# For more info: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl.html
filter:
- wildcard:
$field_name: "$field_value"
EOF
fi
else
cat << EOF >> "$rulename.yaml"
#(Required)
# A list of Elasticsearch filters used for find events
# These filters are joined with AND and nested in a filtered query
# For more info: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl.html
filter:
- wildcard:
event_type: "*"
EOF
fi
}
############################
# Re-alert Options #
############################
realert_prompt()
{
echo "The realert option allows you to ignore repeating alerts for a given period of time."
echo "Would you like to set a realert timeframe? (Y/N)"
read realert_option
if [ ${realert_option,,} = "y" ] ; then
echo "Please choose from the following units of measure:"
echo ""
echo " - weeks, days, hours, minutes, or seconds"
read realert_unit_of_measure
echo "Please enter the number of $realert_unit_of_measure you want to use."
read realert_timeframe
cat << EOF >> "$rulename.yaml"
# This option allows you to ignore repeating alerts for a period of time.
realert:
$realert_unit_of_measure: $realert_timeframe
EOF
fi
}
#######################
# Final prompt #
#######################
final_prompt()
{
current_directory=$(pwd)
sleep 1
echo "Writing rule to the following location:"
echo ""
echo " $current_directory/$rulename.yaml"
echo ""
sleep 1
echo "Complete!"
sleep 1
}
###################################
# Functions for Cardinality Rules #
###################################
cardinality_rule_prompt()
{
echo "The Cardinality rule will be alert when the maximum or minimum number of unique values for a given field reach a threshold."
echo "What field do you want to be the Cardinality Field?"
echo ""
read cardinality_field
cat << EOF >> "$rulename.yaml"
# (Required)
# Type of alert.
# The Cardinality rule matches when the total number of unique values for a certain field , within a given timeframe is higher or lower than a threshold.
type: cardinality
# (Required, cardinality specific)
# Count the number of unique value for this field
cardinality_field: $cardinality_field
EOF
echo ""
echo "To alert on values LESS than X unique values in the cardinality field: Press 1"
echo "To alert on values GREATER than X unique values in the cardinality field: Press 2"
echo ""
read cardinality_max_min
if [ $cardinality_max_min = "1" ] ; then
echo "The Minimum Cardinality value will alert you when there is less than X unique values in that field."
echo "What is the minimum Cardinality value?"
echo ""
read cardinality_min
cat << EOF >> "$rulename.yaml"
# (Required, frequency specific)
# Alert when there is less than X unique values
min_cardinality: $cardinality_min
EOF
elif [ $cardinality_max_min = "2" ] ; then
echo "The Maximum Cardinality value will alert you when there is more than X unique values."
echo "What is the maximum Cardinality value?"
echo ""
read cardinality_max
cat << EOF >> "$rulename.yaml"
# (Required, frequency specific)
# Alert when there is more than X unique values
max_cardinality: $cardinality_max
EOF
fi
echo ""
echo "The Cardinality Timeframe is defined as the number of unique values in the most recent X hours."
echo ""
echo "Below are the available units of measure for the timeframe field:"
echo " - weeks, days, hours, minutes, or seconds"
echo "What unit of measure do you want to use?"
read timeframe_units
echo "Please enter the number of $timeframe_units you want to use."
read timeframe
cat << EOF >> "$rulename.yaml"
# (Required, frequency specific)
# The cardinality is defined as the number of unique values for the most recent 4 hours
timeframe:
$timeframe_units: $timeframe
EOF
echo "The query_key counts by this field. For each unique value of the query_key field, cardinality will be counted separately."
echo "Would you like to set the query_key parameter? (Y/N)"
read cardinality_rule_options
if [ ${cardinality_rule_options,,} = "y" ] ; then
echo "What field do you want the query_key to be?"
read query_key
cat << EOF >> "$rulename.yaml"
# (Optional, frequency specific)
# query_key: Group cardinality counts by this field. For each unique value of the query_key field, cardinality will be counted separately.
query_key: $query_key
EOF
fi
}
#################################
# Functions for Blacklist Rules #
#################################
blacklist_rule_prompt()
{
echo "The blacklist rule will compare the values contained in a text file against the compare_key and alert if there is a match."
echo "What field do you want to compare to the blacklist?"
echo ""
read compare_key
echo "The blacklist file should be a text file with a single value per line."
echo ""
echo "The file needs to be accessible by the so-elastalert container."
echo ""
echo "Please enter the full path and filename of the blacklist."
echo ""
read -e blacklist_file_location
cat << EOF >> "$rulename.yaml"
# (Required)
# Type of alert.
# The Blacklist rule will check a certain field against a blacklist and match if it is in the blacklist
type: blacklist
# (Required, blacklist)
# The name of the field to use to compare to the blacklist. If the field is null, those events will be ignored.
compare_key: $compare_key
# (Required, blacklist)
# A list of blacklisted values, and/or a list of paths to flat files which contain the blacklisted values
blacklist:
- "!file $blacklist_file_location"
EOF
}
###################################
# Functions for Whitelist Rules #
###################################
whitelist_rule_prompt()
{
echo "The whitelist rule will compare the values contained in a text file against the compare_key and alert if there is a match."
echo "What field do you want to compare to the whitelist?"
echo ""
read compare_key
echo "The whitelist file should be a text file with a single value per line."
echo ""
echo "The file needs to be accessible by the so-elastalert container."
echo ""
echo "Please enter the full path and filename of the whitelist."
echo ""
read -e whitelist_file_location
echo "The ignore_null parameter If true, events without a compare_key field will not match."
echo ""
echo "Please enter true or false for the ignore_null parameter."
read ignore_null
cat << EOF >> "$rulename.yaml"
# (Required)
# Type of alert.
# the whitelist rule will check a certain field against a whitelist and match if it is in the whitelist
type: whitelist
# (Required, whitelist)
# The name of the field to use to compare to the whitelist. If the field is null, those events will be ignored.
compare_key: $compare_key
# (Required, whitelist)
# ignore_null: If true, events without a compare_key field will not match.
ignore_null: $ignore_null
# (Required, whitelist)
# A list of whitelisted values, and/or a list of paths to flat files which contain the whitelisted values
whitelist:
- "!file $whitelist_file_location"
EOF
}
###################################
# Functions for Frequency Rules #
###################################
frequency_rule_prompt()
{
echo "The Frequency rule matches when there are at least a certain number of events in a given timeframe."
echo ""
echo "Enter the number of events you want to alert on:"
read num_events
echo ""
echo "Below are the available units of measure for the timeframe field:"
echo " - weeks, days, hours, minutes, or seconds"
echo "What unit of measure do you want to use?"
read timeframe_units
echo "Please enter the number of $timeframe_units you want to use."
read timeframe
cat << EOF >> "$rulename.yaml"
# (Required)
# Type of alert.
# the frequency rule type alerts when num_events events occur with timeframe time
type: frequency
# (Required, frequency specific)
# Alert when this many documents matching the query occur within a timeframe
num_events: $num_events
# (Required, frequency specific)
# num_events must occur within this amount of time to trigger an alert
timeframe:
$timeframe_units: $timeframe
EOF
cat << EOF
The frequency rule has the below optional fields:
- use_count_query: if true, ElastALert will poll Elasticsearch using the count api and not download all the matching
documents. This is useful if you only care about the numbers and not the actual data.
- use_terms_query: If true, ElastAlert will make an aggregation query against Elasticsearch to get counts of documents matching
each unique value of the query_key. This will only return the Maximum of terms_size, default 50 unique terms.
Would you like to set the optional settings? (Y/N)
EOF
read frequency_rule_options
if [ ${frequency_rule_options,,} = "y" ] ; then
echo "To set the use_count_query to true: press 1"
echo "To set the use_terms_query to true: press 2"
read frequency_query_type
if [ $frequency_query_type = "1" ] ; then
cat << EOF >> "$rulename.yaml"
# Only count number of records, instead of bringing all data back
use_count_query: true
doc_type: 'doc'
EOF
elif [ $frequency_query_type = "2" ] ; then
echo "Please enter the query_key:"
read query_key
echo "Please enter the terms size:"
read term_size
cat << EOF >> "$rulename.yaml"
# Only count number of records, instead of bringing all data back
use_terms_query: true
doc_type: 'doc'
# Query_key count of documents will be stored independently for each value of query_key
query_key: $query_key
# Term_size is the maximum number of terms returned per query. Default is 50.
terms_size: $term_size
EOF
fi
fi
}
################################
# Functions for Change Rules #
################################
change_rule_prompt()
{
echo "The change rule will monitor a certain field and match if that field changes."
echo ""
echo "The field must change with respect to the last event with the same query_key."
echo "Below is an example with a query_key of bob and a compare_key of source_ip:"
echo ""
echo " -username bob AND source_ip: 192.168.1.2"
echo " -username bob AND source_ip: 192.168.1.3"
echo ""
echo "The compare_key parameter names of the field to monitor for changes."
echo "Since this is a list of strings, we can have multiple keys. An alert will trigger if any of the fields change."
echo ""
echo "What field do you want to monitor for changes?"
read compare_key
echo ""
echo "The query_key parameter names the field that must be present in all of the events that are checked."
echo "What field do you want be the query_key?"
read query_key
echo ""
echo "The value of compare_key must change in two events that are less than the timeframe apart to trigger an alert."
echo ""
echo "Below are the available units of measure for the timeframe field:"
echo " - weeks, days, hours, minutes, or seconds"
echo "What unit of measure do you want to use?"
read timeframe_units
echo "Please enter the number of $timeframe_units you want to use."
read timeframe
cat << EOF >> "$rulename.yaml"
# (Required)
# Type of alert.
# This rule will monitor a certain field and match if that field changes.
type: change
# (Required, change specific)
# The field to look for changes in
compare_key: $compare_key
# (Required, change specific)
# Ignore documents without the compare_key (source_ip) field
ignore_null: true
# (Required, change specific)
# The change must occur in two documents with the same query_key
query_key: $query_key
# (Required, change specific)
# The value of compare_key must change in two events that are less than timeframe apart to t$
timeframe:
$timeframe_units: $timeframe
EOF
}
################################
# Functions for Spike Rules #
################################
spike_rule_prompt()
{
echo "The spike rule matches when the volume of events during a given time period is spike_height times larger or smaller than during the previous time period."
echo ""
echo "Example to detect syn flood attack to public facing webserver:"
echo "Alert when the number of <Connection attempt seen, no reply> connection states to my web server per hour is twice as many as the previous hour."
echo ""
echo "The spike_height parameter is the ratio of number of events in the last timeframe to the previous timeframe that when hit will trigger an alert."
echo "Note: This value is a multiple!! 2 = 2x as many; 5 = 5x as many"
echo "What do you want the spike_height to be?"
read spike_height
echo ""
echo "What do you want the spike_type parameter to be?"
echo " - up: more than previous timeframe"
echo " - down: less than previous timeframe"
echo " - both: up or down"
read spike_type
echo "Below are the available units of measure for the timeframe field:"
echo " - weeks, days, hours, minutes, or seconds"
echo "What unit of measure do you want to use?"
read timeframe_units
echo "Please enter the number of $timeframe_units you want to use."
read timeframe
cat << EOF >> "$rulename.yaml"
# (Required)
# Type of alert.
# This rule matches when the volume of events during a given time period is spike_height times larger or smaller than during the previous time period.
type: spike
# (Required, spike specific)
# The ratio of number of events in the last timeframe to the previous timeframe.
spike_height: $spike_height
# (Required, spike specific)
# The spike being up, down or both
spike_type: $spike_type
# (Required, spike specific)
# The value of average out the rate of events over this time period.
timeframe:
$timeframe_units: $timeframe
EOF
echo "The spike rule has the following optional parameters:"
echo " - field_value: When set, uses the value of the field in the document and not the number of matching documents. Note the value must be a number"
echo " - threshold_ref: The minimum number of events that must exist in the reference window for an alert to trigger."
echo " For example, if spike_height: 3 and threshold_ref: 10, then the reference window must contain at least 10 events and the current window at least three times that for an alert to be triggered."
echo " - threshold_cur: The minimum number of events that must exist in the current window for an alert to trigger."
echo " For example, if spike_height: 3 and threshold_cur: 60, then an alert will occur if the current window has more than 60 events and the reference window has less than a third as many."
echo ""
echo "Would you like to set one of these parameters? (Y/N)"
read spike_additional_options
if [ ${spike_additional_options,,} = "y" ] ; then
counter=0
while [ $counter -eq 0 ]; do
counter=$(( $counter + 1 ))
echo "Please choose from the following options:"
echo "For field_value: Press 1"
echo "For threshold_ref: Press 2"
echo "For threshold_cur: Press 3"
echo "To continue: Press 4"
read spike_options_select
if [ $spike_options_select = "1" ] ; then
echo "What field would you like to use?"
read field_value_field
cat << EOF >> "$rulename.yaml"
#(Optional, spike specific)
# field_value: When set, uses the value of the field in the document and not the number of matching documents.
field_value: $spike_options_select
EOF
# reset the counter for the while loop
counter=0
elif [ $spike_options_select = "2" ] ; then
echo "What would you like the threshold_ref to be?"
read threshold_ref_field
cat << EOF >> "$rulename.yaml"
#(Optional, spike specific)
# The minimum number of events that must exist in the reference window for an alert to trigger.
threshold_ref: $threshold_ref_field
EOF
#Reset the counter for the while loop
counter=0
elif [ $spike_options_select = "3" ] ; then
echo "What would you like the threshold_cur to be?"
read threshold_cur_field
cat << EOF >> "$rulename.yaml"
#(Optional, spike specific
# The minimum number of events that must exist in the current window for an alert to trigger.
threshold_cur: $threshold_cur_field
EOF
#Reset the counter for the while loop
counter=0
elif [ $spike_options_select = "4" ] ; then
counter=1
fi
done
fi
}
###################################
# Functions for new term Rules #
###################################
new_term_rule_prompt()
{
echo "This rule matches when a new value appears in a field that has never been seen before."
echo "When ElastAlert starts, it will use an aggregation query to gather all known terms for a list of fields."
echo ""
echo "What field(s) do you want to monitor for new terms?"
read new_term_field
cat << EOF >> "$rulename.yaml"
# (Required)
# Type of alert.
# This rule matches when a new value appears in a field that has never been seen before.
type: new_term
# (Required, new_term specific)
# Monitor the field ip_address
fields:
- "$new_term_field"
EOF
echo "The New Term rule has the following additional options:"
echo " - terms_window_size: The amount of time used for the initial query to find existing terms. No term that has occurred within this time frame will trigger an alert. The default is 30 days."
echo " - window_step_size: When querying for existing terms, split up the time range into steps of this size. This is usefull when covering large timeframes"
echo " - alert_on_missing_field: Whether or not to alert when a field is missing from a document. The default is false."
echo "Would you like to set any of these options? (Y/N)"
read new_term_options
if [ ${new_term_options,,} = "y" ] ; then
counter=0
while [ $counter -eq 0 ]; do
counter=$(( $counter + 1 ))
echo "Please choose from the following options:"
echo ""
echo "For terms_window_size: Press 1"
echo "For window_step_size: Press 2"
echo "For alert_on_missing_field: Press 3"
echo "To continue: Press 4"
read new_term_loop_option
if [ $new_term_loop_option = "1" ] ; then
echo "Below are the available units of measure for the terms_window_size field:"
echo " - weeks, days, hours, minutes, or seconds"
echo "What unit of measure do you want to use?"
read timeframe_units
echo "Please enter the number of $timeframe_units you want to use."
read timeframe
cat << EOF >> "$rulename.yaml"
# (Optional, new_term specific)
# This means that we will query 90 days worth of data when ElastAlert starts to find which values of ip_address already exist
# If they existed in the last 90 days, no alerts will be triggered for them when they appear
terms_window_size:
$timeframe_units: $timeframe
EOF
#Reset the while loop counter
counter=0
elif [ $new_term_loop_option = "2" ] ; then
echo "Below are the available units of measure for the window_step_size field:"
echo " - weeks, days, hours, minutes, or seconds"
echo "What unit of measure do you want to use?"
read timeframe_units
echo "Please enter the number of $timeframe_units you want to use."
read timeframe
cat << EOF >> "$rulename.yaml"
# (Optional, new_term specific)
# This means that we will query 90 days worth of data when ElastAlert starts to find which values of ip_address alr$
# If they existed in the last 90 days, no alerts will be triggered for them when they appear
window_step_size:
$timeframe_units: $timeframe
EOF
#Reset the while loop counter
counter=0
elif [ $new_term_loop_option = "3" ] ; then
echo "Please enter either true or false for the alert_on_missing_field."
read alert_on_missing_field_option
cat << EOF >> "$rulename.yaml"
# (Optional, new_term specific)
# Whether or not to alert when a field is missing from a document. The default is false.
alert_on_missing_field: $alert_on_missing_field_option
EOF
#reset the while loop counter
counter=0
elif [ $new_term_loop_options = "4" ] ; then
counter=1
fi
done
fi
}
###################################
# Functions for Flat line Rules #
###################################
flatline_rule_prompt()
{
echo "flatline: This rule matches when the total number of events is under a given threshold for a time period."
echo ""
echo "Please enter the minimum threshold of events."
read threshold
echo "Below are the available units of measure for the timeframe field:"
echo " - weeks, days, hours, minutes, or seconds"
echo "What unit of measure do you want to use?"
read timeframe_units
echo "Please enter the number of $timeframe_units you want to use."
read timeframe
echo ""
cat << EOF >> "$rulename.yaml"
# (Required)
# Type of alert.
# flatline: This rule matches when the total number of events is under a given threshold for a time period.
type: flatline
# (Required, spike specific)
# threshold: The minimum number of events for an alert not to be triggered.
threshold: $threshold
# (Required, spike specific)
# The value of average out the rate of events over this time period.
timeframe:
$timeframe_units: $timeframe
EOF
echo "The flatline rule has the following additional options:"
echo ""
echo " - use_count_query: If true, ElastAlert will poll Elasticsearch using the count api, and not download all of the matching documents."
echo " - use_terms_query: If true, ElastAlert will make an aggregation query against Elasticsearch to get counts of documents matching each unique value of query_key. "
echo " - terms_size: When used with use_terms_query, this is the maximum number of terms returned per query. Default is 50."
echo " - query_key: With flatline rule, query_key means that an alert will be triggered if any value of query_key has been seen at least once and then falls below the threshold."
echo " - forget_keys: Only valid when used with query_key. If this is set to true, ElastAlert will “forget” about the query_key value that triggers an alert, therefore preventing any more alerts for it until its seen again."
echo ""
echo "Would you like to set any of theses options? (Y/N)"
read flatline_option
if [ ${flatline_option,,} = "y" ] ; then
counter=0
while [ $counter -eq 0 ]; do
counter=$(( $counter + 1 ))
echo "Please choose from the following options:"
echo ""
echo "For use_count_query: Press 1"
echo "For use_term_query: Press 2"
echo "For terms_size: Press 3"
echo "To continue: Press 4"
echo ""
read flatline_option_select
if [ $flatline_option_select = "1" ] ; then
echo "Please enter true or false for the use_count_query field."
read use_count_query
cat << EOF >> "$rulename.yaml"
# (Optional, flatline specific)
# use_count_query: If true, ElastAlert will poll Elasticsearch using the count api, and not download all of the matching documents.
use_count_query: $use_count_query
doc_type: 'doc'
EOF
#Reset counter for while loop
counter=0
elif [ $flatline_option_select = "2" ] ; then
echo "Please enter true or false for the use_terms_query."
read use_terms_query
echo "Please enter the query_key field."
read query_key
echo "The forget_keys when set to true will, elastalert will forget about the query_key value, preventing any more alerts for it until it is seen again"
echo ""
echo "Please enter true of false for the forget_keys field."
read forget_keys
cat << EOF >> "$rulename.yaml"
# (Optional, flatline specific)
# Use_terms_query: If true, ElastAlert will make an aggregation query against Elasticsearch to get counts of documents matching each unique value of query_key."
use_terms_query: $use_terms_query
# (Optional, flatline specific)
# Query_key means that an alert will be triggered if any value of query_key has been seen at least once and then falls below the threshold."
query_key: $query_key
# (Optional, flatline specific)
# If this is set to true, ElastAlert will “forget” about the query_key value that triggers an alert, therefore preventing any more alerts for it until its seen again.
forget_keys: $forget_keys
EOF
#Reset counters for while loop
counter=0
elif [ $flatline_option_select = "3" ] ; then
echo "Please enter the maximum number of terms returned per query, Default is 50"
read terms_size
cat << EOF >> "$rulename.yaml"
# (Optional, flatline specific)
# When used with use_terms_query, this is the maximum number of terms returned per query. Default is 50.
terms_size: $terms_size
EOF
#Reset counters for while loop
counter=0
elif [ $flatline_option_select = "4" ] ; then
counter=1
fi
done
fi
}
##########################
# Start Function #
##########################
main_menu

View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-restart elastalert $1

View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-start elastalert $1

View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-stop elastalert $1

View File

@@ -0,0 +1,142 @@
#!/bin/bash
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Originally written by Bryant Treacle
# https://raw.githubusercontent.com/bryant-treacle/so-elastalert-test-rule/master/so-elastalert-test
# Modified by Doug Burks and Wes Lambert
#
# Purpose: This script will allow you to test your elastalert rule without entering the Docker container.
. /usr/sbin/so-elastic-common
OPTIONS=""
SKIP=0
RESULTS_TO_LOG="n"
RULE_NAME=""
FILE_SAVE_LOCATION=""
usage()
{
cat <<EOF
Test Elastalert Rule
Options:
-h This message
-a Trigger real alerts instead of the debug alert
-l <path_to_file> Write results to specified log file
-o '<options>' Specify Elastalert options ( Ex. --schema-only , --count-only, --days N )
-r <rule_name> Specify path/name of rule to test
EOF
}
while getopts "hal:o:r:" OPTION
do
case $OPTION in
h)
usage
exit 0
;;
a)
OPTIONS="--alert"
;;
l)
RESULTS_TO_LOG="y"
FILE_SAVE_LOCATION=$OPTARG
;;
o)
OPTIONS=$OPTARG
;;
r)
RULE_NAME=$OPTARG
SKIP=1
;;
*)
usage
exit 0
;;
esac
done
docker_exec(){
if [ ${RESULTS_TO_LOG,,} = "y" ] ; then
docker exec -it so-elastalert bash -c "elastalert-test-rule $RULE_NAME $OPTIONS" > $FILE_SAVE_LOCATION
else
docker exec -it so-elastalert bash -c "elastalert-test-rule $RULE_NAME $OPTIONS"
fi
}
rule_prompt(){
CURRENT_RULES=$(find /opt/so/rules/elastalert -name "*.yaml")
echo
echo "This script will allow you to test an Elastalert rule."
echo
echo "Below is a list of active Elastalert rules:"
echo
echo "-----------------------------------"
echo
echo "$CURRENT_RULES"
echo
echo "-----------------------------------"
echo
echo "Note: To test a rule it must be accessible by the Elastalert Docker container."
echo
echo "Make sure to swap the local path (/opt/so/rules/elastalert/) for the docker path (/etc/elastalert/rules/)"
echo "Example: /opt/so/rules/elastalert/nids2hive.yaml would be /etc/elastalert/rules/nids2hive.yaml"
echo
while [ -z $RULE_NAME ]; do
echo "Please enter the file path and rule name you want to test."
read -e RULE_NAME
done
}
log_save_prompt(){
RESULTS_TO_LOG=""
while [ -z $RESULTS_TO_LOG ]; do
echo "The results can be rather long. Would you like to write the results to a file? (Y/N)"
read RESULTS_TO_LOG
done
}
log_path_prompt(){
while [ -z $FILE_SAVE_LOCATION ]; do
echo "Please enter the file path and file name."
read -e FILE_SAVE_LOCATION
done
echo "Depending on the rule this may take a while."
}
if [ $SKIP -eq 0 ]; then
rule_prompt
log_save_prompt
if [ ${RESULTS_TO_LOG,,} = "y" ] ; then
log_path_prompt
fi
fi
docker_exec
if [ $? -eq 0 ]; then
echo "Test completed successfully!"
else
echo "Something went wrong..."
fi
echo

View File

@@ -0,0 +1,80 @@
#!/bin/bash
#
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
{%- set MASTERIP = salt['pillar.get']('static:masterip', '') -%}
. /usr/sbin/so-common
SKIP=0
#########################################
# Options
#########################################
usage()
{
cat <<EOF
Security Onion Elastic Clear
Options:
-h This message
-y Skip interactive mode
EOF
}
while getopts "h:y" OPTION
do
case $OPTION in
h)
usage
exit 0
;;
y)
SKIP=1
;;
*)
usage
exit 0
;;
esac
done
if [ $SKIP -ne 1 ]; then
# List indices
echo
curl {{ MASTERIP }}:9200/_cat/indices?v&pretty
echo
# Inform user we are about to delete all data
echo
echo "This script will delete all data (documents, indices, etc.) in the Elasticsearch database."
echo
echo "If you would like to proceed, please type "AGREE" and hit ENTER."
echo
# Read user input
read INPUT
if [ "$INPUT" != "AGREE" ] ; then exit 0; fi
fi
/usr/sbin/so-filebeat-stop
/usr/sbin/so-logstash-stop
# Delete data
echo "Deleting data..."
INDXS=$(curl -s -XGET {{ MASTERIP }}:9200/_cat/indices?v | egrep 'logstash|elastalert' | awk '{ print $3 }')
for INDX in ${INDXS}
do
curl -XDELETE "{{ MASTERIP }}:9200/${INDX}" > /dev/null 2>&1
done
/usr/sbin/so-logstash-start
/usr/sbin/so-filebeat-start

View File

@@ -0,0 +1,33 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Source common settings
. /usr/sbin/so-common
# Check for log files
for FILE in /opt/so/log/elasticsearch/*.log /opt/so/log/logstash/*.log /opt/so/log/kibana/*.log /opt/so/log/elastalert/*.log /opt/so/log/curator/*.log /opt/so/log/freqserver/*.log /opt/so/log/nginx/*.log; do
# If file exists, then look for errors or warnings
if [ -f $FILE ]; then
MESSAGE=`grep -i 'ERROR\|FAIL\|WARN' $FILE`
if [ ! -z "$MESSAGE" ]; then
header $FILE
echo $MESSAGE | sed 's/WARN/\nWARN/g' | sed 's/WARNING/\nWARNING/g' | sed 's/ERROR/\nERROR/g' | sort | uniq -c | sort -nr
echo
fi
fi
done

View File

@@ -0,0 +1,44 @@
#!/bin/bash
MASTER=MASTER
VERSION="HH1.1.4"
TRUSTED_CONTAINERS=( \
"so-nginx:$VERSION" \
"so-thehive-cortex:$VERSION" \
"so-curator:$VERSION" \
"so-domainstats:$VERSION" \
"so-elastalert:$VERSION" \
"so-elasticsearch:$VERSION" \
"so-filebeat:$VERSION" \
"so-fleet:$VERSION" \
"so-fleet-launcher:$VERSION" \
"so-freqserver:$VERSION" \
"so-grafana:$VERSION" \
"so-idstools:$VERSION" \
"so-influxdb:$VERSION" \
"so-kibana:$VERSION" \
"so-logstash:$VERSION" \
"so-mysql:$VERSION" \
"so-navigator:$VERSION" \
"so-playbook:$VERSION" \
"so-redis:$VERSION" \
"so-sensoroni:$VERSION" \
"so-soctopus:$VERSION" \
"so-steno:$VERSION" \
#"so-strelka:$VERSION" \
"so-suricata:$VERSION" \
"so-telegraf:$VERSION" \
"so-thehive:$VERSION" \
"so-thehive-es:$VERSION" \
"so-wazuh:$VERSION" \
"so-zeek:$VERSION" )
for i in "${TRUSTED_CONTAINERS[@]}"
do
# Pull down the trusted docker image
echo "Downloading $i"
docker pull --disable-content-trust=false docker.io/soshybridhunter/$i
# Tag it with the new registry destination
docker tag soshybridhunter/$i $MASTER:5000/soshybridhunter/$i
docker push $MASTER:5000/soshybridhunter/$i
docker rmi soshybridhunter/$i
done

View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-restart elasticsearch $1

View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-start elasticsearch $1

View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-stop elasticsearch $1

View File

@@ -0,0 +1,55 @@
{% set MASTERIP = salt['pillar.get']('master:mainip', '') %}
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
default_salt_dir=/opt/so/saltstack/default
ELASTICSEARCH_HOST="{{ MASTERIP}}"
ELASTICSEARCH_PORT=9200
#ELASTICSEARCH_AUTH=""
# Define a default directory to load pipelines from
ELASTICSEARCH_TEMPLATES="$default_salt_dir/salt/logstash/pipelines/templates/so/"
# Wait for ElasticSearch to initialize
echo -n "Waiting for ElasticSearch..."
COUNT=0
ELASTICSEARCH_CONNECTED="no"
while [[ "$COUNT" -le 240 ]]; do
curl --output /dev/null --silent --head --fail http://"$ELASTICSEARCH_HOST":"$ELASTICSEARCH_PORT"
if [ $? -eq 0 ]; then
ELASTICSEARCH_CONNECTED="yes"
echo "connected!"
break
else
((COUNT+=1))
sleep 1
echo -n "."
fi
done
if [ "$ELASTICSEARCH_CONNECTED" == "no" ]; then
echo
echo -e "Connection attempt timed out. Unable to connect to ElasticSearch. \nPlease try: \n -checking log(s) in /var/log/elasticsearch/\n -running 'sudo docker ps' \n -running 'sudo so-elastic-restart'"
echo
fi
cd ${ELASTICSEARCH_TEMPLATES}
echo "Loading templates..."
for i in *; do TEMPLATE=$(echo $i | cut -d '-' -f2); echo "so-$TEMPLATE"; curl ${ELASTICSEARCH_AUTH} -s -XPUT http://${ELASTICSEARCH_HOST}:${ELASTICSEARCH_PORT}/_template/so-$TEMPLATE -H 'Content-Type: application/json' -d@$i 2>/dev/null; echo; done
echo
cd - >/dev/null

View File

@@ -0,0 +1,43 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
local_salt_dir=/opt/so/saltstack/local
VERSION=$(grep soversion $local_salt_dir/pillar/static.sls | cut -d':' -f2|sed 's/ //g')
# Modify static.sls to enable Features
sed -i 's/features: False/features: True/' $local_salt_dir/pillar/static.sls
SUFFIX="-features"
TRUSTED_CONTAINERS=( \
"so-elasticsearch:$VERSION$SUFFIX" \
"so-filebeat:$VERSION$SUFFIX" \
"so-kibana:$VERSION$SUFFIX" \
"so-logstash:$VERSION$SUFFIX" )
for i in "${TRUSTED_CONTAINERS[@]}"
do
# Pull down the trusted docker image
echo "Downloading $i"
docker pull --disable-content-trust=false docker.io/soshybridhunter/$i
# Tag it with the new registry destination
docker tag soshybridhunter/$i $HOSTNAME:5000/soshybridhunter/$i
docker push $HOSTNAME:5000/soshybridhunter/$i
done
for i in "${TRUSTED_CONTAINERS[@]}"
do
echo "Removing $i locally"
docker rmi soshybridhunter/$i
done

View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-restart filebeat $1

View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-start filebeat $1

View File

@@ -0,0 +1,20 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
. /usr/sbin/so-common
/usr/sbin/so-stop filebeat $1

Some files were not shown because too many files have changed in this diff Show More