Compare commits

...

1810 Commits

Author SHA1 Message Date
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
Mike Reeves
c024bdf427 remove proxy declaration 2020-04-20 15:31:13 -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
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
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
Josh Patterson
08f3d29b91 Merge pull request #568 from Security-Onion-Solutions/issue566
fix failed setup FP
2020-04-16 15:54:14 -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
Mike Reeves
a81d886063 Update Version File 2020-04-16 13:55:54 -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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Mike Reeves
cd46cccf23 Merge pull request #19 from TOoSmOotH/master
Hybrid Hunter 1.0.4
2018-11-30 16:56:58 -05:00
Mike Reeves
e47352ec61 Influx NO DNS Fix 2018-11-30 16:33:53 -05:00
Mike Reeves
0f28bf6743 Bro Packetloss - Change script to run every 10 minutes 2018-11-30 16:25:37 -05:00
Mike Reeves
1ddb33fea5 Grafana - Fix CPU calculation 2018-11-30 14:36:01 -05:00
Mike Reeves
e84dd52586 Grafana - Fix CPU calculation 2018-11-30 14:33:59 -05:00
Mike Reeves
0b5cb77086 Grafana Eval - Fix file sync 2018-11-30 13:59:04 -05:00
Mike Reeves
ad42121064 Suricata Module - Fix MTU for EVAL 2018-11-30 11:12:12 -05:00
Mike Reeves
6da00a2626 Suricata Module - Fix MTU for EVAL 2018-11-30 10:57:15 -05:00
Mike Reeves
02f9995cf5 Merge pull request #44 from weslambert/master
Parsing Updates for Bro/Suricata
2018-11-30 10:42:55 -05:00
Mike Reeves
4c1ef81c33 Logstash Module - Update Version 2018-11-30 10:42:24 -05:00
Wes Lambert
7399172450 Merge branch 'master' of https://github.com/toosmooth/securityonion-saltstack 2018-11-30 15:39:38 +00:00
Mike Reeves
8500ef6222 Setup Script - Change Order and Make ZEEK default during setup 2018-11-30 09:00:35 -05:00
Mike Reeves
3236f83260 Setup Script - Make ZEEK default for Eval mode 2018-11-30 08:56:33 -05:00
Mike Reeves
69e6ecfe9f Eval Mode - Add Dashboard 2018-11-30 08:54:27 -05:00
Wes Lambert
056e22dd11 Logstash - Update template for Suricata metadata fields 2018-11-30 13:22:31 +00:00
Wes Lambert
05accf3017 Logstash - Output config update for IDS type 2018-11-30 13:17:53 +00:00
Wes Lambert
2695a8e1a7 Filebeat - Modify config for IDS type 2018-11-30 13:15:35 +00:00
Wes Lambert
53284a7173 Bro - Switch logs to JSON format 2018-11-30 13:13:55 +00:00
Mike Reeves
2e012fd549 New Dashboards - Just need Eval now 2018-11-29 20:57:12 -05:00
Mike Reeves
f2a085d4b1 New Dashboards - Just need Eval now 2018-11-29 20:52:04 -05:00
Mike Reeves
5c6cb9da37 New Dashboards - Just need Eval now 2018-11-29 20:49:40 -05:00
Mike Reeves
8e749f6aee Bro - Add cron for checking PL 2018-11-29 20:22:43 -05:00
Mike Reeves
36202faf3f Bro - Add cron for checking PL 2018-11-29 19:55:46 -05:00
Mike Reeves
016b345dd4 Bro - Add cron for checking PL 2018-11-29 19:53:03 -05:00
Mike Reeves
d094beafab Bro - Add cron for checking PL 2018-11-29 19:49:04 -05:00
Mike Reeves
11e6126c25 Bro - Add cron for checking PL 2018-11-29 19:33:06 -05:00
Mike Reeves
3b209d82a7 Bro - Add cron for checking PL 2018-11-29 19:21:47 -05:00
Mike Reeves
c878e270ce Bro - Add cron for checking PL 2018-11-29 19:20:21 -05:00
Mike Reeves
a824d06655 Bro - Add cron for checking PL 2018-11-29 19:13:28 -05:00
Mike Reeves
62e5cb0f94 Bro - Add cron for checking PL 2018-11-29 19:07:18 -05:00
Mike Reeves
2c6a2646e4 Bro - Add cron for checking PL 2018-11-29 19:04:54 -05:00
Mike Reeves
3448aeb4ab Sensor Dashboard - Add unprocessed file count 2018-11-29 15:43:58 -05:00
Mike Reeves
bc1bde0fb0 Sensor Dashboard - Add unprocessed file count 2018-11-29 15:34:27 -05:00
Mike Reeves
8ad2b31b71 Storage Node Dashboard - Fix IO 2018-11-29 15:15:01 -05:00
Mike Reeves
e3bd6ad0b0 Master Dashboard - Fix Disk Guage 2018-11-29 15:05:05 -05:00
Mike Reeves
b4e69e2d9a Master Dashboard - Fix DiskIO 2018-11-29 14:49:09 -05:00
Mike Reeves
f03f97b774 MTU - Now gets dropped into the pillar. 2018-11-29 13:56:36 -05:00
Mike Reeves
2f804335da Telegraf - Fix Suri script so it requires 2 drops in a row 2018-11-29 13:21:00 -05:00
Mike Reeves
bb1ee0ead5 Telegraf - Fix Suri script so it requires 2 drops in a row 2018-11-29 11:35:14 -05:00
Mike Reeves
9e9fb3e7b1 Dashboard Update - Fix Suri Drop Math 2018-11-29 10:40:46 -05:00
Mike Reeves
5af36bb016 Setup Script - Remove Bro Filter 2018-11-29 10:25:50 -05:00
Mike Reeves
f2c94cd952 Dashboard Update - Add Detialed Disk Metrics 2018-11-29 10:18:40 -05:00
Mike Reeves
fd0afc82ed Dashboard Update - Add Detialed Disk Metrics 2018-11-29 10:15:51 -05:00
Mike Reeves
bc311d30bc Dashboard Update - Add Detialed Disk Metrics 2018-11-29 10:12:28 -05:00
Mike Reeves
de32c35cd0 Dashboard Update - Add Detialed Disk Metrics 2018-11-29 10:03:53 -05:00
Mike Reeves
ef74fa8197 Dashboard Update - Add Detialed Disk Metrics 2018-11-29 10:02:56 -05:00
Mike Reeves
4a0b9a15e8 Dashboard Update - Add Detialed Disk Metrics 2018-11-29 09:58:31 -05:00
Mike Reeves
f6f874ed4f Setup Script - Get Disk sizes 2018-11-29 09:24:57 -05:00
Mike Reeves
4cb27f6462 Setup Script - Re-Installs should now work 2018-11-29 08:51:27 -05:00
Mike Reeves
15e2424dc8 Setup Script - Do something with the MTU 2018-11-29 08:25:37 -05:00
Mike Reeves
be69d3629c Logstash Module - Rework it 2018-11-28 20:51:31 -05:00
Mike Reeves
4203898427 Logstash Module - Rework it 2018-11-28 20:44:56 -05:00
Mike Reeves
36561d0d12 Updated Dashboards - Fix suri drop value 2018-11-28 20:12:44 -05:00
Mike Reeves
92aa3dcb60 Updated Dashboards 2018-11-28 19:22:22 -05:00
Mike Reeves
6971baa73d Setup Script - Add Drive stuff and hardware stuff 2018-11-28 19:19:09 -05:00
Mike Reeves
ce66b25fc8 Setup Script - Add Drive stuff and hardware stuff 2018-11-28 18:08:48 -05:00
Mike Reeves
9a56c3d7df ADDTOTAB Script - Add some smarts and file system info 2018-11-28 17:45:55 -05:00
Mike Reeves
4a1ecb6eeb ADDTOTAB Script - Add some smarts and file system info 2018-11-28 17:44:26 -05:00
Mike Reeves
1553f36082 Logstash Module - Allow jinja in custom parsers 2018-11-28 16:13:28 -05:00
Mike Reeves
172daf9179 TOP.sls - Fix ssl in ordering 2018-11-28 15:48:26 -05:00
Mike Reeves
f74b8d5332 TOP.sls - Fix ssl in ordering 2018-11-28 15:47:38 -05:00
Mike Reeves
384e18ca5f Common Module - Add tcpdump and net-utils if centos 2018-11-28 14:36:03 -05:00
Mike Reeves
742843a675 Common Module - Add tcpdump and net-utils if centos 2018-11-28 14:33:46 -05:00
Mike Reeves
83f6938959 Dashboard Update 2018-11-28 14:28:24 -05:00
Mike Reeves
005f3e459e Dashboard Update 2018-11-28 14:26:33 -05:00
Mike Reeves
88ac939342 Try and fix SSL race condition and Update dashboard description 2018-11-28 14:15:38 -05:00
Mike Reeves
80617fc151 Update README 2018-11-28 12:07:37 -05:00
Mike Reeves
43062e2710 Setup Script - Rename Community Bro to Community NSM 2018-11-28 11:49:03 -05:00
Mike Reeves
15682bb26c Suricata Module - Change Priority 2018-11-28 10:54:21 -05:00
Mike Reeves
34343bc251 Common Module - Add Suricata PL tracker 2018-11-28 10:24:10 -05:00
Mike Reeves
d632ebb4e0 Common Module - Add Suricata PL tracker 2018-11-28 10:15:42 -05:00
Mike Reeves
8acfea33a2 Master Dashboard - Done 2018-11-27 20:25:08 -05:00
Mike Reeves
119c94ea17 Logstash Module - Fix so logstash workers gets picked up 2018-11-27 13:42:40 -05:00
Mike Reeves
fbd5c249b4 Common Module - Fix Telegraf ES input for nodes 2018-11-27 12:33:08 -05:00
Mike Reeves
154e1e6bcc Common Module - Fix Telegraf ES input for nodes 2018-11-27 12:27:17 -05:00
Mike Reeves
a2e83a9e5f Common Module - Fix Storage Node Dashboard 2018-11-26 21:19:26 -05:00
Mike Reeves
4540267d41 Common Module - Fix Storage Node Dashboard 2018-11-26 21:02:23 -05:00
Mike Reeves
f985b94594 Common Module - Fix Storage Node Dashboard 2018-11-26 21:01:02 -05:00
Mike Reeves
689df66267 Setup Script - Fix race condition with the common module 2018-11-26 19:53:04 -05:00
Mike Reeves
8913182d73 Setup Script - Turn off logging redirect to troubleshoot 2018-11-26 19:42:26 -05:00
Mike Reeves
816406c105 Setup Script - Turn off logging redirect to troubleshoot 2018-11-26 19:27:59 -05:00
Mike Reeves
7b3f9459ee Common Module - Add Master Tab 2018-11-26 19:17:46 -05:00
Mike Reeves
a8570dc049 Common Module - Fix if statement 2018-11-26 19:15:04 -05:00
Mike Reeves
51fbfd71f1 Refactor Dashboard 2018-11-26 15:51:17 -05:00
Mike Reeves
4eda787216 Refactor Dashboard 2018-11-26 15:48:47 -05:00
Mike Reeves
d5f91c794b Add new tabs and core count in setup 2018-11-26 15:39:03 -05:00
Mike Reeves
94e2f6c199 Add new tabs and core count 2018-11-26 15:31:56 -05:00
Mike Reeves
15d7c61973 Add Master Dashboard sync 2018-11-26 14:32:59 -05:00
Mike Reeves
39edef606d Redo Folder yaml for grafana 2018-11-26 14:21:25 -05:00
Mike Reeves
975462a57b Work Dashboard Folders 2018-11-26 12:23:17 -05:00
Mike Reeves
c9aafba285 Fix the Scheduling 2018-11-26 11:29:22 -05:00
Mike Reeves
0419d899a1 Fix the Scheduling 2018-11-26 11:03:35 -05:00
Mike Reeves
d49f7171ba Common Module - Fix Dashboard paths 2018-11-26 10:09:32 -05:00
Mike Reeves
b761a5f59d Common Module - Add Master Nodes 2018-11-26 09:43:02 -05:00
Mike Reeves
cab9736064 Common Module - Make sure Salt gets enabled 2018-11-26 09:21:12 -05:00
Mike Reeves
5b4252e996 Add Logic for what dashboards to put down 2018-11-25 19:09:38 -05:00
Mike Reeves
03d16acd5d Add Info to nodestab 2018-11-25 19:03:26 -05:00
Mike Reeves
5e6fae9787 Dashboard Folders 2018-11-24 10:32:56 -05:00
Mike Reeves
3fa06efa41 Fix on PCAP Paths for 1.0.4 2018-11-24 10:32:12 -05:00
Mike Reeves
64149d2cc6 Telegraf - Track Oldest PCAP 2018-11-21 20:47:40 -05:00
Mike Reeves
7dd5755120 Telegraf - Track Oldest PCAP 2018-11-21 20:13:35 -05:00
Mike Reeves
3dbb3a052f Telegraf - Track Oldest PCAP 2018-11-21 20:10:36 -05:00
Mike Reeves
50a7bca0ed Telegraf - Track Oldest PCAP 2018-11-21 20:05:50 -05:00
Mike Reeves
60962dfe02 Sensor Dashboard Fix interfaces 2018-11-21 15:05:23 -05:00
Mike Reeves
887b329529 Sensor Dashboard Fix interfaces 2018-11-21 15:03:29 -05:00
Mike Reeves
40e90aa921 Sensor Dashboard Fix interfaces 2018-11-21 15:01:23 -05:00
Mike Reeves
bd31e76afe Sensor Dashboard Fix interfaces 2018-11-21 14:59:02 -05:00
Mike Reeves
7c36861cf3 Common Module - Force grafana restart when adding a sensor 2018-11-21 14:55:23 -05:00
Mike Reeves
136bb8d3b0 Common Module - Force grafana restart when adding a sensor 2018-11-21 14:30:33 -05:00
Mike Reeves
1cae809885 Common Module - Change Grafana init 2018-11-21 14:21:52 -05:00
Mike Reeves
a136e112c7 Common Module - Change Grafana init 2018-11-21 11:08:48 -05:00
Mike Reeves
206bcc4bfe Common Module - Change Grafana init 2018-11-21 09:49:59 -05:00
Mike Reeves
257d87684f Change the sensortab to add additional informations 2018-11-21 09:47:27 -05:00
Mike Reeves
4a8888e08d Grafana Dashboard Test 2018-11-20 17:31:38 -05:00
Mike Reeves
f77dec329d Setup Script - Actually run the addtotab 2018-11-20 16:40:09 -05:00
Mike Reeves
51f729f703 Setup Script - Create a Sensors tab 2018-11-20 16:13:02 -05:00
Mike Reeves
b6f5658e73 Setup Script - Add MAININT to the pillar 2018-11-20 15:45:26 -05:00
Mike Reeves
398503e292 Common Module - Fix redis script 2018-11-20 14:58:05 -05:00
Mike Reeves
cf7cde7cc0 Common Module - Dashboard Try 2018-11-20 14:53:32 -05:00
Mike Reeves
420ce94a11 Common Module - Make Grafana restart on changes 2018-11-20 14:44:05 -05:00
Mike Reeves
92295ebf8a Common Module - Make Grafana restart on changes 2018-11-20 14:42:55 -05:00
Mike Reeves
cf16a1b60f Common Module - Grafana Change Dashboard 2018-11-20 14:39:59 -05:00
Mike Reeves
2c84c57311 Common Module - Telegraf Logic 2018-11-20 14:33:27 -05:00
Mike Reeves
9c7bf9c995 Common Module - Telegraf Logic 2018-11-20 14:32:18 -05:00
Mike Reeves
43b18dee1d Common Module - Telegraf Keys for Sensors 2018-11-20 14:00:14 -05:00
Mike Reeves
b16b46e9cb Common Module - Telegraf Keys for Sensors 2018-11-20 13:59:30 -05:00
Mike Reeves
5bfa0ecb81 Common Module - Grafana Dashboards 2018-11-20 13:32:27 -05:00
Mike Reeves
6329d80c71 Common Module - Grafana Dashboards 2018-11-20 13:11:28 -05:00
Mike Reeves
0d017cacb8 Common Module - Telegraf Fix steno script 2018-11-20 11:04:22 -05:00
Mike Reeves
6419002ae6 Common Module - Telegraf Use File Mode 2018-11-20 10:50:51 -05:00
Mike Reeves
440fc3d757 Common Module - Telegraf ADd Scripts option 2018-11-20 10:35:10 -05:00
Mike Reeves
523cd3313b Common Module - Telegraf Network Mode Host 2018-11-19 22:40:32 -05:00
Mike Reeves
188efdc5fa Common Module - Telegraf Network Mode Host 2018-11-19 22:06:52 -05:00
Mike Reeves
07a1940c2f Common Module - Fix Proc 2018-11-19 22:05:16 -05:00
Mike Reeves
ea83b8a190 Common Module - Fix Proc 2018-11-19 22:02:06 -05:00
Mike Reeves
5bad229f4b Common Module - Fix Proc 2018-11-19 21:56:03 -05:00
Mike Reeves
0a96648dfb Common Module - Fix Proc 2018-11-19 21:39:59 -05:00
Mike Reeves
c0815363a9 Common Module - Grafana Updates to Datasources and Telegraf 2018-11-19 19:53:08 -05:00
Mike Reeves
760e0ecca6 Common Module - Grafana Data Source Provisioning 2018-11-19 17:20:52 -05:00
Mike Reeves
299973cdc5 Common Module - Grafana Data Source Provisioning 2018-11-19 17:14:52 -05:00
Mike Reeves
97854ca4d4 Common Module - Telegraf turn off hdd temp monitoring 2018-11-19 16:32:01 -05:00
Mike Reeves
223c6d85f7 Common Module - Telegraf turn off hdd temp monitoring 2018-11-19 16:29:07 -05:00
Mike Reeves
76221425c8 Common Module - Telegraf turn off hdd temp monitoring 2018-11-19 15:56:35 -05:00
Mike Reeves
6b79be5b9a Common Module - Telegraf Certificate Fun 2018-11-19 15:47:24 -05:00
Mike Reeves
6796ff5e84 Common Module - Fix type in telegraf 2018-11-19 15:19:14 -05:00
Mike Reeves
4219580095 Common Module - Fix type in telegraf 2018-11-19 13:22:16 -05:00
Mike Reeves
268e6828d6 Firewall Module - Trying to fix grafana access 2018-11-19 13:06:00 -05:00
Mike Reeves
8e2d6921bb Common Module - Change usert 2018-11-19 12:56:51 -05:00
Mike Reeves
9a553b1439 Common Module - Fix Permissions 2018-11-19 11:56:04 -05:00
Mike Reeves
a946d1585e Common Module - Influx paths 2018-11-19 11:23:37 -05:00
Mike Reeves
7637f72e88 Common Module - Influx Docker Fix 2018-11-19 11:04:20 -05:00
Mike Reeves
858fe32de0 Common Module - Fix Path for influx 2018-11-19 10:55:35 -05:00
Mike Reeves
eef432856f Common Module - Fix Path for influx 2018-11-19 10:45:43 -05:00
Mike Reeves
ec7fe84074 Common Module - Add Influx Config 2018-11-19 10:38:16 -05:00
Mike Reeves
d923e6ab13 Common Module - Fix formatting and clean up 2018-11-19 10:36:26 -05:00
Mike Reeves
0746a56ba0 Common Module - Fix formatting and clean up 2018-11-19 10:17:13 -05:00
Mike Reeves
d70724d1f6 Firewall Module - Add port for grafana 2018-11-19 09:50:15 -05:00
Mike Reeves
417bd6adf2 Core Module - Add grafana dir 2018-11-19 09:20:54 -05:00
Mike Reeves
a0607f13e5 Common Module - Add grafana support 2018-11-18 12:04:32 -05:00
Mike Reeves
39602f3ef8 InfluxDB Module - Add Support for influxdb 2018-11-17 16:24:23 -05:00
Mike Reeves
7d7f0bcd56 Telegraf Module - Actually sync the config 2018-11-16 14:31:12 -05:00
Mike Reeves
64beb29149 Telegraf Module - Initial Commit 2018-11-16 14:12:24 -05:00
Mike Reeves
80310eb461 Common Module - Add utils 2018-11-15 16:35:27 -05:00
Mike Reeves
38f079015c Setup Script - Fix Bro Log Output 2018-11-15 16:15:44 -05:00
Mike Reeves
a9eb8e3355 Setup Script - Enable Master Advanced Setup Option 2018-11-15 14:51:00 -05:00
508 changed files with 50735 additions and 12683 deletions

View File

@@ -1,73 +1,84 @@
# Security Onion Hybrid Hunter Tech Preview 1.0.3
## Hybrid Hunter Beta 1.2.1 - Beta 1
### 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
### Changes:
- Full support for Ubuntu 18.04. 16.04 is no longer supported for Hybrid Hunter.
- Introduction of the Security Onion Console. Once logged in you are directly taken to the SOC.
- New authentication using Kratos.
- During install you must specify how you would like to access the SOC ui. This is for strict cookie security.
- Ability to list and delete web users from the SOC ui.
- The soremote account is now used to add nodes to the grid vs using socore.
- Community ID support for Zeek, osquery, and Suricata. You can now tie host events to connection logs!
- Elastic 7.6.1 with ECS support.
- New set of Kibana dashboards that align with ECS.
- Eval mode no longer uses Logstash for parsing (Filebeat -> ES Ingest)
- Ingest node parsing for osquery-shipped logs (osquery, WEL, Sysmon).
- Fleet standalone mode with improved Web UI & API access control.
- Improved Fleet integration support.
- Playbook now has full Windows Sigma community ruleset builtin.
- Automatic Sigma community rule updates.
- Playbook stability enhancements.
- Zeek health check. Zeek will now auto restart if a worker crashes.
- zeekctl is now managed by salt.
- Grafana dashboard improvements and cleanup.
- Moved logstash configs to pillars.
- Salt logs moved to /opt/so/log/salt.
- Strelka integrated for file-oriented detection/analysis at scale
### Known issues:
- 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.
### 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.3
1.2.1

View File

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

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 #####
##########################################
@@ -57,3 +58,7 @@ pillar_roots:
peer:
.*:
- x509.sign_remote_certificate
reactor:
- 'so/fleet':
- salt://reactor/fleet.sls

View File

@@ -1 +0,0 @@
sudo salt-call state.highstate

View File

@@ -1 +0,0 @@
sudo docker exec -it so-redis redis-cli llen logstash:unparsed

View File

@@ -1 +0,0 @@
sudo docker exec -it so-redis redis-cli llen logstash:unparsed

View File

@@ -1 +0,0 @@
curl -X GET "localhost:9200/_cat/indices?v"

View File

@@ -1 +0,0 @@
sudo salt-call state.highstate

View File

@@ -5,12 +5,53 @@
TYPE=$1
NAME=$2
IPADDRESS=$3
CPUS=$4
GUID=$5
MANINT=$6
ROOTFS=$7
NSM=$8
MONINT=$9
#NODETYPE=$10
#HOTNAME=$11
if grep -q $IPADDRESS "/opt/so/saltstack/pillar/data/nodestab.sls"; then
echo "Storage Node Already in There"
else
echo " $NAME:" >> /opt/so/saltstack/pillar/data/nodestab.sls
echo " ip: $IPADDRESS" >> /opt/so/saltstack/pillar/data/nodestab.sls
salt-call state.apply utility
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
echo "Node Already Present - Let's re-add it"
awk -v blah=" $NAME:" 'BEGIN{ print_flag=1 }
{
if( $0 ~ blah )
{
print_flag=0;
next
}
if( $0 ~ /^ [a-zA-Z0-9]+:$/ )
{
print_flag=1;
}
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
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
if [ $TYPE == 'sensorstab' ]; then
echo " monint: $MONINT" >> /opt/so/saltstack/pillar/data/$TYPE.sls
salt-call state.apply common queue=True
fi
if [ $TYPE == 'evaltab' ]; then
echo " monint: $MONINT" >> /opt/so/saltstack/pillar/data/$TYPE.sls
salt-call state.apply common queue=True
salt-call state.apply utility queue=True
fi
#if [ $TYPE == 'nodestab' ]; then
# echo " nodetype: $NODETYPE" >> /opt/so/saltstack/pillar/data/$TYPE.sls
# echo " hotname: $HOTNAME" >> /opt/so/saltstack/pillar/data/$TYPE.sls
#fi

1
pillar/data/evaltab.sls Normal file
View File

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

View File

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

View File

@@ -0,0 +1 @@
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-core
- 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-core
- 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-core
- so-telegraf
- so-idstools
- so-steno
- so-zeek
- so-redis
- so-logstash
- so-filebeat
hot_node:
containers:
- so-core
- so-telegraf
- so-logstash
- so-elasticsearch
- so-curator
master_search:
containers:
- so-core
- 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-core
- 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-core
- so-telegraf
- so-logstash
search_node:
containers:
- so-core
- so-telegraf
- so-logstash
- so-elasticsearch
- so-curator
- so-filebeat
{% if WAZUH != '0' %}
- so-wazuh
{% endif %}
sensor:
containers:
- so-core
- so-telegraf
- so-steno
- so-suricata
{% if BROVER != 'SURICATA' %}
- so-zeek
{% endif %}
- so-wazuh
- so-filebeat
warm_node:
containers:
- so-core
- so-telegraf
- so-elasticsearch
fleet:
containers:
{% if FLEETNODE %}
- so-mysql
- so-fleet
- so-redis
- so-filebeat
- so-core
- so-telegraf
{% endif %}

View File

@@ -9,5 +9,5 @@ if grep -q $2 "/opt/so/saltstack/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
salt-call state.apply firewall queue=True
fi

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,2 @@
wazuh_endpoint:
- 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

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,6 @@
logstash:
pipelines:
master:
config:
- 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/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

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 @@
schedule:
highstate:
funtion: state.highstate
minutes: 15
maxrunning: 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

@@ -1,5 +0,0 @@
schedule:
highstate:
funtion: state.highstate
minutes: 15
maxrunning: 1

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

@@ -1,5 +0,0 @@
schedule:
highstate:
funtion: state.highstate
minutes: 15
maxrunning: 1

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,28 +1,72 @@
base:
'G@role:so-sensor':
- sensors.schedule
- sensors.{{ grains.host }}
'*':
- patch.needs_restarting
- docker.config
'*_mastersearch or *_heavynode':
- match: compound
- logstash
- logstash.master
- logstash.search
'*_sensor':
- static
- firewall.*
- brologs
- healthcheck.sensor
- minions.{{ grains.id }}
'G@role:so-master':
- masters.schedule
- masters.{{ grains.host }}
'*_master or *_mastersearch':
- match: compound
- static
- firewall.*
- data.*
- secrets
- minions.{{ grains.id }}
'G@role:so-eval':
- masters.schedule
- masters.{{ grains.host }}
'*_master':
- logstash
- logstash.master
'*_eval':
- static
- firewall.*
- data.*
- brologs
- secrets
- healthcheck.eval
- minions.{{ grains.id }}
'G@role:so-node':
- nodes.schedule
- nodes.{{ grains.host }}
'*_node':
- static
- firewall.*
- minions.{{ grains.id }}
'*_heavynode':
- static
- firewall.*
- brologs
- minions.{{ grains.id }}
'*_helix':
- static
- firewall.*
- fireeye
- brologs
- logstash
- logstash.helix
- minions.{{ grains.id }}
'*_fleet':
- static
- firewall.*
- data.*
- secrets
- minions.{{ grains.id }}
'*_searchnode':
- static
- firewall.*
- logstash
- logstash.search
- minions.{{ grains.id }}

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

@@ -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,5 +37,34 @@ 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: '*'
- 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/
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,10 @@ 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
- mine.send:
- func: x509.get_pem_entries
- glob_path: /etc/pki/ca.crt
- onchanges:
- x509: /etc/pki/ca.crt

View File

@@ -0,0 +1,35 @@
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: 'Sensor Nodes'
folder: 'Sensor Nodes'
type: file
disableDeletion: false
editable: true
options:
path: /etc/grafana/grafana_dashboards/sensor_nodes
- name: 'Search Nodes'
folder: 'Search Nodes'
type: file
disableDeletion: false
editable: true
options:
path: /etc/grafana/grafana_dashboards/search_nodes
{%- else %}
- name: 'Security Onion'
folder: 'Eval Mode'
type: file
disableDeletion: false
editable: true
options:
path: /etc/grafana/grafana_dashboards/eval
{% endif %}

View File

@@ -0,0 +1,18 @@
{%- set MASTER = salt['pillar.get']('static:masterip', '') %}
apiVersion: 1
deleteDatasources:
- name: Graphite
orgId: 1
datasources:
- name: InfluxDB
type: influxdb
access: proxy
database: telegraf
url: https://{{ MASTER }}:8086
jsonData:
tlsAuth: false
tlsAuthWithCACert: false
tlsSkipVerify: true
version: 1

View File

@@ -0,0 +1,482 @@
##################### Grafana Configuration Example #####################
#
# Everything has defaults so you only need to uncomment things you want to
# change
# possible values : production, development
;app_mode = production
# instance name, defaults to HOSTNAME environment variable value or hostname if HOSTNAME var is empty
;instance_name = ${HOSTNAME}
#################################### Paths ####################################
[paths]
# Path to where grafana can store temp files, sessions, and the sqlite3 db (if that is used)
;data = /var/lib/grafana
# Temporary files in `data` directory older than given duration will be removed
;temp_data_lifetime = 24h
# Directory where grafana can store logs
;logs = /var/log/grafana
# Directory where grafana will automatically scan and look for plugins
;plugins = /var/lib/grafana/plugins
# folder that contains provisioning config files that grafana will apply on startup and while running.
;provisioning = conf/provisioning
#################################### Server ####################################
[server]
# Protocol (http, https, socket)
;protocol = http
# The ip address to bind to, empty will bind to all interfaces
;http_addr =
# The http port to use
;http_port = 3000
# The public facing domain name used to access grafana from a browser
;domain = localhost
# Redirect to correct domain if host header does not match domain
# Prevents DNS rebinding attacks
;enforce_domain = false
# The full public facing url you use in browser, used for redirects and emails
# If you use reverse proxy and sub path specify full url (with sub path)
root_url = %(protocol)s://%(domain)s/grafana/
# Log web requests
;router_logging = false
# the path relative working path
;static_root_path = public
# enable gzip
;enable_gzip = false
# https certs & key file
;cert_file =
;cert_key =
# Unix socket path
;socket =
#################################### Database ####################################
[database]
# You can configure the database connection by specifying type, host, name, user and password
# as separate properties or as on string using the url properties.
# Either "mysql", "postgres" or "sqlite3", it's your choice
;type = sqlite3
;host = 127.0.0.1:3306
;name = grafana
;user = root
# If the password contains # or ; you have to wrap it with triple quotes. Ex """#password;"""
;password =
# Use either URL or the previous fields to configure the database
# Example: mysql://user:secret@host:port/database
;url =
# For "postgres" only, either "disable", "require" or "verify-full"
;ssl_mode = disable
# For "sqlite3" only, path relative to data_path setting
;path = grafana.db
# Max idle conn setting default is 2
;max_idle_conn = 2
# Max conn setting default is 0 (mean not set)
;max_open_conn =
# Connection Max Lifetime default is 14400 (means 14400 seconds or 4 hours)
;conn_max_lifetime = 14400
# Set to true to log the sql calls and execution times.
log_queries =
#################################### Session ####################################
[session]
# Either "memory", "file", "redis", "mysql", "postgres", default is "file"
;provider = file
# Provider config options
# memory: not have any config yet
# file: session dir path, is relative to grafana data_path
# redis: config like redis server e.g. `addr=127.0.0.1:6379,pool_size=100,db=grafana`
# mysql: go-sql-driver/mysql dsn config string, e.g. `user:password@tcp(127.0.0.1:3306)/database_name`
# postgres: user=a password=b host=localhost port=5432 dbname=c sslmode=disable
;provider_config = sessions
# Session cookie name
;cookie_name = grafana_sess
# If you use session in https only, default is false
;cookie_secure = false
# Session life time, default is 86400
;session_life_time = 86400
#################################### Data proxy ###########################
[dataproxy]
# This enables data proxy logging, default is false
;logging = false
#################################### Analytics ####################################
[analytics]
# Server reporting, sends usage counters to stats.grafana.org every 24 hours.
# No ip addresses are being tracked, only simple counters to track
# running instances, dashboard and error counts. It is very helpful to us.
# Change this option to false to disable reporting.
;reporting_enabled = true
# Set to false to disable all checks to https://grafana.net
# for new vesions (grafana itself and plugins), check is used
# in some UI views to notify that grafana or plugin update exists
# This option does not cause any auto updates, nor send any information
# only a GET request to http://grafana.com to get latest versions
;check_for_updates = true
# Google Analytics universal tracking code, only enabled if you specify an id here
;google_analytics_ua_id =
#################################### Security ####################################
[security]
# default admin user, created on startup
;admin_user = admin
# default admin password, can be changed before first start of grafana, or in profile settings
;admin_password = admin
# used for signing
;secret_key = SW2YcwTIb9zpOOhoPsMm
# Auto-login remember days
;login_remember_days = 7
;cookie_username = grafana_user
;cookie_remember_name = grafana_remember
# disable gravatar profile images
;disable_gravatar = false
# data source proxy whitelist (ip_or_domain:port separated by spaces)
;data_source_proxy_whitelist =
# disable protection against brute force login attempts
;disable_brute_force_login_protection = false
#################################### Snapshots ###########################
[snapshots]
# snapshot sharing options
;external_enabled = true
;external_snapshot_url = https://snapshots-origin.raintank.io
;external_snapshot_name = Publish to snapshot.raintank.io
# remove expired snapshot
;snapshot_remove_expired = true
#################################### Dashboards History ##################
[dashboards]
# Number dashboard versions to keep (per dashboard). Default: 20, Minimum: 1
;versions_to_keep = 20
#################################### Users ###############################
[users]
# disable user signup / registration
;allow_sign_up = true
# Allow non admin users to create organizations
;allow_org_create = true
# Set to true to automatically assign new users to the default organization (id 1)
;auto_assign_org = true
# Default role new users will be automatically assigned (if disabled above is set to true)
;auto_assign_org_role = Viewer
# Background text for the user field on the login page
;login_hint = email or username
# Default UI theme ("dark" or "light")
;default_theme = dark
# External user management, these options affect the organization users view
;external_manage_link_url =
;external_manage_link_name =
;external_manage_info =
# Viewers can edit/inspect dashboard settings in the browser. But not save the dashboard.
;viewers_can_edit = false
[auth]
# Set to true to disable (hide) the login form, useful if you use OAuth, defaults to false
;disable_login_form = false
# Set to true to disable the signout link in the side menu. useful if you use auth.proxy, defaults to false
;disable_signout_menu = false
# URL to redirect the user to after sign out
;signout_redirect_url =
#################################### Anonymous Auth ##########################
[auth.anonymous]
# enable anonymous access
;enabled = false
# specify organization name that should be used for unauthenticated users
;org_name = Main Org.
# specify role for unauthenticated users
;org_role = Viewer
#################################### Github Auth ##########################
[auth.github]
;enabled = false
;allow_sign_up = true
;client_id = some_id
;client_secret = some_secret
;scopes = user:email,read:org
;auth_url = https://github.com/login/oauth/authorize
;token_url = https://github.com/login/oauth/access_token
;api_url = https://api.github.com/user
;team_ids =
;allowed_organizations =
#################################### Google Auth ##########################
[auth.google]
;enabled = false
;allow_sign_up = true
;client_id = some_client_id
;client_secret = some_client_secret
;scopes = https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email
;auth_url = https://accounts.google.com/o/oauth2/auth
;token_url = https://accounts.google.com/o/oauth2/token
;api_url = https://www.googleapis.com/oauth2/v1/userinfo
;allowed_domains =
#################################### Generic OAuth ##########################
[auth.generic_oauth]
;enabled = false
;name = OAuth
;allow_sign_up = true
;client_id = some_id
;client_secret = some_secret
;scopes = user:email,read:org
;auth_url = https://foo.bar/login/oauth/authorize
;token_url = https://foo.bar/login/oauth/access_token
;api_url = https://foo.bar/user
;team_ids =
;allowed_organizations =
;tls_skip_verify_insecure = false
;tls_client_cert =
;tls_client_key =
;tls_client_ca =
#################################### Grafana.com Auth ####################
[auth.grafana_com]
;enabled = false
;allow_sign_up = true
;client_id = some_id
;client_secret = some_secret
;scopes = user:email
;allowed_organizations =
#################################### Auth Proxy ##########################
[auth.proxy]
;enabled = false
;header_name = X-WEBAUTH-USER
;header_property = username
;auto_sign_up = true
;ldap_sync_ttl = 60
;whitelist = 192.168.1.1, 192.168.2.1
;headers = Email:X-User-Email, Name:X-User-Name
#################################### Basic Auth ##########################
[auth.basic]
;enabled = true
#################################### Auth LDAP ##########################
[auth.ldap]
;enabled = false
;config_file = /etc/grafana/ldap.toml
;allow_sign_up = true
#################################### SMTP / Emailing ##########################
[smtp]
;enabled = false
;host = localhost:25
;user =
# If the password contains # or ; you have to wrap it with trippel quotes. Ex """#password;"""
;password =
;cert_file =
;key_file =
;skip_verify = false
;from_address = admin@grafana.localhost
;from_name = Grafana
# EHLO identity in SMTP dialog (defaults to instance_name)
;ehlo_identity = dashboard.example.com
[emails]
;welcome_email_on_sign_up = false
#################################### Logging ##########################
[log]
# Either "console", "file", "syslog". Default is console and file
# Use space to separate multiple modes, e.g. "console file"
;mode = console file
# Either "debug", "info", "warn", "error", "critical", default is "info"
;level = info
# optional settings to set different levels for specific loggers. Ex filters = sqlstore:debug
;filters =
# For "console" mode only
[log.console]
;level =
# log line format, valid options are text, console and json
;format = console
# For "file" mode only
[log.file]
;level =
# log line format, valid options are text, console and json
;format = text
# This enables automated log rotate(switch of following options), default is true
;log_rotate = true
# Max line number of single file, default is 1000000
;max_lines = 1000000
# Max size shift of single file, default is 28 means 1 << 28, 256MB
;max_size_shift = 28
# Segment log daily, default is true
;daily_rotate = true
# Expired days of log file(delete after max days), default is 7
;max_days = 7
[log.syslog]
;level =
# log line format, valid options are text, console and json
;format = text
# Syslog network type and address. This can be udp, tcp, or unix. If left blank, the default unix endpoints will be used.
;network =
;address =
# Syslog facility. user, daemon and local0 through local7 are valid.
;facility =
# Syslog tag. By default, the process' argv[0] is used.
;tag =
#################################### Alerting ############################
[alerting]
# Disable alerting engine & UI features
;enabled = true
# Makes it possible to turn off alert rule execution but alerting UI is visible
;execute_alerts = true
# Default setting for new alert rules. Defaults to categorize error and timeouts as alerting. (alerting, keep_state)
;error_or_timeout = alerting
# Default setting for how Grafana handles nodata or null values in alerting. (alerting, no_data, keep_state, ok)
;nodata_or_nullvalues = no_data
# Alert notifications can include images, but rendering many images at the same time can overload the server
# This limit will protect the server from render overloading and make sure notifications are sent out quickly
;concurrent_render_limit = 5
#################################### Explore #############################
[explore]
# Enable the Explore section
;enabled = false
#################################### Internal Grafana Metrics ##########################
# Metrics available at HTTP API Url /metrics
[metrics]
# Disable / Enable internal metrics
;enabled = true
# Publish interval
;interval_seconds = 10
# Send internal metrics to Graphite
[metrics.graphite]
# Enable by setting the address setting (ex localhost:2003)
;address =
;prefix = prod.grafana.%(instance_name)s.
#################################### Distributed tracing ############
[tracing.jaeger]
# Enable by setting the address sending traces to jaeger (ex localhost:6831)
;address = localhost:6831
# Tag that will always be included in when creating new spans. ex (tag1:value1,tag2:value2)
;always_included_tag = tag1:value1
# Type specifies the type of the sampler: const, probabilistic, rateLimiting, or remote
;sampler_type = const
# jaeger samplerconfig param
# for "const" sampler, 0 or 1 for always false/true respectively
# for "probabilistic" sampler, a probability between 0 and 1
# for "rateLimiting" sampler, the number of spans per second
# for "remote" sampler, param is the same as for "probabilistic"
# and indicates the initial sampling rate before the actual one
# is received from the mothership
;sampler_param = 1
#################################### Grafana.com integration ##########################
# Url used to import dashboards directly from Grafana.com
[grafana_com]
;url = https://grafana.com
#################################### External image storage ##########################
[external_image_storage]
# Used for uploading images to public servers so they can be included in slack/email messages.
# you can choose between (s3, webdav, gcs, azure_blob, local)
;provider =
[external_image_storage.s3]
;bucket =
;region =
;path =
;access_key =
;secret_key =
[external_image_storage.webdav]
;url =
;public_url =
;username =
;password =
[external_image_storage.gcs]
;key_file =
;bucket =
;path =
[external_image_storage.azure_blob]
;account_name =
;account_key =
;container_name =
[external_image_storage.local]
# does not require any configuration
[rendering]
# Options to configure external image rendering server like https://github.com/grafana/grafana-image-renderer
;server_url =
;callback_url =
[enterprise]
# Path to a valid Grafana Enterprise license.jwt file
;license_path =

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,560 @@
### Welcome to the InfluxDB configuration file.
# The values in this file override the default values used by the system if
# a config option is not specified. The commented out lines are the configuration
# field and the default value used. Uncommenting a line and changing the value
# will change the value used at runtime when the process is restarted.
# Once every 24 hours InfluxDB will report usage data to usage.influxdata.com
# The data includes a random ID, os, arch, version, the number of series and other
# usage data. No data from user databases is ever transmitted.
# Change this option to true to disable reporting.
# reporting-disabled = false
# Bind address to use for the RPC service for backup and restore.
# bind-address = "127.0.0.1:8088"
###
### [meta]
###
### Controls the parameters for the Raft consensus group that stores metadata
### about the InfluxDB cluster.
###
[meta]
# Where the metadata/raft database is stored
dir = "/var/lib/influxdb/meta"
# Automatically create a default retention policy when creating a database.
# retention-autocreate = true
# If log messages are printed for the meta service
# logging-enabled = true
###
### [data]
###
### Controls where the actual shard data for InfluxDB lives and how it is
### flushed from the WAL. "dir" may need to be changed to a suitable place
### for your system, but the WAL settings are an advanced configuration. The
### defaults should work for most systems.
###
[data]
# The directory where the TSM storage engine stores TSM files.
dir = "/var/lib/influxdb/data"
# The directory where the TSM storage engine stores WAL files.
wal-dir = "/var/lib/influxdb/wal"
# The amount of time that a write will wait before fsyncing. A duration
# greater than 0 can be used to batch up multiple fsync calls. This is useful for slower
# disks or when WAL write contention is seen. A value of 0s fsyncs every write to the WAL.
# Values in the range of 0-100ms are recommended for non-SSD disks.
# wal-fsync-delay = "0s"
# The type of shard index to use for new shards. The default is an in-memory index that is
# recreated at startup. A value of "tsi1" will use a disk based index that supports higher
# cardinality datasets.
# index-version = "inmem"
# Trace logging provides more verbose output around the tsm engine. Turning
# this on can provide more useful output for debugging tsm engine issues.
# trace-logging-enabled = false
# Whether queries should be logged before execution. Very useful for troubleshooting, but will
# log any sensitive data contained within a query.
# query-log-enabled = true
# Validates incoming writes to ensure keys only have valid unicode characters.
# This setting will incur a small overhead because every key must be checked.
# validate-keys = false
# Settings for the TSM engine
# CacheMaxMemorySize is the maximum size a shard's cache can
# reach before it starts rejecting writes.
# Valid size suffixes are k, m, or g (case insensitive, 1024 = 1k).
# Values without a size suffix are in bytes.
# cache-max-memory-size = "1g"
# CacheSnapshotMemorySize is the size at which the engine will
# snapshot the cache and write it to a TSM file, freeing up memory
# Valid size suffixes are k, m, or g (case insensitive, 1024 = 1k).
# Values without a size suffix are in bytes.
# cache-snapshot-memory-size = "25m"
# CacheSnapshotWriteColdDuration is the length of time at
# which the engine will snapshot the cache and write it to
# a new TSM file if the shard hasn't received writes or deletes
# cache-snapshot-write-cold-duration = "10m"
# CompactFullWriteColdDuration is the duration at which the engine
# will compact all TSM files in a shard if it hasn't received a
# write or delete
# compact-full-write-cold-duration = "4h"
# The maximum number of concurrent full and level compactions that can run at one time. A
# value of 0 results in 50% of runtime.GOMAXPROCS(0) used at runtime. Any number greater
# than 0 limits compactions to that value. This setting does not apply
# to cache snapshotting.
# max-concurrent-compactions = 0
# CompactThroughput is the rate limit in bytes per second that we
# will allow TSM compactions to write to disk. Note that short bursts are allowed
# to happen at a possibly larger value, set by CompactThroughputBurst
# compact-throughput = "48m"
# CompactThroughputBurst is the rate limit in bytes per second that we
# will allow TSM compactions to write to disk.
# compact-throughput-burst = "48m"
# The threshold, in bytes, when an index write-ahead log file will compact
# into an index file. Lower sizes will cause log files to be compacted more
# quickly and result in lower heap usage at the expense of write throughput.
# Higher sizes will be compacted less frequently, store more series in-memory,
# and provide higher write throughput.
# Valid size suffixes are k, m, or g (case insensitive, 1024 = 1k).
# Values without a size suffix are in bytes.
# max-index-log-file-size = "1m"
# The maximum series allowed per database before writes are dropped. This limit can prevent
# high cardinality issues at the database level. This limit can be disabled by setting it to
# 0.
# max-series-per-database = 1000000
# The maximum number of tag values per tag that are allowed before writes are dropped. This limit
# can prevent high cardinality tag values from being written to a measurement. This limit can be
# disabled by setting it to 0.
# max-values-per-tag = 100000
# If true, then the mmap advise value MADV_WILLNEED will be provided to the kernel with respect to
# TSM files. This setting has been found to be problematic on some kernels, and defaults to off.
# It might help users who have slow disks in some cases.
# tsm-use-madv-willneed = false
###
### [coordinator]
###
### Controls the clustering service configuration.
###
[coordinator]
# The default time a write request will wait until a "timeout" error is returned to the caller.
# write-timeout = "10s"
# The maximum number of concurrent queries allowed to be executing at one time. If a query is
# executed and exceeds this limit, an error is returned to the caller. This limit can be disabled
# by setting it to 0.
# max-concurrent-queries = 0
# The maximum time a query will is allowed to execute before being killed by the system. This limit
# can help prevent run away queries. Setting the value to 0 disables the limit.
# query-timeout = "0s"
# The time threshold when a query will be logged as a slow query. This limit can be set to help
# discover slow or resource intensive queries. Setting the value to 0 disables the slow query logging.
# log-queries-after = "0s"
# The maximum number of points a SELECT can process. A value of 0 will make
# the maximum point count unlimited. This will only be checked every second so queries will not
# be aborted immediately when hitting the limit.
# max-select-point = 0
# The maximum number of series a SELECT can run. A value of 0 will make the maximum series
# count unlimited.
# max-select-series = 0
# The maxium number of group by time bucket a SELECT can create. A value of zero will max the maximum
# number of buckets unlimited.
# max-select-buckets = 0
###
### [retention]
###
### Controls the enforcement of retention policies for evicting old data.
###
[retention]
# Determines whether retention policy enforcement enabled.
# enabled = true
# The interval of time when retention policy enforcement checks run.
# check-interval = "30m"
###
### [shard-precreation]
###
### Controls the precreation of shards, so they are available before data arrives.
### Only shards that, after creation, will have both a start- and end-time in the
### future, will ever be created. Shards are never precreated that would be wholly
### or partially in the past.
[shard-precreation]
# Determines whether shard pre-creation service is enabled.
# enabled = true
# The interval of time when the check to pre-create new shards runs.
# check-interval = "10m"
# The default period ahead of the endtime of a shard group that its successor
# group is created.
# advance-period = "30m"
###
### Controls the system self-monitoring, statistics and diagnostics.
###
### The internal database for monitoring data is created automatically if
### if it does not already exist. The target retention within this database
### is called 'monitor' and is also created with a retention period of 7 days
### and a replication factor of 1, if it does not exist. In all cases the
### this retention policy is configured as the default for the database.
[monitor]
# Whether to record statistics internally.
# store-enabled = true
# The destination database for recorded statistics
# store-database = "_internal"
# The interval at which to record statistics
# store-interval = "10s"
###
### [http]
###
### Controls how the HTTP endpoints are configured. These are the primary
### mechanism for getting data into and out of InfluxDB.
###
[http]
# Determines whether HTTP endpoint is enabled.
# enabled = true
# Determines whether the Flux query endpoint is enabled.
# flux-enabled = false
# The bind address used by the HTTP service.
# bind-address = ":8086"
# Determines whether user authentication is enabled over HTTP/HTTPS.
# auth-enabled = false
# The default realm sent back when issuing a basic auth challenge.
# realm = "InfluxDB"
# Determines whether HTTP request logging is enabled.
# log-enabled = true
# Determines whether the HTTP write request logs should be suppressed when the log is enabled.
# suppress-write-log = false
# When HTTP request logging is enabled, this option specifies the path where
# log entries should be written. If unspecified, the default is to write to stderr, which
# intermingles HTTP logs with internal InfluxDB logging.
#
# If influxd is unable to access the specified path, it will log an error and fall back to writing
# the request log to stderr.
# access-log-path = ""
# Filters which requests should be logged. Each filter is of the pattern NNN, NNX, or NXX where N is
# a number and X is a wildcard for any number. To filter all 5xx responses, use the string 5xx.
# If multiple filters are used, then only one has to match. The default is to have no filters which
# will cause every request to be printed.
# access-log-status-filters = []
# Determines whether detailed write logging is enabled.
# write-tracing = false
# Determines whether the pprof endpoint is enabled. This endpoint is used for
# troubleshooting and monitoring.
# pprof-enabled = true
# Enables a pprof endpoint that binds to localhost:6060 immediately on startup.
# This is only needed to debug startup issues.
# debug-pprof-enabled = false
# Determines whether HTTPS is enabled.
https-enabled = true
# The SSL certificate to use when HTTPS is enabled.
https-certificate = "/etc/ssl/influxdb.crt"
# Use a separate private key location.
https-private-key = "/etc/ssl/influxdb.key"
# The JWT auth shared secret to validate requests using JSON web tokens.
# shared-secret = ""
# The default chunk size for result sets that should be chunked.
# max-row-limit = 0
# The maximum number of HTTP connections that may be open at once. New connections that
# would exceed this limit are dropped. Setting this value to 0 disables the limit.
# max-connection-limit = 0
# Enable http service over unix domain socket
# unix-socket-enabled = false
# The path of the unix domain socket.
# bind-socket = "/var/run/influxdb.sock"
# The maximum size of a client request body, in bytes. Setting this value to 0 disables the limit.
# max-body-size = 25000000
# The maximum number of writes processed concurrently.
# Setting this to 0 disables the limit.
# max-concurrent-write-limit = 0
# The maximum number of writes queued for processing.
# Setting this to 0 disables the limit.
# max-enqueued-write-limit = 0
# The maximum duration for a write to wait in the queue to be processed.
# Setting this to 0 or setting max-concurrent-write-limit to 0 disables the limit.
# enqueued-write-timeout = 0
###
### [logging]
###
### Controls how the logger emits logs to the output.
###
[logging]
# Determines which log encoder to use for logs. Available options
# are auto, logfmt, and json. auto will use a more a more user-friendly
# output format if the output terminal is a TTY, but the format is not as
# easily machine-readable. When the output is a non-TTY, auto will use
# logfmt.
# format = "auto"
# Determines which level of logs will be emitted. The available levels
# are error, warn, info, and debug. Logs that are equal to or above the
# specified level will be emitted.
# level = "info"
# Suppresses the logo output that is printed when the program is started.
# The logo is always suppressed if STDOUT is not a TTY.
# suppress-logo = false
###
### [subscriber]
###
### Controls the subscriptions, which can be used to fork a copy of all data
### received by the InfluxDB host.
###
[subscriber]
# Determines whether the subscriber service is enabled.
# enabled = true
# The default timeout for HTTP writes to subscribers.
# http-timeout = "30s"
# Allows insecure HTTPS connections to subscribers. This is useful when testing with self-
# signed certificates.
# insecure-skip-verify = false
# The path to the PEM encoded CA certs file. If the empty string, the default system certs will be used
# ca-certs = ""
# The number of writer goroutines processing the write channel.
# write-concurrency = 40
# The number of in-flight writes buffered in the write channel.
# write-buffer-size = 1000
###
### [[graphite]]
###
### Controls one or many listeners for Graphite data.
###
[[graphite]]
# Determines whether the graphite endpoint is enabled.
# enabled = false
# database = "graphite"
# retention-policy = ""
# bind-address = ":2003"
# protocol = "tcp"
# consistency-level = "one"
# These next lines control how batching works. You should have this enabled
# otherwise you could get dropped metrics or poor performance. Batching
# will buffer points in memory if you have many coming in.
# Flush if this many points get buffered
# batch-size = 5000
# number of batches that may be pending in memory
# batch-pending = 10
# Flush at least this often even if we haven't hit buffer limit
# batch-timeout = "1s"
# UDP Read buffer size, 0 means OS default. UDP listener will fail if set above OS max.
# udp-read-buffer = 0
### This string joins multiple matching 'measurement' values providing more control over the final measurement name.
# separator = "."
### Default tags that will be added to all metrics. These can be overridden at the template level
### or by tags extracted from metric
# tags = ["region=us-east", "zone=1c"]
### Each template line requires a template pattern. It can have an optional
### filter before the template and separated by spaces. It can also have optional extra
### tags following the template. Multiple tags should be separated by commas and no spaces
### similar to the line protocol format. There can be only one default template.
# templates = [
# "*.app env.service.resource.measurement",
# # Default template
# "server.*",
# ]
###
### [collectd]
###
### Controls one or many listeners for collectd data.
###
[[collectd]]
# enabled = false
# bind-address = ":25826"
# database = "collectd"
# retention-policy = ""
#
# The collectd service supports either scanning a directory for multiple types
# db files, or specifying a single db file.
# typesdb = "/usr/local/share/collectd"
#
# security-level = "none"
# auth-file = "/etc/collectd/auth_file"
# These next lines control how batching works. You should have this enabled
# otherwise you could get dropped metrics or poor performance. Batching
# will buffer points in memory if you have many coming in.
# Flush if this many points get buffered
# batch-size = 5000
# Number of batches that may be pending in memory
# batch-pending = 10
# Flush at least this often even if we haven't hit buffer limit
# batch-timeout = "10s"
# UDP Read buffer size, 0 means OS default. UDP listener will fail if set above OS max.
# read-buffer = 0
# Multi-value plugins can be handled two ways.
# "split" will parse and store the multi-value plugin data into separate measurements
# "join" will parse and store the multi-value plugin as a single multi-value measurement.
# "split" is the default behavior for backward compatability with previous versions of influxdb.
# parse-multivalue-plugin = "split"
###
### [opentsdb]
###
### Controls one or many listeners for OpenTSDB data.
###
[[opentsdb]]
# enabled = false
# bind-address = ":4242"
# database = "opentsdb"
# retention-policy = ""
# consistency-level = "one"
# tls-enabled = false
# certificate= "/etc/ssl/influxdb.pem"
# Log an error for every malformed point.
# log-point-errors = true
# These next lines control how batching works. You should have this enabled
# otherwise you could get dropped metrics or poor performance. Only points
# metrics received over the telnet protocol undergo batching.
# Flush if this many points get buffered
# batch-size = 1000
# Number of batches that may be pending in memory
# batch-pending = 5
# Flush at least this often even if we haven't hit buffer limit
# batch-timeout = "1s"
###
### [[udp]]
###
### Controls the listeners for InfluxDB line protocol data via UDP.
###
[[udp]]
# enabled = false
# bind-address = ":8089"
# database = "udp"
# retention-policy = ""
# InfluxDB precision for timestamps on received points ("" or "n", "u", "ms", "s", "m", "h")
# precision = ""
# These next lines control how batching works. You should have this enabled
# otherwise you could get dropped metrics or poor performance. Batching
# will buffer points in memory if you have many coming in.
# Flush if this many points get buffered
# batch-size = 5000
# Number of batches that may be pending in memory
# batch-pending = 10
# Will flush at least this often even if we haven't hit buffer limit
# batch-timeout = "1s"
# UDP Read buffer size, 0 means OS default. UDP listener will fail if set above OS max.
# read-buffer = 0
###
### [continuous_queries]
###
### Controls how continuous queries are run within InfluxDB.
###
[continuous_queries]
# Determines whether the continuous query service is enabled.
# enabled = true
# Controls whether queries are logged when executed by the CQ service.
# log-enabled = true
# Controls whether queries are logged to the self-monitoring data store.
# query-stats-enabled = false
# interval for how often continuous queries will be checked if they need to run
# run-interval = "1s"
###
### [tls]
###
### Global configuration settings for TLS in InfluxDB.
###
[tls]
# Determines the available set of cipher suites. See https://golang.org/pkg/crypto/tls/#pkg-constants
# for a list of available ciphers, which depends on the version of Go (use the query
# SHOW DIAGNOSTICS to see the version of Go used to build InfluxDB). If not specified, uses
# the default settings from Go's crypto/tls package.
# ciphers = [
# "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305",
# "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
# ]
# Minimum version of the tls protocol that will be negotiated. If not specified, uses the
# default settings from Go's crypto/tls package.
# min-version = "tls1.2"
# Maximum version of the tls protocol that will be negotiated. If not specified, uses the
# default settings from Go's crypto/tls package.
# max-version = "tls1.2"

View File

@@ -1,3 +1,8 @@
{% set VERSION = salt['pillar.get']('static:soversion', 'HH1.2.1') %}
{% set MASTER = salt['grains.get']('master') %}
{% set GRAFANA = salt['pillar.get']('master:grafana', '0') %}
{% set FLEETMASTER = salt['pillar.get']('static:fleet_master', False) %}
{% set FLEETNODE = salt['pillar.get']('static:fleet_node', False) %}
# Add socore Group
socoregroup:
group.present:
@@ -36,9 +41,16 @@ sensorpkgs:
- skip_suggestions: False
- pkgs:
- docker-ce
- wget
- jq
{% if grains['os'] != 'CentOS' %}
- python-docker
- python-m2crypto
- apache2-utils
{% else %}
- net-tools
- tcpdump
- httpd-tools
{% endif %}
# Always keep these packages up to date
@@ -56,28 +68,21 @@ alwaysupdated:
Etc/UTC:
timezone.system
# Sync some Utilities
utilsyncscripts:
file.recurse:
- name: /usr/sbin
- user: 0
- group: 0
- file_mode: 755
- template: jinja
- source: salt://common/tools/sbin
# Make sure Docker is running!
docker:
service.running:
- enable: True
# Set up docker network
# This is broken right now.
#dockernet:
# docker_network.present:
# - name: so-elastic-net
# - driver: bridge
# dockernet work around
#dockernet:
# cmd.script:
# - source: salt://common/scripts/dockernet.sh
# Snag the so-core docker
toosmooth/so-core:test2:
docker_image.present
# Drop the correct nginx config based on role
nginxconfdir:
@@ -109,10 +114,9 @@ nginxtmp:
- group: 939
- makedirs: True
# Start the core docker
so-core:
docker_container.running:
- image: soshybridhunter/so-core:HH1.0.3
- image: {{ MASTER }}:5000/soshybridhunter/so-core:{{ VERSION }}
- hostname: so-core
- user: socore
- binds:
@@ -123,9 +127,289 @@ so-core:
- /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
- /opt/so/conf/fleet/packages:/opt/socore/html/packages
- cap_add: NET_BIND_SERVICE
- port_bindings:
- 80:80
- 443:443
{%- if FLEETMASTER or FLEETNODE %}
- 8090:8090
{%- endif %}
- 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:
file.recurse:
- name: /opt/so/conf/telegraf/scripts
- user: 939
- group: 939
- 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: {{ MASTER }}:5000/soshybridhunter/so-telegraf:{{ VERSION }}
- environment:
- HOST_PROC=/host/proc
- HOST_ETC=/host/etc
- HOST_SYS=/host/sys
- HOST_MOUNT_PREFIX=/host
- network_mode: host
- port_bindings:
- 127.0.0.1:8094:8094
- 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' or grains['role'] == 'so-mastersearch' %}
- /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'] in ['so-master', 'so-mastersearch', 'so-eval'] and GRAFANA == 1 %}
# 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: {{ MASTER }}:5000/soshybridhunter/so-influxdb:{{ VERSION }}
- 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
- watch:
- file: /opt/so/conf/influxdb/etc/influxdb.conf
# 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/sensor_nodes
- user: 939
- group: 939
- makedirs: True
grafanadashsndir:
file.directory:
- name: /opt/so/conf/grafana/grafana_dashboards/search_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', {}).items() %}
{% set NODETYPE = SN.split('_')|last %}
{% set SN = SN | regex_replace('_' ~ NODETYPE, '') %}
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', {}).items() %}
{% set NODETYPE = SN.split('_')|last %}
{% set SN = SN | regex_replace('_' ~ NODETYPE, '') %}
dashboard-{{ SN }}:
file.managed:
- name: /opt/so/conf/grafana/grafana_dashboards/sensor_nodes/{{ SN }}-Sensor.json
- user: 939
- group: 939
- template: jinja
- source: salt://common/grafana/grafana_dashboards/sensor_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', {}).items() %}
{% set NODETYPE = SN.split('_')|last %}
{% set SN = SN | regex_replace('_' ~ NODETYPE, '') %}
dashboardsearch-{{ SN }}:
file.managed:
- name: /opt/so/conf/grafana/grafana_dashboards/search_nodes/{{ SN }}-Node.json
- user: 939
- group: 939
- template: jinja
- source: salt://common/grafana/grafana_dashboards/search_nodes/searchnode.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', {}).items() %}
{% set NODETYPE = SN.split('_')|last %}
{% set SN = SN | regex_replace('_' ~ NODETYPE, '') %}
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.monint }}
CPUS: {{ SNDATA.totalcpus }}
UID: {{ SNDATA.guid }}
ROOTFS: {{ SNDATA.rootfs }}
NSMFS: {{ SNDATA.nsmfs }}
{% endfor %}
{% endif %}
so-grafana:
docker_container.running:
- image: {{ MASTER }}:5000/soshybridhunter/so-grafana:{{ VERSION }}
- hostname: grafana
- user: socore
- binds:
- /nsm/grafana:/var/lib/grafana:rw
- /opt/so/conf/grafana/etc/grafana.ini:/etc/grafana/grafana.ini:ro
- /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 %}

View File

@@ -1,9 +1,11 @@
{%- set masterip = salt['pillar.get']('master:mainip', '') %}
{%- set FLEET_MASTER = salt['pillar.get']('static:fleet_master') %}
{%- set FLEET_NODE = salt['pillar.get']('static:fleet_node') %}
{%- set FLEET_IP = salt['pillar.get']('static:fleet_ip', None) %}
# 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;
@@ -27,6 +29,7 @@ http {
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
client_max_body_size 1024M;
include /etc/nginx/mime.types;
default_type application/octet-stream;
@@ -58,11 +61,34 @@ http {
# }
#}
server {
listen 80 default_server;
server_name _;
return 301 https://$host$request_uri;
listen 80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
{% if FLEET_MASTER %}
server {
listen 8090 ssl http2 default_server;
server_name _;
root /opt/socore/html;
index blank.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;
location ~ ^/kolide.agent.Api/(RequestEnrollment|RequestConfig|RequestQueries|PublishLogs|PublishResults|CheckHealth)$ {
grpc_pass grpcs://{{ masterip }}:8080;
grpc_set_header Host $host;
grpc_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_buffering off;
}
}
{% endif %}
# Settings for a TLS enabled server.
@@ -83,12 +109,34 @@ http {
# Load configuration files for the default server block.
#include /etc/nginx/default.d/*.conf;
#location / {
# try_files $uri $uri.html /index.html;
# }
location ~* (^/login/|^/js/.*|^/css/.*|^/images/.*) {
proxy_pass http://{{ masterip }}:9822;
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 "";
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
location / {
proxy_pass http://{{ masterip }}:5601/;
auth_request /auth/sessions/whoami;
proxy_pass http://{{ masterip }}:9822/;
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 "";
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
location ~ ^/auth/.*?(whoami|login|logout) {
rewrite /auth/(.*) /$1 break;
proxy_pass http://{{ masterip }}:4433;
proxy_read_timeout 90;
proxy_connect_timeout 90;
proxy_set_header Host $host;
@@ -98,6 +146,159 @@ http {
}
location /packages/ {
try_files $uri =206;
auth_request /auth/sessions/whoami;
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 "";
}
location /grafana/ {
rewrite /grafana/(.*) /$1 break;
proxy_pass http://{{ masterip }}:3000/;
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 "";
}
location /kibana/ {
auth_request /auth/sessions/whoami;
rewrite /kibana/(.*) /$1 break;
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 "";
}
location /nodered/ {
proxy_pass http://{{ masterip }}:1880/;
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 Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Proxy "";
}
location /playbook/ {
proxy_pass http://{{ masterip }}:3200/playbook/;
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 "";
}
location /navigator/ {
auth_request /auth/sessions/whoami;
proxy_pass http://{{ masterip }}:4200/navigator/;
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 "";
}
{%- if FLEET_NODE %}
location /fleet/ {
return 301 https://{{ FLEET_IP }}/fleet;
}
{%- else %}
location /fleet/ {
proxy_pass https://{{ masterip }}:8080;
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 "";
}
{%- endif %}
location /thehive/ {
proxy_pass http://{{ masterip }}:9000/thehive/;
proxy_read_timeout 90;
proxy_connect_timeout 90;
proxy_http_version 1.1; # this is essential for chunked responses to work
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 "";
}
location /cortex/ {
proxy_pass http://{{ masterip }}:9001/cortex/;
proxy_read_timeout 90;
proxy_connect_timeout 90;
proxy_http_version 1.1; # this is essential for chunked responses to work
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 "";
}
location /soctopus/ {
proxy_pass http://{{ masterip }}:7000/;
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 "";
}
location /kibana/app/soc/ {
rewrite ^/kibana/app/soc/(.*) /soc/$1 permanent;
}
location /kibana/app/fleet/ {
rewrite ^/kibana/app/fleet/(.*) /fleet/$1 permanent;
}
location /kibana/app/soctopus/ {
rewrite ^/kibana/app/soctopus/(.*) /soctopus/$1 permanent;
}
location /sensoroniagents/ {
proxy_pass http://{{ masterip }}:9822/;
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 401 = @error401;
location @error401 {
add_header Set-Cookie "AUTH_REDIRECT=$request_uri;Path=/;Max-Age=14400";
return 302 /auth/self-service/browser/flows/login;
}
error_page 404 /404.html;
location = /40x.html {
}

View File

@@ -0,0 +1,98 @@
{%- set MAINIP = salt['pillar.get']('node: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;
include /etc/nginx/conf.d/*.conf;
server {
listen 80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
server {
listen 8090 ssl http2 default_server;
server_name _;
root /opt/socore/html;
index blank.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;
location ~ ^/kolide.agent.Api/(RequestEnrollment|RequestConfig|RequestQueries|PublishLogs|PublishResults|CheckHealth)$ {
grpc_pass grpcs://{{ MAINIP }}:8080;
grpc_set_header Host $host;
grpc_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_buffering off;
}
}
server {
listen 443 ssl http2 default_server;
server_name _;
root /opt/socore/html/packages;
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;
location /fleet/ {
proxy_pass https://{{ MAINIP }}:8080;
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 {
}
}
}

View File

@@ -0,0 +1,89 @@
# 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 /usr/share/nginx/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 {
}
}
# Settings for a TLS enabled server.
#
# server {
# listen 443 ssl http2 default_server;
# listen [::]:443 ssl http2 default_server;
# server_name _;
# root /usr/share/nginx/html;
#
# ssl_certificate "/etc/pki/nginx/server.crt";
# ssl_certificate_key "/etc/pki/nginx/private/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 / {
# }
#
# error_page 404 /404.html;
# location = /40x.html {
# }
#
# error_page 500 502 503 504 /50x.html;
# location = /50x.html {
# }
# }
}

View File

@@ -1,9 +1,11 @@
{%- set masterip = salt['pillar.get']('master:mainip', '') %}
{%- set FLEET_MASTER = salt['pillar.get']('static:fleet_master') %}
{%- set FLEET_NODE = salt['pillar.get']('static:fleet_node') %}
{%- set FLEET_IP = salt['pillar.get']('static:fleet_ip', None) %}
# 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;
@@ -27,6 +29,7 @@ http {
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
client_max_body_size 1024M;
include /etc/nginx/mime.types;
default_type application/octet-stream;
@@ -58,11 +61,34 @@ http {
# }
#}
server {
listen 80 default_server;
server_name _;
return 301 https://$host$request_uri;
listen 80 default_server;
server_name _;
return 301 https://$host$request_uri;
}
{% if FLEET_MASTER %}
server {
listen 8090 ssl http2 default_server;
server_name _;
root /opt/socore/html;
index blank.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;
location ~ ^/kolide.agent.Api/(RequestEnrollment|RequestConfig|RequestQueries|PublishLogs|PublishResults|CheckHealth)$ {
grpc_pass grpcs://{{ masterip }}:8080;
grpc_set_header Host $host;
grpc_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_buffering off;
}
}
{% endif %}
# Settings for a TLS enabled server.
@@ -83,12 +109,34 @@ http {
# Load configuration files for the default server block.
#include /etc/nginx/default.d/*.conf;
#location / {
# try_files $uri $uri.html /index.html;
# }
location ~* (^/login/|^/js/.*|^/css/.*|^/images/.*) {
proxy_pass http://{{ masterip }}:9822;
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 "";
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
location / {
proxy_pass http://{{ masterip }}:5601/;
auth_request /auth/sessions/whoami;
proxy_pass http://{{ masterip }}:9822/;
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 "";
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
location ~ ^/auth/.*?(whoami|login|logout) {
rewrite /auth/(.*) /$1 break;
proxy_pass http://{{ masterip }}:4433;
proxy_read_timeout 90;
proxy_connect_timeout 90;
proxy_set_header Host $host;
@@ -98,6 +146,159 @@ http {
}
location /packages/ {
try_files $uri =206;
auth_request /auth/sessions/whoami;
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 "";
}
location /grafana/ {
rewrite /grafana/(.*) /$1 break;
proxy_pass http://{{ masterip }}:3000/;
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 "";
}
location /kibana/ {
auth_request /auth/sessions/whoami;
rewrite /kibana/(.*) /$1 break;
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 "";
}
location /nodered/ {
proxy_pass http://{{ masterip }}:1880/;
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 Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Proxy "";
}
location /playbook/ {
proxy_pass http://{{ masterip }}:3200/playbook/;
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 "";
}
location /navigator/ {
auth_request /auth/sessions/whoami;
proxy_pass http://{{ masterip }}:4200/navigator/;
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 "";
}
{%- if FLEET_NODE %}
location /fleet/ {
return 301 https://{{ FLEET_IP }}/fleet;
}
{%- else %}
location /fleet/ {
proxy_pass https://{{ masterip }}:8080;
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 "";
}
{%- endif %}
location /thehive/ {
proxy_pass http://{{ masterip }}:9000/thehive/;
proxy_read_timeout 90;
proxy_connect_timeout 90;
proxy_http_version 1.1; # this is essential for chunked responses to work
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 "";
}
location /cortex/ {
proxy_pass http://{{ masterip }}:9001/cortex/;
proxy_read_timeout 90;
proxy_connect_timeout 90;
proxy_http_version 1.1; # this is essential for chunked responses to work
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 "";
}
location /soctopus/ {
proxy_pass http://{{ masterip }}:7000/;
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 "";
}
location /kibana/app/soc/ {
rewrite ^/kibana/app/soc/(.*) /soc/$1 permanent;
}
location /kibana/app/fleet/ {
rewrite ^/kibana/app/fleet/(.*) /fleet/$1 permanent;
}
location /kibana/app/soctopus/ {
rewrite ^/kibana/app/soctopus/(.*) /soctopus/$1 permanent;
}
location /sensoroniagents/ {
proxy_pass http://{{ masterip }}:9822/;
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 401 = @error401;
location @error401 {
add_header Set-Cookie "AUTH_REDIRECT=$request_uri;Path=/;Max-Age=14400";
return 302 /auth/self-service/browser/flows/login;
}
error_page 404 /404.html;
location = /40x.html {
}

View File

@@ -0,0 +1,311 @@
{%- set masterip = salt['pillar.get']('master:mainip', '') %}
{%- set FLEET_MASTER = salt['pillar.get']('static:fleet_master') %}
{%- set FLEET_NODE = salt['pillar.get']('static:fleet_node') %}
{%- set FLEET_IP = salt['pillar.get']('static:fleet_ip', None) %}
# For more information on configuration, see:
# * Official English Documentation: http://nginx.org/en/docs/
# * Official Russian Documentation: http://nginx.org/ru/docs/
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;
client_max_body_size 1024M;
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;
}
{% if FLEET_MASTER %}
server {
listen 8090 ssl http2 default_server;
server_name _;
root /opt/socore/html;
index blank.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;
location ~ ^/kolide.agent.Api/(RequestEnrollment|RequestConfig|RequestQueries|PublishLogs|PublishResults|CheckHealth)$ {
grpc_pass grpcs://{{ masterip }}:8080;
grpc_set_header Host $host;
grpc_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_buffering off;
}
}
{% endif %}
# 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 ~* (^/login/|^/js/.*|^/css/.*|^/images/.*) {
proxy_pass http://{{ masterip }}:9822;
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 "";
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
location / {
auth_request /auth/sessions/whoami;
proxy_pass http://{{ masterip }}:9822/;
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 "";
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
}
location ~ ^/auth/.*?(whoami|login|logout) {
rewrite /auth/(.*) /$1 break;
proxy_pass http://{{ masterip }}:4433;
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 "";
}
location /packages/ {
try_files $uri =206;
auth_request /auth/sessions/whoami;
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 "";
}
location /grafana/ {
rewrite /grafana/(.*) /$1 break;
proxy_pass http://{{ masterip }}:3000/;
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 "";
}
location /kibana/ {
auth_request /auth/sessions/whoami;
rewrite /kibana/(.*) /$1 break;
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 "";
}
location /nodered/ {
proxy_pass http://{{ masterip }}:1880/;
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 Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Proxy "";
}
location /playbook/ {
proxy_pass http://{{ masterip }}:3200/playbook/;
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 "";
}
location /navigator/ {
auth_request /auth/sessions/whoami;
proxy_pass http://{{ masterip }}:4200/navigator/;
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 "";
}
{%- if FLEET_NODE %}
location /fleet/ {
return 301 https://{{ FLEET_IP }}/fleet;
}
{%- else %}
location /fleet/ {
proxy_pass https://{{ masterip }}:8080;
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 "";
}
{%- endif %}
location /thehive/ {
proxy_pass http://{{ masterip }}:9000/thehive/;
proxy_read_timeout 90;
proxy_connect_timeout 90;
proxy_http_version 1.1; # this is essential for chunked responses to work
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 "";
}
location /cortex/ {
proxy_pass http://{{ masterip }}:9001/cortex/;
proxy_read_timeout 90;
proxy_connect_timeout 90;
proxy_http_version 1.1; # this is essential for chunked responses to work
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 "";
}
location /soctopus/ {
proxy_pass http://{{ masterip }}:7000/;
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 "";
}
location /kibana/app/soc/ {
rewrite ^/kibana/app/soc/(.*) /soc/$1 permanent;
}
location /kibana/app/fleet/ {
rewrite ^/kibana/app/fleet/(.*) /fleet/$1 permanent;
}
location /kibana/app/soctopus/ {
rewrite ^/kibana/app/soctopus/(.*) /soctopus/$1 permanent;
}
location /sensoroniagents/ {
proxy_pass http://{{ masterip }}:9822/;
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 401 = @error401;
location @error401 {
add_header Set-Cookie "AUTH_REDIRECT=$request_uri;Path=/;Max-Age=14400";
return 302 /auth/self-service/browser/flows/login;
}
error_page 404 /404.html;
location = /40x.html {
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
}
}

View File

@@ -0,0 +1,89 @@
# 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 /usr/share/nginx/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 {
}
}
# Settings for a TLS enabled server.
#
# server {
# listen 443 ssl http2 default_server;
# listen [::]:443 ssl http2 default_server;
# server_name _;
# root /usr/share/nginx/html;
#
# ssl_certificate "/etc/pki/nginx/server.crt";
# ssl_certificate_key "/etc/pki/nginx/private/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 / {
# }
#
# 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

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,17 @@
#!/bin/bash
ZEEKLOG=$(tac /host/nsm/zeek/logs/packetloss.log | head -2)
declare RESULT=($ZEEKLOG)
CURRENTDROP=${RESULT[3]}
PASTDROP=${RESULT[9]}
DROPPED=$(($CURRENTDROP - $PASTDROP))
if [ $DROPPED == 0 ]; then
LOSS=0
echo "brodrop drop=0"
else
CURRENTPACKETS=${RESULT[5]}
PASTPACKETS=${RESULT[11]}
TOTAL=$(($CURRENTPACKETS - $PASTPACKETS))
LOSS=$(echo $DROPPED $TOTAL / p | dc)
echo "brodrop drop=$LOSS"
fi

View File

@@ -0,0 +1,5 @@
#!/bin/bash
FILES=$(ls -1x /host/nsm/faf/complete/ | wc -l)
echo "faffiles files=$FILES"

View File

@@ -0,0 +1,25 @@
#!/bin/bash
PREVCOUNTFILE='/tmp/helixevents.txt'
EVENTCOUNTCURRENT="$(curl -s localhost:9600/_node/stats | jq '.pipelines.helix.events.out')"
if [ ! -z "$EVENTCOUNTCURRENT" ]; then
if [ -f "$PREVCOUNTFILE" ]; then
EVENTCOUNTPREVIOUS=`cat $PREVCOUNTFILE`
else
echo "${EVENTCOUNTCURRENT}" > $PREVCOUNTFILE
exit 0
fi
echo "${EVENTCOUNTCURRENT}" > $PREVCOUNTFILE
EVENTS=$(((EVENTCOUNTCURRENT - EVENTCOUNTPREVIOUS)/30))
if [ "$EVENTS" -lt 0 ]; then
EVENTS=0
fi
echo "helixeps eps=${EVENTS%%.*}"
fi
exit 0

View File

@@ -0,0 +1,5 @@
#!/bin/bash
INFLUXSIZE=$(du -s -B1 /host/nsm/influxdb | awk {'print $1'})
echo "influxsize bytes=$INFLUXSIZE"

View File

@@ -0,0 +1,8 @@
#!/bin/bash
# Get the data
OLDPCAP=$(find /host/nsm/pcap -type f -exec stat -c'%n %Z' {} + | sort | grep -v "\." | head -n 1 | awk {'print $2'})
DATE=$(date +%s)
AGE=$(($DATE - $OLDPCAP))
echo "pcapage seconds=$AGE"

View File

@@ -0,0 +1,6 @@
#!/bin/bash
UNPARSED=$(redis-cli llen logstash:unparsed | awk '{print $1}')
PARSED=$(redis-cli llen logstash:parsed | awk '{print $1}')
echo "redisqueue unparsed=$UNPARSED,parsed=$PARSED"

View File

@@ -0,0 +1,6 @@
#!/bin/bash
# Get the data
DROP=$(tac /var/log/stenographer/stenographer.log | grep -m1 drop | awk '{print $14}' | awk -F "=" '{print $2}')
echo "stenodrop drop=$DROP"

View File

@@ -0,0 +1,25 @@
#!/bin/bash
SURILOG=$(tac /var/log/suricata/stats.log | grep kernel | head -4)
CHECKIT=$(echo $SURILOG | grep -o 'drop' | wc -l)
if [ $CHECKIT == 2 ]; then
declare RESULT=($SURILOG)
CURRENTDROP=${RESULT[4]}
PASTDROP=${RESULT[14]}
DROPPED=$(($CURRENTDROP - $PASTDROP))
if [ $DROPPED == 0 ]; then
LOSS=0
echo "suridrop drop=0"
else
CURRENTPACKETS=${RESULT[9]}
PASTPACKETS=${RESULT[19]}
TOTAL=$(($CURRENTPACKETS - $PASTPACKETS))
LOSS=$(echo $DROPPED $TOTAL / p | dc)
echo "suridrop drop=$LOSS"
fi
else
echo "suridrop drop=0"
fi

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

@@ -0,0 +1,101 @@
#!/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
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_endpoint"
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 "[w] - Wazuh endpoint - port 1514"
echo ""
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_endpoint
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"
/opt/so/saltstack/pillar/firewall/addfirewall.sh $FULLROLE $IP
# Check if Wazuh enabled
if grep -q -R "wazuh: 1" /opt/so/saltstack/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

@@ -0,0 +1,57 @@
#!/bin/bash
bro_logs_enabled() {
echo "brologs:" > /opt/so/saltstack/pillar/brologs.sls
echo " enabled:" >> /opt/so/saltstack/pillar/brologs.sls
for BLOG in ${BLOGS[@]}; do
echo " - $BLOG" | tr -d '"' >> /opt/so/saltstack/pillar/brologs.sls
done
}
whiptail_master_adv_service_brologs() {
BLOGS=$(whiptail --title "Security Onion Setup" --checklist "Please Select Logs to Send:" 24 78 12 \
"conn" "Connection Logging" ON \
"dce_rpc" "RPC Logs" ON \
"dhcp" "DHCP Logs" ON \
"dhcpv6" "DHCP IPv6 Logs" ON \
"dnp3" "DNP3 Logs" ON \
"dns" "DNS Logs" ON \
"dpd" "DPD Logs" ON \
"files" "Files Logs" ON \
"ftp" "FTP Logs" ON \
"http" "HTTP Logs" ON \
"intel" "Intel Hits Logs" ON \
"irc" "IRC Chat Logs" ON \
"kerberos" "Kerberos Logs" ON \
"modbus" "MODBUS Logs" ON \
"mqtt" "MQTT Logs" ON \
"notice" "Zeek Notice Logs" ON \
"ntlm" "NTLM Logs" ON \
"openvpn" "OPENVPN Logs" ON \
"pe" "PE Logs" ON \
"radius" "Radius Logs" ON \
"rfb" "RFB Logs" ON \
"rdp" "RDP Logs" ON \
"signatures" "Signatures Logs" ON \
"sip" "SIP Logs" ON \
"smb_files" "SMB Files Logs" ON \
"smb_mapping" "SMB Mapping Logs" ON \
"smtp" "SMTP Logs" ON \
"snmp" "SNMP Logs" ON \
"software" "Software Logs" ON \
"ssh" "SSH Logs" ON \
"ssl" "SSL Logs" ON \
"syslog" "Syslog Logs" ON \
"telnet" "Telnet Logs" ON \
"tunnel" "Tunnel Logs" ON \
"weird" "Zeek Weird Logs" ON \
"mysql" "MySQL Logs" ON \
"socks" "SOCKS Logs" ON \
"x509" "x.509 Logs" ON 3>&1 1>&2 2>&3 )
}
whiptail_master_adv_service_brologs
bro_logs_enabled

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,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 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-start 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-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

File diff suppressed because it is too large Load Diff

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-core:$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,54 @@
{% 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/>.
ELASTICSEARCH_HOST="{{ MASTERIP}}"
ELASTICSEARCH_PORT=9200
#ELASTICSEARCH_AUTH=""
# Define a default directory to load pipelines from
ELASTICSEARCH_TEMPLATES="/opt/so/saltstack/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,42 @@
#!/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
VERSION=$(grep soversion /opt/so/saltstack/pillar/static.sls | cut -d':' -f2|sed 's/ //g')
# Modify static.sls to enable Features
sed -i 's/features: False/features: True/' /opt/so/saltstack/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

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 fleet $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 fleet $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 fleet $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 grafana $1

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