Compare commits

..

6694 Commits

Author SHA1 Message Date
Doug Burks 1e187f0c44 Merge pull request #7703 from Security-Onion-Solutions/hotfix/2.3.110
Hotfix/2.3.110
2022-04-04 23:37:28 -04:00
Mike Reeves f5073243f9 Merge pull request #7702 from Security-Onion-Solutions/hfix0401
2.3.110 hotfix 0401
2022-04-04 16:13:08 -04:00
Mike Reeves 04370a04ce 2.3.110 hotfix 0401 2022-04-04 16:06:20 -04:00
Josh Patterson 809bc1858c Merge pull request #7700 from Security-Onion-Solutions/m0duspwnens-salt-3004.1
salt 3004.1 hotfix
2022-04-04 13:32:34 -04:00
m0duspwnens f9563b2dc4 patch influxdb modules 2022-04-04 12:57:36 -04:00
m0duspwnens b7aff4f4df remove influxdb state files 2022-04-04 12:28:23 -04:00
m0duspwnens 1e955e0d38 enable highstate before highstate run for hotfix 2022-04-04 11:28:03 -04:00
m0duspwnens 127420b472 hotfix function for 2.3.10 hotfix 1 2022-04-04 10:39:44 -04:00
Josh Patterson 7f4c2687cf Merge pull request #7691 from Security-Onion-Solutions/m0duspwnens-salt-3004.1
remove influx patch state files
2022-04-01 15:58:03 -04:00
m0duspwnens 48e40513ff remove influx patch state files 2022-04-01 15:53:48 -04:00
Josh Patterson c429423dae Merge pull request #7683 from Security-Onion-Solutions/m0duspwnens-salt-3004.1
Update to salt 3004.1
2022-04-01 11:19:31 -04:00
m0duspwnens 45dd7d4758 salt 3004.1 in setup 2022-04-01 11:17:38 -04:00
Josh Patterson f71fcdaed7 salt 3004.1 2022-04-01 09:55:55 -04:00
Josh Patterson d95391505f Update minion.defaults.yaml 2022-04-01 09:55:03 -04:00
Mike Reeves 0b80dad2c0 Merge pull request #7682 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update HOTFIX
2022-04-01 09:53:57 -04:00
Mike Reeves 02a96c409e Update HOTFIX 2022-04-01 09:52:57 -04:00
Mike Reeves 3725130128 Merge pull request #7481 from Security-Onion-Solutions/dev
2.3.110
2022-03-09 14:44:40 -05:00
Mike Reeves 2c66fa1883 Merge pull request #7482 from Security-Onion-Solutions/kilo
Merge master with .100 hotfix #3 into dev
2022-03-09 12:24:04 -05:00
Jason Ertel 61a3155dfa merge from master 2022-03-09 12:22:24 -05:00
Mike Reeves 99f25deb80 Merge pull request #7480 from Security-Onion-Solutions/2.3.110rel
2.3.110
2022-03-09 12:16:31 -05:00
Mike Reeves 0cb628f565 2.3.110 2022-03-09 12:12:32 -05:00
weslambert 262e68cb75 Merge pull request #7469 from Security-Onion-Solutions/fix/kibana_config_load_template
Add .template extension to ensure we are loading the template and not the resultant file
2022-03-08 21:12:29 -05:00
weslambert c83b63d0d8 Add .template extension to load template file 2022-03-08 20:53:16 -05:00
weslambert 8d9ddf5f1b Add .template extension to load template 2022-03-08 20:52:13 -05:00
weslambert 8115da358f Add .template extension to load template file 2022-03-08 20:51:50 -05:00
Doug Burks 06efef7b81 Merge pull request #7467 from Security-Onion-Solutions/dougburks-patch-1
Revert security_opt addition in telegraf init.sls
2022-03-08 18:51:52 -05:00
Doug Burks b76c01ef53 Revert security_opt addition in telegraf init.sls 2022-03-08 18:27:15 -05:00
weslambert 5f3c29b7f8 Merge pull request #7466 from Security-Onion-Solutions/fix/process_name_keyword
Add process.name.keyword
2022-03-08 12:47:31 -05:00
weslambert 65f998d6f7 Remove process.name.keyword for future-proofing 2022-03-08 12:44:51 -05:00
weslambert 406267a892 Add process.name.keyword 2022-03-08 12:42:34 -05:00
weslambert d9c3160fbf Merge pull request #7465 from Security-Onion-Solutions/fix/kibana_saved_objects_load
Kibana dashboard/saved objects loading improvements
2022-03-08 12:22:55 -05:00
Wes Lambert d392cb258c Switch Kibana state to kibana.so_savedobjects_defaults in top file 2022-03-08 16:59:48 +00:00
Wes Lambert 86e228b200 Add .template extension for future-proofing config files 2022-03-08 16:58:37 +00:00
Wes Lambert a6fd1023b4 Fix criteria for successful execution 2022-03-08 16:57:26 +00:00
Wes Lambert 3f31f7fd41 Add .template extension to fix script behavior and not modify watched file 2022-03-08 16:43:43 +00:00
Jason Ertel f64da9632f Merge pull request #7461 from Security-Onion-Solutions/kilo
Gracefully handle situations where another process is using the Kratos DB while so-user executes
2022-03-08 11:02:14 -05:00
Jason Ertel 0cec5879bb Gracefully handle situations when another process is using the Kratos DB 2022-03-08 10:55:26 -05:00
Jason Ertel d8ca4976be Merge branch 'dev' into kilo 2022-03-08 10:41:40 -05:00
Jason Ertel 914d81ca07 Revert "Gracefully handle situations when another process is using the Kratos DB"
This reverts commit f2865d8b7f.
2022-03-08 10:40:20 -05:00
Jason Ertel f2865d8b7f Gracefully handle situations when another process is using the Kratos DB 2022-03-08 10:38:05 -05:00
Wes Lambert 28554164cd Remove drop file when securitySolution saved objects change 2022-03-08 14:39:23 +00:00
Wes Lambert 14dddd8649 Remove drop file when config saved objects change 2022-03-08 14:37:15 +00:00
Wes Lambert c0f49f6fb0 Remove drop file when dashbaord saved objects change 2022-03-08 14:35:04 +00:00
Wes Lambert d10d4acf9f Modify Kibana config load script to drop file if successfully executed 2022-03-08 14:33:15 +00:00
Doug Burks da8e885ede Merge pull request #7451 from Security-Onion-Solutions/fix/docker-apparmor
Update init.sls to avoid telegraf apparmor issues
2022-03-07 17:06:42 -05:00
Doug Burks 104de2a3c9 Update init.sls to avoid telegraf apparmor issues
See #2560
2022-03-07 16:11:22 -05:00
Mike Reeves fb59421f5b Merge pull request #7446 from Security-Onion-Solutions/fixpipelineload
Only load pipelines on change
2022-03-07 15:17:32 -05:00
weslambert e2bda255cc Merge pull request #7447 from Security-Onion-Solutions/fix/es_templates_soup
Remove old Elasticsearch index templates during SOUP
2022-03-07 15:10:44 -05:00
Mike Reeves 4eb37fd5a9 Update init.sls 2022-03-07 15:09:36 -05:00
Wes Lambert fa9be58b23 Specify index templates 2022-03-07 20:04:23 +00:00
Wes Lambert 647b316a96 Remove old ES index templates
Signed-off-by: Wes Lambert <wlambertts@gmail.com>
2022-03-07 20:02:45 +00:00
Mike Reeves d33db6fb23 Only load pipelines on change 2022-03-07 14:25:46 -05:00
weslambert eac120f4c2 Merge pull request #7444 from Security-Onion-Solutions/fix/dtc_client_override
Add DTC client mappings
2022-03-07 13:38:19 -05:00
Wes Lambert c549b20221 Add DTC client mappings 2022-03-07 18:36:26 +00:00
Mike Reeves e6132be4e6 Merge pull request #7443 from Security-Onion-Solutions/fixtemplates
Only load templates on change
2022-03-07 10:42:51 -05:00
Mike Reeves c67604590d Only load templates on change 2022-03-07 09:52:18 -05:00
weslambert 5600b55f05 Merge pull request #7427 from Security-Onion-Solutions/fix/syslog_kibana_viz
Replace syslog facility and severity with label fields in Kibana syslog dashboard
2022-03-07 08:14:35 -05:00
Doug Burks a59779905f Merge pull request #7437 from Security-Onion-Solutions/dougburks-patch-1
fix typo
2022-03-07 08:05:07 -05:00
Doug Burks 848a5c6350 fix typo 2022-03-07 08:03:41 -05:00
Wes Lambert 33ba45472f Replace syslog facility and severity with label fields 2022-03-04 21:40:41 +00:00
weslambert ee4035f022 Merge pull request #7426 from Security-Onion-Solutions/fix/syslog_zeek
Change to label fields for syslog facility and severity
2022-03-04 16:31:45 -05:00
weslambert f71ccadb8a Change to label fields for Zeek syslog 2022-03-04 16:29:55 -05:00
weslambert fc3273fa49 Change to label fields to comply with what's defined in Filebeat template 2022-03-04 16:29:01 -05:00
weslambert 3148fa0e06 Merge pull request #7422 from Security-Onion-Solutions/fix/syslog_dot_keyword
.keyword additions and increase max_clause_count
2022-03-04 15:32:29 -05:00
weslambert 254cf53c2f Increase clause count to 3500 2022-03-04 10:36:37 -05:00
Wes Lambert ffae22beef Add DTC syslog mappings for .keyword and add refs to defaults.yml 2022-03-04 13:04:11 +00:00
weslambert 93c2f82345 Merge pull request #7413 from Security-Onion-Solutions/fix/add_keyword_subfield
Add .keyword subfield for more mappings
2022-03-03 10:42:38 -05:00
Wes Lambert 1f71816ad7 Add keyword subfield for DTC winlog mappings 2022-03-03 14:54:30 +00:00
Wes Lambert 1c086e36da Add missing comma for file mappings 2022-03-03 13:49:54 +00:00
Wes Lambert aa8d24b6cd Add DTC destination, source, and winlog mapping references to templates in defaults file 2022-03-03 13:42:20 +00:00
Wes Lambert 85979cbce8 Add file, process, and winlog mapping changes 2022-03-03 13:37:27 +00:00
Wes Lambert 8f97f09c9c Additional .keyword changes for host.hostname client.address, and event.action 2022-03-02 21:54:46 +00:00
Wes Lambert 3ee46e4c29 Add .keyword for destination/source geo.country_name 2022-03-02 21:50:03 +00:00
weslambert a21060306c Merge pull request #7404 from Security-Onion-Solutions/fix/field_limit_adjustment
Adjust field limit for now due to component template errors
2022-03-02 11:41:35 -05:00
Wes Lambert c5b16fdf3b Adjust field limit for now 2022-03-02 16:33:39 +00:00
weslambert b80e82aaf6 Merge pull request #7396 from Security-Onion-Solutions/fix/dot_security
Revert back to usage of .security field
2022-03-02 10:42:29 -05:00
Josh Brower 2ba72791aa Remove sigma regen cron 2022-03-02 10:31:15 -05:00
Mike Reeves d570b56c55 Merge pull request #7392 from Security-Onion-Solutions/hotfix/2.3.100
Hotfix 2.3.100 20220301
2022-03-02 10:24:50 -05:00
Mike Reeves ff4345d3aa Merge pull request #7393 from Security-Onion-Solutions/jertelhf
Jertelhf
2022-03-02 10:20:29 -05:00
Jason Ertel e59f0d69d9 Merge branch 'master' into jertelhf 2022-03-02 10:18:14 -05:00
Mike Reeves ad2b69c9de Merge pull request #7391 from Security-Onion-Solutions/hf0301
Hotfix 2.3.100 20220301
2022-03-02 10:08:27 -05:00
Mike Reeves e874c32c08 Hotfix 2.3.100-20220301 2022-03-02 10:05:41 -05:00
Wes Lambert ab9b81ea39 Change match_only_text to text for mac in host mappings 2022-03-02 15:01:05 +00:00
Wes Lambert ed620b93b7 Add custom analyzer definition to all SO/DTC mappings 2022-03-02 14:43:19 +00:00
Wes Lambert 27c8eaa630 Update all other mappings for .security where applicable 2022-03-02 14:39:23 +00:00
Wes Lambert e925d435ff Update event, file, and host mappings to include .security 2022-03-02 14:33:52 +00:00
Wes Lambert 496b161253 Update ECS mappings to include .security 2022-03-02 14:27:36 +00:00
Wes Lambert aae2fd1fbb Update DNS mappings to include .security 2022-03-02 14:27:15 +00:00
Wes Lambert 0b45cf7ae1 Update base mappings to include .security 2022-03-02 14:25:57 +00:00
Wes Lambert d89af5f04f Update agent mappings to include .security 2022-03-02 14:25:14 +00:00
Wes Lambert 2d2ec45029 Modify base ECS mappings to include .security where possible, as well as custom analyzer definition 2022-03-02 14:19:36 +00:00
weslambert 93386f4620 Merge pull request #7389 from Security-Onion-Solutions/fix/revert_text
Fix/revert text
2022-03-02 09:17:46 -05:00
Mike Reeves c0649a863b Merge pull request #7376 from Security-Onion-Solutions/hfnew
Curator Fixes
2022-03-01 14:38:31 -05:00
Mike Reeves e93dbb5347 Update Hotfix 2022-03-01 14:37:03 -05:00
doug bbced5b52f FIX: curator should exclude so-case* indices #7270 2022-03-01 14:34:52 -05:00
Doug Burks f134c74585 FIX: curator should exclude so-case* indices #7270 2022-03-01 14:34:41 -05:00
Wes Lambert 5489b8559d Revert "Switch from .security to match_only_text"
This reverts commit f7862af934.
2022-03-01 18:44:00 +00:00
Wes Lambert 2a9caccc7c Revert "Add additional .text subfield mappings"
This reverts commit 61dadc6249.
2022-03-01 18:43:24 +00:00
Doug Burks adf3dc0cf6 Merge pull request #7370 from Security-Onion-Solutions/fix/syslog
Revert syslog pipeline updates from Abe's PR for now
2022-03-01 11:13:13 -05:00
Wes Lambert a290602a70 Revert syslog pipeline updates from Abe' PR for now 2022-03-01 15:31:07 +00:00
weslambert 4201ee45c6 Merge pull request #7369 from Security-Onion-Solutions/fix/ingest_timestamp
Rename ingest timestamp to event.ingested
2022-03-01 10:11:16 -05:00
Wes Lambert 038dc49098 Temporarily increase field limit before trimming efforts 2022-03-01 15:06:28 +00:00
Wes Lambert dc07adca63 Rename ingest.timestamp to event.ingested 2022-03-01 15:05:08 +00:00
Josh Brower 39718561ce Merge pull request #7366 from Security-Onion-Solutions/delta
Enable state tracking for sigma refresh
2022-03-01 05:53:14 -05:00
Josh Brower e960d99901 Enable state tracking for sigma refresh 2022-02-28 21:18:41 -05:00
Josh Brower 09f1a5025d Merge remote-tracking branch 'remotes/origin/dev' into delta 2022-02-28 21:18:07 -05:00
Josh Brower 41a58b791a Enable state tracking for sigma refresh 2022-02-28 21:17:59 -05:00
Jason Ertel 73b2a36e89 Merge pull request #7365 from Security-Onion-Solutions/kilo
Upgrade to ES 7.17.1
2022-02-28 18:26:31 -05:00
Jason Ertel f147bb33ed Upgrade to ES 7.17.1 2022-02-28 18:18:09 -05:00
Josh Patterson 6b3b5e9a1f Merge pull request #7363 from Security-Onion-Solutions/soup_singlenode_30
allow for check_log_size_limit to work without salt-master running
2022-02-28 17:13:42 -05:00
Josh Brower f824717094 Merge pull request #7364 from Security-Onion-Solutions/delta
IDH Node verbiage
2022-02-28 17:09:08 -05:00
Josh Brower 0cee0d5dea IDH Node verbiage 2022-02-28 16:47:24 -05:00
Josh Brower d71bde0e38 Merge pull request #7362 from Security-Onion-Solutions/delta
Navigator - include attack json for airgap
2022-02-28 16:33:10 -05:00
Josh Brower 2075412ca2 Navigator - include attack json for airgap 2022-02-28 16:15:30 -05:00
m0duspwnens a51f833f36 output only the value for log_size_limit 2022-02-28 16:13:43 -05:00
Jason Ertel 04a99a0adc Merge pull request #7361 from Security-Onion-Solutions/kilo
Clear out hotfix file
2022-02-28 16:04:30 -05:00
Jason Ertel 166ac0d194 Clear out hotfix file 2022-02-28 16:01:42 -05:00
m0duspwnens 8d12e136f2 Merge remote-tracking branch 'remotes/origin/dev' into soup_singlenode_30 2022-02-28 15:43:37 -05:00
m0duspwnens 710059211d remove debug echo, mkdir verbose 2022-02-28 14:54:39 -05:00
weslambert a1c0ae4aab Merge pull request #7356 from Security-Onion-Solutions/fix/es_config_load_order
Run template load first to prevent issues with pipeline changes that …
2022-02-28 14:50:22 -05:00
m0duspwnens 80e5198f9e combine local and default pillars to get pillar values locally 2022-02-28 14:35:16 -05:00
m0duspwnens dc24cb711d need local to be --local 2022-02-28 13:50:08 -05:00
m0duspwnens c5bf818049 debug messages and pass local to lookup_salt_value 2022-02-28 13:39:50 -05:00
weslambert 414b9dcd59 Run template load first to prevent issues with pipeline changes that generate new indices 2022-02-28 12:33:18 -05:00
m0duspwnens cd981fa2ae forgot then for if 2022-02-28 12:25:06 -05:00
m0duspwnens 278235b0ca update so-common lookup_salt_value to accept local option. soup get minion id from grains with local option 2022-02-28 12:15:23 -05:00
weslambert a9caef9596 Merge pull request #7338 from Security-Onion-Solutions/fix/endgame_template
Revert Endgame index name changes
2022-02-28 08:13:09 -05:00
Doug Burks e0b3635318 Merge pull request #7339 from Security-Onion-Solutions/fix/zeek_dns-import
Avoid changing _index for imported logs
2022-02-27 05:09:00 -05:00
Doug Burks 32b71fdcac Avoid changing _index for imported logs 2022-02-26 10:36:09 -05:00
Wes Lambert bd1b21a5b6 Revert Endgame index name changes 2022-02-26 02:53:57 +00:00
weslambert 56cb8d62ab Merge pull request #7337 from Security-Onion-Solutions/fix/pb_overrides
Fix formatting for PB overrides
2022-02-25 20:48:38 -05:00
weslambert e942d81433 Ensure correct formatting for source override 2022-02-25 19:14:58 -05:00
weslambert a511fd33e9 Ensure correct formatting for destination override 2022-02-25 19:14:21 -05:00
Doug Burks 74037e6f00 Merge pull request #7335 from Security-Onion-Solutions/fix/soup-postversion
make sure that each post_to_* function sets POSTVERSION at end
2022-02-25 15:27:31 -05:00
Josh Brower 25b0069353 Merge pull request #7334 from Security-Onion-Solutions/delta
IDH Setup - dont show ssh fix screen
2022-02-25 15:01:25 -05:00
Josh Brower 6a270eb8b3 IDH Setup - dont show ssh fix screen - fix 2022-02-25 14:58:30 -05:00
Josh Brower ee39ec1882 IDH Setup - dont show ssh fix screen 2022-02-25 14:55:28 -05:00
Doug Burks 8df47e809d make sure that each post_to_* function sets POSTVERSION at end 2022-02-25 14:30:59 -05:00
Mike Reeves fa15a2e012 Merge pull request #7333 from Security-Onion-Solutions/endgamecurator
Fix endgame index name
2022-02-25 13:31:29 -05:00
Mike Reeves 15924ebe0f Fix endgame index name 2022-02-25 13:29:29 -05:00
weslambert c95f48e49a Merge pull request #7330 from Security-Onion-Solutions/fix/pb-override
Override destination/source mappings with .keyword for Playbook
2022-02-25 13:07:31 -05:00
Wes Lambert a8bdff89ae Move files into SO component template directory 2022-02-25 18:00:16 +00:00
Wes Lambert 08097fe9ec Add Playbook override mappings 2022-02-25 17:58:51 +00:00
Josh Brower ce4c859f3a Merge pull request #7328 from Security-Onion-Solutions/fix/soup-sigma-refresh
.110 Post processing - sigma refresh
2022-02-25 12:24:19 -05:00
Josh Patterson 9de9d92b2b Merge pull request #7329 from Security-Onion-Solutions/delta
add extra hosts for filebeat on idh node
2022-02-25 12:23:37 -05:00
m0duspwnens d76facb1bb add extra hosts for idh node 2022-02-25 12:21:43 -05:00
Josh Brower 1abf27873d .110 Post processing - sigma refresh 2022-02-25 12:19:59 -05:00
weslambert a6ab09501e Merge pull request #7326 from Security-Onion-Solutions/fix/additional_text_subfield_mappings
Add additional .text subfield mappings
2022-02-25 11:29:26 -05:00
Wes Lambert 61dadc6249 Add additional .text subfield mappings 2022-02-25 16:27:37 +00:00
Josh Brower be80f0530c Merge pull request #7321 from Security-Onion-Solutions/delta
IDH Improvements
2022-02-24 21:27:36 -05:00
Josh Brower 96ed3cb158 IDH - Setup Summary new lines 2022-02-24 20:59:47 -05:00
Josh Brower 4a597b9f0e Merge remote-tracking branch 'remotes/origin/dev' into delta 2022-02-24 19:58:10 -05:00
Josh Brower cf7325a546 IDH - Play tweaks, Setup summary, log rotate 2022-02-24 19:57:11 -05:00
Josh Patterson 8302c45059 Merge pull request #7320 from Security-Onion-Solutions/delta_ssh
default to false if local role doesnt exist
2022-02-24 18:06:19 -05:00
m0duspwnens 0970bbc983 default to false if local role doesnt exist 2022-02-24 17:55:50 -05:00
Josh Brower e8e683c2e9 Merge pull request #7319 from Security-Onion-Solutions/delta
Add and Update IDH Plays
2022-02-24 15:48:38 -05:00
Josh Brower fbc702375c Add and Update IDH Plays 2022-02-24 15:06:04 -05:00
Josh Patterson 5c747fbb4c Merge pull request #7318 from Security-Onion-Solutions/delta_ssh
change name of selinux policy state for idh node
2022-02-24 14:49:55 -05:00
m0duspwnens 8b61d4818d change name of selinux policy state for idh node 2022-02-24 14:47:14 -05:00
weslambert 22b01dab1e Merge pull request #7317 from Security-Onion-Solutions/fix/add_text_subfield_to_dtc_mappings
Add .text subfield mappings for DTC where fields are defined
2022-02-24 14:47:11 -05:00
Wes Lambert 0f8a39002f Add .text subfield mappings for DTC where fields are defined 2022-02-24 19:39:52 +00:00
weslambert 5e29c71381 Merge pull request #7315 from Security-Onion-Solutions/fix/split_zeek_dns
Split Zeek DNS records into a separate index
2022-02-24 13:21:52 -05:00
weslambert 23fb62c0d6 Split Zeek DNS records into a separate index 2022-02-24 12:52:25 -05:00
weslambert 313487a887 Merge pull request #7313 from Security-Onion-Solutions/fix/kibana_dashboard_load
Add Kibana dashboard updates for 2.3.110
2022-02-24 09:48:28 -05:00
weslambert bc1794e437 Fix function name 2022-02-24 09:42:14 -05:00
Josh Patterson d7aa413c46 Merge pull request #7314 from Security-Onion-Solutions/delta
default port 2222 for ssh idh node
2022-02-24 09:37:11 -05:00
weslambert 45ccfc5ad4 Add back post to .100 and call for .110 2022-02-24 09:35:43 -05:00
weslambert 582bf4c64c Remove dashboard updates for .100 so we don't run twice 2022-02-24 09:25:59 -05:00
weslambert 7f08ecdcbe Add function reference for .110 post changes 2022-02-24 09:25:15 -05:00
weslambert a22e470038 Add Kibana dashboard updates for 2.3.110 2022-02-24 09:20:44 -05:00
weslambert bc2c1b4ccc Merge pull request #6935 from abesinger/issue/6912
Updated syslog pipeline, resolves #6912.
2022-02-24 08:33:55 -05:00
Josh Brower 5779e40401 Merge pull request #7308 from Security-Onion-Solutions/defensivedepth-patch-1
UC true
2022-02-24 07:48:39 -05:00
Josh Brower 585c275df6 UC true 2022-02-23 19:35:10 -05:00
Josh Brower babc114d27 Merge branch 'delta' of https://github.com/Security-Onion-Solutions/securityonion into delta 2022-02-23 19:33:18 -05:00
Josh Brower 2bf20bd1f0 UC true 2022-02-23 19:33:10 -05:00
Josh Patterson a9c6dc32ab Merge pull request #7305 from Security-Onion-Solutions/delta_ssh
allow only manager to connect to ssh port for idh node
2022-02-23 15:17:31 -05:00
m0duspwnens 61ae61953f allow only manager to connect to ssh port for idh node 2022-02-23 15:14:11 -05:00
weslambert 2aa811dcd2 Merge pull request #7300 from Security-Onion-Solutions/fix/new_es_template_config
Add IDH and Kratos index templates
2022-02-23 12:24:38 -05:00
weslambert 6a0ecb9e9c Add IDH and Kratos index templates 2022-02-23 12:13:46 -05:00
Josh Brower b7b2183c15 Merge pull request #7296 from Security-Onion-Solutions/delta
IDH - Import & Enables Plays
2022-02-23 10:52:37 -05:00
weslambert 00dbf54a5f Merge pull request #7295 from Security-Onion-Solutions/TOoSmOotH-patch-5
Update so-functions
2022-02-23 10:50:32 -05:00
Josh Brower 83aa261d88 IDH - Import & Enables Plays 2022-02-23 10:50:13 -05:00
Mike Reeves c4cc3fa35f Update so-functions 2022-02-23 10:47:37 -05:00
Josh Brower 0121eda536 Merge pull request #7282 from Security-Onion-Solutions/delta
Initial Support - IDH Node
2022-02-23 08:49:40 -05:00
Doug Burks aadc2a844b Merge pull request #7284 from Security-Onion-Solutions/fix/so-curator-closed-delete
FIX: curator should exclude so-case* indices #7270
2022-02-22 17:40:23 -05:00
doug 1392fc37e8 FIX: curator should exclude so-case* indices #7270 2022-02-22 17:00:52 -05:00
weslambert 9f7612b599 Merge pull request #7283 from Security-Onion-Solutions/fix/match_only_text
Switch from .security to using match_only_text with .text
2022-02-22 15:41:29 -05:00
Wes Lambert f7862af934 Switch from .security to match_only_text 2022-02-22 20:33:49 +00:00
Josh Brower 1d95aca4de IDH - VNC default port 2022-02-22 14:16:45 -05:00
Josh Brower 99554d5db8 IDH - UDP vs TCP support 2022-02-22 14:10:05 -05:00
Josh Brower df9fc807a3 IDH - restart scripts, filebeat fix 2022-02-22 08:05:53 -05:00
Josh Brower 3610b0cd30 merge in dev 2022-02-21 16:52:53 -05:00
Josh Brower eea2b9ccfd IDH - Play - ssh 2022-02-21 16:43:26 -05:00
Josh Brower 05be776f4b IDH - so-status 2022-02-21 16:41:36 -05:00
Doug Burks 5b46d19b13 Merge pull request #7273 from Security-Onion-Solutions/dougburks-patch-1
FIX: curator should exclude so-case* indices #7270
2022-02-21 09:25:58 -05:00
Doug Burks 1abd824c5f FIX: curator should exclude so-case* indices #7270 2022-02-21 09:00:05 -05:00
Josh Brower 2203e2fedd IDH - Final setup fixes 2022-02-19 21:01:48 -05:00
Josh Brower 780cd38adf IDH - setup tweaks 2022-02-19 12:28:45 -05:00
Mike Reeves fc0e27a7ae Merge pull request #7261 from Security-Onion-Solutions/TOoSmOotH-patch-3
Update networks.cfg.jinja
2022-02-18 20:03:47 -05:00
Mike Reeves 0d1da5d1dc Update networks.cfg.jinja 2022-02-18 20:02:50 -05:00
Josh Brower bf477a1c19 IDH - Initial whiptail 2022-02-18 17:21:04 -05:00
weslambert 3124f2bd12 Merge pull request #7255 from Security-Onion-Solutions/fix/remove_old_templates
Remove old index templates
2022-02-18 15:23:07 -05:00
Jason Ertel 380f0ef93a Merge pull request #7256 from Security-Onion-Solutions/kilo
Update password len requirements; clarify password update help
2022-02-18 15:19:08 -05:00
Jason Ertel 93e9548eaf Require a minimum of 8 characters for passwords, to match Kratos min requirements 2022-02-18 15:14:48 -05:00
Wes Lambert 4d1533537b Remove old index templates 2022-02-18 20:08:13 +00:00
Josh Brower 0362afb260 IDH - Finalize Firewall config 2022-02-18 13:23:48 -05:00
Josh Patterson d14967dd45 Merge pull request #7251 from Security-Onion-Solutions/issue/7233
dont allow $ to be used for elasticsearch:auth or kibana:secrets
2022-02-18 13:22:22 -05:00
m0duspwnens cb55af4c1c dont allow $ to be used for elasticsearch:auth or kibana:secrets - https://github.com/Security-Onion-Solutions/securityonion/issues/7233 2022-02-18 13:13:56 -05:00
weslambert 87a5e64f12 Merge pull request #7249 from Security-Onion-Solutions/fix/component_index_association
Update component -> index association for file/scan mappings for Strelka
2022-02-18 12:19:41 -05:00
Josh Brower 8de5a054d4 Merge pull request #7248 from Security-Onion-Solutions/feature/kratos-log-ingest
Ingest Kratos logs
2022-02-18 11:56:20 -05:00
William Wernert 786b01c85a Merge pull request #6496 from JamesMConroy/so-staus-tty
so-staus detects tty
2022-02-18 11:52:18 -05:00
Josh Brower 118277ebc5 Ingest Kratos logs 2022-02-18 11:49:02 -05:00
Mike Reeves 27299cbe1b Merge pull request #7247 from christopherwoodall/patch-7
Update so-setup
2022-02-18 11:47:19 -05:00
Christopher Woodall 118266bf5f Update so-setup
Patch so setup to ignore deprecation warnings.
2022-02-18 11:38:56 -05:00
Mike Reeves 5d949de146 Merge pull request #7246 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update networks.cfg.jinja
2022-02-18 11:28:57 -05:00
Mike Reeves 6f4ee4123a Update networks.cfg.jinja 2022-02-18 11:26:58 -05:00
Mike Reeves e4148818d8 Merge pull request #7226 from Security-Onion-Solutions/zeekhn
Add Zeek Homenet in networks.cfg
2022-02-18 11:11:56 -05:00
Mike Reeves becdc34677 Merge pull request #7227 from hacker0ni/patch-1
Allow downgrades in docker_install
2022-02-18 11:10:26 -05:00
Mike Reeves 95eab61615 Rename to the .jinja standard 2022-02-18 11:06:33 -05:00
Mike Reeves 9341669a15 Merge pull request #7244 from christopherwoodall/patch-6
Update config.map.jinja
2022-02-18 09:57:33 -05:00
Jason Ertel fdc63b5816 Clarify so-user update usage/help 2022-02-18 09:41:09 -05:00
Christopher Woodall eaff6a12de Update config.map.jinja
Extend the array instead of appending.
2022-02-18 08:50:28 -05:00
weslambert 6ee3287d2d Update component -> index association for file/scan mappings for Strelka 2022-02-18 08:12:34 -05:00
James Conroy 91c207cd38 Update salt/common/tools/sbin/so-status
Removed # {% raw %} from line 170

Co-authored-by: William Wernert <william.wernert@gmail.com>
2022-02-17 20:37:43 -06:00
James Conroy b774e62dfa Update salt/common/tools/sbin/so-status
Add salt raw directive

Co-authored-by: William Wernert <william.wernert@gmail.com>
2022-02-17 20:37:25 -06:00
Josh Brower f995d0768f IDH - Initial firewall support 2022-02-17 15:54:20 -05:00
Doug Burks 3b887c7b1a Merge pull request #7239 from Security-Onion-Solutions/dougburks-patch-1
so-ip-update needs to queue the Kibana dashboard update
2022-02-17 15:54:10 -05:00
Doug Burks b4b7938ce2 so-ip-update needs to queue the Kibana dashboard update in case a salt operation is already running 2022-02-17 15:47:33 -05:00
Doug Burks e5d7c1c77a Merge pull request #7238 from Security-Onion-Solutions/dougburks-patch-1-1
so-ip-update needs to update Kibana dashboards
2022-02-17 14:53:31 -05:00
Doug Burks 1a96162966 so-ip-update needs to update Kibana dashboards 2022-02-17 14:49:55 -05:00
hacker0ni bc72b3da91 Allow downgrades in docker_install
When running the installer again on a new node, it tries to pull the docker packages but since the installer ran again before, the install command fails on Ubuntu 18.04 stating that the `--allow-downgrades` is not specified in the command. This change adds that to circumvent the issue.
2022-02-17 11:47:36 -05:00
Mike Reeves 3e194c9b4b Walk the homenet for zeek 2022-02-17 11:33:22 -05:00
Josh Brower 6c124733b5 IDH - Enable default states 2022-02-17 10:50:26 -05:00
weslambert 6842099e11 Merge pull request #7224 from Security-Onion-Solutions/fix/zeek_viz
Switch from dns.answers to dns.answers.name for DTC
2022-02-17 10:05:46 -05:00
Wes Lambert 5c1f61bda8 Switch from dns.answers to dns.answers.name for DTC 2022-02-17 15:03:46 +00:00
weslambert 53c7ad6041 Merge pull request #7223 from Security-Onion-Solutions/fix/shard_settings_setup
Ensure setup configures pillar correctly for index settings
2022-02-17 09:48:11 -05:00
Josh Brower ef4df58510 IDH - Jinjafy hostname 2022-02-17 09:00:57 -05:00
weslambert c0f9cb188b Add missing colon 2022-02-17 07:58:05 -05:00
weslambert d309c4fc0a Update pillar structure for index_settings/shards 2022-02-17 07:10:29 -05:00
Jason Ertel cb9712aa08 Merge pull request #7217 from Security-Onion-Solutions/kilo
MFA
2022-02-16 16:47:40 -05:00
weslambert d084625ee0 Merge pull request #7218 from Security-Onion-Solutions/fix/composable_templates_soup
Add pillar update for ES index templates for 2.3.110
2022-02-16 16:24:57 -05:00
weslambert e71b606dd6 Add pillar update for ES index templates for 2.3.110 2022-02-16 16:22:06 -05:00
weslambert f1f9322bee Merge pull request #7216 from Security-Onion-Solutions/fix/es_template_netflow_mappings_indent
Fix indent for so-netflow component template references
2022-02-16 14:47:31 -05:00
weslambert 185ea2fd99 Fix indent for so-netflow component template references 2022-02-16 14:46:12 -05:00
Mike Reeves 89eb2d0a8b Add netowrks.cfg to Zeek 2022-02-16 14:24:58 -05:00
Jason Ertel 2c4ba75c0c Merge branch 'dev' into kilo 2022-02-15 17:05:24 -05:00
weslambert 9e222b1464 Merge pull request #7206 from Security-Onion-Solutions/feature/template-reorg
Re-organize Elasticsearch Index Templates
2022-02-15 16:50:14 -05:00
Josh Brower 3ccef12df7 IDH - Pillarize OpenCanary Config 2022-02-15 13:57:31 -05:00
Wes Lambert 4fa3749418 Remove bind or ES templates 2022-02-15 18:08:03 +00:00
Wes Lambert 786a189f65 Merge branch 'feature/template-reorg' of https://github.com/security-onion-solutions/securityonion into feature/template-reorg 2022-02-15 17:06:02 +00:00
Wes Lambert de731fc05d Remove default templates from ES template pillar since they are now managed in the defaults file. 2022-02-15 17:04:57 +00:00
Wes Lambert 3df58eadd1 Modify logic to include custom templates 2022-02-15 17:00:24 +00:00
weslambert 1a53ec4372 Fix malformed copy/paste 2022-02-15 11:14:10 -05:00
Wes Lambert dce3b7a874 Update defaults file to include ES index templates 2022-02-15 15:53:07 +00:00
Jason Ertel 377fe1987d Merge branch 'dev' into kilo 2022-02-15 07:49:26 -05:00
Jason Ertel d97423e9f8 Enable MFA support 2022-02-15 07:49:12 -05:00
Wes Lambert 8e389bf6e5 Add ES template map file 2022-02-14 15:38:32 +00:00
Wes Lambert ebce67060f Initial template refactor 2022-02-14 15:20:33 +00:00
James Conroy a43ac2aea2 Move the jinja endraw directive below is_tty
This will prevent jninja from interpreting the shell string length
expansion as the start of jninja comments
2022-02-12 12:25:24 -06:00
James Conroy 95b4f7b4ef Update the PADDING_CONSTENT to 15
As suggested by @rwwiv

Co-authored-by: William Wernert <william.wernert@gmail.com>
2022-02-12 12:25:24 -06:00
James Conroy 3046e811f0 Use spaces to define centerd justification output
As suggested by @rwwiv

Co-authored-by: William Wernert <william.wernert@gmail.com>
2022-02-12 12:25:24 -06:00
James Conroy 6a1e586b8c Changed color variables to Attributes
As suggested by @rwwiv

Co-authored-by: William Wernert <william.wernert@gmail.com>
2022-02-12 12:25:24 -06:00
James Conroy 01346cbb06 Changed color variables to Attributes
As suggested by @rwwiv

Co-authored-by: William Wernert <william.wernert@gmail.com>
2022-02-12 12:25:24 -06:00
James Conroy 3adb6c1389 Renamed colors to attributes
Also correctly used tput to assign blue color

As suggested by @rwwiv

Co-authored-by: William Wernert <william.wernert@gmail.com>
2022-02-12 12:25:23 -06:00
James Conroy dabae3888f Renamed colors to attributes
As suggested by rwwiv

Co-authored-by: William Wernert <william.wernert@gmail.com>
2022-02-12 12:25:23 -06:00
James Conroy c69e968790 Renamed Colors to Attributes
As suggested by @rwwiv

Co-authored-by: William Wernert <william.wernert@gmail.com>
2022-02-12 12:25:23 -06:00
James Conroy dfcabb5722 Seperate bold attribute from colors
As suggested by @rwwiv

Co-authored-by: William Wernert <william.wernert@gmail.com>
2022-02-12 12:25:23 -06:00
James Conroy b9b3876069 Exit with an error code if the user isn't root 2022-02-12 12:25:23 -06:00
James Conroy bfcfad2e7d Check for tty in main
So that the value is set every time it is checked
2022-02-12 12:25:23 -06:00
James Conroy 163182c858 Don't set the padding constant if not in a tty
This will preserve the original width from before my changes
2022-02-12 12:25:23 -06:00
James Conroy 6b4549499d Don't split lines after standalone tests
This is to make the formatting consistent with the rest of the scripts
2022-02-12 12:25:23 -06:00
James Conroy 68a5826d70 Always print a line of '-'
Even when not printing to a tty

This is behavior preferred by the team
2022-02-12 12:25:22 -06:00
James Conroy daa73c8845 Removed MYNAME variable
Preferring to just use the value of $0 instead
2022-02-12 12:25:22 -06:00
James Conroy 7f694c17ed Revert improvements to usage function
Made to make it more consistent with the rest of the scripts in
Security Onion
2022-02-12 12:25:22 -06:00
James Conroy fd9a03a77f Added Changes Suggested by Reviewer
Added a missing semi colon between a local variable's declaration and
assignment
Removed an unused return value
Made a TODO more descriptive
2022-02-12 12:25:22 -06:00
James Conroy 2993a20947 Moved line declaration out of tty conditional
This way it will always be set to ""
2022-02-12 12:25:22 -06:00
James Conroy ac5527e1ab Added Comments for future enhancements 2022-02-12 12:25:22 -06:00
James Conroy 715f9da6e2 Reworked tty detection and status printing
I was able to reduce the line count and make the script more reliable
2022-02-12 12:25:22 -06:00
James Conroy caa06b026f Refactored to reduce length and number of lines 2022-02-12 12:25:21 -06:00
James Conroy a048de65ca Print help message if not running as root 2022-02-12 12:25:21 -06:00
James Conroy f807471a17 Only print color codes if we're printing to a tty
If we're not printing to a tty the escape sequences can only clutter the
screen.

Also removed a redundant function to print lines if not printing to a
tty. It was only called if docker wasn't running, not if the output
wasn't a tty.
2022-02-12 12:25:21 -06:00
James Conroy 81122d0693 Updated the useage function to use printf
Using a hear doc means we have to exactly specify the formatting. Useing
printf handles formatting for us
2022-02-12 12:25:21 -06:00
Josh Brower 1e5b9ef0bf IDH - Enable Filebeat 2022-02-10 11:37:10 -05:00
Josh Brower b66472eced IDH - disable nginx 2022-02-09 14:56:56 -05:00
Josh Brower f31fbbf1ed IDH - states allowed 2022-02-09 13:57:18 -05:00
William Wernert 1fee5e6a60 Merge pull request #7162 from Security-Onion-Solutions/rwwiv-contributing-patch-1
Also merge CONTRIBUTING.md changes to dev
2022-02-09 11:59:00 -05:00
William Wernert bc5fa55ecd Merge pull request #7160 from Security-Onion-Solutions/rwwiv-contributing-patch-1
Update CONTRIBUTING.md
2022-02-09 11:49:52 -05:00
William Wernert 2e2eed9f42 PR's -> pull requests 2022-02-09 11:45:12 -05:00
William Wernert 3f83191083 Update CONTRIBUTING.md 2022-02-09 11:34:39 -05:00
Josh Brower 30c40ed3d7 IDH Initial Support 2022-02-09 10:37:47 -05:00
Mike Reeves d63fe73c90 Merge pull request #7157 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update to 7.17.0
2022-02-09 09:46:25 -05:00
Mike Reeves 51bd266717 Update to 7.17.0 2022-02-09 09:44:28 -05:00
weslambert 380fa7d0c8 Merge pull request #7153 from Security-Onion-Solutions/fix/dtc_event_mappings
Add 'event.created' and 'event.ingested' keyword mapping
2022-02-08 16:36:49 -05:00
Wes Lambert 9b841fd872 Add 'event.created' and 'event.ingested' keyword mapping 2022-02-08 21:34:32 +00:00
weslambert c216457a3e Merge pull request #7147 from Security-Onion-Solutions/fix/ct_snyk
Add Snyk component template
2022-02-08 10:25:27 -05:00
Wes Lambert c2c4e4df17 Add Snyk component template 2022-02-08 15:23:43 +00:00
weslambert 7be1549d41 Merge pull request #7146 from Security-Onion-Solutions/feature/additional_dtc_ct
Additional component templates
2022-02-08 10:12:31 -05:00
Josh Brower ac8e06e79b Initial support - IDH Node 2022-02-08 09:08:52 -05:00
Josh Brower a3602c9eb9 Initial support - IDH Node 2022-02-08 08:24:15 -05:00
Wes Lambert f9a50d33c3 Add new templates 2022-02-08 13:17:23 +00:00
Wes Lambert 2951e12c96 Remove snyk component template for now and fix folder structure 2022-02-08 13:16:59 +00:00
Wes Lambert 6d0ca6fcbb Fix mangled key name/typo 2022-02-08 12:59:07 +00:00
Wes Lambert 2dd5db15b6 Add component and index template listing scripts 2022-02-08 03:40:42 +00:00
Wes Lambert 5090854d4d Add additional component templates and index template references 2022-02-08 03:03:55 +00:00
Josh Brower 37b17b8821 Initial support - IDH Node 2022-02-07 19:27:51 -05:00
Josh Brower f590bc43a6 Initial support - IDH Node 2022-02-07 19:09:27 -05:00
Josh Brower 7a9cb6d110 Initial support - IDH Node 2022-02-07 16:49:11 -05:00
weslambert b41c5439c6 Merge pull request #7141 from Security-Onion-Solutions/fix/index_template_mapping_reference
Add mapping references for new component templates to index templates
2022-02-07 15:06:19 -05:00
Wes Lambert 1366e5288e Add mappings references for new component templates to index templates 2022-02-07 19:54:23 +00:00
weslambert f9196a8228 Merge pull request #7140 from Security-Onion-Solutions/feature/dtc_new_mappings
New DTC/Component Template Mappings
2022-02-07 14:47:07 -05:00
Wes Lambert 03bfb052ed Add component templates for Elasticsearch, Kibana, Logstash, Netflow, Suricata, and Zeek 2022-02-07 19:42:24 +00:00
Josh Brower 9b1fac8417 Initial support - IDH Node 2022-02-07 14:36:40 -05:00
weslambert c9b40d8569 Merge pull request #7136 from Security-Onion-Solutions/feature/so_es_indices_list_sort
Sort index listing alphabetically and add header
2022-02-07 09:34:58 -05:00
Wes Lambert 50215c550b Sort index listing alphabetically and add header (@gebhard73) 2022-02-07 14:31:42 +00:00
Josh Patterson ee17064585 Merge pull request #7122 from Security-Onion-Solutions/soup_docker_iso
Soup docker iso
2022-02-07 09:29:35 -05:00
Josh Patterson e0c0eba24e Update soup 2022-02-07 09:23:30 -05:00
Josh Patterson 7d09d1f7e2 Update soup 2022-02-07 09:22:43 -05:00
Mike Reeves 77fc9df448 Merge pull request #7134 from Security-Onion-Solutions/mastermerger
Mastermerger
2022-02-07 08:38:27 -05:00
Mike Reeves abd121733f Merge branch 'master' into mastermerger 2022-02-07 08:34:17 -05:00
m0duspwnens 7c31eb1288 mount iso at different point 2022-02-04 16:07:06 -05:00
m0duspwnens 780aace854 set AGDOCKER 2022-02-04 15:44:25 -05:00
m0duspwnens eb0696b425 update dockers if -f used 2022-02-04 15:36:44 -05:00
m0duspwnens 267ef354c2 unmount iso after updating dockers 2022-02-04 15:09:35 -05:00
m0duspwnens 23fbf140ba soup with dockers from iso 2022-02-04 15:06:42 -05:00
weslambert d0b54a3a34 Merge pull request #7119 from Security-Onion-Solutions/feature/dtc_additional
Add additional scan and rule fileset mappings
2022-02-04 14:14:20 -05:00
Wes Lambert 317f6471d8 Add additional scan and rule filset mappings 2022-02-04 19:05:09 +00:00
weslambert 08c7181f1a Merge pull request #7118 from Security-Onion-Solutions/fix/dtc_file_mappings
Fix/dtc file mappings
2022-02-04 13:22:11 -05:00
Wes Lambert 1ce8bb3523 Fix winlog mapping reference reversion 2022-02-04 18:14:01 +00:00
Wes Lambert 5e03b1a5de Fix reference for file mappings in template 2022-02-04 18:11:03 +00:00
weslambert 898db542bf Merge pull request #7117 from Security-Onion-Solutions/feature/winlog_dtc_mappings
Add winlog mappings
2022-02-04 12:16:16 -05:00
weslambert 66452b14ef Merge pull request #7116 from Security-Onion-Solutions/fix/endgame_mappings
Fix EG template and mappings
2022-02-04 12:16:07 -05:00
Wes Lambert 69cb83cac9 Add winlog mappings 2022-02-04 17:08:26 +00:00
Wes Lambert f3902cf77d Fix EG template and mappings 2022-02-04 16:00:16 +00:00
weslambert 1af63edc6b Merge pull request #7115 from Security-Onion-Solutions/feature/additional_dtc_mappings
Additional DTC mapping changes
2022-02-04 10:46:47 -05:00
Wes Lambert a3031b2b5c Additional DTC mapping changes 2022-02-04 15:38:51 +00:00
Doug Burks e54ece06a2 Merge pull request #7106 from Security-Onion-Solutions/hotfix/2.3.100
Hotfix/2.3.100
2022-02-03 16:25:04 -05:00
Mike Reeves cc986c8d7c Merge pull request #7105 from Security-Onion-Solutions/23100hotfix2
2.3.100 Hotfix 2
2022-02-03 16:04:06 -05:00
Mike Reeves b7732fb14a 2.3.100 Hotfix 2 2022-02-03 15:58:26 -05:00
Mike Reeves 6f03662120 Merge pull request #7102 from Security-Onion-Solutions/TOoSmOotH-patch-5
Update HOTFIX
2022-02-03 15:08:52 -05:00
Mike Reeves 4f2952105e Update HOTFIX 2022-02-03 15:06:18 -05:00
Josh Patterson b34d0d7f7a Merge pull request #7100 from Security-Onion-Solutions/100_hotfix_2
100 hotfix 2
2022-02-03 13:15:37 -05:00
weslambert 1edc1dd842 Merge pull request #7096 from Security-Onion-Solutions/fix/dtc-ct-keyword-subfield
Add more DTC transition mappings
2022-02-03 12:35:34 -05:00
Wes Lambert 1ce386bb7f Add more DTC transition mappings 2022-02-03 17:33:05 +00:00
weslambert c7d23df000 Merge pull request #7076 from Security-Onion-Solutions/fix/zeek_dns_answers_name
Rename dns.answers to prevent field conflict
2022-02-03 12:22:26 -05:00
m0duspwnens 797d769661 use actual hostname in logstash:nodes pillar 2022-02-03 10:36:18 -05:00
Mike Reeves bbd2f0da2b Merge pull request #7094 from Security-Onion-Solutions/TOoSmOotH-patch-4
Update distributed-airgap-manager
2022-02-03 10:36:09 -05:00
Mike Reeves 5c39162aef Update distributed-airgap-sensor 2022-02-03 10:34:55 -05:00
Mike Reeves d8a4301533 Update distributed-airgap-manager 2022-02-03 10:34:12 -05:00
Doug Burks c39047666b Merge pull request #7082 from Security-Onion-Solutions/hotfix/2.3.100
Hotfix/2.3.100
2022-02-02 16:38:27 -05:00
Mike Reeves 5c75bb8e7a Merge pull request #7080 from Security-Onion-Solutions/23100hotfix
2.3.100 Hotfix
2022-02-02 16:30:46 -05:00
Mike Reeves 83683ec27e 2.3.100 Hotfix 2022-02-02 16:23:51 -05:00
Mike Reeves b94cae0176 2.3.100 Hotfix 2022-02-02 16:22:44 -05:00
Mike Reeves fc0824ceb0 2.3.100 Hotfix 2022-02-02 16:20:49 -05:00
weslambert c5b5c5858e Rename to prevent field conflict 2022-02-02 14:31:46 -05:00
weslambert 5e9e0d971b Merge pull request #7070 from Security-Onion-Solutions/feature/composable_templates
Initial composable template configuration and base mappings
2022-02-02 10:25:15 -05:00
Mike Reeves 73a43f3816 Merge pull request #7069 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update HOTFIX
2022-02-02 09:57:26 -05:00
Mike Reeves 8152aec22e Update HOTFIX 2022-02-02 09:49:19 -05:00
Mike Reeves 0e28e1e4cb Merge pull request #7066 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update acng.conf
2022-02-02 09:22:00 -05:00
Josh Patterson 13f87e4654 Merge pull request #7067 from Security-Onion-Solutions/m0duspwnens-patch-2.3.100
FIX: ssl state and manager hostname with uppercase
2022-02-02 09:21:54 -05:00
Josh Patterson a02fb37493 Update init.sls 2022-02-02 09:18:02 -05:00
Mike Reeves eaeed07fd4 Update acng.conf 2022-02-02 09:12:29 -05:00
Wes Lambert 9db1510b0e Initial composable template configuration and base mappings 2022-02-02 02:08:31 +00:00
Jason Ertel 1bac031975 Merge pull request #7058 from Security-Onion-Solutions/kilo
Bump to 2.3.110
2022-02-01 15:04:48 -05:00
Jason Ertel c5d6f09320 Bump to 2.3.110 2022-02-01 15:03:41 -05:00
Mike Reeves 943edd0303 Merge pull request #7042 from Security-Onion-Solutions/dev
2.3.100 Release
2022-01-31 16:29:57 -05:00
Mike Reeves b49524a293 Merge pull request #7041 from Security-Onion-Solutions/23100release
2.3.100 Release
2022-01-31 14:07:02 -05:00
Mike Reeves 6dc8415af5 2.3.100 Release 2022-01-31 14:05:22 -05:00
Doug Burks 7927534279 Merge pull request #7040 from Security-Onion-Solutions/dougburks-patch-1
Update version from 2.3.91 to 2.3.100
2022-01-31 13:32:05 -05:00
Doug Burks e0f6b9af3a Update version from 2.3.91 to 2.3.100 2022-01-31 13:27:45 -05:00
weslambert 6a2111c2ae Merge pull request #7037 from Security-Onion-Solutions/fix/revert_zeek_dns_answers
Revert back to dns.answers for now
2022-01-31 09:55:22 -05:00
weslambert 367b59188b Revert back to dns.answers for now 2022-01-31 09:54:39 -05:00
Josh Patterson d3fc61e557 Merge pull request #7035 from Security-Onion-Solutions/soup_salt_repo
ensure /etc/yum.repos.d/securityonion.repo is absent if not a manager…
2022-01-31 09:05:45 -05:00
m0duspwnens 4dd0ce9f2c ensure /etc/yum.repos.d/securityonion.repo is absent if not a manager and managerupdates is enabled 2022-01-31 09:01:18 -05:00
Josh Patterson 0c5b4c6070 Merge pull request #7033 from Security-Onion-Solutions/receiver_grafana
Receiver grafana
2022-01-31 08:41:56 -05:00
Josh Patterson a8983dd895 Merge pull request #7028 from Security-Onion-Solutions/soup_salt_repo
Soup salt repo
2022-01-31 08:21:17 -05:00
m0duspwnens e189f10a1b Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into soup_salt_repo 2022-01-29 11:04:07 -05:00
m0duspwnens a90660c07b ensure salt-latest.repo is absent, salt.minion state include repo.client 2022-01-29 11:04:03 -05:00
Mike Reeves bb87c85e07 Merge pull request #7027 from Security-Onion-Solutions/fix/soup-kibana
Move Kibana dashboard update from post_to_2.3.90() to post_to_2.3.100()
2022-01-29 10:07:36 -05:00
Doug Burks bc0a362b39 Move Kibana dashboard update from post_to_2.3.90() to post_to_2.3.100() 2022-01-29 08:02:56 -05:00
m0duspwnens 3aee8656d4 fix %} - add redis to receiver telegraf 2022-01-28 17:45:12 -05:00
m0duspwnens 980a1a0c3d add redis to receiver telegraf 2022-01-28 17:44:04 -05:00
m0duspwnens bf26ae8e41 add receiver to allowed dashboards 2022-01-28 17:32:53 -05:00
m0duspwnens da3e1e402a add receiver dashboard grafana 2022-01-28 17:27:58 -05:00
m0duspwnens 1cd1ad9214 add inputs for so-receiver to telegraf conf 2022-01-28 17:18:31 -05:00
Josh Patterson ddba4a5fe5 Merge pull request #7024 from Security-Onion-Solutions/soup_receiver
Soup receiver
2022-01-28 17:01:04 -05:00
m0duspwnens c8b1e6f501 remove -X from UPGRADECOMMAND so salt-minion starts after upgrade 2022-01-28 15:49:53 -05:00
m0duspwnens c45efebc7f Merge remote-tracking branch 'remotes/origin/dev' into soup_receiver 2022-01-28 15:27:27 -05:00
m0duspwnens 014696f62f fix receiver append to assigned_hostgroups.local.map.yaml 2022-01-28 15:26:37 -05:00
m0duspwnens 6b18551dd1 skip applying repo.client if airgap and saltupgrade prior to yum clean all 2022-01-28 14:39:10 -05:00
weslambert 4ecf4ab253 Merge pull request #7020 from Security-Onion-Solutions/feature/dash_updates
EG and HL Dashboard Updates
2022-01-28 13:19:02 -05:00
m0duspwnens 75b8d6a0c5 ensure /etc/yum.repos.d/securityonioncache.repo is absent if global:managerupdate = 0 2022-01-28 13:09:48 -05:00
weslambert 5142e6ccc7 Update so-kibana-config-load 2022-01-28 13:01:33 -05:00
Wes Lambert 3b76c2421c Update to allow for passing HL saved objects 2022-01-28 17:59:34 +00:00
m0duspwnens e82c6a2393 default for managerupdate should be int not a string 2022-01-28 12:50:58 -05:00
m0duspwnens 905ca35e93 use sed instead of echo 2022-01-28 11:19:54 -05:00
m0duspwnens 3977146a16 add receiver to firewall files during soup 2022-01-28 10:36:30 -05:00
Josh Patterson 5a37b14809 Merge pull request #7017 from Security-Onion-Solutions/issue/7016
dont apply wazuh state on sensors if it is disabled globally
2022-01-28 09:33:34 -05:00
m0duspwnens 15c29bda74 dont apply wazuh state on sensors if it is disabled globally - https://github.com/Security-Onion-Solutions/securityonion/issues/7016 2022-01-28 09:31:02 -05:00
Josh Patterson d0186c8c1b Merge pull request #7011 from Security-Onion-Solutions/fix/reinstall
https://github.com/Security-Onion-Solutions/securityonion/issues/7010
2022-01-27 16:40:37 -05:00
Jason Ertel ac21bd1e29 Merge pull request #7009 from Security-Onion-Solutions/kilo
Add new abbreviated result limit param
2022-01-27 15:55:42 -05:00
Jason Ertel 14c587fca2 Add new abbreviated result limit param 2022-01-27 15:51:02 -05:00
m0duspwnens 6cc8e4355e exclude salt ERROR seen during reinstall 2022-01-27 15:31:42 -05:00
m0duspwnens e63f35a223 change to test 2022-01-27 15:19:33 -05:00
weslambert 69689b470b Merge pull request #7005 from Security-Onion-Solutions/fix/revert_cases_field_limit
Revert field limit from testing
2022-01-27 11:33:31 -05:00
weslambert fc0a5bce86 Revert field limit from testing 2022-01-27 11:18:35 -05:00
weslambert 39257df396 Merge pull request #7004 from Security-Onion-Solutions/fix/revert_dtc
Revert changes to common template
2022-01-27 11:15:50 -05:00
weslambert 60a0204975 Revert changes to common template 2022-01-27 11:02:47 -05:00
William Wernert c6b11f4e05 Merge pull request #7001 from Security-Onion-Solutions/fix/so-rule-string-split
Fix error message printing in so-rule
2022-01-26 16:08:00 -05:00
William Wernert 4532de368a Fix error message printing in so-rule 2022-01-26 16:04:45 -05:00
m0duspwnens 9e2278a199 Merge remote-tracking branch 'remotes/origin/dev' into fix/reinstall 2022-01-26 15:48:46 -05:00
weslambert e303fb12cf Merge pull request #7000 from Security-Onion-Solutions/fix/zeek_dns_answers_pipeline
Fix Zeek field name so it doesn't conflict with mapping of other dns.…
2022-01-26 15:04:12 -05:00
weslambert 8f0a327cb5 Fix Zeek field name so it doesn't conflict with mapping of other dns.answers fields 2022-01-26 15:02:59 -05:00
weslambert bdc5e89822 Merge pull request #6999 from Security-Onion-Solutions/fix/case_mapping_changes_temp
Mapping changes for case index
2022-01-26 14:59:45 -05:00
weslambert 1b3e7f9d79 Temp changes while adjusting mapping 2022-01-26 14:57:16 -05:00
Josh Patterson 4f30d43611 Merge pull request #6998 from Security-Onion-Solutions/es_binds
mount repo dir in container same as defined on host
2022-01-26 13:59:17 -05:00
m0duspwnens c80adc0430 mount repo dir in container same as defined on host 2022-01-26 13:42:56 -05:00
weslambert e77648c475 Merge pull request #6994 from Security-Onion-Solutions/feature/dtc
Additional DTC changes
2022-01-26 12:22:48 -05:00
Jason Ertel c2636036ee Merge pull request #6995 from Security-Onion-Solutions/kilo
store related event data as a flattened object blob
2022-01-26 12:21:02 -05:00
Wes Lambert e10749a495 Additional changes to template to accomodate default fields and keyword subfield 2022-01-26 17:16:29 +00:00
Jason Ertel ed9b74dc33 store related event data as a flattened object blob 2022-01-26 12:16:05 -05:00
m0duspwnens 2aa19b78da dont remove ca-certificates.crt 2022-01-26 11:27:35 -05:00
m0duspwnens 1337af9d69 more dupes 2022-01-26 11:07:06 -05:00
m0duspwnens a0e493a186 remove dupe ids 2022-01-26 10:50:35 -05:00
m0duspwnens a43fb293fc remove role logic 2022-01-26 10:26:52 -05:00
m0duspwnens 8aa002b82e add states to remove ca and ssl keys and certs and call them during reinstall. 2022-01-26 09:33:19 -05:00
m0duspwnens 8ce0f5b7be log removal of root cron 2022-01-26 08:31:37 -05:00
Josh Patterson 26e03ccad2 Merge pull request #6978 from Security-Onion-Solutions/es_binds
allow for path.repo mounts for elasticsearch
2022-01-25 16:13:49 -05:00
m0duspwnens dd00e3babc use .get since repo may not exist 2022-01-25 13:18:21 -05:00
m0duspwnens 5d2b3992e2 dont need to set ES_PATH_REPO 2022-01-25 13:11:53 -05:00
m0duspwnens 7b6eeac03f dnt mount under /repo in the container 2022-01-25 13:08:46 -05:00
m0duspwnens 00e17d5c78 put repos in /repo in es container 2022-01-25 13:03:54 -05:00
m0duspwnens a17e1aa87a 930 for group 2022-01-25 13:00:04 -05:00
m0duspwnens 4423e93880 prevent path.repo from being put in elasticsearch.yml if the symlink doesnt exist 2022-01-25 12:57:05 -05:00
m0duspwnens e62de2934c fix test for es repo 2022-01-25 12:24:03 -05:00
m0duspwnens a92e2a917b change repos to repo 2022-01-25 10:53:28 -05:00
m0duspwnens a72f12c4c7 add path.repo mount if symlink exists 2022-01-25 10:50:00 -05:00
Josh Patterson 9a45a9799b Merge pull request #6974 from Security-Onion-Solutions/issue/6599
https://github.com/Security-Onion-Solutions/securityonion/issues/6599
2022-01-25 09:11:33 -05:00
weslambert ba52bd3835 Update template with syntax fixes 2022-01-25 08:56:03 -05:00
m0duspwnens edd8709cdd remove export LC_CTYPE="en_US.UTF-8" from soup 2022-01-24 19:42:56 -05:00
m0duspwnens d6fc436d49 copy files to default salt base 2022-01-24 19:30:34 -05:00
m0duspwnens 82e2b2b611 dont escape raw and endraw 2022-01-24 17:03:25 -05:00
m0duspwnens d083338350 adding --local 2022-01-24 16:46:29 -05:00
m0duspwnens e3f1b456e6 add raw end raw back 2022-01-24 16:09:15 -05:00
m0duspwnens 268e07e2a2 remove jinja from soup scripts 2022-01-24 15:49:55 -05:00
Doug Burks 80b7487d45 Merge pull request #6968 from Security-Onion-Solutions/dougburks-patch-1
Update CONTRIBUTING.md with warning about more involved PRs
2022-01-24 10:39:40 -05:00
Jason Ertel 4ab7a6a079 Merge pull request #6967 from Security-Onion-Solutions/kilo
Copyright year and format update
2022-01-24 10:39:31 -05:00
Doug Burks 5f67dfd432 Update CONTRIBUTING.md 2022-01-24 10:36:22 -05:00
Jason Ertel eefcc929c2 Update copyright pattern to match other repos 2022-01-24 10:09:23 -05:00
Jason Ertel a4d2807fbb Switch to httpcase for consistency 2022-01-24 09:45:07 -05:00
Doug Burks fb5bff3913 Merge pull request #6956 from Security-Onion-Solutions/dougburks-patch-1
Fix typos in ssh_warning
2022-01-24 09:39:40 -05:00
Jason Ertel 7c22f46a55 Update copyright year for 2022 2022-01-24 09:35:29 -05:00
Doug Burks b103420100 fix typo in so-setup 2022-01-22 10:25:37 -05:00
Doug Burks 304ef64bc8 fix another typo in ssh_warning 2022-01-22 10:24:36 -05:00
Doug Burks 1e14e2977f Fix typo in ssh_warning 2022-01-22 10:21:14 -05:00
Josh Patterson 86cfa07af9 Merge pull request #6955 from Security-Onion-Solutions/issue/6810
Issue/6810
2022-01-21 17:37:59 -05:00
m0duspwnens 32080b02e4 dont use logCmd for moving repo files after centos-release update 2022-01-21 17:28:40 -05:00
m0duspwnens 58c5db3bf6 reorder process in securityonion_repo function 2022-01-21 15:15:48 -05:00
m0duspwnens 9e5fb458b4 update saltstack repo location for securityonioncache.repo / managerupdates=1 2022-01-21 14:38:42 -05:00
weslambert f7a4cc20f2 Update so-common-template.json.jinja 2022-01-21 12:36:38 -05:00
Josh Patterson 36fc25f78e Merge pull request #6953 from Security-Onion-Solutions/issue/6492
https://github.com/Security-Onion-Solutions/securityonion/issues/6492
2022-01-21 12:09:13 -05:00
m0duspwnens e7852d7700 https://github.com/Security-Onion-Solutions/securityonion/issues/6492 2022-01-21 11:59:27 -05:00
Josh Patterson 0257d09cf8 Merge pull request #6949 from Security-Onion-Solutions/issue/6811
Issue/6811
2022-01-21 08:46:54 -05:00
m0duspwnens 878c3fe6d9 Merge remote-tracking branch 'remotes/origin/dev' into issue/6811 2022-01-21 08:09:24 -05:00
m0duspwnens 281e5d9b25 remove salt.enable_higstate state 2022-01-21 08:09:04 -05:00
m0duspwnens baa93301b5 enable cron at the end of soup 2022-01-20 16:53:33 -05:00
m0duspwnens 00d0eb1ce5 fix setting var 2022-01-20 16:37:33 -05:00
m0duspwnens 01cb505338 start cron and enable highstate if soup exits on error 2022-01-20 16:31:01 -05:00
William Wernert ec023f8f7c Merge pull request #6937 from Security-Onion-Solutions/fix/fail-preflight-early
Correctly handle failure to install curl in so-preflight
2022-01-20 16:03:20 -05:00
m0duspwnens e1757926cf start cron and reenable highstate on soup exit 2022-01-20 15:26:03 -05:00
William Wernert 357cd059aa Use ret_code in prereq function to return failures 2022-01-20 13:53:59 -05:00
weslambert 1b860e11e7 Merge pull request #6936 from Security-Onion-Solutions/fix/field_conflicts
Remove dynamic keyword template to prevent field conflicts with mappi…
2022-01-20 12:48:15 -05:00
weslambert d1efa71c57 Remove dynamic keyword template to prevent field conflicts with mappings defined in common template 2022-01-20 12:34:32 -05:00
Josh Patterson c57b2d005e Merge pull request #6933 from Security-Onion-Solutions/issue/6810
quote ES_PASS in SOCtopus.conf and remove % from random pw
2022-01-20 10:57:56 -05:00
m0duspwnens 9b2459d8ba quote ES_PASS in SOCtopus.conf and remove % from random pw 2022-01-20 10:52:48 -05:00
weslambert d0c8dd0626 Merge pull request #6931 from Security-Onion-Solutions/fix/cases_dynamic_disable
Disable dynamic mapping and increase order to reduce potential field …
2022-01-20 09:48:01 -05:00
weslambert e137ad60c5 Disable dynamic mapping and increase order to reduce potential field conflicts 2022-01-20 09:44:41 -05:00
Josh Patterson 93236738de Merge pull request #6930 from Security-Onion-Solutions/issue/6810
upgrade salt to 3004
2022-01-20 08:28:20 -05:00
abesinger 31d22e717d Updated syslog pipeline, resolves #6912. Also cleaned up formatting to make it more readable. 2022-01-19 18:45:26 -06:00
m0duspwnens fc65f7bb84 Merge remote-tracking branch 'remotes/origin/dev' into issue/6810 2022-01-19 15:35:28 -05:00
m0duspwnens 67e34b2402 reorder yum operations in securityonion_repo function 2022-01-19 15:35:04 -05:00
Jason Ertel e984b0b9c4 Merge pull request #6921 from Security-Onion-Solutions/kilo
remove unused fields object from related case schema
2022-01-19 14:42:05 -05:00
Jason Ertel dc44a91398 Prefix all SO fields to avoid potential conflicts with future ECS changes 2022-01-19 14:26:22 -05:00
m0duspwnens a861801a24 more logCmd 2022-01-19 13:38:10 -05:00
m0duspwnens fbe54b9ee8 yum clean all needs to happen before repo files are moved or the clean doesnt clean anything 2022-01-19 12:33:58 -05:00
m0duspwnens 7ebba1f325 use show_changes: False to prevent es pw from being shown when running the state 2022-01-19 12:11:38 -05:00
m0duspwnens f8ac37c101 Merge remote-tracking branch 'remotes/origin/dev' into issue/6810 2022-01-19 11:57:37 -05:00
m0duspwnens 4d078046d6 quote ES_PASS due to new characters in random string for elasticsearch:auth pw generation 2022-01-19 11:55:25 -05:00
William Wernert 13dbd0034f Merge pull request #6924 from Security-Onion-Solutions/fix/whiptail-height
Fix height of node whiptail menu
2022-01-19 11:18:44 -05:00
William Wernert c10ab712d5 Fix height of node whiptail menu 2022-01-19 11:05:34 -05:00
Jason Ertel d7ba1cedff remove unused fields object from related case schema 2022-01-19 08:39:21 -05:00
m0duspwnens 55a262646c use logCmd 2022-01-19 08:34:54 -05:00
William Wernert a3925d231c Merge pull request #6909 from Security-Onion-Solutions/fix/preflight-curl
Install curl in preflight script to avoid error on Ubuntu
2022-01-18 13:39:44 -05:00
William Wernert c0c42c3574 Install curl in preflight script to avoid error on Ubuntu
Also add check for already installed curl later in setup
2022-01-18 13:17:56 -05:00
m0duspwnens f006d1a22c logCmd commands in securityonion_repo function 2022-01-18 12:34:23 -05:00
m0duspwnens a2ed9a86ff remove influixdb salt state files and update patch files for influxdb salt modules/state 2022-01-18 11:33:36 -05:00
Josh Brower 19ccd5f8e9 Merge pull request #6904 from Security-Onion-Solutions/fix/fleetdm-disable-vuln-feature
FleetDM - Disable Vuln Proc Feature
2022-01-18 10:48:06 -05:00
Josh Brower c4babf22d6 FleetDM - Disable Vuln Proc Feature 2022-01-18 10:38:55 -05:00
Mike Reeves 7eb564db14 Merge pull request #6901 from Security-Onion-Solutions/elasticupdate
Elastic 7.16.3
2022-01-18 09:47:36 -05:00
Mike Reeves 2e4e59bbe8 Elastic 7.16.3 2022-01-18 09:42:06 -05:00
m0duspwnens 87999453f2 Merge remote-tracking branch 'remotes/origin/dev' into issue/6810 2022-01-18 09:13:10 -05:00
m0duspwnens 3bd26f05d4 account for salt 3004 adding new chars to random.get_str 2022-01-14 18:02:18 -05:00
m0duspwnens a46a740170 account for salt 3004 adding new chars to random.get_str 2022-01-14 17:23:29 -05:00
Mike Reeves 71da74fd00 Merge pull request #6878 from Security-Onion-Solutions/fix/scan_pe_sections_entropy
Fix/scan pe sections entropy
2022-01-14 17:02:32 -05:00
weslambert c512351dd6 Add mapping for scan.exiftool and scan.pe.sections.entropy 2022-01-14 17:01:13 -05:00
weslambert a90bc9dba9 Add mapping for scan.pe.sections.entropy 2022-01-14 16:58:53 -05:00
m0duspwnens 02ce5c3236 update install salt to 3004 2022-01-14 13:47:16 -05:00
m0duspwnens b6b2e06fbc change module to cmd for onchanges_in 2022-01-14 12:44:58 -05:00
m0duspwnens f5fe466410 repo update 2022-01-14 12:02:35 -05:00
Jason Ertel a63787daba Merge pull request #6864 from Security-Onion-Solutions/kilo
Add default queries for cases to show user's assigned cases
2022-01-13 17:15:02 -05:00
Jason Ertel 6b0b7245f0 Add default queries for cases to show user's assigned cases 2022-01-13 17:10:08 -05:00
m0duspwnens bda9221d6f upgrade salt to 3004 and update bootstrap-salt.sh 2022-01-13 13:26:11 -05:00
Josh Patterson b2434faf10 Merge pull request #6862 from Security-Onion-Solutions/issue/6811
restart wazuh with docker restart vs so-wazuh-restart
2022-01-13 13:06:43 -05:00
m0duspwnens 82db3fa3c0 restart wazuh with docker restart vs so-wazuh-restart 2022-01-13 13:02:01 -05:00
Josh Patterson 78bb6e4176 Merge pull request #6856 from Security-Onion-Solutions/issue/6811
Issue/6811
2022-01-13 11:03:51 -05:00
m0duspwnens 06c0cebb26 merge with dev 2022-01-13 09:44:26 -05:00
m0duspwnens 389ff1a46d create enable_highstate state to reenable highstate following minion restart if it was previously disabled. same with cron 2022-01-13 09:39:46 -05:00
m0duspwnens a28bb23d20 fix os_family for cron state map 2022-01-12 17:27:47 -05:00
m0duspwnens 443dc6ebaa move branch echo to main so it is in the log 2022-01-12 16:14:49 -05:00
m0duspwnens 03b9b74ace stop cron before soup upgrades the manager, start cron at the end. add cron state that is in included in common 2022-01-12 16:04:10 -05:00
Mike Reeves e123dd4bb2 Merge pull request #6844 from Security-Onion-Solutions/highlanderml
Add additional highlander settings
2022-01-12 13:34:22 -05:00
Josh Patterson 5889ce02cd Merge pull request #6845 from Security-Onion-Solutions/23100soup_jpp
remove mine push from 2.3.100 function
2022-01-12 13:34:06 -05:00
Josh Patterson 776e4c6e12 Update soup 2022-01-12 13:32:46 -05:00
Josh Patterson 035984569b Merge branch 'dev' into 23100soup_jpp 2022-01-12 13:31:46 -05:00
Josh Patterson da30f66096 remove mine push from 2.3.100 function 2022-01-12 13:29:34 -05:00
Mike Reeves c525bf310d Add additional highlander settings 2022-01-12 13:19:40 -05:00
Mike Reeves ee44edfe75 Add additional highlander settings 2022-01-12 13:18:44 -05:00
m0duspwnens 0cf877f169 kill any possible queued salt jobs before stopping salt-master 2022-01-12 12:27:19 -05:00
Mike Reeves f836d3ad16 Merge pull request #6843 from Security-Onion-Solutions/23100soup_jpp
push ips of mainint to salt mine
2022-01-12 12:25:51 -05:00
Josh Patterson 5b347600e9 push ips of mainint to salt mine 2022-01-12 12:24:52 -05:00
m0duspwnens 0388912ba7 kill all salt jobs across grid before stopping salt-master. kill all salt jobs on manager before stopping salt-minion. 2022-01-12 11:05:47 -05:00
m0duspwnens 494737549d move some es script to src elasticsearch/tools/sbin and dst /usr/sbin. set requires 2022-01-12 10:20:05 -05:00
Mike Reeves 22096174bb Merge pull request #6841 from Security-Onion-Solutions/TOoSmOotH-patch-4
Fix some formatting
2022-01-12 09:39:15 -05:00
Mike Reeves 1d94e3ac69 Fix some formatting 2022-01-12 09:38:22 -05:00
m0duspwnens abf3a9401b listen instead to not start service if not running then restart if changes to files 2022-01-11 18:31:35 -05:00
m0duspwnens ae0f392035 wait for salt-master and salt-minin to exit. disable highstate before stopping salt-minion. apply salt-minion state before first highstate to update configs 2022-01-11 16:57:29 -05:00
Mike Reeves 53d2e20e48 Merge pull request #6834 from Security-Onion-Solutions/nohive
Remove hive install option
2022-01-11 16:50:18 -05:00
Mike Reeves 4ff5fc3b38 Remove hive install option 2022-01-11 14:38:38 -05:00
m0duspwnens 5ade8193f0 move highstate messages for more accurate final highstate message 2022-01-11 13:41:51 -05:00
m0duspwnens 0ef130bd38 bootstrap.sh, dont start salt services after salt upgrade, allow soup to do it 2022-01-11 13:12:07 -05:00
m0duspwnens e33a9eb45c bootstrap.sh, dont start salt services after salt upgrade, allow soup to do it 2022-01-11 13:11:25 -05:00
m0duspwnens 9d19cba600 log time when salt services stopped and started 2022-01-11 13:09:05 -05:00
m0duspwnens baf297ab0a merge with dev, resolve conflict 2022-01-11 11:24:10 -05:00
m0duspwnens 14eed8e5b9 redirect to setup_log 2022-01-11 11:20:30 -05:00
Josh Brower 5083be4ce7 Merge pull request #6816 from Security-Onion-Solutions/fix/wazuh-parsing-v2
Fix Wazuh WEL Parsing
2022-01-11 11:17:24 -05:00
Doug Burks a3c8335130 Merge pull request #6827 from Security-Onion-Solutions/dougburks-patch-1
Remove unnecessary word
2022-01-11 11:06:40 -05:00
Doug Burks 29d8dbe371 Remove unnecessary word 2022-01-11 11:05:30 -05:00
m0duspwnens 91ef9b9366 update salt mine before salt-master and salt-minion get stopped 2022-01-11 10:57:48 -05:00
m0duspwnens 328d6cdeb4 Merge remote-tracking branch 'remotes/origin/dev' into issue/6811 2022-01-11 10:02:18 -05:00
Mike Reeves a9e58e2aba Merge pull request #6826 from Security-Onion-Solutions/TOoSmOotH-patch-3
Update init.sls
2022-01-11 10:01:49 -05:00
Mike Reeves 8ad36fc7b9 Update init.sls 2022-01-11 10:01:14 -05:00
m0duspwnens 87756cdbc9 Merge remote-tracking branch 'remotes/origin/dev' into issue/6811 2022-01-11 09:57:31 -05:00
Mike Reeves 7937487ee9 Merge pull request #6825 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update init.sls
2022-01-11 09:57:10 -05:00
Mike Reeves 770a389410 Update init.sls 2022-01-11 09:56:22 -05:00
m0duspwnens b5c274de10 Merge remote-tracking branch 'remotes/origin/dev' into issue/6811 2022-01-11 09:48:31 -05:00
m0duspwnens a8d1b9eb90 restart salt-minion at end of run if mine_functions changes 2022-01-11 09:29:12 -05:00
m0duspwnens 86c8fc6c1c need to update mine after salt-master starts 2022-01-11 08:56:38 -05:00
weslambert 17509a9231 Merge pull request #6822 from Security-Onion-Solutions/fix/event_fields
Add event.acknowledged and event.escalated mappings
2022-01-10 16:14:45 -05:00
weslambert 84f7c6b13b Add event.acknowledged and event.escalated mappings 2022-01-10 16:08:35 -05:00
m0duspwnens 716c98ec61 requires and ordering for socusersroles state 2022-01-10 14:39:00 -05:00
Josh Brower 56aa24d874 Fix Wazuh WEL Parsing 2022-01-10 13:55:38 -05:00
Mike Reeves b7a90a88f9 Merge pull request #6815 from Security-Onion-Solutions/esbackup
Add ability to specify local backup dir
2022-01-10 13:31:24 -05:00
weslambert 1dc363138a Merge pull request #6814 from Security-Onion-Solutions/fix/template_typo
Fix typo -- replace period with comma
2022-01-10 13:30:13 -05:00
weslambert 1c3eeb5a34 Fix typo -- replace period with comma 2022-01-10 13:29:06 -05:00
m0duspwnens beb9a33628 only include curl.config if elasticsearch:auth is enabled 2022-01-10 11:48:16 -05:00
Mike Reeves dbba7d7226 Add ability to specify local backup dir 2022-01-10 11:31:41 -05:00
m0duspwnens 291ac7d361 https://github.com/Security-Onion-Solutions/securityonion/issues/6811 2022-01-10 10:36:42 -05:00
Josh Patterson 43eda0c5a3 Merge pull request #6796 from Security-Onion-Solutions/fix/wazuh_register_agent
dont try to register if state file exists
2022-01-07 16:07:56 -05:00
m0duspwnens 715d3f0e7e dont try to register if state file exists 2022-01-07 16:05:55 -05:00
Jason Ertel db04646735 Merge pull request #6794 from Security-Onion-Solutions/kilo
Update field mappings based on Wes' feedback
2022-01-07 16:03:05 -05:00
Jason Ertel 66c9e20c6a Add wilcards for CCS compatibility 2022-01-07 15:57:08 -05:00
Josh Patterson ed97fe0b65 Merge pull request #6795 from Security-Onion-Solutions/fix/wazuh_register_agent
Fix/wazuh register agent
2022-01-07 15:52:17 -05:00
m0duspwnens 3a86af8de2 quote $API_RESULT 2022-01-07 15:49:53 -05:00
m0duspwnens 7ee913eb1f if /opt/so/conf/wazuh/initial_agent_registration.log doesnt exist, and agent is already registered, touch file and exit 0 to prevent salt error 2022-01-07 15:46:47 -05:00
Jason Ertel d3656a7777 Merge branch 'dev' into kilo 2022-01-07 13:41:35 -05:00
Josh Patterson 3c44f6fd41 Merge pull request #6793 from Security-Onion-Solutions/23100soup_jpp
23100soup
2022-01-07 13:32:33 -05:00
Jason Ertel 391db568b0 Update field mappings based on Wes' feedback 2022-01-07 13:28:36 -05:00
Jason Ertel a4f01d4412 Merge pull request #6792 from Security-Onion-Solutions/kilo
Add case exclusion toggle to Hunt to avoid hunt results getting case …
2022-01-07 13:02:27 -05:00
Jason Ertel 9ef83da23f Add case exclusion toggle to Hunt to avoid hunt results getting case data hits unintentionally 2022-01-07 12:58:35 -05:00
m0duspwnens 871fd115ae put so-firewalll in /usr/sbin since salt-master isnt running at this time 2022-01-07 12:04:19 -05:00
weslambert 218f7f3a13 Merge pull request #6790 from Security-Onion-Solutions/fix/dtc_severity_label
Add event.severity_label
2022-01-07 11:44:30 -05:00
weslambert 770e53d914 Add keyword subfield for event.severity_label 2022-01-07 11:21:57 -05:00
weslambert c69e1353d9 Add event.severity_label 2022-01-07 11:19:54 -05:00
m0duspwnens fd0e5d7d29 make sure so-firewall is up to date 2022-01-07 11:10:48 -05:00
Josh Brower ae6aa0dafd Merge pull request #6789 from Security-Onion-Solutions/fix/wazuh-parsing-revert
Revert Wazuh parser update
2022-01-07 10:53:53 -05:00
Josh Brower 5d4ea2ba3a Revert Wazuh parser update 2022-01-07 10:51:24 -05:00
weslambert a7e7566532 Merge pull request #6780 from Security-Onion-Solutions/feature/datatype_compliance
Initial commit for data type compliance
2022-01-06 16:38:17 -05:00
m0duspwnens 5ecb63f5cf prevent exit if minion doesnt respond 2022-01-06 16:17:51 -05:00
Josh Brower ca4aaae47c Merge pull request #6778 from Security-Onion-Solutions/fix/wazuh-parsing
Uppercase first char in Wazuh WEL
2022-01-06 16:01:09 -05:00
Josh Brower 277c7f1ef8 Uppercase first char in Wazuh WEL 2022-01-06 14:58:50 -05:00
m0duspwnens cd590b894a check that ossec.conf exists 2022-01-06 12:39:48 -05:00
weslambert 3f02003ea2 Merge pull request #6777 from Security-Onion-Solutions/fix/deprecation_ecs_compatibility_logstash
Add config option for ECS compatibility (default of disabled)
2022-01-06 11:31:51 -05:00
weslambert 8e2f500b9c Add config option for ECS compatibility (default of disabled) 2022-01-06 11:24:04 -05:00
weslambert 099e3e1ceb Merge pull request #6775 from Security-Onion-Solutions/fix/deprecation_warning_suppress
Add logger stanza to suppress ES deprecation warning messages
2022-01-06 10:45:37 -05:00
weslambert 900d12b556 Add logger stanza to suppress deprecation warning messages for now due to current system index access warning messages flooding the ES log 2022-01-06 10:35:50 -05:00
Jason Ertel 8cf7ea8b87 Merge pull request #6772 from Security-Onion-Solutions/kilo
Prevent PCAP action from showing up outside of hunt/alerts
2022-01-05 19:15:02 -05:00
Josh Patterson eaa6597cd7 Merge pull request #6773 from Security-Onion-Solutions/issue/6765
Issue/6765
2022-01-05 18:11:06 -05:00
m0duspwnens 6338ba2e45 remove /var/cache/salt/ for reinstall 2022-01-05 16:54:56 -05:00
m0duspwnens 8af74e8bb3 remove more salt configs for reinstall 2022-01-05 16:53:54 -05:00
m0duspwnens 9357995bfa remove root cron and restore yeselastic.txt 2022-01-05 16:04:32 -05:00
weslambert 2fb488f768 Merge pull request #6769 from Security-Onion-Solutions/fix/id_fielddata_deprecation
Fix issue with _id field fielddata/deprecation
2022-01-05 15:40:25 -05:00
Wes Lambert 1cafacfa51 Update saved objects to reflect removal of TheHive scripted field and replacement of PCAP pivot with Hunt pivot 2022-01-05 20:36:23 +00:00
weslambert c1a88977cf Disable fielddata for _id field by default (since it is deprecated and can be memory-intensive) 2022-01-05 15:23:52 -05:00
m0duspwnens 0ff5e3cf6f require so-elasticsearch container to be running to run the scripts 2022-01-05 14:48:41 -05:00
m0duspwnens 8950f94fb0 restore state files so python3-influxdb state doesnt try to patch during a restinstall 2022-01-05 12:02:53 -05:00
Wes Lambert b60837e71a Initial commit for data type compliance 2022-01-05 16:38:56 +00:00
Jason Ertel 4f8524e0ac Prevent PCAP action from showing up outside of hunt/alerts 2022-01-05 11:13:12 -05:00
weslambert 2f9672d3ea Merge pull request #6764 from Security-Onion-Solutions/feature/soup_branch
Denote which branch is being used in SOUP if BRANCH is specified
2022-01-05 10:54:29 -05:00
weslambert db43e21378 Fix indentation 2022-01-05 10:46:41 -05:00
weslambert 4d8b417fc9 Denote which branch is being used in SOUP if BRANCH is specified 2022-01-05 10:41:27 -05:00
Jason Ertel 89415b12ce Merge pull request #6762 from Security-Onion-Solutions/kilo
Switch soc.json to use lowercase labels in default queries; Also enab…
2022-01-05 09:59:39 -05:00
Jason Ertel 4bfdfffe21 Switch soc.json to use lowercase labels in default queries; Also enable the 'Add Case' feature 2022-01-05 09:54:13 -05:00
Mike Reeves 1adc4c5346 Merge pull request #6752 from Security-Onion-Solutions/ubufix
Fix docker holds so re-install will work properly
2022-01-04 18:56:06 -05:00
Mike Reeves 3ca0ce9eea Update so-functions 2022-01-04 18:47:35 -05:00
Mike Reeves e869013057 Remove docker the reinstall it 2022-01-04 15:24:10 -05:00
Mike Reeves dd104c9490 Add holds for ubuntu 2022-01-04 13:07:09 -05:00
m0duspwnens 7bb9b6efa9 populate mine with network.ip_addrs pillar.host.mainint for each host prior to highstate 2022-01-04 10:27:45 -05:00
Mike Reeves 288389c93e Soup changes for 2.3.100 2022-01-04 08:38:14 -05:00
Josh Patterson 4247a3a816 Merge pull request #6730 from Security-Onion-Solutions/fix/ub1804ssl
more detailed logging for the retry command
2021-12-30 13:19:58 -05:00
m0duspwnens cc2f6e23ca more detailed logging for the retry command 2021-12-30 13:09:29 -05:00
Josh Patterson 064355dfb5 Merge pull request #6729 from Security-Onion-Solutions/fix/ub1804ssl
change exitCode to exitcode. set exitcode to 1 if failed output found
2021-12-30 11:38:32 -05:00
m0duspwnens d274615376 change exitCode to exitcode. set exitcode to 1 if failed output found 2021-12-30 10:45:30 -05:00
Josh Patterson 78eda75c0f Merge pull request #6725 from Security-Onion-Solutions/fix/ub1804ssl
add option to look for failed outout in retry function in so-common. …
2021-12-29 18:18:12 -05:00
m0duspwnens 200736a118 add option to look for failed outout in retry function in so-common. look for Err: when running soapt-get update in setup 2021-12-29 18:15:16 -05:00
Jason Ertel 1d136b611a Merge pull request #6723 from Security-Onion-Solutions/kilo
Uniform presets
2021-12-29 16:49:41 -05:00
Jason Ertel e6051cb653 Switch all presets to lowercase for uniformity 2021-12-29 16:42:34 -05:00
Jason Ertel 74dbc4bf67 Merge pull request #6720 from Security-Onion-Solutions/kilo
Add case template to eval install types; also improve clarity of case queries
2021-12-29 11:41:06 -05:00
Josh Patterson a2f1f52450 Merge pull request #6719 from Security-Onion-Solutions/fix/ub1804ssl
Fix/ub1804ssl
2021-12-29 11:39:10 -05:00
Jason Ertel 1d885a5419 Add case template to eval installs 2021-12-29 11:38:38 -05:00
m0duspwnens b414e22e95 remove spaces in function 2021-12-29 11:37:22 -05:00
m0duspwnens 4c54d45681 some echos for logging 2021-12-29 11:36:12 -05:00
m0duspwnens c6e9b00488 Merge remote-tracking branch 'remotes/origin/dev' into fix/ub1804ssl 2021-12-29 11:22:25 -05:00
m0duspwnens b027da6378 wait for the salt-minion service to be ready for requests prior to running ssl state 2021-12-29 11:18:38 -05:00
Jason Ertel fb02d0d35c clarify case filters 2021-12-29 11:07:36 -05:00
Jason Ertel d4f3615cae Merge pull request #6717 from Security-Onion-Solutions/kilo
Support CCS in CM
2021-12-29 09:12:13 -05:00
Jason Ertel e5110ac4e8 Use CCS compatible index 2021-12-29 09:08:10 -05:00
Jason Ertel e87cbc37a4 Add case template 2021-12-28 19:17:15 -05:00
Josh Patterson 3b130ab202 Merge pull request #6712 from Security-Onion-Solutions/fix/ub1804ssl
all run ssl state during setup
2021-12-28 16:34:58 -05:00
m0duspwnens 22afe99719 all run ssl state during setup 2021-12-28 16:24:17 -05:00
Doug Burks e56a9a5f22 Merge pull request #6711 from Security-Onion-Solutions/dougburks-patch-1
fix typo in so-analyst-install
2021-12-28 15:24:19 -05:00
Josh Patterson 7655920068 Merge pull request #6710 from Security-Onion-Solutions/fix/ub1804ssl
add mine function to signing_policies.conf
2021-12-28 15:23:36 -05:00
Doug Burks 463925686d fix typo in so-analyst-install 2021-12-28 15:23:17 -05:00
m0duspwnens 2a5b4ef276 add mine function to signing_policies.conf. no longer need to check if mine in ca during manager install 2021-12-28 15:19:06 -05:00
Josh Patterson 7029c3a94a Merge pull request #6707 from Security-Onion-Solutions/fix/ub1804ssl
put x509 signing policies in place when minion is configured
2021-12-28 12:05:20 -05:00
m0duspwnens 67a9f4d22e put x509 signing policies in place when minion is configured 2021-12-28 12:03:10 -05:00
Josh Patterson a5746d4919 Merge pull request #6706 from Security-Onion-Solutions/fix/ub1804ssl
Fix/ub1804ssl
2021-12-28 11:27:15 -05:00
m0duspwnens 487ac24306 revert back to getting ca from mine 2021-12-28 11:16:01 -05:00
m0duspwnens 2405de4b82 fix require 2021-12-28 11:00:35 -05:00
m0duspwnens 9e3c289562 remove restarting salt in ssl generation. sperate ca and ssl generation into seperate functions 2021-12-28 10:43:45 -05:00
m0duspwnens f2adcf4ca5 ensure /etc/pki is created and simplify ca logic for non manager in ssl state 2021-12-28 10:41:57 -05:00
Jason Ertel 0072ae253b Merge pull request #6705 from Security-Onion-Solutions/kilo
Initial CM Impl; Improve so-user script
2021-12-28 08:36:59 -05:00
Jason Ertel 5a4473ecd6 fix indent 2021-12-28 08:33:31 -05:00
Jason Ertel f335670b3f Add new client-side param for cases 2021-12-27 21:53:30 -05:00
Jason Ertel 194e4119f0 Correct missing json vars 2021-12-27 20:36:28 -05:00
Jason Ertel 09626deb05 Correct var names for jinja 2021-12-27 18:01:15 -05:00
Jason Ertel ae7a4b6528 More syntax corrections 2021-12-27 16:18:12 -05:00
Jason Ertel 0a255e5765 Resolve syntax error 2021-12-27 15:15:33 -05:00
Jason Ertel 789719d25e Correct preset file syntax 2021-12-27 13:21:13 -05:00
Jason Ertel 7140255d95 Add missing presets file 2021-12-27 12:27:04 -05:00
Jason Ertel ab3319b472 Add artifact support 2021-12-27 10:49:10 -05:00
Jason Ertel b0d36f2ed2 Ensure update timestamp is updated when changing passwords; this ensures the sync will automatically follow 2021-12-21 13:38:35 -05:00
Jason Ertel 62e5914ab8 Merge branch 'dev' into kilo 2021-12-21 13:37:37 -05:00
Jason Ertel 2f88f08be2 Merge pull request #6649 from Security-Onion-Solutions/2.3.91-merge
2.3.91 merge
2021-12-21 09:39:14 -05:00
Jason Ertel 9aeaa1fccc resolved merge conflicts 2021-12-21 09:35:57 -05:00
Jason Ertel 2c9062efb7 resolved merge conflicts 2021-12-21 09:34:39 -05:00
Doug Burks c8de36d467 Merge pull request #6646 from Security-Onion-Solutions/patch/2.3.91
Patch/2.3.91
2021-12-21 09:27:14 -05:00
doug 284e0e9108 fix hashes in VERIFY_ISO.md 2021-12-20 17:27:19 -05:00
doug e66b023c9c update README.md for 2.3.91 2021-12-20 17:23:52 -05:00
doug 9f47522591 add sig for 2.3.91 ISO and update VERIFY_ISO.md 2021-12-20 17:21:53 -05:00
Jason Ertel 35617acaeb Update cacerts to reflect new path; this changed due to ES 7.16.2 2021-12-20 12:12:00 -05:00
Jason Ertel 6f116a2d01 Switch to new Ubuntu SSL dir 2021-12-20 09:43:59 -05:00
Jason Ertel d6c651af1c Remove old patch dir from previously-patched installations 2021-12-20 09:42:27 -05:00
Jason Ertel 203e8a7873 Bump version to 2.3.91 2021-12-20 09:33:20 -05:00
Jason Ertel b8fcec04b8 Remove patched jar due to upgrade of Elastic images to 7.16.2 2021-12-20 09:27:03 -05:00
Jason Ertel 6556a37869 Merge branch 'master' into patch/1.3.91 2021-12-20 09:20:03 -05:00
Jason Ertel 5af2bd8fa4 Upgrade to Elastic 7.16.2 2021-12-20 09:16:28 -05:00
Josh Patterson d33cf19e3d Merge pull request #6612 from Security-Onion-Solutions/issue/6469
add managersearch to list
2021-12-16 13:57:53 -05:00
m0duspwnens a46a876ec6 add managersearch to list 2021-12-16 13:48:41 -05:00
Josh Brower affe5b9ac0 Merge pull request #6605 from Security-Onion-Solutions/fix/fleet-ips
Fix cidr for fleet custom docker range
2021-12-16 11:55:11 -05:00
Josh Patterson e0c8e03882 Merge pull request #6604 from Security-Onion-Solutions/issue/6469
https://github.com/Security-Onion-Solutions/securityonion/issues/6469
2021-12-16 11:54:05 -05:00
Josh Brower a23824e199 Fix cidr for fleet custom docker range 2021-12-16 11:53:26 -05:00
m0duspwnens ae342ab673 Merge remote-tracking branch 'remotes/origin/dev' into issue/6469 2021-12-16 11:33:09 -05:00
m0duspwnens b4b8b91ccd simplify ip logic wazuh-register-agent, mine_interval to 35 minutes 2021-12-16 11:24:35 -05:00
m0duspwnens 2e4ed8062e simplify wazuh agent ip logic 2021-12-16 11:11:01 -05:00
m0duspwnens bd7ef1cc59 fix whitespace control 2021-12-16 09:19:20 -05:00
Jason Ertel 8ec671422f Merge pull request #6593 from Security-Onion-Solutions/esup
Finish upgrade of ES to 7.16.1
2021-12-16 07:59:34 -05:00
Jason Ertel 1268f8f92b Upgrade ES to 7.16.1 2021-12-16 07:57:42 -05:00
Jason Ertel d4f395b7f4 Fix query name for open cases 2021-12-15 20:02:35 -05:00
Jason Ertel c68efd56c2 Merge branch 'dev' into kilo 2021-12-15 20:01:55 -05:00
m0duspwnens a7600f7f43 update scripts to use their own ip 2021-12-15 17:31:39 -05:00
Mike Reeves 0f76227631 Merge pull request #6585 from Security-Onion-Solutions/unhotfix
Unhotfix
2021-12-15 17:23:02 -05:00
m0duspwnens d0b0970353 Merge remote-tracking branch 'remotes/origin/dev' into issue/6469 2021-12-15 17:08:56 -05:00
Mike Reeves 465ba1b7d3 Change CA certs location 2021-12-15 17:08:36 -05:00
m0duspwnens f9b04ab96a add node's own ip to FILEBEAT_EXTRA_HOSTS 2021-12-15 16:53:22 -05:00
m0duspwnens 522bc1d2b8 fix loadbalance logic and whitespace for filebeat.yml 2021-12-15 16:21:08 -05:00
m0duspwnens cf2f4bad09 have standalone and managersearch pull from redis nodes 2021-12-15 15:27:23 -05:00
Mike Reeves 61955b7928 Change CA certs location 2021-12-15 13:50:19 -05:00
Jason Ertel ffa8ca57a7 Merge pull request #6579 from Security-Onion-Solutions/unhotfix
Remove some previous hotfix code
2021-12-15 12:34:00 -05:00
Mike Reeves 7cd1b1c482 Remove some previous hotfix code 2021-12-15 12:26:53 -05:00
m0duspwnens 6ab2bdef0c add sensoroni state to receiver node 2021-12-15 10:45:54 -05:00
m0duspwnens ce0a39db4b remove old EXTRAHOSTNAME EXTRAHOSTIP from being set for logstash 2021-12-15 09:43:46 -05:00
m0duspwnens ea89d2074b remove ca from allowed_hosts on so-receiver 2021-12-15 09:32:12 -05:00
m0duspwnens 759bf9837e pillar top clean up for receiver and logstash.nodes 2021-12-15 09:31:03 -05:00
m0duspwnens d9a384cc29 remove global:pipeline pillar call from logstash pipeline pillars 2021-12-15 09:30:15 -05:00
m0duspwnens 176ef852c8 clean up assinged hostgroups for receiver 2021-12-15 08:28:40 -05:00
Doug Burks 09f0bdba91 Merge pull request #6574 from Security-Onion-Solutions/dougburks-patch-1
fix typo in so-image-common
2021-12-15 07:45:24 -05:00
Doug Burks 7d1f9c51e8 fix typo in so-image-common 2021-12-15 07:24:30 -05:00
m0duspwnens 024860d0ae rename EXTRA_NODES to LOGSTASH_NODES AND REDIS_NODES 2021-12-14 23:43:06 -05:00
m0duspwnens 0c6aba16ec fix redis input 2021-12-14 23:42:37 -05:00
m0duspwnens 15b8d80b71 fix host for input_redis 2021-12-14 18:51:43 -05:00
m0duspwnens 55b74abcc5 extra_hosts and redis_input for logstash 2021-12-14 18:49:30 -05:00
m0duspwnens 4da017d61c change extra_hosts for docker container 2021-12-14 17:05:30 -05:00
m0duspwnens a31d61e151 handle ca for redis 2021-12-14 16:43:04 -05:00
m0duspwnens 841b91e052 exclude elasticsearch and managerssl keys and certs from receiver 2021-12-14 16:05:47 -05:00
m0duspwnens d0b6d5bba6 remove so-eval from lists since it doesnt run logstash 2021-12-14 15:33:06 -05:00
m0duspwnens a31f034f2e remove receiver add node for cacerts and tls-ca-bundle for logstash bind 2021-12-14 15:02:59 -05:00
m0duspwnens 6962e3f9b3 fix logstash certs mapped into container 2021-12-14 14:52:15 -05:00
m0duspwnens c490a3be36 move node_data pillar to logstash:nodes, set extra hosts for filebeat docker 2021-12-14 13:32:42 -05:00
Mike Reeves 5006e34208 Merge pull request #6560 from Security-Onion-Solutions/mergerz
Merge latest hotfix
2021-12-14 10:57:49 -05:00
Mike Reeves 30344ba0ef Fix conflicts 2021-12-14 10:55:19 -05:00
m0duspwnens 6518691c55 sort the items 2021-12-13 18:16:25 -05:00
m0duspwnens 067e79894f fix loop for node_data 2021-12-13 16:26:38 -05:00
m0duspwnens 6de2f5bd03 fix node_data 2021-12-13 15:55:09 -05:00
m0duspwnens 8d0872bce5 create node_data pillar from mine data, use node_data pillar for filebeat config 2021-12-13 15:48:30 -05:00
Mike Reeves 85cf096322 Merge pull request #6541 from Security-Onion-Solutions/hotfix/2.3.90
Hotfix/2.3.90
2021-12-13 12:41:24 -05:00
Mike Reeves 4eaf3f8d8b Merge pull request #6540 from Security-Onion-Solutions/2390hotfix3
2.3.90-20211213 Hotfix
2021-12-13 12:12:03 -05:00
Mike Reeves d90904b4d4 2.3.90-20211213 Hotfix 2021-12-13 12:09:09 -05:00
Mike Reeves 65cc9930e7 Merge pull request #6537 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update HOTFIX
2021-12-13 11:13:40 -05:00
Mike Reeves 7f982d2824 Update HOTFIX 2021-12-13 11:12:18 -05:00
Mike Reeves d3ac1f7994 Merge pull request #6533 from Security-Onion-Solutions/jertel/hotfix-20211213
Add missing logstash lib
2021-12-13 09:30:32 -05:00
Jason Ertel c94d5fa9dc Strip JndiLookup.class from log4j-core jars, to match Elastic's mitigation approach 2021-12-13 09:27:13 -05:00
Mike Reeves 83d1cdad90 Merge pull request #6532 from Security-Onion-Solutions/jertel/hotfix-20211213
Strip JndiLookup.class from log4j-core jars, to match Elastic's mitigation approach
2021-12-13 09:05:30 -05:00
Jason Ertel 8365b5f140 Strip JndiLookup.class from log4j-core jars, to match Elastic's mitigation approach 2021-12-13 09:02:41 -05:00
m0duspwnens 86f67198bf loadbalance filebeat if across managers and receivers 2021-12-10 17:43:06 -05:00
Mike Reeves 4d6cd66d9d Merge pull request #6521 from Security-Onion-Solutions/hotfix/2.3.90
Hotfix/2.3.90
2021-12-10 16:20:29 -05:00
Mike Reeves 1946965c5f Merge pull request #6520 from Security-Onion-Solutions/2390hotfix0day
2.3.90-20211210 Hotfix
2021-12-10 15:49:38 -05:00
Mike Reeves c9a14788ed 2.3.90-20211210 Hotfix 2021-12-10 15:42:53 -05:00
m0duspwnens fe7247f876 update fw for receiver and add mine_functions for ip_addr 2021-12-10 15:28:40 -05:00
Mike Reeves ce963a02d9 Merge pull request #6517 from Security-Onion-Solutions/ES0day2
Add JVM Options for logstash
2021-12-10 14:25:52 -05:00
Mike Reeves dcd56de890 Update log4j2.properties 2021-12-10 14:23:38 -05:00
Mike Reeves 3d7b963912 Update log4j2.properties 2021-12-10 14:16:16 -05:00
Mike Reeves 09253b637e Create jvm.options 2021-12-10 14:12:43 -05:00
Mike Reeves c81ce48bff Update log4j2.properties 2021-12-10 14:10:35 -05:00
Mike Reeves 73ec595baa Update init.sls 2021-12-10 14:10:05 -05:00
Mike Reeves 04862fcc06 Merge pull request #6514 from Security-Onion-Solutions/ES0day2
Throw the log4j into the java options
2021-12-10 12:04:31 -05:00
Mike Reeves 45346b6318 Update log4j2.properties 2021-12-10 12:01:39 -05:00
Mike Reeves e48de18480 Update init.sls 2021-12-10 12:00:12 -05:00
Mike Reeves 66c8cc6e86 Update init.sls 2021-12-10 11:59:12 -05:00
Mike Reeves 8dcb64d87c Update init.sls 2021-12-10 11:56:33 -05:00
Mike Reeves ae3e980852 Merge pull request #6513 from Security-Onion-Solutions/EShotfix
Update log4j2.properties
2021-12-10 10:35:43 -05:00
Mike Reeves 11f1fe7ab1 Update HOTFIX 2021-12-10 10:21:50 -05:00
Mike Reeves 4561e13871 Update log4j2.properties 2021-12-10 10:19:58 -05:00
Mike Reeves ea26e402c8 Update log4j2.properties 2021-12-10 10:17:49 -05:00
m0duspwnens 54c32acdbf dont call logstash_pillar if manager or helix 2021-12-09 15:26:00 -05:00
Jason Ertel 83d86aebb1 Perform full email match 2021-12-09 15:04:00 -05:00
m0duspwnens d94496bb90 remove minio_key and add missing endif 2021-12-09 13:24:20 -05:00
m0duspwnens c2a952796c Merge remote-tracking branch 'remotes/origin/sans' into issue/6469 2021-12-09 13:13:18 -05:00
Mike Reeves b92cbb01b3 SSL modifications 2021-12-09 13:13:01 -05:00
m0duspwnens 5b70d5510f Merge remote-tracking branch 'remotes/origin/sans' into issue/6469 2021-12-09 13:12:00 -05:00
Jason Ertel 2761662eb9 Add status presets 2021-12-09 13:09:56 -05:00
Mike Reeves a7f0d81555 SSL modifications 2021-12-09 13:07:00 -05:00
Josh Brower d3bbae23ca Merge pull request #6499 from Security-Onion-Solutions/fix/beats-logstash
Use id for doc id if it exists
2021-12-09 09:47:14 -05:00
Josh Brower 656ea974dc Use id for doc id if it exists 2021-12-09 09:16:58 -05:00
Jason Ertel a9b7b9ee92 Jinjafy case params 2021-12-08 17:41:48 -05:00
m0duspwnens 7390b03dc1 dont show es options in final whiptail setup confirmation 2021-12-08 14:58:34 -05:00
m0duspwnens b4bc32d3ca set logstash pillar and enable avanced ls menu for so-receiver 2021-12-08 14:33:15 -05:00
m0duspwnens ecc8594d44 prevent so-receiver from getting extra keys/certs 2021-12-08 13:32:56 -05:00
m0duspwnens 59464af10c filebeat certs for logstash on so-receiver 2021-12-08 09:41:17 -05:00
m0duspwnens 1ef63f3a23 ssl things for so-receiver 2021-12-08 09:08:46 -05:00
m0duspwnens c80059efb0 change from || to && 2021-12-07 17:11:15 -05:00
m0duspwnens 8c95d0f36b set ip for wazuh-register-agent and dont apply nginx in setup for receiver 2021-12-07 16:50:41 -05:00
m0duspwnens 429b9cab2f set ip for ossec.conf 2021-12-07 16:22:07 -05:00
m0duspwnens f8da5c7fe9 start of fw rules for receiver 2021-12-07 15:59:11 -05:00
m0duspwnens 06010bd157 add so-receiver to allowed_states 2021-12-07 13:34:06 -05:00
Jason Ertel b73eb76c94 Make case module dynamic 2021-12-07 11:51:02 -05:00
m0duspwnens f3ec5df447 add receiver node 2021-12-07 11:13:51 -05:00
m0duspwnens 7549e34881 Merge remote-tracking branch 'remotes/origin/dev' into issue/6469 2021-12-07 10:57:12 -05:00
m0duspwnens ba30c59ec7 add receiver node 2021-12-07 10:56:35 -05:00
Mike Reeves 892899b7f9 Merge pull request #6477 from Security-Onion-Solutions/merge-202112071526
Merge hotfix
2021-12-07 10:30:13 -05:00
Jason Ertel 702d95c63a Merge branch 'master' into merge-202112071527 2021-12-07 10:28:00 -05:00
m0duspwnens 96666ab307 add receiver node 2021-12-07 10:19:32 -05:00
Mike Reeves 9f41df641e Merge pull request #6470 from Security-Onion-Solutions/hotfix/2.3.90
HOTFIX: 2.3.90-20211206
2021-12-07 09:51:01 -05:00
Mike Reeves 9f94ecfab7 Merge pull request #6466 from Security-Onion-Solutions/2390updates3
2.3.90 hotfix 20211206
2021-12-06 11:07:14 -05:00
Mike Reeves 4188282724 2.3.90 hotfix 20211206 2021-12-06 11:03:49 -05:00
Mike Reeves 3945933dec Merge pull request #6446 from Security-Onion-Solutions/TOoSmOotH-patch-4
Update HOTFIX
2021-12-06 09:38:02 -05:00
Mike Reeves 73a1a3878f Update HOTFIX 2021-12-06 09:37:07 -05:00
weslambert ff25d6f80b Merge pull request #6447 from Security-Onion-Solutions/eg_dashes
Add initial EG dashboards
2021-12-03 18:05:22 -05:00
Wes Lambert 0571612ea1 Add initial EG dashes 2021-12-03 22:38:30 +00:00
Mike Reeves f697d88090 Update HOTFIX 2021-12-03 15:36:16 -05:00
Mike Reeves ad03241910 Merge pull request #6445 from Security-Onion-Solutions/TOoSmOotH-patch-3
Apply hotfix to all 2.3.90 installs
2021-12-03 15:24:33 -05:00
Mike Reeves f82d204c0e Update soup 2021-12-03 15:20:33 -05:00
Mike Reeves 780daf8aa7 Apply hotfix to all 2.3.90 installs 2021-12-03 15:15:45 -05:00
Josh Patterson 5008b647b0 Merge pull request #6441 from Security-Onion-Solutions/hf/soc_append2.3.90
export LC_CTYPE="en_US.UTF-8" in soup
2021-12-03 15:10:12 -05:00
m0duspwnens 65b1ab833d run salt-call locally as if no Salt master were present during reinstall - https://github.com/Security-Onion-Solutions/securityonion/discussions/6435 2021-12-03 12:00:29 -05:00
m0duspwnens c6773a0bbc move "Preparing soup" to main so shows in soup.log 2021-12-03 10:26:22 -05:00
m0duspwnens ff2d2c7c04 export LC_CTYPE="en_US.UTF-8" - https://github.com/Security-Onion-Solutions/securityonion/discussions/6431 2021-12-02 16:39:32 -05:00
Mike Reeves 6c7a1f23f5 Merge pull request #6440 from Security-Onion-Solutions/TOoSmOotH-patch-2
Fix for the clustername used in wrong context
2021-12-02 15:35:26 -05:00
Mike Reeves f5761c73a5 Fix for the clustername used in wrong context 2021-12-02 15:30:35 -05:00
Mike Reeves 8448778ecd Merge pull request #6438 from Security-Onion-Solutions/hf/soc_append2.3.90
hf/soc append2.3.90
2021-12-02 15:10:51 -05:00
m0duspwnens 8d667795a7 only add soc:es_index_patterns to pillar if not already present 2021-12-02 10:28:17 -05:00
m0duspwnens 7a664ab8f7 more error proof up_to_2.3.90 function 2021-12-02 10:02:26 -05:00
Jason Ertel 83fab42b6e Merge pull request #6433 from Security-Onion-Solutions/kilo
Reign in the Wazuh port check to only complain if a non-Docker process is listening on 55000.
2021-12-02 09:39:14 -05:00
Jason Ertel e549cfdf82 Reign in the Wazuh port check to only complain if a non-Docker process is listening on 55000. 2021-12-02 09:35:13 -05:00
Josh Brower c7a9fb1fa3 Merge pull request #6432 from Security-Onion-Solutions/fix/fleet-nginx
Fix FleetDM nginx errors
2021-12-02 08:30:28 -05:00
Josh Brower 97cd679d74 Fix FleetDM nginx errors 2021-12-02 08:17:01 -05:00
William Wernert 3bd8bcba12 Merge pull request #6421 from Security-Onion-Solutions/hotfix-merge
Hotfix merge
2021-12-01 14:49:05 -05:00
William Wernert 6e7188b4d8 Merge branch 'hotfix/2.3.90' into hotfix-merge
# Conflicts:
#	HOTFIX
2021-12-01 14:40:34 -05:00
m0duspwnens 5e0ac89841 merge with master 2021-12-01 14:27:58 -05:00
Mike Reeves 8990a09d92 Merge pull request #6418 from Security-Onion-Solutions/hotfix/2.3.90
Hotfix/2.3.90
2021-12-01 13:24:19 -05:00
Mike Reeves 946673dc3b Merge pull request #6417 from Security-Onion-Solutions/2390updates2
2.3.90 hotfix airgap
2021-12-01 13:20:41 -05:00
m0duspwnens c571b2c499 handle redirect if more than 1 match from compgen 2021-12-01 13:17:14 -05:00
Mike Reeves 80c569317f 2.3.90 hotfix airgap 2021-12-01 13:16:13 -05:00
Mike Reeves 84b91c547d Merge pull request #6403 from Security-Onion-Solutions/dlee35-patch-1
add subjectAltName to filebeat.crt
2021-12-01 11:54:05 -05:00
Mike Reeves 5f121f3b99 Merge pull request #6411 from Security-Onion-Solutions/m0duspwnens-patch-1/hotfix/2.3.90
remove redirect to /dev/null for compgen
2021-12-01 10:17:29 -05:00
Josh Patterson 63cb486698 remove redirect to /dev/null for compgen 2021-12-01 10:16:04 -05:00
Dustin Lee 8a394380cb add subjectAltName to filebeat.crt
IP SAN is required for Endgame integration w/Logstash when DNS resolution is unavailable
2021-11-30 16:24:08 -05:00
William Wernert 1a31e60e47 Merge pull request #6402 from Security-Onion-Solutions/fix/airgap-check
Fix/airgap check
2021-11-30 15:57:02 -05:00
William Wernert 168f860c87 Add hotfix string to HOTFIX 2021-11-30 15:49:41 -05:00
William Wernert 8d87fae6a8 Remove airgap repo file if it shouldn't exist 2021-11-30 15:46:22 -05:00
William Wernert 739efc22d2 Fix airgap check logic 2021-11-30 15:46:18 -05:00
Jason Ertel 1272de3058 Merge pull request #6378 from Security-Onion-Solutions/TOoSmOotH-patch-2
bump version to 2.3.100
2021-11-29 09:57:29 -05:00
Mike Reeves 2beb69f495 Update HOTFIX 2021-11-29 09:55:32 -05:00
Mike Reeves 5a447c53d9 bump version to 2.3.100 2021-11-29 09:55:01 -05:00
Jason Ertel 31ffd6c4ec Merge pull request #6339 from Security-Onion-Solutions/kilo
Merge 2.3.90 WAZUH hotfix into dev
2021-11-23 19:33:18 -05:00
Mike Reeves 4c6786a412 Merge pull request #6335 from Security-Onion-Solutions/hotfix/2.3.90
Hotfix/2.3.90
2021-11-23 16:51:27 -05:00
Mike Reeves 5062e910e2 Merge pull request #6334 from Security-Onion-Solutions/2390updates
2.3.90 hotfix soup
2021-11-23 15:41:21 -05:00
Mike Reeves 1f9dc0db1f 2.3.90 hotfix soup 2021-11-23 15:40:04 -05:00
Mike Reeves c536e11383 2.3.90 hotfix soup 2021-11-23 15:32:41 -05:00
Mike Reeves faa8464b60 Merge pull request #6333 from Security-Onion-Solutions/kilo
Correct if check to inline the command instead of checking for emptin…
2021-11-23 14:53:24 -05:00
Jason Ertel 4f283c2d86 Suppres grep output 2021-11-23 14:52:40 -05:00
Jason Ertel 801d42ed20 Correct if check to inline the command instead of checking for emptiness of a variable 2021-11-23 14:51:06 -05:00
Mike Reeves 30a1ffc1c7 Merge pull request #6329 from Security-Onion-Solutions/kilo
2.3.90 WAZUH
2021-11-23 13:37:41 -05:00
Jason Ertel 59fc122eec Force restart of wazuh since conf file is changing 2021-11-23 13:29:04 -05:00
Jason Ertel 52ffa27eda Update hotfix file 2021-11-23 13:22:47 -05:00
Jason Ertel bd59d65f02 Strip trailing newlines from version and hotfix files 2021-11-23 13:12:27 -05:00
Jason Ertel 01ceded223 Handle CRs in hotfix 2021-11-23 13:03:40 -05:00
Jason Ertel 3c37bd61ab Add debug logging 2021-11-23 12:46:59 -05:00
Jason Ertel a35670c889 Merge branch 'hotfix/1.3.90' into kilo 2021-11-23 12:38:57 -05:00
Jason Ertel 7627d37386 Add 2.3.90 WAZUH hotfix corrective function 2021-11-23 12:21:28 -05:00
Jason Ertel 273842eb43 Merge pull request #6328 from Security-Onion-Solutions/kilo
WAZUH hotfix
2021-11-23 12:06:34 -05:00
Jason Ertel 0dd251e2a9 Fix typo in whiptail prompt 2021-11-23 11:19:53 -05:00
Josh Patterson c67b2b6936 Update soup
only check if salt was upgraded if upgrade_salt function was called
2021-11-23 11:14:10 -05:00
Jason Ertel af4c04be59 Fix #6325 - Prevent XML header from outputting to ossec.conf 2021-11-23 10:57:21 -05:00
Jason Ertel 4672b0c15c Fix #6317 - Do not attempt to whitelist when wazuh isn't enabled 2021-11-23 10:06:14 -05:00
Jason Ertel 9737a4088c Merge pull request #6327 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update HOTFIX
2021-11-23 09:25:43 -05:00
Mike Reeves d8d429c71a Update HOTFIX 2021-11-23 09:19:41 -05:00
Mike Reeves 3bfc3b8943 Merge pull request #6301 from Security-Onion-Solutions/dev
2.3.90
2021-11-22 13:15:23 -05:00
Mike Reeves 4ad6d616ae Merge pull request #6313 from Security-Onion-Solutions/2390update
2390update
2021-11-22 09:04:16 -05:00
Mike Reeves 759c0b858a 2.3.90 2021-11-22 09:01:12 -05:00
Mike Reeves c17a49a730 Merge pull request #6302 from Security-Onion-Solutions/fix/md5soup
Fix/md5soup
2021-11-19 16:45:02 -05:00
m0duspwnens c0f183fb5e add comment 2021-11-19 16:37:27 -05:00
m0duspwnens d602339c45 render and md5sum soup and so-common 2021-11-19 16:32:59 -05:00
Mike Reeves 0122e62920 Merge pull request #6300 from Security-Onion-Solutions/2390
2.3.90
2021-11-19 14:09:02 -05:00
Mike Reeves 1634105780 2.3.90 2021-11-19 14:07:03 -05:00
Josh Patterson 198a690ba1 Merge pull request #6298 from Security-Onion-Solutions/fix/soup-script-check
Check soup in /usr/sbin rather than the saltstack default dir
2021-11-19 11:24:48 -05:00
William Wernert bebd62187d Check soup in /usr/sbin rather than the saltstack default dir 2021-11-19 11:23:32 -05:00
Mike Reeves a91564605c Merge pull request #6297 from Security-Onion-Solutions/fix/soup-playbook-secrets
Fix indent on playbook_admin and playbook_automation secrets
2021-11-19 10:28:11 -05:00
William Wernert 23b91ee7e5 Fix indent on playbook_admin and playbook_automation secrets 2021-11-19 10:27:11 -05:00
Mike Reeves d3f25f8d74 Merge pull request #6293 from Security-Onion-Solutions/fix/fleet-stats
Fix FleetDM - disable stats
2021-11-19 09:53:26 -05:00
Josh Brower 8bd4ba3acd Fix FleetDM - disable stats 2021-11-19 09:49:34 -05:00
Josh Patterson e5927d0bf7 Merge pull request #6290 from Security-Onion-Solutions/fleet_startup_eval
run redis state before fleet state for eval highstate
2021-11-18 17:54:26 -05:00
m0duspwnens 9dd89f6be7 run redis state before fleet state for eval highstate 2021-11-18 17:41:56 -05:00
Mike Reeves 796eb59dc6 Merge pull request #6288 from Security-Onion-Solutions/syncesusers_so-kratos
wait for up to 5 minutes for kratos to respond before proceeding
2021-11-18 16:42:18 -05:00
m0duspwnens 55fed43469 wait for up to 5 minutes for kratos to respond before proceeding 2021-11-18 16:35:35 -05:00
William Wernert af83019427 Merge pull request #6287 from Security-Onion-Solutions/feat/cidr-extra-validation
Check for more invalid cidr syntax
2021-11-18 15:21:58 -05:00
William Wernert 4149236cda Check for more invalid cidr syntax 2021-11-18 15:18:12 -05:00
Josh Patterson 825106d074 Merge pull request #6286 from Security-Onion-Solutions/fix/docker-upgrade
Prevent downgrade of docker, containerd, and docker-cli
2021-11-18 15:15:37 -05:00
William Wernert 1a3324868a Specify version of docker-ce-rootless-extras 2021-11-18 15:12:47 -05:00
William Wernert bc87bb4770 Specify docker cli version as well 2021-11-18 14:51:26 -05:00
William Wernert 6aae48bdae Don't upgrade docker or containerd before versionlock is applied 2021-11-18 14:14:18 -05:00
Mike Reeves a0425a48e6 Merge pull request #6282 from Security-Onion-Solutions/syncesusers_so-kratos
remove restart policy for kratos container
2021-11-18 11:43:16 -05:00
m0duspwnens 4b89bf7bbc remove restart policy for kratos container 2021-11-18 11:41:07 -05:00
Mike Reeves 5fc5afa9ea Merge pull request #6281 from Security-Onion-Solutions/syncesusers_so-kratos
install specific docker verison
2021-11-18 11:32:38 -05:00
m0duspwnens ddec8e4da0 install specific docker verison 2021-11-18 11:29:22 -05:00
Jason Ertel 9c0e8cedba Merge pull request #6279 from Security-Onion-Solutions/syncesusers_so-kratos
restart kratos if failure
2021-11-18 10:49:12 -05:00
m0duspwnens 5054da0027 restart kratos if failure 2021-11-18 10:48:06 -05:00
Jason Ertel 96f1f0174b Merge pull request #6275 from Security-Onion-Solutions/syncesusers_so-kratos
break kratos state out from soc state
2021-11-18 09:13:10 -05:00
m0duspwnens cd1f0c0440 break kratos state out from soc state 2021-11-18 09:10:00 -05:00
Mike Reeves 12546a8efa Merge pull request #6271 from Security-Onion-Solutions/fix/fleet-users
Fix soup - fleetdm SA user
2021-11-17 19:48:15 -05:00
Josh Brower 3f5956b56d Fix soup - fleetdm SA user 2021-11-17 19:47:16 -05:00
Mike Reeves 6e49ab0558 Merge pull request #6270 from Security-Onion-Solutions/fix/whiptail-text
Fix text cutoff
2021-11-17 19:18:46 -05:00
William Wernert c52df32f05 Fix text cutoff 2021-11-17 19:08:10 -05:00
Josh Patterson c0602f4222 Merge pull request #6269 from Security-Onion-Solutions/syncesusers_so-kratos
run elasticsearch.auth state and so-elastic-auth true before manager …
2021-11-17 18:41:18 -05:00
m0duspwnens d4b412bcbe run elasticsearch.auth state and so-elastic-auth true before manager in setup for syncesusers in manager state 2021-11-17 18:38:13 -05:00
Josh Brower 66e2de0934 Merge pull request #6268 from Security-Onion-Solutions/fix/fleet-users
Fix soup - fleetdm SA user
2021-11-17 18:26:11 -05:00
Josh Brower c93794a402 Fix soup - fleetdm SA user 2021-11-17 18:22:34 -05:00
Josh Patterson 98efc6f2ed Merge pull request #6267 from Security-Onion-Solutions/syncesusers_so-kratos
syncesusers require so-kratos
2021-11-17 18:20:53 -05:00
m0duspwnens 59ef734064 syncesusers require so-kratos 2021-11-17 18:16:06 -05:00
Josh Brower 922657afbc Merge pull request #6266 from Security-Onion-Solutions/fix/fleet-users
Unset pw reset for new Fleet users
2021-11-17 17:10:27 -05:00
Josh Brower 5f3601ac78 Unset pw reset for new Fleet users 2021-11-17 17:06:01 -05:00
Josh Brower 2fe4fa06a6 Merge pull request #6265 from Security-Onion-Solutions/fix/fleet-users
Fix FleetDM SA Creation for SOUP
2021-11-17 14:09:59 -05:00
Josh Brower 773c580e77 Fix FleetDM SA Creation for SOUP 2021-11-17 14:08:34 -05:00
Mike Reeves aca684d55a Merge pull request #6264 from Security-Onion-Solutions/fix/fleet-users
Migrate FleetDM user mgt to fleetctl
2021-11-17 13:16:05 -05:00
Josh Brower 6f391dbe50 Migrate FleetDM user mgt to fleetctl 2021-11-17 13:13:25 -05:00
William Wernert 8d033264e7 Merge pull request #6262 from Security-Onion-Solutions/fix/new-cidr-test
Add new ipv4 address w/ cidr mask validator
2021-11-17 13:09:04 -05:00
William Wernert 262d2023b5 Add new ipv4 address w/ cidr mask validator 2021-11-17 12:41:25 -05:00
Josh Patterson d143a309a1 Merge pull request #6261 from Security-Onion-Solutions/soup_soc_endgame
change how soc endgame added to manager pillar in soup
2021-11-17 11:12:17 -05:00
m0duspwnens ac400f1c41 change how soc endgame added to manager pillar in soup 2021-11-17 11:07:12 -05:00
William Wernert df495c0017 Merge pull request #6258 from Security-Onion-Solutions/fix/nm-conf
Run `check_network_manager_conf()` later in setup
2021-11-17 08:44:25 -05:00
William Wernert 8c454973ad Run check_network_manager_conf() later in setup
The directory was being overwritten when network-manager was installed later
2021-11-17 08:42:27 -05:00
Josh Patterson a16e6aca22 Merge pull request #6257 from Security-Onion-Solutions/es_soup_ingest
escape raw and endraw
2021-11-17 07:56:01 -05:00
m0duspwnens ce21ae11f5 escape raw and endraw 2021-11-17 07:53:15 -05:00
Mike Reeves fdd9706669 Merge pull request #6255 from Security-Onion-Solutions/kilo 2021-11-16 18:09:40 -05:00
Jason Ertel 8fa9a180b2 Refactor upgrade and post-upgrade version to function mappings; fix missing version upgrades from older 2.3.61 releases and earlier; Drop support for upgrading ancient RC releases 2021-11-16 18:08:28 -05:00
Josh Patterson 6288365a50 Merge pull request #6254 from Security-Onion-Solutions/es_soup_ingest
wrap common ingest in raw endraw since json and no jinja
2021-11-16 16:47:53 -05:00
m0duspwnens 5448107310 wrap common ingest in raw endraw since json and no jinja 2021-11-16 16:43:33 -05:00
Mike Reeves adaf3faf90 Merge pull request #6253 from Security-Onion-Solutions/kilo 2021-11-16 16:13:31 -05:00
Jason Ertel 1bd8e226b4 Force DB migration since installations on 2.3.50 or earlier will skip the Kratos 0.6 version 2021-11-16 15:58:04 -05:00
Josh Patterson f60f0b5b6d Merge pull request #6246 from Security-Onion-Solutions/es_soup_ingest
soup for es ingest common and watch esingestdynamicconf for so-elastic docker
2021-11-16 14:05:15 -05:00
William Wernert adc867846c Merge pull request #6245 from Security-Onion-Solutions/fix/ubuntu-nic-unmanaged
Modify network-manager conf earlier in setup
2021-11-16 14:00:58 -05:00
m0duspwnens 5945326817 soup for es ingest common and watch esingestdynamicconf for so-elastic docker 2021-11-16 14:00:41 -05:00
William Wernert 90cbb5d00e Modify network-manager conf earlier in setup 2021-11-16 13:30:09 -05:00
Josh Brower 8bb2789c6f Merge pull request #6237 from Security-Onion-Solutions/kilo
Migrate to email field instead of username due to breaking change in …
2021-11-16 12:06:08 -05:00
Jason Ertel 11fc0da971 Migrate to email field instead of username due to breaking change in FleetDM 4.x 2021-11-16 12:03:46 -05:00
William Wernert 76a1d767f2 Merge pull request #6235 from Security-Onion-Solutions/feature/preflight-retry
Retry failed URLs in so-preflight + improve logging clarity
2021-11-16 11:11:02 -05:00
William Wernert a2152446ea Pad count string to align text 2021-11-16 11:08:13 -05:00
William Wernert d4d9032bfc Remove confusing punctuation 2021-11-16 10:56:49 -05:00
William Wernert 4e3f43bee4 Fix variable name 2021-11-16 10:53:22 -05:00
William Wernert 57377e0a0e Add retry support + more precise logging to so-preflight 2021-11-16 10:46:48 -05:00
Mike Reeves 2514d36ccd Merge pull request #6232 from Security-Onion-Solutions/TOoSmOotH-patch-3
Update init.sls
2021-11-15 17:11:08 -05:00
Mike Reeves 809dbc0a48 Merge pull request #6233 from Security-Onion-Solutions/TOoSmOotH-patch-4
Update soup
2021-11-15 17:10:52 -05:00
Mike Reeves b51405d5e8 Update soup 2021-11-15 17:04:46 -05:00
Mike Reeves d1cfc4a8dc Merge pull request #6231 from Security-Onion-Solutions/fix/whiptail-cutoff
Fix whiptail description text
2021-11-15 17:02:00 -05:00
Mike Reeves 731bbabe4c Update init.sls 2021-11-15 17:00:34 -05:00
William Wernert d4509ff4d8 Fix whiptail description text 2021-11-15 16:29:26 -05:00
Mike Reeves 85c0b0818b Merge pull request #6230 from Security-Onion-Solutions/fix/cidr-full-validation-bash
Check CIDR validity completely
2021-11-15 15:43:58 -05:00
William Wernert f674555290 Check CIDR validity completely 2021-11-15 15:43:05 -05:00
Josh Patterson a8aae544d5 Merge pull request #6229 from Security-Onion-Solutions/kibana_json_logging
change kibana logging to json
2021-11-15 14:27:04 -05:00
m0duspwnens 6f9db25ea7 change kibana logging to json 2021-11-15 14:23:47 -05:00
Mike Reeves 405e78858a Merge pull request #6228 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update soup
2021-11-15 14:07:23 -05:00
Mike Reeves 146e1f4297 Update soup 2021-11-15 14:05:29 -05:00
Mike Reeves f78e0fb7b9 Merge pull request #6227 from Security-Onion-Solutions/fix/fleetlogging
Fix env var for logging
2021-11-15 14:00:31 -05:00
Josh Brower 6e6d2d1949 Fix env var for logging 2021-11-15 13:52:35 -05:00
Josh Patterson ca5d20fecb Merge pull request #6225 from Security-Onion-Solutions/clean_meta_data
clean metadata with cmd.run instead of pkg module due to False return…
2021-11-15 11:03:41 -05:00
m0duspwnens dcfaece8b1 clean metadata with cmd.run instead of pkg module due to False return from module 2021-11-15 11:00:31 -05:00
Mike Reeves af0e062193 Merge pull request #6221 from Security-Onion-Solutions/fix/var-reference
Fix variable reference in so-functions
2021-11-15 09:49:07 -05:00
Mike Reeves 56acedfbf7 Merge pull request #6220 from Security-Onion-Solutions/fix/revert-python-validation
Fix/revert python validation
2021-11-15 09:44:31 -05:00
William Wernert 4b0a5c3a17 Un-revert validation test script 2021-11-15 09:43:43 -05:00
William Wernert 052192e1d6 Revert "Use python lib to make cidr validation more strict"
This reverts commit 569cb24861.
2021-11-15 09:43:18 -05:00
weslambert 92131d4bb7 Merge pull request #6215 from Security-Onion-Solutions/fix/eg_spelling
Fix spelling
2021-11-12 21:13:28 -05:00
weslambert 9ac1cb0e76 Fix spelling 2021-11-12 21:12:09 -05:00
Josh Patterson ffbb04bb5a Merge pull request #6213 from Security-Onion-Solutions/issue/5809
Issue/5809
2021-11-12 15:07:54 -05:00
m0duspwnens cc1dea446c Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into issue/5809 2021-11-12 15:02:22 -05:00
m0duspwnens 7f3379e034 verify manager pillars can be rendered before proceeding with soup - https://github.com/Security-Onion-Solutions/securityonion/issues/5809 2021-11-12 15:02:16 -05:00
weslambert 8c46a2d1db Merge pull request #6210 from Security-Onion-Solutions/fix/soc_pillar_soup
Add SOC pillar entry
2021-11-12 13:35:46 -05:00
William Wernert ba621639bd Merge pull request #6201 from Security-Onion-Solutions/fix/cidr-ip-validation
Improve cidr validation in setup and match ip validation to similar method
2021-11-12 13:34:19 -05:00
Wes Lambert 2fb9196604 Move logic above version declaration 2021-11-12 18:26:21 +00:00
Wes Lambert 48c71c8b12 Add soc pillar entry 2021-11-12 18:23:09 +00:00
weslambert 8d185ced61 Merge pull request #6209 from Security-Onion-Solutions/fix/endgame_setup
Adjust manager pillar config for Endgame and defaults
2021-11-12 12:27:55 -05:00
William Wernert 9141c271f0 Fix indent 2021-11-12 12:25:32 -05:00
weslambert bc2e470da9 Fix indentation 2021-11-12 12:20:00 -05:00
weslambert 0f817cd735 Merge pull request #6208 from Security-Onion-Solutions/fix/endgame_pivot
Make Endgame pivot independent
2021-11-12 12:17:24 -05:00
weslambert df5901a65d Adjust how manager pillar is populated for ENDGAME and default SOC config 2021-11-12 12:16:26 -05:00
weslambert 3cd1b5687e Make pivot condition independent for ENDGAMEHOST 2021-11-12 12:06:39 -05:00
Josh Patterson 86a42addf0 Merge pull request #6207 from Security-Onion-Solutions/so_elastic_auth_password_reset
https://github.com/Security-Onion-Solutions/securityonion/issues/6206
2021-11-12 11:43:31 -05:00
m0duspwnens 6bf4d5a576 https://github.com/Security-Onion-Solutions/securityonion/issues/6206 2021-11-12 11:37:55 -05:00
William Wernert efa5eb9f7f Merge pull request #6184 from Security-Onion-Solutions/foxtrot
Whiptail changes
2021-11-11 13:57:07 -05:00
Josh Patterson 22959f0260 Merge pull request #6195 from Security-Onion-Solutions/issue/6146
Issue/6146
2021-11-11 11:47:33 -05:00
m0duspwnens 8da2133cff give kibana.secrets pillar to import node 2021-11-11 11:31:07 -05:00
William Wernert 1472af4fc3 Merge branch 'dev' into foxtrot 2021-11-11 09:03:05 -05:00
Josh Brower f91a6d3cb6 Merge pull request #6194 from Security-Onion-Solutions/fix/fleetstandalone
Add Fleet Standalone Node to manager ssl
2021-11-11 08:52:29 -05:00
Josh Brower 96f427d924 Add so-fleet to cert requirements 2021-11-11 08:45:22 -05:00
Josh Brower 184356618c Add Fleet Standalone Node to manager ssl 2021-11-11 08:28:22 -05:00
William Wernert ed3b2e4569 Put entire ref to doc page on new line 2021-11-10 17:46:35 -05:00
William Wernert 62b41af069 Fix docs link being cut off 2021-11-10 17:17:19 -05:00
William Wernert 569cb24861 Use python lib to make cidr validation more strict
Also update ipv4 validation to match the method used to validate cidr strings
2021-11-10 16:53:01 -05:00
William Wernert ac22df8381 Merge branch 'dev' into foxtrot 2021-11-10 16:51:31 -05:00
Mike Reeves 446d6bd532 Merge pull request #6189 from Security-Onion-Solutions/soup2390
Soup2390
2021-11-10 16:49:46 -05:00
Mike Reeves fcf889be2f Add soup to 2.3.90 2021-11-10 16:46:24 -05:00
Mike Reeves 8168f19b31 Add soup to 2.3.90 2021-11-10 16:37:54 -05:00
Mike Reeves ba553d971c Add soup to 2.3.90 2021-11-10 16:31:44 -05:00
Mike Reeves 9137454a25 Add soup placeholders 2021-11-10 16:08:07 -05:00
m0duspwnens 7ebd861e32 enable secureCookies, security.encryptionKey and reporting.encryptionKey - https://github.com/Security-Onion-Solutions/securityonion/issues/6146 2021-11-10 16:05:40 -05:00
William Wernert d110b63050 Merge pull request #6187 from Security-Onion-Solutions/fix/so-rule-modify-example
Fix `so-rule modify` example
2021-11-10 14:31:28 -05:00
William Wernert 3806f10f8b Fix so-rule modify example 2021-11-10 14:18:32 -05:00
Jason Ertel 83bd314a63 Merge pull request #6186 from Security-Onion-Solutions/kilo
Upgrade to ES 7.15.2
2021-11-10 14:06:08 -05:00
Jason Ertel 6cd7b252df Upgrade to ES 7.15.2 2021-11-10 13:59:55 -05:00
Jason Ertel dea03bbf5e Upgrade to ES 7.15.2 2021-11-10 13:44:20 -05:00
Josh Brower 9edc543262 Merge pull request #6183 from Security-Onion-Solutions/delta
Upgrade FleetDM to 4.5
2021-11-10 11:35:12 -05:00
Josh Brower d3dc5ffc5a Fix salt syntax 2021-11-10 11:28:48 -05:00
William Wernert 2c296e832f Remove references to CURCLOSEDAYS in setup
Curator is configured differently now so the variable set during setup is no longer in use
2021-11-10 11:25:51 -05:00
Josh Brower b350174df1 Merge remote-tracking branch 'remotes/origin/dev' into delta 2021-11-10 11:08:36 -05:00
Josh Brower 67ebfeab16 Disable FleetDM usage stats 2021-11-10 10:49:56 -05:00
Josh Brower 435f430747 Fix enroll secret parsing 2021-11-10 10:24:53 -05:00
Josh Patterson aa9e1701f0 Merge pull request #6180 from Security-Onion-Solutions/issue/5794
timeout wazuh-register-agent faster
2021-11-10 09:58:05 -05:00
m0duspwnens 02d9b87f66 https://github.com/Security-Onion-Solutions/securityonion/issues/5794 2021-11-10 09:54:51 -05:00
Josh Patterson cfd46c1e58 Merge pull request #6176 from Security-Onion-Solutions/bravo
Grafana improvements, pillarize kibana
2021-11-10 09:18:47 -05:00
m0duspwnens 392305e4ed add engame changes that were missing from merge somehow 2021-11-10 09:01:42 -05:00
m0duspwnens 5ff14ab652 Merge remote-tracking branch 'origin/issue/6007' into bravo 2021-11-09 18:31:56 -05:00
m0duspwnens 1890c7244a set elasticsearch:auth to persist through user pw change 2021-11-09 18:25:17 -05:00
m0duspwnens a8c4ed7bbf set elasticsearch:auth:enabled True in auth pillar 2021-11-09 18:05:05 -05:00
m0duspwnens 91f54537d7 handle elasticsearch.auth state like kibana.secrets 2021-11-09 17:52:38 -05:00
m0duspwnens 7e3a4656aa change xpack update 2021-11-09 17:33:09 -05:00
m0duspwnens 8a04fcd919 change how key is added 2021-11-09 17:07:20 -05:00
m0duspwnens 409ab623a5 ensure kibana pillar dir exists 2021-11-09 16:49:45 -05:00
m0duspwnens ac85d1598e dont show changes 2021-11-09 16:44:54 -05:00
m0duspwnens 4c8e68e014 Merge remote-tracking branch 'remotes/origin/dev' into issue/3933 2021-11-09 16:42:47 -05:00
m0duspwnens 57c6e26634 encrypt kibana saved objects - https://github.com/Security-Onion-Solutions/securityonion/issues/6146 2021-11-09 16:41:25 -05:00
m0duspwnens b6a1d7418e fix typo, dont show changes for kibana.yaml or dashboard so 2021-11-09 16:14:48 -05:00
weslambert 6eb1a0b0ae Merge pull request #6169 from Security-Onion-Solutions/fix/ingest_dynamic_ref
Add dynamic conf to config change check
2021-11-09 16:11:38 -05:00
weslambert 9301b8f5b9 Add dynamic conf to config change check 2021-11-09 15:56:52 -05:00
m0duspwnens 202977a323 create so script to load saved object defaults 2021-11-09 15:54:15 -05:00
weslambert 9597373e4a Merge pull request #6167 from Security-Onion-Solutions/ecs_pipeline_common
Add config for dynamically formatted ingest pipelines
2021-11-09 15:41:43 -05:00
Wes Lambert f80b70e008 Add config for dynamically formatted ingest pipelines 2021-11-09 20:07:53 +00:00
William Wernert 04d2b52306 Fix IP route whiptail error 2021-11-09 14:03:32 -05:00
m0duspwnens af7830c2be remove reference to saved_objects in defaults 2021-11-09 13:52:47 -05:00
m0duspwnens 3c3cb47b88 merge with dev 2021-11-09 13:07:35 -05:00
m0duspwnens da4e92a7a3 change config id 2021-11-09 12:13:28 -05:00
Mike Reeves 3afb0bd263 Merge pull request #6161 from Security-Onion-Solutions/sslchange
Enable Subject Alt Name for registry
2021-11-09 10:53:38 -05:00
Josh Brower f6e6b20392 Add Name and OrgName to Fleet setup 2021-11-09 09:20:47 -05:00
William Wernert 3835a4401e Merge pull request #6157 from Security-Onion-Solutions/foxtrot
Fix preflight script on centos
2021-11-09 08:49:46 -05:00
William Wernert 4bae57d994 Fix preflight printing to log 2021-11-09 08:34:02 -05:00
William Wernert ea7289d92e Fix preflight script on centos 2021-11-09 08:20:19 -05:00
m0duspwnens 48eaf190e9 Merge remote-tracking branch 'remotes/origin/dev' into issue/6007 2021-11-08 17:00:06 -05:00
m0duspwnens 497de0fede hide vars on pipeline overview 2021-11-08 16:54:39 -05:00
m0duspwnens 70e3bc7eb8 hide vars on pipeline overview 2021-11-08 16:52:15 -05:00
Mike Reeves eefc9cfcb6 Enable Subject Alt Name for registry 2021-11-08 16:50:43 -05:00
m0duspwnens 42b8955883 panel cleanup 2021-11-08 16:33:57 -05:00
m0duspwnens f6b753b805 panel cleanup 2021-11-08 16:26:41 -05:00
m0duspwnens 17fc03a553 pipleine overview tc changes 2021-11-08 16:15:42 -05:00
weslambert 8bf88043ac Merge pull request #6149 from Security-Onion-Solutions/add_test_pipeline
Add ECS testing pipeline
2021-11-08 15:43:03 -05:00
m0duspwnens 79640342f2 update redis queue query 2021-11-08 15:20:28 -05:00
Mike Reeves 3ad47742bd Merge pull request #6150 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update acng.conf
2021-11-08 15:18:35 -05:00
Mike Reeves a8c02252dc Update acng.conf 2021-11-08 15:16:05 -05:00
m0duspwnens fbef420155 update redis queue query 2021-11-08 15:15:53 -05:00
m0duspwnens ccd84e441d add redis queue to pipeline overview 2021-11-08 15:09:46 -05:00
Wes Lambert 46d3eb452d Add ECS testing pipeline 2021-11-08 20:08:56 +00:00
Josh Brower 083d467aa9 Update to FleetDM 4.5 2021-11-08 15:05:58 -05:00
m0duspwnens f026ac1b41 pipeline overview tc changes 2021-11-08 15:02:52 -05:00
m0duspwnens 9ea292b11e fix query 2021-11-08 13:48:33 -05:00
m0duspwnens e2ee460fdd fix gridPos 2021-11-08 12:39:23 -05:00
m0duspwnens 5b70ff61d1 fix gridPos 2021-11-08 12:37:03 -05:00
m0duspwnens 3b2ca89852 use endif not fi 2021-11-08 12:20:07 -05:00
m0duspwnens 199c97684c fix nontc name in defaults 2021-11-08 12:10:23 -05:00
m0duspwnens d67e34dac4 add pipeline overview for true cluster 2021-11-08 12:09:35 -05:00
William Wernert 49a573074e Merge pull request #6142 from Security-Onion-Solutions/foxtrot
Whiptail changes
2021-11-08 11:29:58 -05:00
William Wernert 6c16d6d222 Update invalid hostname message 2021-11-08 11:15:28 -05:00
William Wernert acba82d194 Update dist install menus' top text 2021-11-08 11:04:51 -05:00
William Wernert f66d915f5d Normal hostname check already checks for localhost 2021-11-08 10:38:30 -05:00
William Wernert ee2dd75dfd Fix variable ref 2021-11-08 10:36:36 -05:00
William Wernert 50b7779d6e Make manager hostname error more specific 2021-11-08 10:35:28 -05:00
William Wernert ad71485361 Fix whiptail height 2021-11-08 10:21:55 -05:00
William Wernert 8b2cccdf4a More whiptail formatting 2021-11-08 10:21:17 -05:00
William Wernert dbe4a7de63 Fix new whiptail layouts 2021-11-08 10:19:38 -05:00
William Wernert 9c4bba9ac9 Fix variable reference 2021-11-08 10:08:23 -05:00
Doug Burks b3fd7c548c Merge pull request #6135 from Security-Onion-Solutions/dougburks-patch-1
Improve clarity in CONTRIBUTING.md
2021-11-08 08:53:50 -05:00
Doug Burks dcf6dfb676 Improve clarity 2021-11-08 06:38:16 -05:00
William Wernert 246d41c552 Add additional checks for manager hostname + ip
Check for current hostname, ip, and localhost (ip + string) when setting the manager ip and hostname
2021-11-05 15:56:08 -04:00
William Wernert 988932293f Whiptail changes
* Ask whether to join to or create new dist install
* Also add links to architecture on install type prompts
2021-11-05 15:54:17 -04:00
m0duspwnens 0b28e89f3c change how telegraf script determine if there is already and instance of the script already running 2021-11-04 23:22:13 -04:00
m0duspwnens 665732bd32 dont show points 2021-11-04 14:23:11 -04:00
m0duspwnens b599b49630 enable beat input plugin for telegraf 2021-11-04 13:52:45 -04:00
m0duspwnens edb3b602a9 pipeline overview dashboard changs 2021-11-04 10:59:01 -04:00
William Wernert a4289b7ab9 Merge pull request #6107 from Security-Onion-Solutions/foxtrot
Manage docker gid and run preflight check during setup
2021-11-04 10:07:05 -04:00
Mike Reeves 9b0ce8b395 Merge pull request #6090 from Security-Onion-Solutions/commonupdate
Make common template honor replicas
2021-11-03 14:04:19 -04:00
m0duspwnens 05456b38d1 update panel 2021-11-03 13:54:05 -04:00
m0duspwnens 4fc58e7a5a update panel 2021-11-03 13:51:57 -04:00
Mike Reeves dc07aba63d Update so-common-template.json.jinja 2021-11-03 13:50:31 -04:00
m0duspwnens f1d66e2d51 change searchnode var 2021-11-03 13:40:09 -04:00
m0duspwnens fab0dd2bad add repeating es ingest panel for nontc 2021-11-03 13:25:42 -04:00
Mike Reeves 747f14d60e Make common template honor replicas 2021-11-03 13:11:38 -04:00
William Wernert fb35ff40b4 Just hide whiptail cancel message on test installs 2021-11-03 10:41:44 -04:00
m0duspwnens 2cb31a4c05 fix query 2021-11-03 09:27:02 -04:00
m0duspwnens 32f986c505 change panel 2021-11-03 09:23:21 -04:00
m0duspwnens c8ee67f354 update panel for pipeline_overview 2021-11-03 09:12:32 -04:00
m0duspwnens db80315c06 rename panel 2021-11-03 08:37:33 -04:00
m0duspwnens 8e3b08a831 start of pipeline dashboard 2021-11-03 08:33:20 -04:00
m0duspwnens 677f62ebd1 dont show changes for telegraf conf 2021-11-02 18:22:37 -04:00
William Wernert d927e79154 Exit on failed preflight check during testing 2021-11-02 16:17:08 -04:00
William Wernert 8670aa6cd8 Run check-update in preflight instead of update 2021-11-02 14:29:58 -04:00
William Wernert 7c7c225a41 Fix tmp file check 2021-11-02 14:01:21 -04:00
m0duspwnens 54b034b537 fix spacing on es input 2021-11-02 13:43:59 -04:00
m0duspwnens 2232759fa4 rename file 2021-11-02 12:21:54 -04:00
m0duspwnens f65eea6a03 rename file 2021-11-02 12:09:32 -04:00
William Wernert e4a77acfe6 Move whiptail menus outside of progress func 2021-11-02 12:03:42 -04:00
William Wernert 9671dab2a3 Make so-preflight executable 2021-11-02 11:48:24 -04:00
William Wernert e6adb46364 Run so-preflight during setup 2021-11-02 11:18:23 -04:00
m0duspwnens 7abb2e5935 monitor interface graph total 2021-11-02 11:07:29 -04:00
m0duspwnens 561f86eac8 change eps graphs to use logstash data and not consumptioneps script 2021-11-02 11:06:29 -04:00
William Wernert 9a9d1480de Manage docker group's gid to prevent gid overlap 2021-11-02 10:41:36 -04:00
Josh Brower 8b52f87a60 Merge pull request #6066 from Security-Onion-Solutions/fix/evtx-import-elastic-creds
Fix/evtx import elastic creds
2021-11-02 09:25:25 -04:00
Josh Brower a6f399acf4 Fix evtx import logging 2021-11-02 09:19:32 -04:00
Josh Brower 3534256517 Add evtx import logging 2021-11-02 09:03:52 -04:00
m0duspwnens b109d95d6f add max to zeek capture loss legend 2021-11-02 09:02:48 -04:00
Josh Brower b756c0cd38 Pull ES Creds at Runtime 2021-11-02 08:57:11 -04:00
m0duspwnens 3517ea3f2a select last value for cpucount var 2021-11-02 08:41:57 -04:00
m0duspwnens 5d414c8bdd remove logstash row from manager 2021-11-02 08:36:13 -04:00
Josh Brower 2b56b53c15 Merge pull request #6064 from Security-Onion-Solutions/feature/support_non-wel_beats
Support non-WEL Beats
2021-11-02 08:29:48 -04:00
Josh Brower 2ba619144c Support non-WEL Beats 2021-11-02 08:23:29 -04:00
m0duspwnens a9be0a0409 create and add mon traffic combined graph to sensor dash 2021-11-02 07:55:39 -04:00
m0duspwnens bf116d210e mostly overview dash panel changes 2021-11-01 17:48:02 -04:00
William Wernert f8b62b63f9 Merge pull request #6061 from Security-Onion-Solutions/foxtrot
Fix NIC string values for VLAN tagged interfaces
2021-11-01 16:43:52 -04:00
m0duspwnens f4d9455872 revert to b63b50d98c 2021-11-01 16:10:13 -04:00
m0duspwnens 936c796b9d Revert "graph changes"
This reverts commit 8857fca797.
2021-11-01 15:19:50 -04:00
m0duspwnens 8ff122262c Revert "update many panels"
This reverts commit b63b50d98c.
2021-11-01 14:50:57 -04:00
m0duspwnens c4a1fbd82a remove old json 2021-11-01 14:39:03 -04:00
m0duspwnens 8857fca797 graph changes 2021-11-01 14:36:41 -04:00
m0duspwnens b63b50d98c update many panels 2021-11-01 14:06:01 -04:00
William Wernert c17187708e Merge branch 'dev' into foxtrot 2021-11-01 12:46:43 -04:00
Mike Reeves 095e6bd48c Merge pull request #6044 from Burak-PLT/patch-1
Update auth.sls
2021-11-01 10:22:16 -04:00
m0duspwnens c4b9244f9a add gridPos 2021-10-29 17:24:50 -04:00
m0duspwnens 2ba548fcfc grafana bug fixes and improvements - https://github.com/Security-Onion-Solutions/securityonion/issues/6007 2021-10-29 17:11:51 -04:00
William Wernert f76a52b2ee Fix NIC string values for VLAN tagged interfaces 2021-10-29 13:34:23 -04:00
William Wernert b555ad16da Merge pull request #6052 from Security-Onion-Solutions/foxtrot
Foxtrot
2021-10-29 10:52:51 -04:00
William Wernert b1c67f696e Re-order logic to maintain backwards compatibility 2021-10-29 10:47:05 -04:00
William Wernert d08149f728 Don't set INTERWEBS variable on automated minions 2021-10-29 10:11:47 -04:00
William Wernert a5cba5ecf8 Merge branch 'dev' into foxtrot 2021-10-29 10:01:46 -04:00
Burak-PLT f081938be5 Update auth.sls
Change default password lengths to 72 characters from 20.
2021-10-28 16:00:58 -04:00
William Wernert c2b18efdbb Minions still need to be ISO installs to be airgap 2021-10-28 11:59:42 -04:00
William Wernert 6b480a5ba4 Change airgap check to something that doesn't require root 2021-10-28 11:51:50 -04:00
William Wernert d6eeb0b735 Gen ssh key sooner 2021-10-28 10:04:03 -04:00
Josh Patterson 3000c57428 Merge pull request #6039 from Security-Onion-Solutions/issue/5759
Issue/5759
2021-10-28 09:24:44 -04:00
m0duspwnens 5c5b4004e9 Merge remote-tracking branch 'remotes/origin/dev' into issue/5759 2021-10-28 08:52:04 -04:00
Josh Patterson 05e0f92ec5 Merge pull request #6036 from Security-Onion-Solutions/issue/5955
include ssl state in telegraf state
2021-10-28 08:50:57 -04:00
m0duspwnens 0cea5e8f22 include ssl state in telegraf state 2021-10-28 08:46:27 -04:00
m0duspwnens 7eb42fa6bd change boolean 2021-10-28 08:43:03 -04:00
m0duspwnens 18ce9c7819 disable zeekpacketlosscron and telegraf checks if zeek is diabled via pillar 2021-10-28 07:46:02 -04:00
Mike Reeves b3e5319806 Merge pull request #6028 from Security-Onion-Solutions/telecluster
Enable cluster stats
2021-10-27 16:37:42 -04:00
Mike Reeves c8c8cf203f Enable cluster stats 2021-10-27 15:44:52 -04:00
Josh Patterson 19056b9177 Merge pull request #6027 from Security-Onion-Solutions/issue/5955
Issue/5955
2021-10-27 15:07:22 -04:00
William Wernert 75490a2536 Fix typo 2021-10-27 14:59:24 -04:00
William Wernert eee612e73d Make folder/file states explicit
Rather than using /nsm/zeek (max_depth: 1) create explicit states for /nsm/zeek/spool and /nsm/zeek/spool/state.db that set correct ownership
2021-10-27 11:43:09 -04:00
William Wernert 9e9079f9cb Reorder airgap prompt and add additional logic
Setup should now only ask the user whether to setup as airgap on manager-type installs. For all distributed minions setup will now inherit the airgap boolean from the manager.
2021-10-27 11:03:00 -04:00
William Wernert 331801eec2 Merge branch 'dev' into foxtrot 2021-10-27 10:58:16 -04:00
William Wernert a0216cea57 Merge pull request #6021 from Security-Onion-Solutions/fix/update-mysql-root-user
Update ip for root user in mysql when running so-ip-update
2021-10-27 10:55:11 -04:00
m0duspwnens e7f43cff5e limit nodes that bind filebeat certs in so-logstash 2021-10-27 10:45:10 -04:00
William Wernert 90d473f2d6 Update ip for root user in mysql when running so-ip-update 2021-10-27 10:42:33 -04:00
m0duspwnens bf403a8307 only manager nodes get cert, key and att&ck binds 2021-10-27 09:47:12 -04:00
m0duspwnens 58d62f29ea include ssl state in registry state 2021-10-26 11:55:47 -04:00
Mike Reeves bcf03773c0 Merge pull request #6009 from Security-Onion-Solutions/stenoports
Remove port bindings for steno
2021-10-26 10:58:11 -04:00
m0duspwnens c0dd9efd9b change so-thehive-es binds and requires 2021-10-26 10:50:16 -04:00
m0duspwnens 36ae07b78e change timeout from 60 to 120 2021-10-26 10:49:50 -04:00
Mike Reeves d77328608e Remove port bindings for steno
Steno runs in host mode so port bindings are not required
2021-10-26 10:23:33 -04:00
m0duspwnens 682cbfd223 remove the mode 2021-10-26 09:23:24 -04:00
m0duspwnens fa2edb2b59 make cortex_init and hive_init time out after 1 minutes vs 5 minutes 2021-10-26 08:39:30 -04:00
m0duspwnens 0c679b62b2 Merge remote-tracking branch 'remotes/origin/dev' into issue/5955 2021-10-25 16:29:41 -04:00
m0duspwnens 7e8d74e770 just use mode 2021-10-25 15:50:27 -04:00
m0duspwnens 9a78d13bee change perms on mysql 2021-10-25 15:37:23 -04:00
Jason Ertel c469d12a49 Merge pull request #6002 from Security-Onion-Solutions/kilo
Update whiptail links to use latest docs
2021-10-25 15:08:31 -04:00
Jason Ertel d5f42e0d7c Update whiptail links to use latest docs 2021-10-25 15:06:42 -04:00
weslambert 926551d398 Merge pull request #5998 from Security-Onion-Solutions/fix/hl_host_name
Rename HTTP client headers and host
2021-10-25 13:21:11 -04:00
weslambert 3be0d05eea Update field removal based on HTTP input changes 2021-10-25 13:16:30 -04:00
weslambert 7fa43a276a Rename default headers and host for HTTP input 2021-10-25 13:15:20 -04:00
William Wernert 2bfedbd581 Merge pull request #5996 from Security-Onion-Solutions/fix/escape-node-desc
Escape single quotes and allow for any character in node description
2021-10-25 10:53:36 -04:00
William Wernert dca30146ab Merge branch 'dev' into foxtrot 2021-10-25 10:50:25 -04:00
William Wernert 6e34905b42 Escape single quotes and allow for any character in node description 2021-10-25 10:48:09 -04:00
m0duspwnens ee7e714f43 change to file_mode 2021-10-22 16:55:23 -04:00
m0duspwnens d7e5377a44 more requires 2021-10-22 16:46:45 -04:00
William Wernert 38b16a507b Update ip for root user in mysql when running so-ip-update 2021-10-22 15:29:32 -04:00
William Wernert 17af513692 Escape single quotes and allow for any character in node description 2021-10-22 15:28:37 -04:00
m0duspwnens 283f7296bc fix require 2021-10-22 14:45:22 -04:00
m0duspwnens 9f6407fcb0 fix dupe ids 2021-10-22 14:26:04 -04:00
m0duspwnens f61400680d fix dupe ids 2021-10-22 14:22:15 -04:00
m0duspwnens fed8bfac67 more requires on docker containers 2021-10-22 14:10:59 -04:00
William Wernert 62971d8c15 Add Fleet custom hostname to end summary 2021-10-22 11:57:47 -04:00
William Wernert 352e30f9e1 Add CUSTOM_FLEET_HOSTNAME to subjectAltName of fleet.key
Resolves #4319
2021-10-22 11:16:29 -04:00
m0duspwnens 451b19dc4d change from file to x509 2021-10-22 09:53:20 -04:00
William Wernert d5d970672d Merge pull request #5974 from Security-Onion-Solutions/foxtrot
Add so-deny script + rewrite so-allow to match
2021-10-21 16:37:05 -04:00
m0duspwnens f93c6146f5 docker binds requires 2021-10-21 15:24:55 -04:00
weslambert 40dd33affe Merge pull request #5971 from Security-Onion-Solutions/feature/es_templates
Add .keyword subfield for conflict fields
2021-10-21 15:07:00 -04:00
William Wernert f374dcbb58 Check for IP environment variable in so-allow and so-deny 2021-10-21 13:54:06 -04:00
weslambert 77ee1db44c Add .keyword subfield for conflict fields 2021-10-21 12:56:03 -04:00
Josh Patterson 8784d65023 Merge pull request #5967 from Security-Onion-Solutions/issue/5954
require files before starting soc or kratos
2021-10-21 11:15:36 -04:00
William Wernert 15fe7512b7 Install lxml during setup and in common state 2021-10-21 10:49:41 -04:00
William Wernert 0beeeb94bf Actually add new so-allow script 2021-10-21 10:48:17 -04:00
m0duspwnens 928aed27c5 require files before starting soc or kratos 2021-10-20 17:04:02 -04:00
William Wernert 387d4d6ad5 Add so-deny script + rewrite so-allow to match so-deny 2021-10-20 16:44:57 -04:00
William Wernert adf6cb4b3c Merge branch 'dev' into foxtrot 2021-10-20 16:44:50 -04:00
William Wernert 0ed2ce0766 Fix validation.sh tests 2021-10-20 16:44:09 -04:00
William Wernert b5cb47e066 Fix sbin perms 2021-10-20 16:43:55 -04:00
Josh Patterson 8061508330 Merge pull request #5961 from Security-Onion-Solutions/issue/5960
Issue/5960
2021-10-20 16:08:50 -04:00
m0duspwnens adffb11800 fix redis port 2021-10-20 15:39:21 -04:00
m0duspwnens 8619af59cc servers to list format 2021-10-20 15:02:33 -04:00
m0duspwnens 7ecfb55b70 fix pillar call 2021-10-20 14:50:50 -04:00
m0duspwnens b496810b63 add redis and logstash input plugins to telegraf 2021-10-20 14:46:47 -04:00
Mike Reeves e1ad02c28d Merge pull request #5949 from Security-Onion-Solutions/kilo
Fix Docker-created corruption of SOC user roles file
2021-10-19 18:37:37 -04:00
Jason Ertel 2f8bb5a2a6 Fix Docker-created corruption of SOC user roles file 2021-10-19 16:04:10 -04:00
weslambert 6f3e441bf7 Merge pull request #5945 from Security-Onion-Solutions/fix/soc_index_pattern
Remove space to allow pattern(s) to be correctly interpreted
2021-10-19 13:05:40 -04:00
Mike Reeves 7f1585dcc0 Merge pull request #5942 from Security-Onion-Solutions/tunesteno
Fix Steno Math for PL
2021-10-19 13:03:50 -04:00
weslambert 9453ed7fa1 Remove space to allow pattern(s) to be correctly interpreted 2021-10-19 13:01:40 -04:00
Mike Reeves 64f25961b0 Fix Steno Math for PL 2021-10-19 11:15:58 -04:00
Mike Reeves b9a3d3a6a9 Fix Steno Math for PL 2021-10-19 11:14:02 -04:00
m0duspwnens 36cb0d6c42 remove space 2021-10-18 14:34:33 -04:00
m0duspwnens 1b2268dfe5 load kibana configs during setup 2021-10-18 14:30:47 -04:00
Mike Reeves 00e5b54dda Merge pull request #5911 from Security-Onion-Solutions/tunesteno
Add Steno Tuning Options
2021-10-18 09:01:14 -04:00
Mike Reeves 4016b416ec Merge pull request #5923 from Security-Onion-Solutions/kilo
Upgrade to ES 7.15.1
2021-10-16 09:15:06 -04:00
weslambert 7590728a0b Merge pull request #5915 from Security-Onion-Solutions/feature/ti_module
Add TI module
2021-10-15 17:17:33 -04:00
weslambert bb36fc1ed8 Add TI module defaults 2021-10-15 17:16:38 -04:00
weslambert d0a6dafc8b Add TI module 2021-10-15 17:09:59 -04:00
m0duspwnens 76097476d3 remove includes 2021-10-15 16:57:38 -04:00
m0duspwnens 8b3b0bf160 fix opts 2021-10-15 16:51:11 -04:00
m0duspwnens f19680b3e6 fix opts 2021-10-15 16:50:03 -04:00
m0duspwnens 7e1bbe3cc2 define MAANGER 2021-10-15 16:14:14 -04:00
m0duspwnens 947285e932 update cmd.run amd s_o files 2021-10-15 16:06:25 -04:00
m0duspwnens 1741f5068a update config-load to do an update or import 2021-10-15 15:35:30 -04:00
Mike Reeves a9f6c84d7c Add Steno Tuning Options 2021-10-15 14:17:54 -04:00
weslambert 59852841ff Add keyword subfield for event.module 2021-10-15 13:29:50 -04:00
weslambert 6f1f7d2a63 Merge pull request #5905 from Security-Onion-Solutions/feature/soc_es_index_pattern
Allow setting ES index patterns for SOC in pillar
2021-10-15 13:28:04 -04:00
Jason Ertel 8de8d58155 Upgrade to ES 7.15.1 2021-10-15 13:27:08 -04:00
Wes Lambert 8feeff97b5 Add EG index pattern during setup (if enabled) 2021-10-15 16:19:19 +00:00
Wes Lambert 032373187c Allow setting ES index patterns for SOC in pillar 2021-10-15 16:02:53 +00:00
William Wernert db2b70f655 Merge pull request #5900 from Security-Onion-Solutions/foxtrot
Replace rather than append to Kibana misc log
2021-10-15 10:27:25 -04:00
Jason Ertel 1800ec4570 Upgrade to Elastalert 2 v2.2.2 2021-10-15 09:25:44 -04:00
Mike Reeves 8a5960c220 Merge pull request #5896 from Security-Onion-Solutions/kilo 2021-10-14 18:05:33 -04:00
Jason Ertel 9797a15218 Fix issue with 'so-user delete' resetting all user roles - note that this function is not technically supported or published since it's not intended for production use 2021-10-14 17:23:18 -04:00
William Wernert c7b15a9b1f Replace rather than append to Kibana misc log 2021-10-14 15:13:55 -04:00
William Wernert cba97802fe Fix indent 2021-10-14 15:13:34 -04:00
William Wernert 025256aeaf Merge pull request #5890 from Security-Onion-Solutions/foxtrot
Misc setup changes
2021-10-14 14:55:24 -04:00
weslambert 490f7eaf81 Merge pull request #5886 from Security-Onion-Solutions/feature/eg_pivot
Add EG pivot
2021-10-14 14:49:38 -04:00
m0duspwnens 6a2bf11a75 change format of file 2021-10-14 13:43:39 -04:00
m0duspwnens 78d30285b1 seperate securitySolutions load 2021-10-14 13:24:51 -04:00
Wes Lambert f1fafa015e Add EG to list of groups to include 127.0.0.1 2021-10-14 16:27:28 +00:00
Wes Lambert 6cdc214582 Add pillar in setup and change name of EG variable 2021-10-14 15:33:37 +00:00
Wes Lambert 15049f44b9 Add EG pivot 2021-10-14 15:15:23 +00:00
Doug Burks 42a642b85c Merge pull request #5873 from petiepooo/enh-rediscount-tty
featreq: remove tty flag in redis-count script
2021-10-14 10:07:07 -04:00
weslambert 3b45e68ead Merge pull request #5885 from Security-Onion-Solutions/feature/jinjafy_soc_actions
Allow SOC actions to use Jinja
2021-10-14 10:03:12 -04:00
Wes Lambert 5ee0ea3fe7 Allow SOC actions to use Jinja 2021-10-14 13:59:55 +00:00
weslambert 55c60f485c Merge pull request #5884 from Security-Onion-Solutions/feature/hl_eg
Add EG firewall allowance via setup
2021-10-14 09:55:07 -04:00
Wes Lambert 78e88e0765 Add EG firewall allowance via setup 2021-10-13 21:42:54 +00:00
Wes Lambert a9b250c0f4 Add EG firewall config 2021-10-13 21:37:59 +00:00
m0duspwnens ae9753326a fix var, quote vars 2021-10-13 16:38:01 -04:00
m0duspwnens c8fb504ee0 Revert "Merge remote-tracking branch 'remotes/origin/dev' into issue/3933"
This reverts commit 54eec92621, reversing
changes made to 7832e59629.
2021-10-13 15:22:46 -04:00
m0duspwnens 54eec92621 Merge remote-tracking branch 'remotes/origin/dev' into issue/3933 2021-10-13 15:19:33 -04:00
m0duspwnens 7832e59629 only load default kibana saved_objects during setup 2021-10-13 15:19:20 -04:00
weslambert f9001654bb Merge pull request #5871 from Security-Onion-Solutions/feature/hl_eg
Initial EG stuff
2021-10-13 15:07:03 -04:00
Wes Lambert 2a504a061b Add Curator action files for EG indices 2021-10-13 18:40:34 +00:00
m0duspwnens bb9c6446e4 Merge remote-tracking branch 'remotes/origin/dev' into issue/3933 2021-10-13 14:01:36 -04:00
Pete e7581036f7 remove tty/interactive flags
This call to docker exec simply returns a number.  No interaction (stdin) or tty is required.  Specifically, having the -t option prevents running via salt using a command such as:

> salt '*' cmd.run 'so-redis-count'
2021-10-13 13:51:05 -04:00
Wes Lambert e1629d7ec4 Initial EG stuff 2021-10-13 17:13:07 +00:00
Josh Patterson b4873bd296 Merge pull request #5868 from Security-Onion-Solutions/issue/5818
Issue/5818
2021-10-13 12:52:48 -04:00
m0duspwnens 3044edb104 update comment 2021-10-13 12:38:58 -04:00
m0duspwnens a495779552 only 3 attempts with 120s max attemps 2021-10-13 12:34:56 -04:00
m0duspwnens 880c1b97b0 remove $ from var 2021-10-13 12:25:11 -04:00
m0duspwnens 7a4fa8879c change count, attempts and timeout 2021-10-13 12:13:24 -04:00
m0duspwnens adb8292814 add missing ) 2021-10-13 10:37:18 -04:00
m0duspwnens 6e7a5fa326 add timeouts to check_salt_minion_status and check_salt_master_status - https://github.com/Security-Onion-Solutions/securityonion/issues/5818 2021-10-13 09:45:15 -04:00
m0duspwnens 23ea53248d single line format 2021-10-12 14:15:37 -04:00
m0duspwnens f1a5991699 add securitySolution.defaultIndex to defaults 2021-10-12 12:35:13 -04:00
m0duspwnens c69ad091f7 update saved_objects config 2021-10-12 12:02:30 -04:00
William Wernert b97361fab9 Remove references to xenial in setup
Resolves #4292
2021-10-12 10:23:39 -04:00
William Wernert 36e1795295 Add end of setup log messages per #5032 2021-10-12 10:19:47 -04:00
m0duspwnens 498e385484 change name to SAVED_OBJECTS 2021-10-12 10:15:39 -04:00
William Wernert af687b0706 Remove all holds on Ubuntu reinstall 2021-10-12 10:10:34 -04:00
m0duspwnens 19489f3626 Merge remote-tracking branch 'remotes/origin/dev' into issue/3933 2021-10-12 10:07:40 -04:00
m0duspwnens 89d1df8a1d change name to SAVED_OBJECTS 2021-10-12 10:07:26 -04:00
William Wernert 946cf81a27 If ANALYST is selected immediately quit setup 2021-10-12 09:48:38 -04:00
Mike Reeves 2561480371 Merge pull request #5850 from Security-Onion-Solutions/kilo
Upgrade to Kratos 0.7.6-alpha.1
2021-10-12 08:19:25 -04:00
Jason Ertel d21dee162d Add Note field to user traits; Enforce max length restrictions on email, firstname, lastname, and note fields 2021-10-08 12:39:17 -04:00
Mike Reeves 444d067112 Merge pull request #5813 from Security-Onion-Solutions/macleod
Highlander changes
2021-10-08 10:06:18 -04:00
Mike Reeves 2a82373051 highlander fixes 2021-10-08 09:32:13 -04:00
Mike Reeves 64758a534c Set ml to true 2021-10-08 08:42:26 -04:00
m0duspwnens 7517a63008 disabled ml 2021-10-07 13:06:52 -04:00
m0duspwnens b2facdf31c add securitySolutions advanced setting 2021-10-07 12:57:28 -04:00
m0duspwnens 4c54d6309c change host to 0.0.0.0 2021-10-07 09:59:29 -04:00
Jason Ertel 62c3afc81d Migrate users from locked to inactive during soup 2021-10-06 15:45:35 -04:00
Jason Ertel 7d8c8144b0 Drop obsolete status trait 2021-10-06 12:52:41 -04:00
Jason Ertel a2c4fce1ef Switch to use state attribute in identities for enabling/disabling users 2021-10-06 11:53:10 -04:00
m0duspwnens 599aba43d9 restart so-kibaba if config changes 2021-10-06 09:51:16 -04:00
m0duspwnens fa4f92cdda change defaults 2021-10-05 17:35:44 -04:00
m0duspwnens 5d98c0d14c fix dict update 2021-10-05 15:57:57 -04:00
Mike Reeves 27614569e3 Fix set 2021-10-05 14:32:02 -04:00
m0duspwnens ec357cca3c fix cars 2021-10-05 12:57:30 -04:00
m0duspwnens 26681ac98a var for dash saved objevs 2021-10-05 12:46:21 -04:00
m0duspwnens 748f0f2a1d Merge remote-tracking branch 'remotes/origin/dev' into issue/3933 2021-10-05 12:12:56 -04:00
Mike Reeves 869af548af Fix spaces for highlander 2021-10-05 11:06:13 -04:00
Mike Reeves 2fd344822d Add additional roles for highlander 2021-10-05 10:40:40 -04:00
Mike Reeves a3e0fb127a Merge pull request #5069 from datlife/datlife/asn-annotation
Add ASN annotation for IP
2021-10-05 06:50:31 -04:00
Dat 9569e73bd0 Added ASN annotation for IP 2021-10-04 12:41:20 -07:00
m0duspwnens 96d783b158 merge with dev 2021-10-04 10:39:48 -04:00
m0duspwnens e0c097c270 add dashboard theme defaults 2021-10-04 10:36:58 -04:00
Mike Reeves e6fce4cf3e Merge pull request #5749 from Security-Onion-Solutions/kilo
Use safe_load to avoid warnings - credit to @clairmont32
2021-10-04 08:55:53 -04:00
Jason Ertel 6ef9a5c95d Use safe_load to avoid warnings - credit to @clairmont32 2021-10-04 08:53:25 -04:00
Mike Reeves 727613b6e1 Merge pull request #5601 from Security-Onion-Solutions/special
Ubuntu 20.04 Beta
2021-10-04 08:51:01 -04:00
Mike Reeves 5013aa8490 Merge pull request #5748 from Security-Onion-Solutions/kilo
Merge ES Upgrade, Version Bump into dev
2021-10-04 08:48:07 -04:00
Jason Ertel 72a1b299ac Bump to 2.3.90 2021-10-04 08:44:51 -04:00
Mike Reeves cfaa0e679c Merge pull request #5739 from Security-Onion-Solutions/dev
2.3.80
2021-10-01 15:15:54 -04:00
Mike Reeves 4ddf2b49ce Merge pull request #5669 from Security-Onion-Solutions/2.3.80
2.3.80
2021-10-01 15:11:03 -04:00
m0duspwnens bb95963d73 add missing {{}} 2021-09-30 14:40:13 -04:00
m0duspwnens dfa9afde0e change to mode 2021-09-30 14:33:52 -04:00
m0duspwnens fa2333b9ef change t file.managed 2021-09-30 14:32:28 -04:00
m0duspwnens 8b9c43915d fix source 2021-09-30 14:30:00 -04:00
m0duspwnens 36832139b2 pillarize kibana 2021-09-30 14:28:31 -04:00
m0duspwnens c3bf835566 kibana config 2021-09-30 14:23:49 -04:00
m0duspwnens 39d3c7c6ed begin pillarization of kibana 2021-09-30 11:48:42 -04:00
Jason Ertel b1a5527e82 Update ElastAlert to use ElastAlert 2 2021-09-28 07:01:47 -04:00
Jason Ertel d0592c4293 Update ElastAlert to use ElastAlert 2 2021-09-28 00:51:29 -04:00
Mike Reeves b1d0e3e93f 2.3.80 2021-09-27 12:32:45 -04:00
Mike Reeves b069377c8a 2.3.80 2021-09-27 10:13:42 -04:00
Jason Ertel e9a44c6e1b Merge pull request #5662 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update README.md
2021-09-27 09:28:46 -04:00
Mike Reeves 275163f85d Update README.md 2021-09-27 07:36:54 -04:00
William Wernert 98f74c25ba Fix variable reference in so-functions 2021-09-24 12:32:56 -04:00
William Wernert 3064800820 Merge pull request #5636 from Security-Onion-Solutions/fix/soup-2.3.80
Misc. soup fixes
2021-09-23 13:03:43 -04:00
William Wernert f8bea82430 Make redirect consistent with setup 2021-09-23 12:57:08 -04:00
William Wernert 8b905b585d Fix redirect to append 2021-09-23 12:55:06 -04:00
William Wernert b44358fc26 Add set +e after final upgrade steps and before post-upgrade checks 2021-09-23 12:49:42 -04:00
William Wernert 8a9dcb7fdb Fix "upgrade to" message
Only specify "to" version and change when the upgrade message occurs
2021-09-23 12:47:22 -04:00
William Wernert a01d49981c Redirect thehive/cortex migrate curl output to soup log 2021-09-23 12:45:44 -04:00
William Wernert b8b1867e52 Tell user what soup is doing at end of upgrade 2021-09-23 12:43:23 -04:00
William Wernert 292ce37ce4 Merge pull request #5632 from Security-Onion-Solutions/fix/logscan-soup
Add logscan to images for pull during soup if it's enabled
2021-09-23 10:13:20 -04:00
William Wernert 73dacdcbff Add logscan to images for pull during soup if it's enabled 2021-09-23 09:52:23 -04:00
Josh Patterson bea7555464 Merge pull request #5631 from Security-Onion-Solutions/80soup
80soup
2021-09-22 16:01:45 -04:00
m0duspwnens 52c1298b9b notify of custom es config 2021-09-22 15:16:07 -04:00
m0duspwnens cdb9dcbaec notify of custom es config 2021-09-22 15:07:36 -04:00
Mike Reeves 37153288e8 Merge pull request #5627 from Security-Onion-Solutions/80soup
ignore manager pillar file for noderoutetype
2021-09-22 12:03:55 -04:00
m0duspwnens edf75255cf ignore manager pillar file for noderoutetype 2021-09-22 12:01:32 -04:00
Jason Ertel 9eb6f5942e Merge pull request #5623 from Security-Onion-Solutions/kilo
Prevent email addresses from having uppercase characters
2021-09-22 09:10:38 -04:00
Jason Ertel dae41d279a Prevent emails addresses from having uppercase characters 2021-09-22 08:25:55 -04:00
Mike Reeves 07288367cf Merge pull request #5611 from Security-Onion-Solutions/80soup
match elasticsearch at beginning of line
2021-09-21 15:42:09 -04:00
m0duspwnens f4186feffa move node_route_type 2021-09-21 15:40:49 -04:00
m0duspwnens d82e91f69e match elasticsearch at beginning of line 2021-09-21 13:54:45 -04:00
Josh Patterson a2680fad0a Merge pull request #5605 from Security-Onion-Solutions/80soup
fi xquotes
2021-09-21 13:02:58 -04:00
m0duspwnens 5c2be487f5 fi xquotes 2021-09-21 13:01:40 -04:00
Mike Reeves 531c9de488 Merge pull request #5600 from petiepooo/petiepooo-raidstat-fix
missing dollarsign
2021-09-21 11:35:57 -04:00
Pete 19efa493ad missing dollarsign 2021-09-21 11:21:07 -04:00
Mike Reeves 0db3f14261 Merge pull request #5598 from Security-Onion-Solutions/80soup
Soup Changes for True Clusters
2021-09-21 09:57:12 -04:00
Mike Reeves ed28e4d000 Soup Changes for True Clusters 2021-09-21 09:55:49 -04:00
Mike Reeves 2c8cbf0db1 Soup Changes for True Clusters 2021-09-21 09:53:09 -04:00
Mike Reeves c1537335b1 Fix Python Problem 2021-09-20 19:05:01 -04:00
Mike Reeves 5f475ff9cb Fix Python Problem 2021-09-20 18:46:43 -04:00
Mike Reeves 481ffb1cda Fix Grain 2021-09-20 18:12:18 -04:00
Mike Reeves 50b78681f2 Ubuntu 20.04 Support 2021-09-20 17:24:47 -04:00
Jason Ertel 3924b8f5db Merge pull request #5586 from Security-Onion-Solutions/kilo
Ensure identity ID parm is quoted now that it doesn't have embedded quotes in the value
2021-09-20 13:56:30 -04:00
Jason Ertel a9049eccd4 Ensure identity ID parm is quoted now that it doesn't have embedded quotes in the value 2021-09-20 13:30:05 -04:00
Mike Reeves 1a7237bcdf Merge pull request #5583 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update soup
2021-09-20 10:44:20 -04:00
Mike Reeves 1e5e1c9ef0 Update soup 2021-09-20 10:42:55 -04:00
Josh Patterson 47cd1ddc0a Merge pull request #5580 from Security-Onion-Solutions/issue/1257
Issue/1257 - Pillarize ES
2021-09-20 09:31:03 -04:00
m0duspwnens aed73511e4 file cleanup, comment cleanup 2021-09-20 09:24:03 -04:00
Jason Ertel a3f62c81c3 Merge pull request #5577 from Security-Onion-Solutions/kilo
Continuation of auth enhancements
2021-09-20 06:30:36 -04:00
Jason Ertel 730503b69c Ensure highstate migrates user roles 2021-09-18 23:17:49 -04:00
Jason Ertel 3508f3d8c1 Ensure ES user/role files are generated even if the primary admin user isn't yet created, since the system users are necessary for other installation functions 2021-09-18 19:20:43 -04:00
Jason Ertel 5704906b11 Create empty files for Docker to mount while installation continues 2021-09-18 15:49:05 -04:00
Jason Ertel 357c1db445 Recover from situation where roles file is corrupted 2021-09-18 11:08:35 -04:00
Jason Ertel 5377a1a85e Recover from situation where roles file is corrupted 2021-09-18 11:06:54 -04:00
Jason Ertel 7f2d7eb038 Continue migration of user emails to IDs 2021-09-18 07:20:34 -04:00
Jason Ertel 30e781d076 Use user ID instead of email as role master 2021-09-17 17:54:38 -04:00
m0duspwnens 01323cc192 fix clustername redirect 2021-09-17 15:44:54 -04:00
m0duspwnens 109c83d8c3 move custom es cluster name pillar location 2021-09-17 15:29:41 -04:00
m0duspwnens e864bc5404 move custom es cluster name pillar location 2021-09-17 15:28:35 -04:00
Josh Brower 22eb82e950 Merge pull request #5566 from Security-Onion-Solutions/feature/disable_services
Add support for disabling Zeek and Suricata
2021-09-17 14:18:03 -04:00
m0duspwnens b877aa44bc update dict 2021-09-17 14:10:45 -04:00
Josh Brower 4d307c53e8 Add support for disabling Zeek and Suricata 2021-09-17 13:01:50 -04:00
m0duspwnens d0c87cd317 allow for pillar override of defaults 2021-09-17 12:11:12 -04:00
m0duspwnens 0d074dafd4 add missing defaults 2021-09-17 09:52:50 -04:00
m0duspwnens 5b77dc109f Merge remote-tracking branch 'remotes/origin/dev' into issue/1257 2021-09-16 16:54:23 -04:00
m0duspwnens 3ce48acadd change cluster_settings to config 2021-09-16 16:44:31 -04:00
Jason Ertel fbd9bab2f1 Split apart roles and users into separate maps 2021-09-16 16:08:55 -04:00
m0duspwnens 5526a2bc3a reduce defaults.yaml 2021-09-16 15:32:08 -04:00
weslambert 18d81352c6 Merge pull request #5537 from Security-Onion-Solutions/delta
Add improved ignore functionality for YARA rules used by Strelka and add default ignored rules that break compilation
2021-09-16 10:38:49 -04:00
m0duspwnens 889d235c45 no box type more manager in true cluster 2021-09-16 09:15:24 -04:00
Jason Ertel 3fc26312e0 Remove x-user-id header from unauthenticated proxied requests 2021-09-16 08:52:31 -04:00
Jason Ertel b81d38e392 Merge branch 'dev' into kilo 2021-09-16 07:44:35 -04:00
Jason Ertel 82da0041a4 Add limited roles with restricted visibility 2021-09-16 07:44:15 -04:00
m0duspwnens 782b01e76f seed_hosts to list 2021-09-15 17:07:52 -04:00
m0duspwnens 3bf9685df8 fix seed_hosts append 2021-09-15 17:00:16 -04:00
m0duspwnens 4cf91f6c86 fix dict update 2021-09-15 15:51:00 -04:00
m0duspwnens a43b37f234 fix dict update 2021-09-15 15:49:18 -04:00
m0duspwnens e0dc62b6e9 fix dict update 2021-09-15 15:43:47 -04:00
m0duspwnens c213834316 update the dict 2021-09-15 15:24:40 -04:00
Josh Brower c06668c68e Merge pull request #5527 from Security-Onion-Solutions/feature/so-import-evtx
Feature/so import evtx
2021-09-15 14:17:15 -04:00
Josh Brower a75238bc3f so-import-evtx - fix ingest formatting 2021-09-15 14:13:16 -04:00
Josh Brower ac417867ed so-import-evtx - final fixes 2021-09-15 14:06:08 -04:00
m0duspwnens 1614b70853 update cluster name if true cluster 2021-09-15 13:45:43 -04:00
Mike Reeves 0882158e03 Merge pull request #5525 from Security-Onion-Solutions/soup80
soup changes 2.3.80
2021-09-15 13:44:54 -04:00
m0duspwnens 1a03853a7c fix extend 2021-09-15 13:38:29 -04:00
Mike Reeves aff571faf2 soup changes 2.3.80 2021-09-15 13:32:52 -04:00
m0duspwnens e0faa4c75b Merge branch 'issue/1257' of https://github.com/Security-Onion-Solutions/securityonion into issue/1257 2021-09-15 13:09:35 -04:00
m0duspwnens e3e2e1d851 logic for truecluster to map file 2021-09-15 13:09:04 -04:00
weslambert 2affaf07a2 Merge pull request #5521 from Security-Onion-Solutions/fix/strelka-yara
Fix/strelka yara
2021-09-15 11:33:44 -04:00
weslambert 39e5ded58d Refactor ignore list and only ignore for signature-base for now 2021-09-15 11:32:29 -04:00
weslambert 4d41d3aee1 Ignore these rules by default because they are causing issues with YARA compilation with Strelka 2021-09-15 10:29:11 -04:00
weslambert 5c8067728e Remove unnecessary logic 2021-09-15 10:22:17 -04:00
Josh Brower 1d905124d3 Merge pull request #5519 from Security-Onion-Solutions/fix/fleet-link
Fix Fleet Link Logic
2021-09-15 09:30:21 -04:00
Josh Brower e0a289182f Fix Fleet Link Logic 2021-09-15 09:28:23 -04:00
m0duspwnens 551dba955c set roles empty list 2021-09-15 09:20:33 -04:00
Jason Ertel 9970e54081 Adjust custom_role examples to be more realistic 2021-09-14 14:03:22 -04:00
Jason Ertel ff989b1c73 Include wording in so-user relating to optional role parameter 2021-09-14 14:03:00 -04:00
Mike Reeves 2ffb723bbd Rename so-common-template.json to so-common-template.json.jinja 2021-09-14 13:58:45 -04:00
Mike Reeves 6ae2fba71f Update search.sls 2021-09-14 13:57:26 -04:00
Mike Reeves 2cc25587d9 Update eval.sls 2021-09-14 13:57:04 -04:00
Mike Reeves 614a6dc9fe Update manager.sls 2021-09-14 13:56:43 -04:00
Josh Brower 4b7667d87f Merge pull request #5508 from Security-Onion-Solutions/fix/fleet-link
Fleet SA - SOC Link Fix
2021-09-14 13:29:20 -04:00
Josh Brower 74b0b365bd Fleet SA - SOC Link Fix 2021-09-14 13:23:07 -04:00
Josh Brower 0b0d508585 so-import-evtx - tweaks 2021-09-14 12:01:14 -04:00
m0duspwnens 0534a2dda3 Merge remote-tracking branch 'remotes/origin/dev' into issue/1257 2021-09-13 15:04:50 -04:00
m0duspwnens f8ab0ac8a9 config changes 2021-09-13 15:04:39 -04:00
m0duspwnens 0ae09cc630 config changes 2021-09-13 09:49:56 -04:00
Mike Reeves 332c4dda22 Merge pull request #5469 from Security-Onion-Solutions/fix/idstools-rule-clear
Allow so-rule-update to accept any number of args
2021-09-10 14:41:55 -04:00
William Wernert 679faddd52 Update so-rule-update to pass all args to docker exec
Instead of passing $1, build a string from all args and add that to the command string for the docker exec statement
2021-09-10 13:44:37 -04:00
William Wernert 0b42b19763 Update so-rule-update to source so-common 2021-09-10 13:41:58 -04:00
William Wernert 943bd3e902 Merge pull request #5468 from Security-Onion-Solutions/fix/idstools-rule-clear
Add `--force` flag to idstools-rulecat under so-rule-update
2021-09-10 13:17:16 -04:00
Mike Reeves 4af6a901a1 Merge pull request #5461 from Security-Onion-Solutions/truclusterrator
Add new hunt fields
2021-09-10 13:17:01 -04:00
William Wernert 9c310de459 Add --force flag to idstools-rulecat under so-rule-update
This forces idstools to pull from the url each time, which prevents it from clearing all.rules if idstools-rulecat is run twice within 15 minutes by any method (either restarting the container or running so-rule-update)
2021-09-10 13:15:09 -04:00
Mike Reeves 4f6a3269cb Add more detail to syscollector 2021-09-10 09:59:47 -04:00
Doug Burks 6a2e1df7d4 Merge pull request #5460 from Security-Onion-Solutions/feature/welcome-link-docs
FEATURE: Add docs link to Setup #5459
2021-09-10 07:27:48 -04:00
doug db50ef71b4 FEATURE: Add docs link to Setup #5459 2021-09-10 06:19:16 -04:00
Jason Ertel 4e2d5018a2 Merge pull request #5455 from Security-Onion-Solutions/kilo
Consolidate whiptail screens
2021-09-09 14:57:28 -04:00
Jason Ertel 94688a9adb Eliminate adv component popup 2021-09-09 14:29:09 -04:00
Jason Ertel 63f67b3500 Rephrase screen that warns about more RAM requirements 2021-09-09 14:16:05 -04:00
Mike Reeves eaa5e41651 Merge pull request #5450 from Security-Onion-Solutions/TOoSmOotH-patch-1
Fix Raid Status for cloud
2021-09-09 11:09:49 -04:00
Mike Reeves c83f119cc0 Update so-raid-status 2021-09-09 10:59:35 -04:00
Mike Reeves 5d235e932c Fix Raid Status for cloud 2021-09-09 10:46:28 -04:00
m0duspwnens 93f2cd75a4 add the jinja template 2021-09-09 10:19:46 -04:00
m0duspwnens f06ab8b77d testing defaults.yaml 2021-09-09 08:55:36 -04:00
weslambert 03b45512fa Merge pull request #5436 from Security-Onion-Solutions/fix/kibana_server_url
Incude server.publicBaseUrl
2021-09-08 12:13:48 -04:00
weslambert b8600be0f1 Incude server.publicBaseUrl 2021-09-08 12:12:09 -04:00
Jason Ertel 19a02baa7c Merge pull request #5425 from Security-Onion-Solutions/kilo
Auth enhancements
2021-09-07 13:10:36 -04:00
Jason Ertel 3c59579f99 Add maintenance privilege for analysts to refresh indices 2021-09-07 13:03:30 -04:00
Mike Reeves 3f989590ad Merge pull request #5402 from Security-Onion-Solutions/TOoSmOotH-patch-6
Enable index sorting by default but allow it to be disabled
2021-09-07 11:28:40 -04:00
Jason Ertel 72cff7ec7a Merge branch 'dev' into kilo 2021-09-07 10:49:08 -04:00
Mike Reeves e3900606dc Enable index sorting by default but allow it to be disabled 2021-09-04 10:42:18 -04:00
Mike Reeves a2fd8ae200 Merge pull request #5401 from rwaight/dev
Enable index sorting in `so-common-template.json`
2021-09-04 10:32:57 -04:00
Rob Waight b7591093cf Add index sorting to so-common-template.json
Add index sorting to so-common-template.json
2021-09-04 09:45:03 -04:00
Rob Waight 51439cd1ab Merge pull request #1 from Security-Onion-Solutions/dev
sync with SO/Dev
2021-09-04 09:43:23 -04:00
Jason Ertel 94ea1f856b Add auditor role; update analyst role with correct syntax 2021-09-03 15:59:48 -04:00
Jason Ertel fbbb7f4e85 Add auditor role; update analyst role with correct syntax 2021-09-03 15:54:05 -04:00
Mike Reeves 7b3a0cd1e4 Merge pull request #5394 from Security-Onion-Solutions/TOoSmOotH-patch-5
Add maxfiles to the steno config
2021-09-03 10:49:59 -04:00
Mike Reeves 9fb28709d5 Add maxfiles to the steno config 2021-09-03 10:47:00 -04:00
Jason Ertel 649f339934 Correct typo 2021-09-02 20:30:48 -04:00
Jason Ertel f659079542 Consolidate password validation messaging 2021-09-02 19:12:32 -04:00
Jason Ertel ce70380f0f resolve so-user errors from recent auth changes 2021-09-02 17:59:33 -04:00
Jason Ertel c4d402d8b4 Ensure role file exists before ES state is run 2021-09-02 15:45:47 -04:00
Mike Reeves 9f5dafd560 More Event Fields 2021-09-02 13:48:18 -04:00
Mike Reeves 1cee603ee4 Squid event fields 2021-09-02 13:24:04 -04:00
William Wernert a14854d56d Merge pull request #5383 from Security-Onion-Solutions/feature/soup-y
Add logic to check unattended flag when checking OS updates
2021-09-02 11:50:45 -04:00
Mike Reeves 2bf471054b Cloudtrail Event Fields 2021-09-02 11:46:18 -04:00
William Wernert 56894b9581 Add logic to check unattended flag when checking if updates are available 2021-09-02 11:15:32 -04:00
Jason Ertel 10126bb7ef Auth enhancements 2021-09-02 09:44:57 -04:00
Jason Ertel 6dfc943e8c Merge pull request #5382 from Security-Onion-Solutions/kilo
Correct invalid password message
2021-09-02 07:15:09 -04:00
Jason Ertel 84ecc3cba7 Merge branch 'dev' into kilo 2021-09-02 07:09:36 -04:00
Jason Ertel 0ad3d826eb Invalid password message should also mention that dollar signs are not allowed 2021-09-02 07:07:36 -04:00
William Wernert d785dafe2f Merge pull request #5374 from Security-Onion-Solutions/feature/soup-y
Add unattended soup flag, and iso location argument for air gap
2021-09-01 16:48:55 -04:00
Mike Reeves e3dffcc2cb Merge pull request #5373 from Security-Onion-Solutions/truclusterrator
Add eventfields for new default logs
2021-09-01 16:48:51 -04:00
Mike Reeves 556bad6925 Add eventfields for new default logs 2021-09-01 15:13:43 -04:00
William Wernert 446821e9fd Use exit code 0 when printing error message before exiting soup 2021-09-01 15:11:18 -04:00
William Wernert 576c893eb3 Exit on missing file argument 2021-09-01 15:08:53 -04:00
Mike Reeves 34a5d6e56a Merge pull request #5367 from Security-Onion-Solutions/truclusterrator
Allow closing of fb module indices in global
2021-09-01 10:54:02 -04:00
Mike Reeves 324e6b12e2 Add jinja template 2021-09-01 09:32:32 -04:00
Mike Reeves 007b15979a Non Cluster honor closed indices values 2021-09-01 09:25:14 -04:00
Mike Reeves c168703e9f Merge pull request #5362 from Security-Onion-Solutions/truclusterrator
True Cluster Curator Overhaul
2021-08-31 17:17:47 -04:00
Mike Reeves 527a793e94 Only enable curator on Manager in true cluster 2021-08-31 16:59:41 -04:00
Mike Reeves 61ebedc0e9 Only enable curator on Manager in true cluster 2021-08-31 16:56:08 -04:00
Mike Reeves e09aa4e5d4 Only enable curator on Manager in true cluster 2021-08-31 16:35:19 -04:00
Mike Reeves e7b04b862f Only enable curator on Manager in true cluster 2021-08-31 16:21:48 -04:00
Mike Reeves 62edfd0b7f Only enable curator on Manager in true cluster 2021-08-31 16:20:42 -04:00
Mike Reeves 958575c22a Only enable curator on Manager in true cluster 2021-08-31 16:17:55 -04:00
Mike Reeves 0c8e11dc9f Only enable curator on Manager in true cluster 2021-08-31 16:13:05 -04:00
Mike Reeves 5b9ef3bc0d Only enable curator on Manager in true cluster 2021-08-31 15:55:44 -04:00
Mike Reeves c12f380bc3 Only enable curator on Manager in true cluster 2021-08-31 15:51:34 -04:00
Mike Reeves dc25ed2594 Add logic for cronjobs 2021-08-31 15:43:48 -04:00
Mike Reeves 9f51f02ab4 Add logic for cronjobs 2021-08-31 15:40:09 -04:00
Mike Reeves f6f4375e13 Add logic for cronjobs 2021-08-31 15:34:26 -04:00
Mike Reeves ed116cf850 Add Actions for warm indices 2021-08-31 15:09:26 -04:00
Mike Reeves 476ecccbc1 Add Actions for warm indices 2021-08-31 15:08:10 -04:00
Mike Reeves c09cebbd6b Add Actions for close and delete in cluster mode 2021-08-31 13:42:11 -04:00
Mike Reeves 0ed92fd9bd Merge pull request #5359 from Security-Onion-Solutions/kilo
Merge 2.3.70 Wazuh hotfix into dev
2021-08-31 13:39:21 -04:00
Jason Ertel c3454c9e8a Merge branch 'master' into kilo 2021-08-31 13:37:46 -04:00
Mike Reeves 3425a0fe78 Delete Curators for all modules 2021-08-31 11:12:21 -04:00
Mike Reeves 9605eda559 Close Curators for all modules 2021-08-31 10:49:39 -04:00
Mike Reeves ff09d9ca58 Merge pull request #5355 from Security-Onion-Solutions/TOoSmOotH-patch-5
Update VERIFY_ISO.md
2021-08-31 10:06:12 -04:00
Mike Reeves 77b82bf2c0 Update VERIFY_ISO.md 2021-08-31 10:01:32 -04:00
Mike Reeves ccc8f9ff0a Merge pull request #5353 from Security-Onion-Solutions/hotfix/2.3.70 2021-08-31 09:57:05 -04:00
Mike Reeves 43d20226a8 Merge pull request #5352 from Security-Onion-Solutions/wazhf
2.3.70 WAZUH Hotfix sigs
2021-08-31 08:47:14 -04:00
Mike Reeves 4fe0a1d7b4 2.3.70 WAZUH Hotfix sigs 2021-08-31 08:39:37 -04:00
Mike Reeves 7a48a94624 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into truclusterrator 2021-08-31 08:22:55 -04:00
Mike Reeves 1aacc27cd4 Merge pull request #5340 from Security-Onion-Solutions/TOoSmOotH-patch-4
Update HOTFIX
2021-08-30 17:48:53 -04:00
Mike Reeves 92858cd13a Update HOTFIX 2021-08-30 17:38:29 -04:00
Mike Reeves 99cb38362a Merge pull request #5339 from Security-Onion-Solutions/hotfix/wazuh-update-exclude
wazuh-agent fix + pull in master
2021-08-30 17:37:47 -04:00
William Wernert bfd632e20a Add wazuh to exclude arg when running yum update 2021-08-30 14:21:13 -04:00
Mike Reeves 518f9fceb0 Merge pull request #5337 from Security-Onion-Solutions/TOoSmOotH-patch-3
Update HOTFIX
2021-08-30 12:33:43 -04:00
Mike Reeves 2b34da0fee Update HOTFIX 2021-08-30 12:32:44 -04:00
William Wernert 72859adb13 Fix typo in so-checkin 2021-08-27 15:23:01 -04:00
Mike Reeves a27263435a Add Templates for all filebeat modules 2021-08-27 14:41:04 -04:00
Mike Reeves f8cdf5bca3 Add Templates for all filebeat modules 2021-08-27 14:39:02 -04:00
William Wernert ca5339341f Fix batch size regex to disallow 0 2021-08-27 11:34:28 -04:00
William Wernert c5d120293d Initial work to add unattended option to soup 2021-08-27 11:33:51 -04:00
Jason Ertel 12b5c0899b merge 2021-08-27 08:20:23 -04:00
Jason Ertel 09d5097837 Remove unused automation files 2021-08-25 21:08:49 -04:00
Jason Ertel de5f823abf Add automation for deploy-vader env 2021-08-25 18:28:17 -04:00
Josh Brower 7b93f355e2 so-import-evtx - timestamp extraction 2021-08-25 15:17:19 -04:00
m0duspwnens a27569f20b remove source when contents provided 2021-08-25 12:32:17 -04:00
m0duspwnens fd1e632386 cleanup yaml 2021-08-25 12:08:43 -04:00
m0duspwnens 0681d29bb0 starting es pillarization 2021-08-25 10:23:06 -04:00
Josh Brower ef650c6ee6 Merge pull request #5235 from Security-Onion-Solutions/feature/so-playbook-import
Initial version so-playbook-import
2021-08-24 10:40:07 -04:00
Mike Reeves 24f36bb4c9 Merge pull request #5284 from Security-Onion-Solutions/kilo
Merge 2.3.70 GRAFANA hotfix to dev
2021-08-24 10:27:09 -04:00
m0duspwnens 9783d13ea3 remove identifier from HOTFIX file 2021-08-24 10:22:01 -04:00
m0duspwnens 427ec98ce5 fix merge conflict in HOTFIX file 2021-08-24 10:20:42 -04:00
Josh Patterson 72ba29fb7b Merge pull request #5282 from Security-Onion-Solutions/hotfix/2.3.70
Hotfix/2.3.70
2021-08-24 10:15:33 -04:00
Josh Patterson 2859bff0e4 Merge pull request #5281 from Security-Onion-Solutions/grafana_fleet_hotfix
sig files and iso info
2021-08-24 10:01:10 -04:00
Mike Reeves 6e921415ea sig files and iso info 2021-08-24 10:00:06 -04:00
Mike Reeves 2f8b68e67a sig files and iso info 2021-08-24 09:58:28 -04:00
Mike Reeves e762491039 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into truclusterrator 2021-08-24 09:50:41 -04:00
Mike Reeves 11381e304b Merge pull request #5273 from Security-Onion-Solutions/kilo
Switch to new Curator auth params
2021-08-24 08:29:47 -04:00
Jason Ertel 6d49bca0ac Switch to new auth params 2021-08-23 15:36:11 -04:00
Josh Patterson 8ea89932ae Merge pull request #5270 from Security-Onion-Solutions/grafana_fleet_hotfix
Grafana fleet hotfix
2021-08-23 13:10:35 -04:00
m0duspwnens f87cf123b0 fix typo - https://github.com/Security-Onion-Solutions/securityonion/issues/5268 2021-08-23 13:08:11 -04:00
m0duspwnens 80f4d03254 place unique identifier on same line for hotfix - https://github.com/Security-Onion-Solutions/securityonion/issues/5268 2021-08-23 13:05:28 -04:00
m0duspwnens a9cc68f89e add unique identifier for hotfix - https://github.com/Security-Onion-Solutions/securityonion/issues/5268 2021-08-23 13:02:49 -04:00
m0duspwnens b053f29a89 only create dashboards for certain node types - https://github.com/Security-Onion-Solutions/securityonion/issues/5268 2021-08-23 12:58:52 -04:00
Mike Reeves 19cfce5e0b Add curator delete yml files 2021-08-23 10:47:41 -04:00
Mike Reeves c4a32ca631 Merge pull request #5259 from Security-Onion-Solutions/kilo
Merge 2.3.70 CURATOR Hotfix to Dev
2021-08-23 09:37:50 -04:00
Jason Ertel b78da5c237 Merge hotfix to dev; reset to .80 2021-08-23 09:36:20 -04:00
Mike Reeves 0abf7593ed Merge pull request #5233 from Security-Onion-Solutions/hotfix/2.3.70
Hotfix/2.3.70
2021-08-23 09:28:07 -04:00
Josh Brower aa420b914b Initial version so-playbook-import 2021-08-20 16:27:09 -04:00
Mike Reeves f096b513b7 Merge pull request #5232 from Security-Onion-Solutions/cfixhfix
Cfixhfix
2021-08-20 15:40:44 -04:00
Mike Reeves 51b517581a 2.3.70 sigs 2021-08-20 15:38:56 -04:00
Mike Reeves 936c998ecb CURATOR ISO info 2021-08-20 12:49:55 -04:00
Mike Reeves 02372d130a Merge pull request #5224 from Security-Onion-Solutions/curator_cron
remove the curator cronjobs if it is disabled
2021-08-20 10:44:55 -04:00
m0duspwnens 6f9a263af3 remove the curator cronjobs if it is disabled 2021-08-20 10:40:15 -04:00
Mike Reeves 43ffaab82c Merge pull request #5213 from Security-Onion-Solutions/hotfix/curator
stop curator and remove from so-status for manager
2021-08-19 15:45:17 -04:00
m0duspwnens dccfdb14e4 stop curator and remove from so-status for manager 2021-08-19 15:40:17 -04:00
Josh Patterson 21f3b3d985 Merge pull request #5212 from Security-Onion-Solutions/hotfix/curator
just dont run curator on manager
2021-08-19 15:27:55 -04:00
m0duspwnens e2d74b115f just dont run curator on manager 2021-08-19 15:26:22 -04:00
Mike Reeves 13741400f1 Merge pull request #5210 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update VERSION
2021-08-19 15:02:52 -04:00
Mike Reeves d0f587858c Merge pull request #5211 from Security-Onion-Solutions/TOoSmOotH-patch-2
Curator
2021-08-19 15:02:28 -04:00
Mike Reeves acca8cc5d2 Update HOTFIX 2021-08-19 15:01:21 -04:00
Mike Reeves ef950955bd Update VERSION 2021-08-19 15:00:51 -04:00
Josh Patterson 9a8ccef828 Merge pull request #5209 from Security-Onion-Solutions/issue/5195
fix error in telegraf log
2021-08-19 13:27:08 -04:00
m0duspwnens 7b8e23fadd fix error in telegraf log - https://github.com/Security-Onion-Solutions/securityonion/issues/5195 2021-08-19 11:11:24 -04:00
Mike Reeves 18335afa7f Merge pull request #5204 from Security-Onion-Solutions/kilo
Update 2.3.80
2021-08-19 08:55:44 -04:00
Jason Ertel 41e8be87b6 Update 2.3.80 2021-08-19 08:42:29 -04:00
Doug Burks 39f32a6e13 Merge pull request #5185 from Security-Onion-Solutions/dev
2.3.70
2021-08-19 06:22:57 -04:00
Mike Reeves 8e9f95652d Merge pull request #5188 from Security-Onion-Solutions/2.3.70
2.3.70 sigs
2021-08-18 09:37:51 -04:00
Mike Reeves 30489e4117 2.3.70 sigs 2021-08-18 09:35:48 -04:00
Mike Reeves 9dc9f10003 Merge pull request #5174 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update so-functions
2021-08-17 10:46:17 -04:00
Mike Reeves 1ced05c1d2 Update so-functions 2021-08-17 10:44:44 -04:00
Mike Reeves 41b246b8b3 Merge pull request #5169 from Security-Onion-Solutions/agrepo
Fix repo creation in airgap
2021-08-16 13:08:21 -04:00
Mike Reeves a12f19c533 Fix repo creation in airgap 2021-08-16 13:00:52 -04:00
Josh Patterson f1c91555ae Merge pull request #5166 from Security-Onion-Solutions/issue/2806
Issue/2806
2021-08-16 09:08:27 -04:00
Jason Ertel e39de8c7bc Merge pull request #5089 from Ron89/feature/thehive-userupdate
add user password update command
2021-08-15 09:36:35 -04:00
Mike Reeves d0e312ec42 Merge pull request #5149 from Security-Onion-Solutions/gridraid
Grid Fixes
2021-08-13 18:42:34 -04:00
Mike Reeves e492833453 Grid Fixes 2021-08-13 18:32:55 -04:00
Mike Reeves 9beacacd44 Grid Fixes 2021-08-13 18:26:17 -04:00
Mike Reeves aad14b2461 Grid Fixes 2021-08-13 18:22:02 -04:00
m0duspwnens 4955b552df remove - 2021-08-13 17:42:37 -04:00
Mike Reeves 55e8a777d4 Merge pull request #5147 from Security-Onion-Solutions/issue/4674
keep the list unique
2021-08-13 17:39:54 -04:00
m0duspwnens a98ed282c0 keep the list unique 2021-08-13 17:38:45 -04:00
Mike Reeves 7504b1cb2e Merge pull request #5146 from Security-Onion-Solutions/gridraid
Grid Fixes
2021-08-13 16:25:31 -04:00
m0duspwnens afab1cb1e6 Merge remote-tracking branch 'remotes/origin/dev' into issue/2806 2021-08-13 16:19:57 -04:00
m0duspwnens cd0b9bbe4a dont always add curator to so-status 2021-08-13 16:19:41 -04:00
Mike Reeves 3ea29e77a9 Merge pull request #5145 from Security-Onion-Solutions/bugfix/so-logscan-soup-pull
Remove so-logscan from so-image-common arrays
2021-08-13 13:59:10 -04:00
William Wernert fb4c2c35e3 Remove so-logscan from so-image-common arrays 2021-08-13 13:58:08 -04:00
HE Chong 81ccce8659 negative case where username doesn't exist now report exception as expected 2021-08-13 23:00:11 +08:00
HE Chong 0d5e3771f5 modify user password update script for theHive, keep it in consistency with Fleet counterpart. 2021-08-13 21:52:19 +08:00
HE Chong 2030ef65f1 add user password update script for Fleet 2021-08-13 21:50:24 +08:00
HE Chong b6c361f83d add user password update script for The Hive 2021-08-13 20:54:35 +08:00
Mike Reeves 9404cb635d Grid Fixes 2021-08-13 08:48:47 -04:00
William Wernert da53b39c15 Merge pull request #5142 from Security-Onion-Solutions/foxtrot
Add image pull script to allow so-learn to pull missing images, update wording on several whiptail prompts
2021-08-12 16:09:55 -04:00
William Wernert 86569b0599 Make sbin script permissions consistent 2021-08-12 16:05:54 -04:00
William Wernert 45aa2f72cb Merge branch 'dev' into foxtrot 2021-08-12 15:45:12 -04:00
Mike Reeves 06b7434ca2 Merge pull request #5141 from Security-Onion-Solutions/kilo 2021-08-12 15:05:14 -04:00
Jason Ertel 258cebda6e Correct identity update payload to not have unsupported fields 2021-08-12 15:01:45 -04:00
Jason Ertel 0cca43c4bd Merge branch 'dev' into kilo 2021-08-12 15:01:12 -04:00
William Wernert bf40a1038e Whiptail changes
* Update wording of ip mask prompt + so-allow question for clarity
* Remove old ip+mask prompts
2021-08-12 10:32:27 -04:00
William Wernert 3312a66e75 Fix indent 2021-08-11 16:37:22 -04:00
William Wernert 4a31d6b3bc Specify images are also verified 2021-08-11 16:35:33 -04:00
William Wernert 64dfc6e191 Fix pull logic and properly hide output 2021-08-11 16:33:45 -04:00
William Wernert 95bd7f9861 Merge branch 'dev' into foxtrot 2021-08-11 13:47:38 -04:00
William Wernert 983549711c Pull image if missing when enabling module in so-learn 2021-08-11 13:47:31 -04:00
Josh Patterson 5922dbdf22 Merge pull request #5120 from Security-Onion-Solutions/issue/4674
Issue/4674
2021-08-10 12:29:51 -04:00
m0duspwnens 9e48a5b57b fix the pillar.get 2021-08-10 10:29:29 -04:00
m0duspwnens 3c1114403e fix the pillar.get 2021-08-10 10:25:05 -04:00
m0duspwnens 8d2f614af6 Merge remote-tracking branch 'remotes/origin/dev' into issue/4674 2021-08-10 10:16:30 -04:00
m0duspwnens 1415de858c delete old dashboard folders via api - https://github.com/Security-Onion-Solutions/securityonion/issues/4674 2021-08-10 10:16:14 -04:00
Josh Patterson 59e9fddf18 Merge pull request #5109 from Security-Onion-Solutions/issue/4674
remove old dashboard dirs
2021-08-09 13:37:45 -04:00
m0duspwnens ad3b6cf629 remove old dashboard dirs - https://github.com/Security-Onion-Solutions/securityonion/issues/4674 2021-08-09 13:34:02 -04:00
William Wernert b12e2eded5 Merge pull request #5086 from Security-Onion-Solutions/foxtrot
Add conditional check for logscan log + add log folder to logrotate config
2021-08-06 11:32:23 -04:00
William Wernert 26030d83eb Merge branch 'dev' into foxtrot 2021-08-06 09:44:10 -04:00
William Wernert 3b01f6431e Add logscan to logrotate config 2021-08-06 09:43:58 -04:00
Jason Ertel a646867593 Merge branch 'dev' into kilo 2021-08-06 09:14:45 -04:00
Josh Patterson 768e61e11a Merge pull request #5080 from Security-Onion-Solutions/issue/2806
Issue/2806
2021-08-05 12:02:42 -04:00
m0duspwnens e72ad9eb5a allow curator 2021-08-05 11:54:49 -04:00
m0duspwnens ac4faf673d add so-manager to curator.yml 2021-08-05 11:11:59 -04:00
William Wernert dd1769fbef Only check for logscan on manager-type and import 2021-08-05 11:02:09 -04:00
m0duspwnens 853a986082 add reqs to docker add manager to so-curator-closed-delete-delte 2021-08-05 10:36:18 -04:00
m0duspwnens 727a3742f5 run only on manager if truecluster enabled 2021-08-05 09:50:51 -04:00
Doug Burks 478a0b6a3f Merge pull request #5075 from Security-Onion-Solutions/fix/typo
fix typo
2021-08-05 07:43:46 -04:00
Doug Burks 771688a70f fix typo 2021-08-05 07:34:07 -04:00
Josh Patterson 40fa549353 Merge pull request #5066 from Security-Onion-Solutions/issue/2806
dont run curator on searchnode if truecluster is enabled
2021-08-04 15:01:11 -04:00
Jason Ertel 84fdc1e690 Merge pull request #5057 from Security-Onion-Solutions/bravo
Several Suricata things
2021-08-04 12:26:11 -04:00
Mike Reeves 71bbb41b5f Merge branch 'dev' into bravo 2021-08-04 10:57:10 -04:00
m0duspwnens 52cb72ba67 dont run curator on searchnode if truecluster is enabled - https://github.com/Security-Onion-Solutions/securityonion/issues/2806 2021-08-04 09:40:34 -04:00
William Wernert 54a3b754e0 Merge pull request #5050 from Security-Onion-Solutions/foxtrot
Add logscan state, related pipeline config, and initial so-learn script
2021-08-03 16:30:07 -04:00
William Wernert 2bc88e7750 Remove learn from allowed states for helixsensor 2021-08-03 15:29:37 -04:00
William Wernert ef59cb47dd Use print_err function 2021-08-03 15:26:57 -04:00
William Wernert 9e5d3aa286 Fix removed root check in so-rule 2021-08-03 15:25:53 -04:00
William Wernert 25bf25eae6 Allowed states remove typo'd logscan 2021-08-03 15:24:32 -04:00
William Wernert 24f5fa66f3 Merge branch 'dev' into foxtrot 2021-08-03 13:02:29 -04:00
Mike Reeves 1aeb2d7d4f Merge pull request #5040 from Security-Onion-Solutions/kilo
Condense cloud automations
2021-08-03 10:59:28 -04:00
Jason Ertel ee176f5bfd Condense cloud automations 2021-08-03 07:40:50 -04:00
Jason Ertel eb093b8e6c Condense cloud automations 2021-08-02 21:52:42 -04:00
Jason Ertel f88fa6e3b2 Condense cloud automations 2021-08-02 21:51:26 -04:00
Jason Ertel 724f7d4f3d Merge pull request #5036 from Security-Onion-Solutions/kilo
Condense cloud automations
2021-08-02 18:04:05 -04:00
Jason Ertel 19816d8814 Condense cloud automations 2021-08-02 17:55:27 -04:00
William Wernert d3b170c6df Add logscan automation file + fix enable command in setup 2021-08-02 12:37:37 -04:00
William Wernert 757091beeb Add log_level to logscan.conf 2021-08-02 10:35:39 -04:00
William Wernert 8a49039b85 Only append source.ip to logscan.source.ips if it's been created 2021-08-02 09:50:49 -04:00
William Wernert 4f39cd1d7f Add logscan dynamic object to so-common template mappings 2021-07-30 16:02:02 -04:00
William Wernert 2a6277c0c3 Fix field names in logscan pipeline 2021-07-30 15:46:39 -04:00
William Wernert 33bd6aed20 Fix logscan pipeline on eval
* Rename logscan pipeline to logscan.alert
* Add module to indices array in filebeat.yml
2021-07-30 14:41:15 -04:00
William Wernert b9980c9d30 Fix pipeline name 2021-07-30 13:09:09 -04:00
William Wernert 01bb94514c Correct mod_so_status to only act on single string 2021-07-30 11:05:48 -04:00
William Wernert d71967ea1d Fix incorrect writing of so-status.conf 2021-07-30 10:28:39 -04:00
William Wernert 0b06d0bfdb Merge branch 'dev' into foxtrot 2021-07-29 15:15:25 -04:00
William Wernert b2a83018ba Remove or run logscan based on enabled bool 2021-07-29 15:14:54 -04:00
William Wernert ba265d94f4 Change default value in learn init to a dict where approriate 2021-07-29 15:14:28 -04:00
Mike Reeves af7b314cfe Merge pull request #4993 from Security-Onion-Solutions/kilo
Merge 2.3.61 MSEARCH Hotfix into dev
2021-07-29 15:02:51 -04:00
Jason Ertel 4c6447a3da merge 2.3.61 MSEARCH hotfix into dev 2021-07-29 15:00:58 -04:00
William Wernert b30f771fa2 Set write_needed flag correctly, include newline in so-status.conf string 2021-07-29 14:59:26 -04:00
Mike Reeves 837c0402a0 Merge pull request #4989 from Security-Onion-Solutions/hotfix/2.3.61
Hotfix/2.3.61
2021-07-29 14:58:25 -04:00
William Wernert e38219aa2e Fix learn init.sls typo 2021-07-29 14:35:02 -04:00
William Wernert 9e92f6da3d Add container to so-status when enabling/disabling ml module 2021-07-29 14:25:20 -04:00
William Wernert 44551ea9ee Fix so-learn list 2021-07-29 13:31:48 -04:00
William Wernert c53da9b1ff Fix wrong variables in learn init.sls 2021-07-29 12:04:40 -04:00
William Wernert e1785dbd9a Fix typo 2021-07-29 12:00:53 -04:00
William Wernert 2560a9b78c [wip] Change learn:modules to dictionary 2021-07-29 11:58:58 -04:00
William Wernert d53e989c55 Add ability to set cpu_period per module 2021-07-29 11:52:10 -04:00
William Wernert 211a841cdb Fix file path in bind mount for logscan 2021-07-29 11:40:19 -04:00
Josh Patterson 50e4365475 Merge pull request #4990 from Security-Onion-Solutions/issue/4985
Issue/4985
2021-07-29 11:14:54 -04:00
Jason Ertel c524b54af1 Merge pull request #4988 from Security-Onion-Solutions/mkr2361
2.3.61-MSEARCH
2021-07-29 11:10:41 -04:00
Mike Reeves 7591bb115e 2.3.61-MSEARCH 2021-07-29 11:09:54 -04:00
Mike Reeves 3d2da303c8 2.3.61-MSEARCH 2021-07-29 11:09:27 -04:00
Mike Reeves f585eb6e62 2.3.61-MSEARCH 2021-07-29 11:08:03 -04:00
m0duspwnens 4b6120a46b fix the hours get 2021-07-29 10:59:33 -04:00
Mike Reeves d946c6d5ed Merge pull request #4987 from Security-Onion-Solutions/kilo
Do not prompt about uppercased hostname during testing
2021-07-29 10:57:56 -04:00
William Wernert 5894b85bd1 Remove broken yaml dump arg, rename metavars 2021-07-29 10:57:53 -04:00
m0duspwnens 3fc43f7d92 allow for adjustment to auto patch os schedule - https://github.com/Security-Onion-Solutions/securityonion/issues/4985 2021-07-29 10:48:24 -04:00
Jason Ertel 8ed264460f Do not prompt about uppercased hostname during testing 2021-07-29 10:45:35 -04:00
William Wernert 811b32735e Merge branch 'dev' into foxtrot 2021-07-29 09:52:29 -04:00
Mike Reeves 4b3db0c4d2 Merge pull request #4972 from Security-Onion-Solutions/mkr2361
Fix Manager Search
2021-07-28 17:08:40 -04:00
Mike Reeves 281ba21298 Merge pull request #4956 from Security-Onion-Solutions/kilo
Merge master to dev
2021-07-28 17:07:58 -04:00
Mike Reeves d4a177949a Fix Manager Search 2021-07-28 17:05:16 -04:00
Mike Reeves a42d8c9229 Fix Manager Search 2021-07-28 17:03:14 -04:00
William Wernert dd0e407935 Use correct container name 2021-07-28 15:06:38 -04:00
William Wernert 7ef5b39b04 [wip] Fix 'Nonetype' object is not callable error 2021-07-28 14:28:00 -04:00
William Wernert cf9121dfc2 Actually download so-learn container 2021-07-28 14:13:16 -04:00
Josh Patterson fcfc2a65a9 Merge pull request #4968 from Security-Onion-Solutions/issue/3933
allow for sampleSize adjustment in kibana
2021-07-28 11:13:49 -04:00
William Wernert 91accb0bc6 [wip] Fixing so-learn script 2021-07-28 10:12:32 -04:00
William Wernert e2abe8840f Fix directory in logscan state 2021-07-28 10:12:19 -04:00
m0duspwnens ead9ae8cb5 fix merge and defaults passed 2021-07-28 09:58:38 -04:00
William Wernert 455719936b Uncomment required lines in so-learn 2021-07-28 09:53:35 -04:00
William Wernert 8d56fc71fa Fix jinja length calculation 2021-07-28 09:53:24 -04:00
William Wernert 833d154bf4 Merge branch 'dev' into foxtrot 2021-07-28 09:50:11 -04:00
William Wernert f31dc5abc7 Add learn to allowed states 2021-07-28 09:49:59 -04:00
m0duspwnens 9a429230fe wrap with raw due to {{value}} 2021-07-28 09:39:35 -04:00
m0duspwnens b36d46b7f2 change to jinja tem,plate 2021-07-28 09:27:44 -04:00
m0duspwnens fee89665fd dict not list for defaults 2021-07-28 09:18:15 -04:00
m0duspwnens d78a37f9e3 allow for control of kibana discover sampleSize - https://github.com/Security-Onion-Solutions/securityonion/issues/3933 2021-07-28 09:12:31 -04:00
Jason Ertel 28c5c02ef1 Merge pull request #4958 from Security-Onion-Solutions/issue/4024
https://github.com/Security-Onion-Solutions/securityonion/issues/4024
2021-07-27 16:21:13 -04:00
m0duspwnens 8ffeae38bc https://github.com/Security-Onion-Solutions/securityonion/issues/4024 2021-07-27 16:16:48 -04:00
William Wernert f4fae7938e Merge branch 'dev' into foxtrot 2021-07-27 16:01:44 -04:00
Jason Ertel 22920bc9a1 clear out hotfix from merge 2021-07-27 14:42:11 -04:00
Jason Ertel ceb82cb863 Merge branch 'master' into kilo 2021-07-27 14:40:31 -04:00
Mike Reeves 1caa361e22 Merge pull request #4955 from Security-Onion-Solutions/hotfix/2.3.61
Hotfix/2.3.61
2021-07-27 14:33:31 -04:00
Mike Reeves da20790238 Merge pull request #4954 from Security-Onion-Solutions/mkr2361
Steno ISO Details
2021-07-27 11:11:22 -04:00
Mike Reeves f359dd0cd4 Steno ISO Details 2021-07-27 11:09:25 -04:00
Josh Patterson bee442a21f Merge pull request #4950 from Security-Onion-Solutions/issue/4674
Issue/4674
2021-07-27 10:28:02 -04:00
m0duspwnens a66765e99b remove old dashboards, set default refresh to 5m 2021-07-27 10:23:35 -04:00
m0duspwnens 0db7f91eb4 Merge remote-tracking branch 'remotes/origin/dev' into issue/4674 2021-07-27 08:53:31 -04:00
m0duspwnens 850315dc20 remove role conditional from all panel queiries 2021-07-27 08:47:44 -04:00
Mike Reeves d35e4bea01 Merge pull request #4932 from Security-Onion-Solutions/issue/4922
Issue/4922
2021-07-26 16:18:22 -04:00
Jason Ertel 356b623148 Merge pull request #4937 from Security-Onion-Solutions/kilo
Add Azure automations
2021-07-26 16:13:57 -04:00
Jason Ertel 3a022e7a83 Add Azure automations 2021-07-26 15:50:15 -04:00
William Wernert 64945cec16 [wip] Initial work to enable/disable "learn" modules 2021-07-26 14:24:10 -04:00
Jason Ertel 26741bdb53 Add wss: to CSP for browsers that enforce wss distinctly from other protocols 2021-07-26 10:55:30 -04:00
m0duspwnens 7aa5e857ed update hotfix file 2021-07-26 10:46:52 -04:00
m0duspwnens 2e277bf487 change container to abesent of pcap is disabled 2021-07-26 10:08:59 -04:00
m0duspwnens e4f46c6e14 hide role template var from all dash except overview 2021-07-26 09:36:05 -04:00
m0duspwnens e9d90644fd fix query and allow for setting text and value of servername template var 2021-07-23 16:52:07 -04:00
m0duspwnens 5a06f0dce9 role template var now selects default role 2021-07-23 16:34:58 -04:00
m0duspwnens 08e9a58f2e simply to one servername.json 2021-07-23 16:09:25 -04:00
m0duspwnens e1f0c8e87c add "list" bast to tempating defs for overview 2021-07-23 15:43:31 -04:00
m0duspwnens 17a532f7b5 add new templating defs to overview 2021-07-23 15:41:03 -04:00
m0duspwnens c7306dda12 fix servername_eval template var, test using 1 servername template var 2021-07-23 15:38:45 -04:00
m0duspwnens 00d311cd6c fix nodetype listing 2021-07-23 14:40:44 -04:00
m0duspwnens f8d2a7f449 fix nodetype listing 2021-07-23 13:43:35 -04:00
m0duspwnens a02a928996 add missing ] 2021-07-23 13:33:25 -04:00
m0duspwnens eb661b7a24 add ability to set title for dashboards, only create dashboards/dirs if that node type exists 2021-07-23 13:31:44 -04:00
m0duspwnens 6aea607f21 Merge remote-tracking branch 'remotes/origin/dev' into issue/4674 2021-07-23 11:12:48 -04:00
m0duspwnens 41e747dcc1 add servername_all template var 2021-07-23 10:55:15 -04:00
m0duspwnens d3d02faa1c remove detailed 2021-07-23 10:52:30 -04:00
m0duspwnens 7a85a3c7f7 move dashboard location 2021-07-23 10:20:57 -04:00
m0duspwnens fceb2851ef add eval dashboard 2021-07-23 09:02:40 -04:00
William Wernert 2f118781ea Merge branch 'dev' into foxtrot 2021-07-23 08:54:08 -04:00
William Wernert b8e3a45a7e [wip] Add logscan state
Do not add state to top file or setup yet, script will be written to enable the feature shortly
2021-07-23 08:53:45 -04:00
m0duspwnens 61312397e1 update container uptime panel 2021-07-23 08:25:43 -04:00
m0duspwnens 8ea4682aab add docker container uptime to overview dash 2021-07-23 07:34:01 -04:00
m0duspwnens 3b6befdb97 adjust gridpos 2021-07-22 15:05:37 -04:00
m0duspwnens 613979ea3f remove extra comma 2021-07-22 15:03:58 -04:00
m0duspwnens 191def686b add packet loss panels 2021-07-22 15:02:06 -04:00
Mike Reeves f986e0dc78 Merge pull request #4892 from Security-Onion-Solutions/kilo
Merge master back to dev
2021-07-22 14:37:40 -04:00
Jason Ertel 08e75567d4 merge master to kilo 2021-07-22 14:34:24 -04:00
Mike Reeves 668199f1a8 Merge pull request #4889 from Security-Onion-Solutions/2361update
2.3.61
2021-07-22 14:29:13 -04:00
Jason Ertel 7a753a56ec Update README with 2.3.61 2021-07-22 13:54:04 -04:00
m0duspwnens 7b38b4e280 fix {{}} 2021-07-22 13:36:44 -04:00
m0duspwnens 7dc2e2ca73 add option to hide trend on zeek packet loss graph 2021-07-22 13:35:25 -04:00
m0duspwnens 44eb23615a change to packet_loss 2021-07-22 13:20:19 -04:00
m0duspwnens d47566f667 remove monitor inbound graph 2021-07-22 13:18:31 -04:00
m0duspwnens 9ae84c8108 add network and tool packetloss panels to overview 2021-07-22 13:16:39 -04:00
Mike Reeves 578c7aac35 2.3.61 2021-07-22 13:06:26 -04:00
m0duspwnens 1c460cc19c fix traffic overview graphs 2021-07-22 10:31:47 -04:00
m0duspwnens ff436aea93 allow multi and all for manint and monint vars 2021-07-22 10:06:31 -04:00
m0duspwnens aa333794f7 add disk usage percent graphs 2021-07-22 09:54:17 -04:00
doug 3d3593a1a9 FIX: Suricata dns.response.code needs to be renamed to dns.response.code_name #4770 2021-07-22 09:50:21 -04:00
Jason Ertel 257062e20c Update release notes link to match top right menu for airgap 2021-07-22 09:48:34 -04:00
doug fa9d7afb46 FIX: Airgap link to Release Notes #4685 2021-07-22 09:42:37 -04:00
m0duspwnens ae5f351e1a change row name 2021-07-22 09:31:17 -04:00
m0duspwnens 257a88ec8e change row name 2021-07-22 09:30:43 -04:00
m0duspwnens e1e6304a8a rename 2021-07-22 09:29:37 -04:00
m0duspwnens a81ef0017c rename panels source, reorg overview 2021-07-22 09:15:22 -04:00
m0duspwnens b89162e086 change id 2021-07-22 08:01:54 -04:00
m0duspwnens a6630540a4 add system uptime graph to overview dash 2021-07-21 18:11:42 -04:00
m0duspwnens a528c5d54b role first var for overview 2021-07-21 17:41:53 -04:00
m0duspwnens 690699ddf7 update template vars to use regex for $servername 2021-07-21 17:17:23 -04:00
m0duspwnens cd8d9c657e add mgmt interface traffic graphs to overview 2021-07-21 16:24:16 -04:00
m0duspwnens f732b80b92 add swap usage percent to overview dash 2021-07-21 15:48:04 -04:00
Jason Ertel ad8c12afa5 Upgrade ES to 7.13.4 2021-07-21 15:07:02 -04:00
m0duspwnens 479fcb6c46 add panel for memory usage percent 2021-07-21 15:00:05 -04:00
Jason Ertel 74874dfff2 Allow web pages to load blob data 2021-07-21 14:59:33 -04:00
m0duspwnens ceb108a5fe set min yaxes to 0 2021-07-21 14:47:57 -04:00
m0duspwnens 235d8b7cf0 ensure role matches 2021-07-21 14:44:07 -04:00
Mike Reeves 7c9df2d75a Update HOTFIX 2021-07-21 14:40:53 -04:00
Mike Reeves 43bf75217f Update VERSION 2021-07-21 14:40:23 -04:00
m0duspwnens 9bf6d478c5 remove $col var 2021-07-21 14:36:08 -04:00
m0duspwnens e2baa93270 remove role from node_config for telegraf 2021-07-21 14:32:01 -04:00
m0duspwnens 37fcda3817 add cpu row and panels to overview dashboard 2021-07-21 14:30:41 -04:00
m0duspwnens 457ae54341 role var 2021-07-21 11:50:06 -04:00
m0duspwnens 4cc3c5ada9 add role template var to overview dashboard 2021-07-21 11:35:02 -04:00
m0duspwnens 07d5736d61 change sort of legend 2021-07-21 11:33:48 -04:00
m0duspwnens a7551a44e5 allow multi and all on servername_all template var 2021-07-21 11:29:30 -04:00
m0duspwnens f4d3e13c7f begin overview dashboard 2021-07-21 11:26:02 -04:00
m0duspwnens 47d82b3d35 sort desc remaining tooltips 2021-07-21 10:36:07 -04:00
m0duspwnens 9d06aff1d1 add manager dashboard 2021-07-21 10:23:39 -04:00
m0duspwnens 5ea8c978a0 add managersearch 2021-07-21 10:16:40 -04:00
m0duspwnens 6809c3a9f6 add mastersearch dashboard 2021-07-21 10:13:43 -04:00
m0duspwnens 761108964e remove panels from searchnode dashboard 2021-07-21 10:05:43 -04:00
m0duspwnens e3e74a84f2 test sort tooltip descending 2021-07-21 10:00:14 -04:00
m0duspwnens 1fee4e87c4 add searchnode dashboard 2021-07-21 09:51:49 -04:00
m0duspwnens 0c4c59375d sort container uptime ascending 2021-07-21 09:11:39 -04:00
Mike Reeves 09165daab8 Several Suricata things 2021-07-21 09:10:33 -04:00
m0duspwnens 3393b77535 add sensor dashboard 2021-07-21 08:54:26 -04:00
m0duspwnens d050bc02e2 dont show legend for docker uptime trend 2021-07-20 16:29:49 -04:00
m0duspwnens af60ddf404 add docker container uptime graph 2021-07-20 16:28:07 -04:00
m0duspwnens 1bb92f63d1 add docker details 2021-07-20 15:21:59 -04:00
m0duspwnens a405ca39fa add redis.sh for telegraf on heavynodes 2021-07-20 14:31:09 -04:00
m0duspwnens 852b686d81 add servername vars for each role 2021-07-20 14:25:56 -04:00
m0duspwnens 608d5d3c26 change uid logic 2021-07-20 14:10:26 -04:00
m0duspwnens 6038ebb705 handle multile nodetpes and uid 2021-07-20 14:04:28 -04:00
m0duspwnens 4bb350d37d add heavynode 2021-07-20 13:55:52 -04:00
m0duspwnens d01ac55db1 add heavynode 2021-07-20 13:55:18 -04:00
Jason Ertel fcde5c3c18 Merge pull request #4865 from Security-Onion-Solutions/kilo
Merge curator hotfix into dev
2021-07-20 11:47:49 -04:00
Jason Ertel dbf19e134f Merge branch 'master' into kilo 2021-07-20 11:44:10 -04:00
Mike Reeves b13c5a3b8b Merge pull request #4863 from Security-Onion-Solutions/hotfix/2.3.60
Hotfix/2.3.60 CuratorFix
2021-07-20 11:02:34 -04:00
m0duspwnens b0c5a352c1 remove old panaels 2021-07-20 10:53:47 -04:00
m0duspwnens d0b3cd5f66 add the detailed dash dir 2021-07-20 10:50:40 -04:00
m0duspwnens 24efdec9ea cap the var 2021-07-20 10:48:46 -04:00
m0duspwnens 1bed818a8e fix jinja 2021-07-20 10:47:10 -04:00
m0duspwnens 3c4c52567d fix jinja 2021-07-20 10:46:41 -04:00
m0duspwnens 87ae14d11c fix jinja 2021-07-20 10:44:32 -04:00
m0duspwnens 258d303e7f change how dashboards are deployed 2021-07-20 10:43:00 -04:00
m0duspwnens 458350e1a8 new redis queue stat panel, change to lastnotnull 2021-07-20 09:45:28 -04:00
Mike Reeves fe7ee1e2c7 Merge pull request #4862 from Security-Onion-Solutions/curatorfix
Curator Fix
2021-07-20 09:26:54 -04:00
m0duspwnens d8910a0097 add redis queue to overview, reposition overview panels 2021-07-20 09:22:43 -04:00
Mike Reeves 3b6e683d37 Curator Fix 2021-07-20 09:21:22 -04:00
m0duspwnens 90f6bad6ce panel title change 2021-07-20 08:54:39 -04:00
m0duspwnens fcc6802f86 convert all singlestat to stat 2021-07-20 08:51:53 -04:00
m0duspwnens 3b9bc77ecc remove scopedvars 2021-07-19 17:51:43 -04:00
m0duspwnens 0fb4500fcc add legends 2021-07-19 17:39:32 -04:00
m0duspwnens 93ca00c7fe change min y 2021-07-19 17:29:57 -04:00
m0duspwnens 522f2a3f9f maxdatapoints and min interval 2021-07-19 17:19:56 -04:00
m0duspwnens 40ddf5f49c fix cords 2021-07-19 16:30:02 -04:00
m0duspwnens 60356eacce make the ids unique 2021-07-19 16:26:09 -04:00
m0duspwnens 158f3bf092 add row_stenographer 2021-07-19 16:18:02 -04:00
m0duspwnens ebf3c65bed add many more panels 2021-07-19 16:02:40 -04:00
William Wernert df6d1d72e2 Merge branch 'dev' into feature/logscan 2021-07-19 15:19:59 -04:00
weslambert 72542322ca Merge pull request #4857 from Security-Onion-Solutions/fix/beats_output_fb_modules
Check if Filebeat modules are being used for incoming (external) Beats
2021-07-19 13:11:06 -04:00
weslambert fea4f3f973 Check if Filebeat modules are being used for incoming Beats 2021-07-19 12:57:42 -04:00
Mike Reeves 7878180f54 Merge pull request #4854 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update HOTFIX
2021-07-19 12:50:23 -04:00
Mike Reeves 0669aa6bbd Update HOTFIX 2021-07-19 12:49:43 -04:00
Mike Reeves 2c4924a602 Merge pull request #4853 from Security-Onion-Solutions/fix/curator_http_auth
Use http_auth instead of username/password until Curator is updated to latest version
2021-07-19 12:45:29 -04:00
weslambert bde86e0383 Use http_auth instead of username/password until Curator is upgraded to next version 2021-07-19 12:42:46 -04:00
Jason Ertel bab18275bc Merge pull request #4836 from Security-Onion-Solutions/fix/airgap-release-notes
FIX: Airgap link to Release Notes #4685
2021-07-17 11:05:33 -04:00
doug 7e86681509 FIX: Airgap link to Release Notes #4685 2021-07-16 16:50:49 -04:00
William Wernert c2fc2df54c Merge pull request #4835 from Security-Onion-Solutions/feature/uppercase-warning
Show warning to user when trying to use uppercase characters in hostname or domain name
2021-07-16 15:44:47 -04:00
William Wernert 0deb77468f Change uppercase regex
Check for any uppercase characters rather than revalidating input sans uppercase
2021-07-16 15:39:09 -04:00
William Wernert 9bf1d3e0c6 Misc fixes 2021-07-16 14:59:44 -04:00
William Wernert 3a12d28d20 Merge branch 'dev' into feature/logscan 2021-07-16 14:13:19 -04:00
William Wernert e8ba4bdc6c Add quotes to string 2021-07-16 14:07:23 -04:00
William Wernert b552973e00 Add logic to show uppercase warning message when appropriate 2021-07-15 16:36:46 -04:00
William Wernert ac98e1fd0f Remove testing default values, change wording, set default option to no 2021-07-15 16:36:24 -04:00
m0duspwnens 4246aac51b unhide disk var 2021-07-15 13:57:43 -04:00
William Wernert 33f396bdae Add uppercase warning function 2021-07-15 13:53:57 -04:00
William Wernert ff25cecd54 Remove unused function 2021-07-15 13:53:31 -04:00
m0duspwnens e88b258208 add maxDataPoints and min interval to more panels 2021-07-15 11:53:24 -04:00
m0duspwnens 1cbf895e0e add missing , 2021-07-15 11:27:19 -04:00
m0duspwnens 7dc1f5c445 add maxDataPoints and min interval to some panels for testing 2021-07-15 11:25:20 -04:00
m0duspwnens 439e049948 revert to $__interval 2021-07-15 10:17:21 -04:00
m0duspwnens fbf26bef8d test new groupby interval for trend on monitor packets 2021-07-15 08:42:53 -04:00
m0duspwnens c1f550382c remove interval var 2021-07-15 08:31:42 -04:00
m0duspwnens 23fb6a5c02 rename 2021-07-14 18:04:33 -04:00
m0duspwnens d632266092 fix jinja 2021-07-14 18:01:56 -04:00
m0duspwnens 4ea3ab9538 add disk iops graphs 2021-07-14 17:58:49 -04:00
m0duspwnens 725161ea6e fix datasource 2021-07-14 16:07:14 -04:00
m0duspwnens fccd86f676 add disk var to standalone 2021-07-14 16:04:55 -04:00
m0duspwnens 0f0a977ed9 add disk var 2021-07-14 16:04:17 -04:00
Jason Ertel 7f9d0b59b8 Merge pull request #4808 from Security-Onion-Solutions/kilo
Merge hotfix from master into dev; add `so-firewall apply` feature to dev
2021-07-14 15:49:12 -04:00
m0duspwnens b0d510167c change title 2021-07-14 15:36:26 -04:00
m0duspwnens 4971933201 rename file 2021-07-14 15:34:39 -04:00
m0duspwnens 693a9b30ae add swap, adjust cords 2021-07-14 15:33:28 -04:00
Jason Ertel 76c285158a Merge branch 'master' into kilo 2021-07-14 15:24:35 -04:00
Jason Ertel 08517e3732 Merge branch 'dev' into kilo 2021-07-14 15:24:29 -04:00
m0duspwnens 59530f4263 cahnge nullPointMode 2021-07-14 14:54:48 -04:00
Mike Reeves 5d48fb41ba Merge pull request #4800 from Security-Onion-Solutions/hotfix/2.3.60 2021-07-14 14:54:00 -04:00
m0duspwnens 4acebe7f59 replace $interval with $__interval 2021-07-14 14:47:02 -04:00
m0duspwnens a44a7b7161 change title 2021-07-14 14:45:17 -04:00
m0duspwnens be13f0a066 change id 2021-07-14 14:31:25 -04:00
m0duspwnens 98ce77c2b1 add disk usage graphs 2021-07-14 14:28:25 -04:00
m0duspwnens 275a491cac cords 2021-07-14 13:44:47 -04:00
m0duspwnens 1c868f85c4 fix cords; 2021-07-14 13:25:17 -04:00
m0duspwnens b6deacf86d cords 2021-07-14 13:11:48 -04:00
Mike Reeves ebe5ef6535 Merge pull request #4799 from Security-Onion-Solutions/agsoupupdate
Update ISO info
2021-07-14 12:07:35 -04:00
m0duspwnens 294f91473c fix packets legend 2021-07-14 11:49:24 -04:00
m0duspwnens 902f04efb4 set 0 as min 2021-07-14 11:44:14 -04:00
m0duspwnens ca2989c0e5 fix network cords 2021-07-14 11:42:01 -04:00
m0duspwnens 2d9697cd66 fix network cords 2021-07-14 11:40:31 -04:00
m0duspwnens b4111a9f79 fix network cords 2021-07-14 11:38:16 -04:00
m0duspwnens 7f8212fdba add trend, add network graphs 2021-07-14 11:31:48 -04:00
weslambert 7e1be8a3a4 Merge pull request #4798 from Security-Onion-Solutions/fix/strelka_filepath_mapping
Replace staging with processed in Strelka file path mapping
2021-07-14 11:16:15 -04:00
Wes Lambert 05aad07bfc Replace staging path with processed path for analyzed files 2021-07-14 15:04:46 +00:00
Mike Reeves 92a80f9a58 Update ISO info 2021-07-14 10:30:10 -04:00
m0duspwnens 4b4ceb525a trends for load and process status 2021-07-14 10:29:35 -04:00
weslambert 42ba9888d7 Merge pull request #4797 from Security-Onion-Solutions/fix/wazuh_data_port
Change field name and mapping for Wazuh's data.port
2021-07-14 10:14:53 -04:00
William Wernert 818f912a90 [fix] Remove indent 2021-07-14 10:13:14 -04:00
m0duspwnens dae64b82ff add trend to cpu 2021-07-14 10:09:34 -04:00
m0duspwnens 53c6edcbdb add trends memory usage and network graphs 2021-07-14 09:57:43 -04:00
Wes Lambert 723172bc1f Add path_unmatch for data.port so it is not mapped as integer 2021-07-14 13:45:09 +00:00
Wes Lambert 323b5d6694 Add dynamic mapping for wazuh 2021-07-14 13:43:34 +00:00
Wes Lambert 441cd3fc59 Move Wazuh-specific data to wazuh.data 2021-07-14 13:42:51 +00:00
m0duspwnens 1d23d1b2e2 start network row 2021-07-14 09:21:46 -04:00
Jason Ertel 1dd81b6d49 Merge pull request #4790 from Security-Onion-Solutions/agsoupupdate
Remove old airgap scripts
2021-07-13 15:45:45 -04:00
Mike Reeves 741e825ab9 Remove old airgap scripts 2021-07-13 15:44:26 -04:00
William Wernert e41811fbd0 [fix] Typo 2021-07-13 15:14:13 -04:00
m0duspwnens f111106a9f fix cords 2021-07-13 14:13:19 -04:00
m0duspwnens f9e29eaede update memory usage graph panel 2021-07-13 14:09:23 -04:00
William Wernert e7a6172d7e [fix] Add single quotes to strings 2021-07-13 14:07:27 -04:00
m0duspwnens ec8f9228e8 add memory and docker container rows 2021-07-13 14:01:42 -04:00
m0duspwnens 6c12e26632 add mem usage, add docker graphs back, update nsm usage thresh 2021-07-13 13:55:01 -04:00
m0duspwnens 9a6ac7bd20 change panels 2021-07-13 12:30:45 -04:00
m0duspwnens 5b3751da70 new load averages panel 2021-07-13 12:24:32 -04:00
m0duspwnens 65127eb226 fix servername var 2021-07-13 12:04:52 -04:00
William Wernert 115e0a6fee [fix] Add missing comma 2021-07-13 12:04:10 -04:00
m0duspwnens ddfab44883 new id 2021-07-13 11:59:01 -04:00
Mike Reeves 6eab390962 Merge pull request #4788 from Security-Onion-Solutions/fix/fbpipeline
Only route to FB module pipeline if filebeat in metadata
2021-07-13 11:40:58 -04:00
Mike Reeves 35388056d3 Merge pull request #4789 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update HOTFIX
2021-07-13 11:40:44 -04:00
Mike Reeves e2c5967191 Update HOTFIX 2021-07-13 11:38:20 -04:00
weslambert 7cdb967810 Only route to FB module pipeline if filebeat in metadata 2021-07-13 11:36:18 -04:00
m0duspwnens 8900d52c33 change y 2021-07-13 11:30:14 -04:00
m0duspwnens bab72393e6 query and id changes 2021-07-13 11:23:06 -04:00
William Wernert e059c25ebc [fix][wip] Fix pipeline parsing errors 2021-07-13 11:05:05 -04:00
m0duspwnens c87ca8f5dc spacing 2021-07-13 10:42:33 -04:00
m0duspwnens e01e3cdd43 change file name 2021-07-13 10:25:26 -04:00
m0duspwnens 2ab9ade761 add missing gridPos 2021-07-13 10:22:48 -04:00
m0duspwnens 0b35b8f6d6 add cpu row 2021-07-13 10:19:20 -04:00
William Wernert 9ff95f66dd Merge branch 'dev' into feature/logscan 2021-07-13 10:02:58 -04:00
William Wernert c1523c4936 Merge pull request #4782 from Security-Onion-Solutions/feature/check-local-mods
Add jinja raw tag
2021-07-13 08:58:25 -04:00
m0duspwnens b6e31278a7 move old panels into old for organization 2021-07-13 08:57:01 -04:00
William Wernert ca2b24f735 Add jinja raw tag 2021-07-13 08:46:57 -04:00
William Wernert 2b0bca8e55 Merge branch 'dev' into feature/logscan 2021-07-12 14:58:30 -04:00
m0duspwnens 98fe7e8700 fix mean 2021-07-12 14:37:17 -04:00
m0duspwnens 0acc3cc537 rename 2021-07-12 14:32:37 -04:00
m0duspwnens 8491ffde07 add docker container network usage graphs 2021-07-12 14:18:54 -04:00
Doug Burks 2ea3989497 Merge pull request #4775 from Security-Onion-Solutions/fix/suricata-dns-response-code
FIX: Suricata dns.response.code needs to be renamed to dns.response.code_name #4770
2021-07-12 13:40:14 -04:00
doug e6f9592cde FIX: Suricata dns.response.code needs to be renamed to dns.response.code_name #4770 2021-07-12 13:24:21 -04:00
William Wernert 222d79bf53 Merge pull request #4774 from Security-Onion-Solutions/feature/check-local-mods
Compare local files to their defaults to check for potentially breaking changes
2021-07-12 12:00:18 -04:00
m0duspwnens 19d9258717 add postfix , change color 2021-07-12 11:22:48 -04:00
m0duspwnens b46456b78e move math, add 2 decimal spot 2021-07-12 11:16:33 -04:00
m0duspwnens cebc2ef09d add missing , 2021-07-12 11:13:32 -04:00
m0duspwnens c4ff8f6876 convert seconds to days 2021-07-12 11:12:28 -04:00
m0duspwnens 619022ef7f 2 new panels to overview 2021-07-12 11:09:23 -04:00
weslambert c0f3c5b3db Merge pull request #4773 from Security-Onion-Solutions/feature/filebeat-logging-level
Allow setting Filebeat logging level in pillar
2021-07-12 10:55:43 -04:00
m0duspwnens 860b8bf945 panel changes 2021-07-12 10:34:39 -04:00
m0duspwnens 694db81b80 fix locations and panel ids 2021-07-12 10:29:09 -04:00
weslambert a895270bc8 Allow setting Filebeat logging level in pillar 2021-07-12 10:27:43 -04:00
m0duspwnens 7474b451ca rename file 2021-07-12 10:24:12 -04:00
m0duspwnens e8eecc8bc1 rename file 2021-07-12 10:22:25 -04:00
m0duspwnens 28e33b413c add more panels for overview 2021-07-12 10:17:23 -04:00
Jason Ertel 78c58e61ea Resolves #4765 2021-07-12 09:38:01 -04:00
William Wernert f3ecdf21bf Revert "Add newline to local modifications warning"
This reverts commit ff656365d2.
2021-07-12 09:28:24 -04:00
William Wernert ff656365d2 Add newline to local modifications warning 2021-07-12 09:22:22 -04:00
William Wernert ea7c09bb00 Merge branch 'dev' into feature/check-local-mods 2021-07-12 09:20:10 -04:00
Jason Ertel e23f7cd3e7 Merge pull request #4766 from Security-Onion-Solutions/kilo
Bump version to 2.3.70
2021-07-10 13:01:54 -04:00
Jason Ertel c6bb32b862 Bump version to 2.3.70 2021-07-10 07:34:52 -04:00
m0duspwnens 0bde69b441 update panel 2021-07-09 16:47:39 -04:00
m0duspwnens 6fbafb74bd update panel 2021-07-09 16:45:02 -04:00
m0duspwnens 9572c1f663 fix var 2021-07-09 16:33:09 -04:00
m0duspwnens 0fedb0f2c5 add 5 minute load avg panel 2021-07-09 16:29:48 -04:00
m0duspwnens 33d3aef9f5 yamlize gridpos 2021-07-09 16:14:25 -04:00
m0duspwnens fb8ccedf66 reduce height by 2 2021-07-09 16:04:55 -04:00
m0duspwnens efcf0accc1 change IDs 2021-07-09 16:01:57 -04:00
m0duspwnens f556d5c07d change row id 2021-07-09 15:58:45 -04:00
m0duspwnens 6c1f424c0b fix row_overview 2021-07-09 15:56:27 -04:00
William Wernert 90970f97e8 Add function to check if files copied to local have been changed in default 2021-07-09 15:44:27 -04:00
m0duspwnens d3137dc6b9 add row panels 2021-07-09 15:43:51 -04:00
m0duspwnens efaf53f2f7 add a panel header, change memeory usage panel 2021-07-09 15:13:50 -04:00
m0duspwnens beb7b89275 yamlize the gridpos for panels 2021-07-09 14:13:00 -04:00
Jason Ertel 8c15fa1627 Merge pull request #4758 from Security-Onion-Solutions/kilo
Upgrade to ES 7.13.3; Use nginx reverse proxy for access to Playbook and Soctopus
2021-07-09 12:40:33 -04:00
m0duspwnens bc814c9be6 new panels, add containers var, hide manint and monint var from dash 2021-07-09 11:21:06 -04:00
William Wernert bac7ef71d8 Add logscan.source.ips field 2021-07-09 10:55:11 -04:00
m0duspwnens dd199ea30f remove quotes if pillar doesnt exist 2021-07-09 10:00:47 -04:00
m0duspwnens fc8acac1a5 change id 2021-07-08 17:39:34 -04:00
m0duspwnens fec269c3e7 add combined container mem panel 2021-07-08 17:28:18 -04:00
m0duspwnens 8e366fd633 add combined container mem panel 2021-07-08 17:27:51 -04:00
m0duspwnens f7d54186dd remove all panels from standalone 2021-07-08 17:11:33 -04:00
m0duspwnens ab92fb3910 add cpucount to standalone 2021-07-08 17:08:45 -04:00
m0duspwnens 6783e2e28b dont hide cpucount on dashboard 2021-07-08 17:06:21 -04:00
m0duspwnens 4e47d3f458 remove single quotes 2021-07-08 17:04:41 -04:00
m0duspwnens b265c7dcb7 single quote cpucount 2021-07-08 17:00:17 -04:00
m0duspwnens f4fae89b8e fix copy paste error 2021-07-08 16:50:25 -04:00
m0duspwnens 45f0b4c85f manint and monint 2021-07-08 16:43:53 -04:00
m0duspwnens 7c80483f6e change CPUS to $cpucount 2021-07-08 16:39:14 -04:00
Jason Ertel 08ba4fdbee Update Kibana saved objects to 7.13.3 2021-07-08 16:34:16 -04:00
m0duspwnens 7085796601 replace SERVERNAME with $servername 2021-07-08 16:33:21 -04:00
m0duspwnens 091b5f73b1 update var 2021-07-08 14:43:38 -04:00
Jason Ertel 0c079edc1a Reverse proxy requests to playbook, soctopus, and nodered 2021-07-08 14:27:16 -04:00
m0duspwnens 54cdfb89f6 remove common_standalone.json.jinja 2021-07-08 14:14:40 -04:00
m0duspwnens f56514ed7d Merge remote-tracking branch 'remotes/origin/dev' into issue/4674 2021-07-08 14:12:26 -04:00
m0duspwnens 56697fde19 create common dashboard and define templates/dashbaord vars 2021-07-08 14:10:22 -04:00
William Wernert 80525ee736 [wip] Add logscan pipeline 2021-07-08 12:29:50 -04:00
Jason Ertel a43bdd9aad Merge pull request #4723 from Security-Onion-Solutions/dev
HEAVYNODE_REDIS hotfix
2021-07-08 11:42:22 -04:00
m0duspwnens 20360d0bb0 create node_config measurement for nodes to be used for grafana dashboard vars 2021-07-08 11:18:25 -04:00
Josh Patterson 70d7513f84 Merge pull request #4729 from Security-Onion-Solutions/fix/heavyfix
Fix/heavyfix
2021-07-07 14:49:38 -04:00
Josh Patterson 12b7fd3ab4 whitespace 2021-07-07 14:48:07 -04:00
Josh Patterson c32b5b5429 whitespace 2021-07-07 14:47:16 -04:00
Josh Patterson ea2a748dba whitespace 2021-07-07 14:44:44 -04:00
Josh Patterson c1d7d8c55a add new line 2021-07-07 14:43:20 -04:00
Josh Patterson a3c58d8445 remove heavy soup 2021-07-07 14:42:38 -04:00
Josh Patterson cfc5c2aef6 do ; instead of && 2021-07-07 14:32:57 -04:00
Josh Patterson 313260a0c5 add heavy action in soup for ssl redis, es, ls, fb 2021-07-07 14:22:45 -04:00
Josh Patterson ee548aaf83 Merge pull request #4728 from Security-Onion-Solutions/fix/heavyfix
remove soup control of heavy
2021-07-07 14:01:32 -04:00
m0duspwnens 5eab57e500 remove soup control of heavy 2021-07-07 13:58:52 -04:00
Josh Patterson 6f48fdad42 Merge pull request #4727 from Security-Onion-Solutions/fix/heavyfix
Fix/heavyfix
2021-07-07 12:15:50 -04:00
m0duspwnens 98fb5109d7 tell heavys to update ssl and restart containers for HEAVYNODE_SSL_LOGSTASH_REDIS_PIPELINES hotfix 2021-07-07 12:05:38 -04:00
m0duspwnens 9c2ead16cc common name changes, allow cert to be managed regardless of expire date for heavy node 2021-07-07 10:22:37 -04:00
Jason Ertel c4293c6119 Merge pull request #4724 from Security-Onion-Solutions/kilo
Merge master into dev via kilo
2021-07-07 07:21:21 -04:00
Jason Ertel 13c392d758 Merge branch 'master' into kilo 2021-07-07 06:40:30 -04:00
m0duspwnens 35f10518b2 map file into container 2021-07-06 17:12:21 -04:00
m0duspwnens 03066c4674 rename file 2021-07-06 17:08:29 -04:00
m0duspwnens e33a6892b3 point to new location 2021-07-06 16:58:15 -04:00
m0duspwnens 87bb3f4a6b quote the 5m 2021-07-06 16:45:10 -04:00
m0duspwnens 62bfaa4e45 send node_config data into telegraf for dashboard queries 2021-07-06 16:30:35 -04:00
Josh Patterson 9e94e605ee Merge pull request #4715 from Security-Onion-Solutions/fix/heavyfix
add to HOTFIX file
2021-07-06 16:01:11 -04:00
m0duspwnens f8dc647b1f add to HOTFIX file 2021-07-06 15:59:35 -04:00
Josh Patterson fc727d6909 Merge pull request #4711 from Security-Onion-Solutions/fix/heavyfix
Fix/heavyfix
2021-07-06 15:56:02 -04:00
m0duspwnens c1d61dc624 add to HOTFIX file 2021-07-06 15:54:15 -04:00
m0duspwnens 0627ca2fc2 use heavynode hostname for certs if heavynode. changes to logstash pipeline for redis if heavynode 2021-07-06 15:32:39 -04:00
weslambert ce0b064972 Add conditional for heavynode for redis and elasticsearch 2021-07-06 14:21:29 -04:00
weslambert 2f3f04e4ca Change from nodename to host 2021-07-06 14:18:39 -04:00
weslambert 2e91f27336 Add conditional for heavynode 2021-07-06 14:17:49 -04:00
weslambert 10b1829830 Add conditional for heavynode 2021-07-06 14:16:34 -04:00
weslambert 4946f32d88 Add extra_hosts entry for local instance when running as heavy node 2021-07-06 14:14:58 -04:00
m0duspwnens dc1363aaf5 create file for telegraf to read node config details 2021-07-06 13:06:03 -04:00
m0duspwnens a5067718d2 comma control 2021-07-06 11:06:35 -04:00
m0duspwnens 98505a9a3f beginning of managing individual panels in grafana 2021-07-06 10:08:36 -04:00
Mike Reeves e054fdb464 Merge pull request #4680 from Security-Onion-Solutions/dev
ECSFIX HOTFIX
2021-07-02 11:16:49 -04:00
Mike Reeves 3c8ad18693 Merge pull request #4683 from Security-Onion-Solutions/2.3.60ecs
2.3.60 ECSFIX
2021-07-02 11:05:17 -04:00
Mike Reeves 0a91f571c1 2.3.60 ECSFIX 2021-07-02 10:41:15 -04:00
Mike Reeves 8db5284f6e Merge pull request #4679 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update telegraf.conf
2021-07-02 09:48:33 -04:00
Mike Reeves 22aa695508 Update telegraf.conf 2021-07-02 09:47:31 -04:00
m0duspwnens a16f733622 add individual panels 2021-07-02 09:35:04 -04:00
Mike Reeves af7d6c8cb5 Merge pull request #4678 from Security-Onion-Solutions/ecsfix1
ECS Hotfix
2021-07-02 09:14:42 -04:00
Mike Reeves 693f455862 ECS hotfix 2021-07-02 08:55:49 -04:00
Mike Reeves b0abd290a9 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-07-02 08:47:02 -04:00
Mike Reeves 0a9686f584 Merge pull request #4669 from Security-Onion-Solutions/TOoSmOotH-patch-1
2.3.70
2021-07-01 14:39:01 -04:00
Mike Reeves 0b11bf6266 Update VERSION 2021-07-01 14:37:56 -04:00
Mike Reeves d26056d272 Merge pull request #4655 from Security-Onion-Solutions/dev
2.3.60
2021-07-01 14:31:04 -04:00
Mike Reeves 724f9ec76f Merge pull request #4667 from Security-Onion-Solutions/2.3.60v2
2.3.60
2021-07-01 13:11:10 -04:00
Mike Reeves d583c79936 2.3.60 2021-07-01 13:09:09 -04:00
Mike Reeves 73b47716bc Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-07-01 13:00:30 -04:00
Josh Patterson 4eaef94454 Merge pull request #4664 from Security-Onion-Solutions/influx_scripts
so-influxdb-downsample script improvements
2021-07-01 10:28:21 -04:00
m0duspwnens 21c9c7b8f4 only render main script if a manager type node 2021-07-01 07:56:45 -04:00
m0duspwnens 108fb12612 s/Migrating/Downsampling 2021-06-30 17:53:09 -04:00
m0duspwnens eb8a030966 reset vars in jinja loop 2021-06-30 17:41:38 -04:00
m0duspwnens 9235bb35a1 fix jinja whatspace and add defaults 2021-06-30 17:30:33 -04:00
m0duspwnens 7b281abf0c migrate script now goes through each day and measurement 2021-06-30 17:21:18 -04:00
Mike Reeves b5fecd30cf Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-06-30 17:05:17 -04:00
Mike Reeves 26ff50f85c Merge pull request #4659 from Security-Onion-Solutions/kilo 2021-06-30 16:34:16 -04:00
Mike Reeves 2eb1ba565f Merge pull request #4658 from Security-Onion-Solutions/fix/so-docker-prune 2021-06-30 16:34:05 -04:00
William Wernert 4dbb869952 Fix typo 2021-06-30 16:21:09 -04:00
Jason Ertel f3041a8d7e Ensure all curl's to Kibana are properly sessioned and/or authenticated depending on elastic auth toggle 2021-06-30 16:09:08 -04:00
William Wernert 4109cdec53 Refactor so-docker-prune to prevent exceptions when removing images
* Prune containers at beginning of script so stopped containers using old images are removed
* Add force=True arg to remove() call to ensure an image is still deleted on the off chance a container is still using that image
* Add exception handling to continue removing containers instead of exiting if the script fails to remove a container
2021-06-30 15:35:01 -04:00
Josh Patterson cdced887d1 Merge pull request #4654 from Security-Onion-Solutions/2.3.60
2.3.60
2021-06-30 12:40:00 -04:00
Mike Reeves 77ca922f62 2.3.60 2021-06-30 12:37:30 -04:00
Mike Reeves a08166f27d Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-06-30 11:38:15 -04:00
Mike Reeves b9c56d1885 Merge pull request #4647 from Security-Onion-Solutions/fb-module-template 2021-06-30 09:38:20 -04:00
weslambert fcbacd473d Add ELK, redis 2021-06-30 09:34:56 -04:00
weslambert 06d77d9972 Update so-common-template.json 2021-06-30 09:31:32 -04:00
Mike Reeves ee9c4f130e Merge pull request #4646 from Security-Onion-Solutions/influx_scripts 2021-06-30 08:58:33 -04:00
m0duspwnens ada729087d add script to drop autogen, rename so-influxdb-migrate to so-influxdb-downsample 2021-06-30 08:14:52 -04:00
m0duspwnens aa47a72656 source common to require root 2021-06-30 07:25:51 -04:00
Jason Ertel 857ec70abb Merge pull request #4639 from Security-Onion-Solutions/issue/4609
grafana dashboards with trends
2021-06-29 22:23:31 -04:00
m0duspwnens 149f837223 Merge remote-tracking branch 'remotes/origin/dev' into issue/4609 2021-06-29 22:20:28 -04:00
m0duspwnens 37d6529ae0 fix load panel for manager graf 2021-06-29 22:18:17 -04:00
m0duspwnens 8d3ae65e04 fix load graf standalone 2021-06-29 22:13:51 -04:00
m0duspwnens 649e539ca6 add trends to sensor dash 2021-06-29 22:08:29 -04:00
m0duspwnens 45e90750a0 add trends for searchnode grafs 2021-06-29 21:37:20 -04:00
Mike Reeves ce2a8917a6 Merge pull request #4635 from Security-Onion-Solutions/kilo 2021-06-29 21:21:55 -04:00
m0duspwnens b22cd2d27c managersearch dash with trends 2021-06-29 21:07:02 -04:00
m0duspwnens 813ef7d81a new eval dashboard with trends 2021-06-29 20:23:27 -04:00
m0duspwnens 88275cd968 remove trend zeek capture loss, turn on line and points for capture loss standalone graf 2021-06-29 19:50:53 -04:00
m0duspwnens 3a47563b27 remove queries manager dashboard 2021-06-29 19:26:40 -04:00
m0duspwnens ebb45a866b remove queries from standalone dashboard 2021-06-29 19:20:29 -04:00
Mike Reeves 1433822437 Merge pull request #4637 from Security-Onion-Solutions/influxdb_cqs
Influxdb cqs - fix the query groupby
2021-06-29 19:08:56 -04:00
m0duspwnens 4a5b416a0b Merge remote-tracking branch 'remotes/origin/influxdb_cqs' into issue/4609 2021-06-29 18:55:38 -04:00
Jason Ertel cad4efdded Fixed PCAP files are readable by root only, which prevents Suricata from being able to scan the file during import 2021-06-29 17:51:04 -04:00
m0duspwnens f73a8d4d80 Merge remote-tracking branch 'remotes/origin/dev' into influxdb_cqs 2021-06-29 17:15:14 -04:00
m0duspwnens dac19d224f update cq 2021-06-29 17:15:00 -04:00
m0duspwnens fa3e5eebe2 update manager dashboard 2021-06-29 15:11:31 -04:00
Jason Ertel b64749c9d7 Merge pull request #4630 from Security-Onion-Solutions/dougburks-patch-1
Move salt lines after shebang
2021-06-29 13:33:00 -04:00
Doug Burks 822165f168 Move salt lines after shebang 2021-06-29 13:32:02 -04:00
m0duspwnens 2d16463fc6 Merge remote-tracking branch 'remotes/origin/dev' into issue/4609 2021-06-29 12:05:12 -04:00
m0duspwnens 3d8cbe9427 add trend lines 2021-06-29 11:22:14 -04:00
m0duspwnens f18b64faaf new standalone dashboard 2021-06-29 11:11:23 -04:00
Jason Ertel 95c7a7e9de Merge pull request #4629 from Security-Onion-Solutions/influxdb_cqs
Influxdb cqs
2021-06-29 10:01:07 -04:00
m0duspwnens ca152ab04c redefine measurements 2021-06-29 09:54:17 -04:00
m0duspwnens bf8bba7b84 only set measurements if conditions are met 2021-06-29 08:57:51 -04:00
m0duspwnens 3f2f699449 Merge remote-tracking branch 'remotes/origin/dev' into influxdb_cqs 2021-06-29 07:46:42 -04:00
m0duspwnens 6b68a39cbe handle senario where there are no measurements 2021-06-29 07:46:25 -04:00
Jason Ertel 8867840215 Merge pull request #4628 from Security-Onion-Solutions/influxdb_cqs
Influxdb cqs
2021-06-28 17:10:27 -04:00
m0duspwnens 1c516daa96 fix measurement list 2021-06-28 17:05:32 -04:00
m0duspwnens 21c9388ee6 generate measurement list and cq for each 2021-06-28 16:12:36 -04:00
m0duspwnens c72146587a standalone dashboard 2021-06-28 16:07:32 -04:00
m0duspwnens 0ba685d0e2 change time filter 2021-06-28 12:36:06 -04:00
m0duspwnens ce98f46331 update standalone dashboard for new influx 2021-06-28 08:49:02 -04:00
m0duspwnens d6aa672556 updating standalone dashboard 2021-06-25 17:30:25 -04:00
Jason Ertel 6d2761b155 Merge pull request #4625 from Security-Onion-Solutions/foxtrot
Add Elasticsearch and Kibana to list of services that use webuser creds
2021-06-25 15:58:56 -04:00
Doug Burks 127afe1582 Merge pull request #4624 from Security-Onion-Solutions/fix/soup-grammar
fix soup grammar
2021-06-25 11:19:22 -04:00
doug a3d7f4e35d fix grammar 2021-06-25 11:16:26 -04:00
Mike Reeves 8eb163532d Merge pull request #4620 from Security-Onion-Solutions/modulefix
Fix filebeat modules
2021-06-24 15:59:16 -04:00
Mike Reeves ea50023ca5 Fix filebeat modules 2021-06-24 15:53:14 -04:00
Mike Reeves 846aef1bd6 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-06-24 14:54:51 -04:00
Mike Reeves 143f2eb1a8 Merge pull request #4616 from Security-Onion-Solutions/airsoup
remove some debug statements
2021-06-24 13:31:17 -04:00
Mike Reeves 3f8cb23cf6 remove some debug statements 2021-06-24 13:29:16 -04:00
Mike Reeves f92709b03b Merge pull request #4614 from Security-Onion-Solutions/airsoup
Airsoup
2021-06-24 11:37:16 -04:00
Mike Reeves 81bb7c6534 remove a net check 2021-06-24 11:32:01 -04:00
Mike Reeves bdd1074be7 remove a net check 2021-06-24 11:24:12 -04:00
Mike Reeves 42a63f8ea5 remove a net check 2021-06-24 11:15:16 -04:00
Mike Reeves 3c85db1769 Fix regression 2021-06-24 11:04:56 -04:00
Mike Reeves 930d5b3627 Revert "Move up script verification"
This reverts commit 66e88cef42.
2021-06-24 10:52:53 -04:00
Mike Reeves a1ec40b547 Revert "Move up script verification"
This reverts commit 2681903c93.
2021-06-24 10:52:27 -04:00
William Wernert 022f9ea76e Add Elasticsearch and Kibana to list of services that use webuser creds 2021-06-24 10:45:12 -04:00
Mike Reeves 2681903c93 Move up script verification 2021-06-24 10:24:00 -04:00
Jason Ertel 403d10cc75 Merge pull request #4611 from Security-Onion-Solutions/airsoup
Move up script verification
2021-06-24 10:05:05 -04:00
Mike Reeves 66e88cef42 Move up script verification 2021-06-24 10:03:38 -04:00
Jason Ertel 8f9d1b99e2 Merge pull request #4610 from Security-Onion-Solutions/airsoup
Fix airgap check
2021-06-24 09:51:47 -04:00
Mike Reeves 4af2f6d84a Fix airgap check 2021-06-24 09:49:57 -04:00
Mike Reeves 78fa4feac6 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-06-23 15:38:38 -04:00
Jason Ertel 5189f38766 Merge pull request #4601 from Security-Onion-Solutions/kilo
Elastic auth related adjustments; Soup error handling corrections, ES pipeline load improvements
2021-06-23 14:46:05 -04:00
Jason Ertel 243e888717 Add queue=True -- needed for all salt commands, not just state changes 2021-06-23 14:41:38 -04:00
weslambert c5b81f2f4b Fix output so that it can be redirected to local file with appropriate syntax 2021-06-23 14:41:38 -04:00
Mike Reeves caa14e0cad Fix Retry Spam 2021-06-23 14:41:38 -04:00
weslambert d411a9e1ff Merge pull request #4597 from Security-Onion-Solutions/fix/pipeline-view-output
Fix output so that it can be redirected to local file with appropriat…
2021-06-23 09:24:41 -04:00
weslambert 3fbc850774 Fix output so that it can be redirected to local file with appropriate syntax 2021-06-23 09:17:37 -04:00
Jason Ertel d16febcae1 Merge pull request #4591 from Security-Onion-Solutions/kilo
Require either true | false in parameter to so-elastic-auth and ensur…
2021-06-22 15:31:48 -04:00
Jason Ertel 26bb6cc011 Require either true | false in parameter to so-elastic-auth and ensure all minions are fully updated with the new auth setting 2021-06-22 15:29:48 -04:00
Jason Ertel bc80ef9a80 Merge pull request #4590 from Security-Onion-Solutions/kilo
only attempt to upgrade salt on minions if the minion count it > 1
2021-06-22 11:36:37 -04:00
m0duspwnens 9fad0876c5 only attempt to upgrade salt on minions if the minion count it > 1 2021-06-22 11:31:31 -04:00
Jason Ertel 914e635b4a Merge pull request #4589 from Security-Onion-Solutions/TOoSmOotH-patch-1
Fix Retry Spam
2021-06-22 10:15:39 -04:00
Mike Reeves 85bb234cf9 Fix Retry Spam 2021-06-22 10:14:33 -04:00
Mike Reeves f7675a5dea Merge pull request #4588 from Security-Onion-Solutions/souperduper
let the first highstate pass
2021-06-22 09:58:00 -04:00
Josh Patterson 7b662055dd Merge pull request #4587 from Security-Onion-Solutions/kilo
fix timeout for docker_container.running for so-dockerregistry
2021-06-22 09:56:24 -04:00
m0duspwnens d78c6f1a74 Merge branch 'kilo' of https://github.com/Security-Onion-Solutions/securityonion into kilo 2021-06-22 09:54:35 -04:00
m0duspwnens 9fa83d1cee change to client_timeout 2021-06-22 09:54:25 -04:00
Mike Reeves 6e780164ea Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-06-22 09:52:44 -04:00
Jason Ertel 2ca8da0710 Merge pull request #4585 from Security-Onion-Solutions/kilo
Kilo
2021-06-22 08:38:39 -04:00
Jason Ertel c3deabae36 Update init.sls 2021-06-22 08:30:54 -04:00
m0duspwnens 9cdbcb72ac Merge branch 'kilo' of https://github.com/Security-Onion-Solutions/securityonion into kilo 2021-06-22 08:23:26 -04:00
m0duspwnens bc86590411 only add sosyncuser cron if startup_states: highstate is set in minion config 2021-06-22 08:23:16 -04:00
Jason Ertel cb167f3d74 Merge pull request #4584 from Security-Onion-Solutions/kilo
retry on so-dockerregistry
2021-06-22 08:08:28 -04:00
Jason Ertel 8ddc99e91f Allow for adjusting SOC session timeout 2021-06-22 08:07:52 -04:00
Jason Ertel dcc9af946a Avoid logging when sync is unnecessary due to cronjob log output spam 2021-06-22 08:07:52 -04:00
m0duspwnens e4e3b199fc retry on so-dockerregistry 2021-06-22 08:05:08 -04:00
Josh Patterson bf61c82cf2 Merge pull request #4581 from Security-Onion-Solutions/kilo
adding elasticsearch.auth to heavynode and searchnode
2021-06-21 14:48:32 -04:00
m0duspwnens c9ee28ce01 adding elasticsearch.auth to heavynode and searchnode 2021-06-21 14:47:24 -04:00
Jason Ertel 5135beb036 Merge pull request #4579 from Security-Onion-Solutions/kilo
Improve user sync algorithm
2021-06-21 12:40:27 -04:00
Jason Ertel f36ef86ccc Improve algorithm for determining if a user sync is necessary; Apply salt state in foreground to avoid collisions with setup salt states. 2021-06-21 12:38:02 -04:00
Jason Ertel 5e042bf4b8 Improve algorithm for determining if a user sync is necessary; Apply salt state in foreground to avoid collisions with setup salt states. 2021-06-21 12:16:47 -04:00
Josh Brower 130ce34686 Merge pull request #4578 from Security-Onion-Solutions/fix/esAlerter
esalerter ES creds fix
2021-06-21 11:08:59 -04:00
Josh Brower 591ef540a6 esalerter ES creds fix 2021-06-21 10:50:09 -04:00
Josh Patterson 697f6ab538 Merge pull request #4577 from Security-Onion-Solutions/issue/1333
remove the salt-minion check for schedules
2021-06-21 09:05:18 -04:00
m0duspwnens ba5b5db2c4 remove the salt-minion check for schedules 2021-06-21 08:56:24 -04:00
Jason Ertel e7afbab6a1 Merge pull request #4576 from Security-Onion-Solutions/kilo
Fix intermittent 'like' failures; Ensure bash is on first line of loa…
2021-06-21 07:09:10 -04:00
Jason Ertel 5298cb8cfb Update copyrights 2021-06-21 07:06:49 -04:00
Jason Ertel 777bece2eb Fix intermittent 'like' failures; Ensure bash is on first line of load templates script 2021-06-20 22:14:13 -04:00
Mike Reeves 7daad1a52a Merge pull request #4571 from Security-Onion-Solutions/kilo
Ensure htpasswd exists earlier in the install process
2021-06-18 21:45:29 -04:00
Jason Ertel 60fd3c6bd3 Ensure htpasswd exists earlier in the install process 2021-06-18 20:01:32 -04:00
Josh Patterson dc1c82f347 Merge pull request #4567 from Security-Onion-Solutions/issue/1333
Issue/1333
2021-06-18 16:12:42 -04:00
m0duspwnens c7a58816b6 move condition to avoid wrong notic about schedule not set in pillar 2021-06-18 15:30:51 -04:00
m0duspwnens 48c3cb4816 if the salt-minion service isnt running when the state is rendered, dont try to apply schedule - https://github.com/Security-Onion-Solutions/securityonion/issues/1333 2021-06-18 14:56:01 -04:00
Jason Ertel 6e7f2107cb Merge pull request #4566 from Security-Onion-Solutions/kilo
Remove unused mode
2021-06-18 14:45:02 -04:00
Jason Ertel 101b835cf6 Remove unused mode 2021-06-18 14:34:42 -04:00
Jason Ertel 558a90aaf8 Merge pull request #4563 from Security-Onion-Solutions/kilo
Disable HaveIBeenPwned API (pwnedpasswords.com)
2021-06-18 08:41:23 -04:00
Jason Ertel 1d4161ba31 Disable HaveIBeenPwned API (pwnedpasswords.com) 2021-06-18 08:36:36 -04:00
Mike Reeves 78d53af27c Merge pull request #4562 from Security-Onion-Solutions/kilo
Fix wrong grep file
2021-06-17 21:19:05 -04:00
Jason Ertel 188b4424e4 Fix wrong grep file 2021-06-17 21:00:56 -04:00
Mike Reeves 0615d635eb let the first highstate pass 2021-06-17 16:12:39 -04:00
Mike Reeves 85d7e75fb1 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-06-17 16:09:11 -04:00
Jason Ertel 833559dde6 Merge pull request #4559 from Security-Onion-Solutions/kilo
Kilo
2021-06-17 15:55:28 -04:00
Jason Ertel b294cee278 Remove passwords from soctopus templates since these are the basis for elastalert rules, which will use the user/pass at the elastalert global config level 2021-06-17 15:53:07 -04:00
Jason Ertel afe7ddb480 Remove passwords from soctopus templates since these are the basis for elastalert rules, which will use the user/pass at the elastalert global config level 2021-06-17 15:51:53 -04:00
Jason Ertel 98526af82a Merge pull request #4558 from Security-Onion-Solutions/kilo
Lock so-user to avoid two processes from overwriting eachother
2021-06-17 15:23:42 -04:00
Jason Ertel 0cb4562254 Lock so-user to avoid two processes from overwriting eachother 2021-06-17 15:19:39 -04:00
Josh Patterson 70f0ee719c Merge pull request #4557 from Security-Onion-Solutions/fix_soup_elasticcurl
Fix soup elasticcurl
2021-06-17 15:02:27 -04:00
m0duspwnens 63b120e9e2 use just curl for elastic in soup 2021-06-17 14:56:05 -04:00
m0duspwnens d587120613 set ELASTICCUURL default as curl 2021-06-17 14:42:04 -04:00
Mike Reeves 0dc4bc3cee Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-06-17 13:30:58 -04:00
Josh Patterson 79aad225a4 Merge pull request #4552 from Security-Onion-Solutions/kilo
Kilo
2021-06-17 09:38:41 -04:00
m0duspwnens 8cd2bc7c13 adding so-eval to ES_INCLUDED_NODES 2021-06-17 09:37:21 -04:00
m0duspwnens 2a5198cae4 change perms to resolve error about module-setup.yml being 660 2021-06-17 08:49:21 -04:00
Jason Ertel b8c463db82 Merge pull request #4551 from Security-Onion-Solutions/kilo
Fix require statement
2021-06-16 21:49:47 -04:00
Jason Ertel 059b016c62 Fix require statement 2021-06-16 21:48:31 -04:00
Jason Ertel f1429632d2 Merge pull request #4549 from Security-Onion-Solutions/kilo
Elastic auth: Fun with Salt
2021-06-16 17:57:58 -04:00
Jason Ertel 2d34208269 Elastic auth: Fun with Salt 2021-06-16 17:52:22 -04:00
Jason Ertel 36c9054744 Merge pull request #4547 from Security-Onion-Solutions/kilo
Kilo
2021-06-16 14:55:27 -04:00
William Wernert 5e11efb0b9 Merge pull request #4548 from Security-Onion-Solutions/fix/soup-merge-fix
Fix merge issue in soup
2021-06-16 14:36:24 -04:00
William Wernert 703988b376 Fix merge issue in soup 2021-06-16 14:28:20 -04:00
Jason Ertel fefd2677fb Only include so-common if available. It only is used for requiring root, but since this script is needed before common is installed, we can safely assume that it's being run as root already (during the install) 2021-06-16 14:26:26 -04:00
Jason Ertel a323aeb8fa Allow so-elastic-auth to run before common even though the script has dependency on a common-provided script (benign error). This is needed first since common will need to know if auth is enabled 2021-06-16 14:23:58 -04:00
Mike Reeves 8d6b0e23ce Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-06-16 13:23:44 -04:00
Jason Ertel edac99e5a9 Merge pull request #4546 from Security-Onion-Solutions/kilo
Accept either 200 or 401 instead of wasting 3 minutes waiting for thi…
2021-06-16 11:41:23 -04:00
Jason Ertel dd14235e31 Accept either 200 or 401 instead of wasting 3 minutes waiting for this to timeout 2021-06-16 11:39:21 -04:00
Jason Ertel 15eadd4f89 Merge pull request #4545 from Security-Onion-Solutions/kilo
Merge kilo to dev for additional ES Auth changes
2021-06-16 11:04:39 -04:00
Jason Ertel 09fbb045a1 If ES auth disabled ensure user/pass are blank 2021-06-16 09:59:57 -04:00
Josh Patterson 7bdd0d3bf1 Merge pull request #4543 from Security-Onion-Solutions/issue/2977
Issue/2977
2021-06-16 08:16:36 -04:00
m0duspwnens ebea9a7198 remove space 2021-06-16 08:07:28 -04:00
m0duspwnens ad9441bb60 prevent suricata state from running on manager and managersearch https://github.com/Security-Onion-Solutions/securityonion/issues/2977 2021-06-16 08:06:26 -04:00
Jason Ertel 989f9dce42 Ensure sqlite.db exists before querying it; Execute so-elastic-auth after common state has been applied and redirect output to setup log 2021-06-15 16:57:13 -04:00
Jason Ertel b95437347e Upgrade ES to 7.13.2 2021-06-15 12:50:57 -04:00
Jason Ertel 2d27e0d9a9 Merge pull request #4530 from Security-Onion-Solutions/kilo
Elastic auth
2021-06-15 11:15:19 -04:00
Jason Ertel c3c078e5be Merge pull request #4522 from Security-Onion-Solutions/feature/contributing-md
Add CONTRIBUTING.md
2021-06-15 10:25:07 -04:00
Jason Ertel dd8eb29a18 Continue merge of ECS into Elastic Auth 2021-06-15 09:11:58 -04:00
William Wernert 2d5591a87f Remove draft label 2021-06-14 16:33:52 -04:00
William Wernert 71b079eb54 Add bullet detailing linking pull request to issue 2021-06-14 16:04:22 -04:00
William Wernert ca6f3807fc Don't use idioms, and remove TBD lines 2021-06-14 15:58:21 -04:00
Doug Burks c2f6a6983d Merge pull request #4521 from Security-Onion-Solutions/feature/security-md
Create SECURITY.md
2021-06-14 15:51:55 -04:00
Jason Ertel 3891ca2929 Use correct mode param to file.recurse 2021-06-14 15:46:25 -04:00
Doug Burks 20437ef2c7 Create SECURITY.md 2021-06-14 15:42:18 -04:00
William Wernert 7de02d541f Increase width of verified commit screenshot 2021-06-14 15:28:44 -04:00
William Wernert 68e4c5e469 Add CONTRIBUTING.md draft, move markdown images to assets/images 2021-06-14 15:21:46 -04:00
Jason Ertel 62187807f0 Specify elastic creds for playbook alert templates 2021-06-14 14:08:14 -04:00
Jason Ertel 37f4caf536 Make new ECS changes Elastic-auth compatible 2021-06-14 12:13:50 -04:00
Jason Ertel fca1c6e957 Merge branch 'dev' into kilo 2021-06-14 10:40:04 -04:00
Josh Patterson 0de7e71fa0 Merge pull request #4517 from Security-Onion-Solutions/fix/filebeat
update roles that include es state
2021-06-14 10:02:50 -04:00
m0duspwnens fd5d540c78 update roles that include es state 2021-06-14 10:00:19 -04:00
m0duspwnens d2069dc5f2 update roles that include es state 2021-06-14 09:58:50 -04:00
Mike Reeves 2ac832678f Merge pull request #4513 from Security-Onion-Solutions/fix/filebeat
fix two bugs
2021-06-14 08:53:13 -04:00
m0duspwnens 5941332d49 fix two bugs 2021-06-14 08:51:29 -04:00
Josh Patterson 45732bd87a Merge pull request #4494 from Security-Onion-Solutions/fix_module_config_jinja
dont loop if modules arent defined for the node
2021-06-11 13:54:15 -04:00
m0duspwnens f7600af89b dont loop if modules arent defined for the node 2021-06-11 13:52:33 -04:00
Josh Patterson 5108121b59 Merge pull request #4489 from Security-Onion-Solutions/hotfix/soup_salt
Hotfix/soup salt
2021-06-10 16:04:27 -04:00
Josh Patterson c2339c84e7 Merge branch 'dev' into hotfix/soup_salt 2021-06-10 15:48:00 -04:00
Jason Ertel 7205c5cb7b Provide timestamp as arg to SOC PCAP pivots 2021-06-10 15:21:03 -04:00
m0duspwnens ff807c9a6f empty hotfix file for merge into dev 2021-06-10 14:06:24 -04:00
Mike Reeves 0341eb5d8f Merge pull request #4479 from Security-Onion-Solutions/hotfix/soup_salt
Hotfix/soup salt
2021-06-10 13:44:10 -04:00
Mike Reeves a2e1b1de3a Merge pull request #4484 from Security-Onion-Solutions/pipeline
Pipeline
2021-06-10 13:41:14 -04:00
m0duspwnens e64059bd7b remove unneeded function 2021-06-10 09:31:10 -04:00
m0duspwnens 46b1de97f5 change function name 2021-06-10 09:30:03 -04:00
Mike Reeves ca7d2c6d64 Merge branch 'pipeline' of https://github.com/Security-Onion-Solutions/securityonion into pipeline 2021-06-10 09:20:38 -04:00
Mike Reeves 12d4d4a4f7 Dynamix Pipelines take 2 2021-06-10 09:19:15 -04:00
m0duspwnens 7c92054f13 soup hotfix to updating repos for earlier versions of SO so salt will isntall 2021-06-10 09:13:15 -04:00
weslambert 1bef1d5652 Update to apply to any so-prefixed index 2021-06-10 08:16:00 -04:00
Jason Ertel 89a02383b8 Correct cronjob path issue for sysctl; suppress diff outputs from users/roles files; suppress salt state output during user sync 2021-06-09 16:31:32 -04:00
Mike Reeves 7fba904f75 Dynamix Pipelines take 1 2021-06-09 15:32:39 -04:00
Mike Reeves 1c7741fdbe Add templates for SO logs 2021-06-09 12:38:19 -04:00
Mike Reeves 4c90a0ed7e Add templates for SO logs 2021-06-09 12:04:32 -04:00
m0duspwnens a82b174826 perform the repo changes for any upgrade 2021-06-09 11:53:10 -04:00
Mike Reeves 579ff8c0b4 Add verbosity to checkin 2021-06-09 11:40:17 -04:00
Mike Reeves 264080546c Add log path 2021-06-09 11:37:27 -04:00
Jason Ertel a0c65e2333 Ensure elastic minions also update their auth files 2021-06-09 09:38:50 -04:00
Jason Ertel dd73ad544c Rename PATH var to avoid collision with OS PATH var; wrapped password var in quotes to support spaces in Fleet/TheHive passwords 2021-06-09 09:06:29 -04:00
Mike Reeves 33db9023eb Revert to SO taxonomy for zeek and suricata 2021-06-08 13:50:39 -04:00
Mike Reeves 88eea03f97 Revert to SO taxonomy for zeek and suricata 2021-06-08 13:36:50 -04:00
Mike Reeves a959ec1eb1 Revert to SO taxonomy for zeek and suricata 2021-06-08 13:23:31 -04:00
Mike Reeves 3e138cbc6d Revert to SO taxonomy for zeek and suricata 2021-06-08 13:14:46 -04:00
Jason Ertel 9b61723194 Merge branch 'dev' into kilo 2021-06-08 11:04:09 -04:00
Jason Ertel d2381b0209 Ensure empty/aborted users/roles files do not get copied onto final filenames 2021-06-08 11:03:56 -04:00
Mike Reeves 4972f69dd6 Merge remote-tracking branch 'remotes/origin/dev' into pipeline 2021-06-08 11:03:14 -04:00
Mike Reeves 56eb220ed6 Revert to SO taxonomy for zeek and suricata 2021-06-08 09:52:05 -04:00
Jason Ertel 343c47d67a Add so-elasticsearch-query tool 2021-06-07 17:26:07 -04:00
Jason Ertel e53f2217ec Add so-elasticsearch-query tool 2021-06-07 17:24:22 -04:00
Mike Reeves 016a5a5914 Merge pull request #4432 from Security-Onion-Solutions/merge_2.3.52
Merge 2.3.52
2021-06-07 14:10:16 -04:00
William Wernert 9f2adfb67a Merge branch 'master' into merge_2.3.52
# Conflicts:
#	VERSION
2021-06-07 14:08:17 -04:00
Mike Reeves 6e92e7283d Merge pull request #4411 from Security-Onion-Solutions/hotfix-0528
2.3.52
2021-06-07 13:55:51 -04:00
Mike Reeves e3c16147ce 2.3.52 2021-06-07 09:34:22 -04:00
Jason Ertel 14aa9805b4 Stop failing an install because salt is already running when a highstate is applied at 95% 2021-06-06 18:20:57 -04:00
Jason Ertel fdab17a3b9 Due to dir ownership restrictions need to run crossthestreams and eval as root 2021-06-06 16:36:35 -04:00
Jason Ertel bebba7d280 Switch ownership of curl config to socore 2021-06-06 07:43:53 -04:00
Jason Ertel 11b2b2a893 Switch ownership of curl config to socore 2021-06-06 05:42:34 -04:00
Jason Ertel 84141082ab Avoid applying state when adding web user 2021-06-05 08:41:48 -04:00
Jason Ertel ba29b5e036 Do not apply salt state if already applying a state 2021-06-04 21:56:41 -04:00
Jason Ertel e22421ec99 Refactor users/roles management via salt due to Salt's clobbering of the inode which breaks Docker mounts 2021-06-04 20:01:30 -04:00
Jason Ertel 416b38fc71 Use cronjob to ensure user synchronization 2021-06-04 11:24:58 -04:00
William Wernert fd5fcfeaae Merge pull request #4402 from Security-Onion-Solutions/foxtrot
Use variable for whiptail title and make sure all menus in setup have the same title
2021-06-04 11:10:01 -04:00
Mike Reeves 75ff268ecc 2.3.52 2021-06-04 11:03:08 -04:00
Mike Reeves 9f98b8ad2f 2.3.52 2021-06-04 10:59:18 -04:00
Jason Ertel 316035910f Remove inotify beacon due to it not functioning as documented; Add back so-user changes to sync upon so-user changes 2021-06-03 15:15:35 -04:00
William Wernert d1d09d4aab Remove useless variable assignment 2021-06-03 14:20:52 -04:00
Mike Reeves 31365b266a Update so-zeek-stats 2021-06-03 13:53:11 -04:00
Mike Reeves 2f34e7eeed Update HOTFIX 2021-06-03 11:04:10 -04:00
William Wernert 3aff3ac7e4 Change logic to check for unmanaged nics
Resolves issue mentioned in #4327
2021-06-03 11:00:20 -04:00
William Wernert d1a185aaae Further standardize whiptail titles 2021-06-03 10:59:14 -04:00
Mike Reeves ff10432124 Update VERSION 2021-06-03 10:57:20 -04:00
William Wernert bb5b805983 Merge branch 'fix/missing-version-string' into foxtrot 2021-06-03 10:45:02 -04:00
Jason Ertel 58ae3479dc Fix mispelled db filename; ensure ELASTICCURL is used for loading config objects 2021-06-03 10:11:10 -04:00
William Wernert d55e007032 Merge pull request #4386 from Security-Onion-Solutions/foxtrot
Update wording for iso location prompt in soup
2021-06-03 09:55:15 -04:00
Jason Ertel 2af43d62eb Wrap curl param in quotes for function call 2021-06-03 08:53:59 -04:00
Jason Ertel 5c527b2c48 Rename username param to user since logstash is 'unique' 2021-06-03 07:51:43 -04:00
Jason Ertel e6165f0046 Update kibana config load for auth changes 2021-06-03 07:47:32 -04:00
Jason Ertel 70427bc676 Merge branch 'dev' into kilo 2021-06-03 07:41:35 -04:00
Mike Reeves 9ec7cbef8e Merge pull request #4391 from Security-Onion-Solutions/es-7.13.1
Es 7.13.1 saved objects update
2021-06-02 20:23:40 -04:00
Jason Ertel 719d841353 Update saved objects 2021-06-02 20:15:03 -04:00
Jason Ertel fa6af06204 Avoid running highstate during setup when flipping auth flag 2021-06-02 17:13:59 -04:00
weslambert cba719b3a0 Remove extra comma 2021-06-02 16:42:09 -04:00
weslambert 4241bb08b8 Add suricata/zeek until we migrate templates 2021-06-02 16:37:43 -04:00
Jason Ertel 901242f7e9 remove extra parenthesis 2021-06-02 16:23:45 -04:00
weslambert 4c74e7f308 Add event.kind and set name to module[dot]dataset 2021-06-02 15:35:26 -04:00
weslambert db48c15f1d Create event.kind field and rename dataset to be module[dot]dataset 2021-06-02 15:33:18 -04:00
weslambert a1b34e7a88 Fix Suricata index name 2021-06-02 15:30:14 -04:00
Jason Ertel fc6b3726a4 Fix missing colon for mode 2021-06-02 15:23:16 -04:00
Mike Reeves 9c9bcac61b Update DNS queries 2021-06-02 15:01:14 -04:00
Jason Ertel 588da4d7dc Resolve salt pillar/state/jinja race condition 2021-06-02 14:34:21 -04:00
Mike Reeves e42db3cd2d Fix some hunt queries 2021-06-02 14:05:02 -04:00
Mike Reeves e8cc88174f Fix some hunt queries 2021-06-02 13:55:05 -04:00
Mike Reeves 7b7111e12c Fix some hunt queries 2021-06-02 13:53:39 -04:00
William Wernert b3f2c60065 Whiptail title fixes
- Use a variable for the title
- Fix cases where the whiptail title wasn't changed previously
2021-06-02 12:38:32 -04:00
Jason Ertel 20e896cacf Update all configs to pass user/pass to ES 2021-06-02 12:17:15 -04:00
William Wernert afbf7de9e3 Remove empty lines in iso location prompt 2021-06-02 11:05:43 -04:00
Jason Ertel 4ff85ab0c4 Merge branch 'dev' into kilo 2021-06-02 10:39:51 -04:00
Jason Ertel dd7388e577 Merge pull request #4382 from Security-Onion-Solutions/jertel/timeouts
Increase SOC API timeouts and ES timeout from 2m to 5m
2021-06-02 10:28:36 -04:00
Mike Reeves 77f13961ad Merge remote-tracking branch 'remotes/origin/dev' into pipeline 2021-06-02 10:12:17 -04:00
Mike Reeves e00fe0a732 Enable for all modes 2021-06-02 10:02:11 -04:00
Jason Ertel c757d21360 Increase default SOC API and ES timeouts from 2m to 5m 2021-06-02 09:38:59 -04:00
Jason Ertel 3a134cc706 fix merge conflicts 2021-06-02 09:16:28 -04:00
Jason Ertel 7aede4d058 Persist chown/chmod settings on users/roles files 2021-06-02 09:01:16 -04:00
Mike Reeves 5983eae3a8 fix filebeat module syntax 2021-06-01 17:47:13 -04:00
Josh Patterson 9d6dca9c64 Merge pull request #4372 from Security-Onion-Solutions/pipeline_userpass
fix typo
2021-06-01 17:46:41 -04:00
m0duspwnens 7b68c1bc9b fix typo 2021-06-01 17:45:52 -04:00
Josh Patterson 9d905368ca Merge pull request #4371 from Security-Onion-Solutions/pipeline_userpass
Pipeline userpass
2021-06-01 17:01:51 -04:00
m0duspwnens 867613669d changes for syncing users 2021-06-01 17:01:03 -04:00
Mike Reeves fd1de624c8 Disable TTY for filebeat script 2021-06-01 14:50:21 -04:00
Jason Ertel 2a2247e1da Additional so-user sync adjustments 2021-06-01 14:45:01 -04:00
Jason Ertel 7a59bee315 Add so-elastic-auth script 2021-06-01 12:48:53 -04:00
William Wernert 91c8a7c65b Use correct syntax for tar to drop directory structure 2021-06-01 12:16:56 -04:00
Mike Reeves 73a0b31380 elastic pipeline enable 2021-06-01 12:12:20 -04:00
m0duspwnens ef00695b07 fix typo 2021-06-01 11:31:50 -04:00
m0duspwnens bfaffbc87e add reactor and beacon for sqlite db 2021-06-01 11:15:28 -04:00
William Wernert e800d62df4 Merge branch 'dev' into fix/update-iso-soup-wording 2021-06-01 11:12:17 -04:00
Josh Patterson 6fe765434e Merge pull request #4362 from Security-Onion-Solutions/pipeline_userpass
Pipeline userpass
2021-06-01 10:56:29 -04:00
m0duspwnens 7e48740ea7 fix merge conflict 2021-06-01 10:56:02 -04:00
m0duspwnens d25a439bd4 more changes 2021-06-01 10:53:58 -04:00
Jason Ertel ed8c85df2b Only sync web users if teh sqlite db exists 2021-06-01 10:26:33 -04:00
Josh Patterson c4ae8c3418 Merge pull request #4359 from Security-Onion-Solutions/pipeline_userpass
generate pillar file if auth enabled or not
2021-06-01 09:38:34 -04:00
m0duspwnens f87dce8ec1 generate pillar file if auth enabled or not 2021-06-01 09:38:07 -04:00
Josh Patterson 5d2f1c8e11 Merge pull request #4357 from Security-Onion-Solutions/pipeline_userpass
fix logic
2021-06-01 08:36:48 -04:00
m0duspwnens 1aa2852ed6 fix logic 2021-06-01 08:35:43 -04:00
Jason Ertel a42a406f53 Remove extra users file mounts; disable elastic anon access when auth enabled 2021-05-29 07:52:08 -04:00
Jason Ertel 47b56e78b3 Fix missing endif 2021-05-28 20:07:51 -04:00
Josh Patterson 52db7b32ef Merge pull request #4335 from Security-Onion-Solutions/pipeline_userpass
fix logic on password created in pillar and fix how me manage
2021-05-28 18:29:59 -04:00
m0duspwnens 3aad5a30e9 fix logic on password created in pillar and fix how me manage 2021-05-28 18:28:53 -04:00
Jason Ertel b8a10f2e86 Support multiple elastic system users 2021-05-28 15:59:51 -04:00
Josh Patterson 4e8dc0e3b9 Merge pull request #4334 from Security-Onion-Solutions/pipeline_userpass
Pipeline userpass
2021-05-28 15:29:07 -04:00
m0duspwnens edf60f80f7 manager and common states now require elasticsearch.auth state 2021-05-28 15:26:26 -04:00
William Wernert a94c598d00 Merge pull request #4333 from Security-Onion-Solutions/feature/show-version-in-setup
Show version in setup
2021-05-28 15:15:43 -04:00
m0duspwnens 68abaa5e3c update auth.map and curl.config to use new elasticsearch:auth pillar format 2021-05-28 14:03:21 -04:00
m0duspwnens 63b31de2b8 add additional users - manage file if user name isnt returned from grepping the file 2021-05-28 13:58:03 -04:00
Mike Reeves eac5c604bd Update packetloss.sh 2021-05-28 12:57:35 -04:00
Mike Reeves e7d8df499c Update HOTFIX 2021-05-28 12:55:57 -04:00
Josh Patterson 35845440c6 Merge pull request #4330 from Security-Onion-Solutions/pipeline_userpass
remove unneeded curl.config template
2021-05-28 10:38:43 -04:00
m0duspwnens 18926009d3 remove unneeded curl.config template 2021-05-28 10:38:06 -04:00
William Wernert d55a9e6274 Add version to all whiptail titles 2021-05-28 10:20:19 -04:00
William Wernert ba011581ef Add version to ending summary 2021-05-28 10:14:58 -04:00
Jason Ertel 1788ceccea Merge pull request #4329 from Security-Onion-Solutions/fix/kibana_7.13.0
bump Kibana version to 7.13.0
2021-05-28 09:14:18 -04:00
doug ada8255af0 bump version to 7.13.0 2021-05-28 08:59:40 -04:00
Josh Patterson f1a6f66d49 Merge pull request #4317 from Security-Onion-Solutions/pipeline_userpass
remove vault pg from when i was testing
2021-05-27 13:55:01 -04:00
m0duspwnens 423793ecf9 remove vault pg from testing 2021-05-27 13:50:22 -04:00
Josh Patterson 94cfa3c9d0 Merge pull request #4314 from Security-Onion-Solutions/pipeline_userpass
Pipeline userpass
2021-05-27 11:34:34 -04:00
m0duspwnens 0134ceef16 merge and resolve conflict in elasticsearch state 2021-05-27 11:33:44 -04:00
m0duspwnens b23ce7462e add depenency 2021-05-27 11:26:25 -04:00
Doug Burks cf3dda6869 Merge pull request #4300 from j-bernal/patch-1
Update so-whiptail
2021-05-27 07:58:16 -04:00
m0duspwnens dc8520df42 user curl.config for curl and elasticscripts 2021-05-26 18:04:30 -04:00
Jason Ertel d9c5976ed0 Merge pull request #4304 from Security-Onion-Solutions/feature/1596
add menu.actions.json and update soc.json
2021-05-26 16:41:30 -04:00
doug aeea5701e4 completely disable both alerts.actions.json and hunt.actions.json 2021-05-26 16:34:05 -04:00
m0duspwnens 7263e35a89 happy little comment 2021-05-26 14:52:59 -04:00
m0duspwnens 4d991d3773 propogate users and users_roles 2021-05-26 14:52:10 -04:00
Mike Reeves bfcde15a24 elastic pipeline test 2021-05-26 14:22:14 -04:00
doug ee675546ac add menu.actions.json and update soc.json 2021-05-26 14:09:00 -04:00
Jason Ertel b43e6c5d6b Salt will handle auto-sync 2021-05-26 13:51:24 -04:00
Jason Ertel c531ef0773 Move user sync'd files to saltstack for grid propagation 2021-05-26 13:44:30 -04:00
Jason Ertel a6a4c03029 Improve error scenarios for user sync; Ensure user sync runs before Elastic container starts 2021-05-26 12:08:10 -04:00
Mike Reeves b525cfc787 Remove old modules 2021-05-26 11:07:53 -04:00
m0duspwnens 842aa97f7e load filebeat modules when es container starts and if fb container is running 2021-05-26 11:00:18 -04:00
Mike Reeves 34d4eedf67 Remove old modules 2021-05-26 10:11:47 -04:00
Josh Brower 4a109d6af1 Merge pull request #4299 from Security-Onion-Solutions/feature/so-pcap-pull
Feature/so-pcap-export
2021-05-26 09:59:45 -04:00
John Bernal cb40a76247 Update so-whiptail
Updated Zeek capitalization when prompting for the number of processes.
2021-05-26 09:55:14 -04:00
Josh Brower ed249600d3 Merge remote-tracking branch 'remotes/origin/dev' into feature/so-pcap-pull 2021-05-26 09:52:58 -04:00
Josh Brower 0187c9d6df Adds so-pcap-export 2021-05-26 09:51:37 -04:00
William Wernert 6da37966d9 Update wording for iso location prompt in soup 2021-05-26 09:32:25 -04:00
m0duspwnens 525d4325c7 define ZEEKLOGLOOKUP in the yaml 2021-05-25 17:18:58 -04:00
m0duspwnens ecf7e25a51 fix merge conflict 2021-05-25 17:16:44 -04:00
Jason Ertel ec2f8fe6c8 Synchronize SOC passwords with Elastic 2021-05-25 17:16:05 -04:00
m0duspwnens dfaf40f583 add zeekloglookup to translate zeeklogs to filebeat filesets 2021-05-25 17:14:26 -04:00
Mike Reeves 543154f037 Remove old modules 2021-05-25 16:58:18 -04:00
Mike Reeves cd3e355f84 Fix zeek depth 2021-05-25 16:54:20 -04:00
m0duspwnens 2eee6b45bc Merge branch 'pipeline' of https://github.com/Security-Onion-Solutions/securityonion into pipeline 2021-05-25 16:52:08 -04:00
m0duspwnens 0de5c6f204 fix sodefault modules 2021-05-25 16:52:02 -04:00
Mike Reeves 9363fc153c Fix pillar for module 2021-05-25 16:44:13 -04:00
m0duspwnens 2aacd5b9b6 so defaults filebeat modules 2021-05-25 16:40:50 -04:00
m0duspwnens c3b2e1e8b2 dont show changes 2021-05-25 16:16:57 -04:00
m0duspwnens e261c197f3 add elasticsearch.auth state to statnalone node 2021-05-25 13:46:18 -04:00
m0duspwnens 747dc77c92 comment out the hackery 2021-05-25 13:23:26 -04:00
m0duspwnens 35cc7b27e9 remove extra quote 2021-05-25 13:12:30 -04:00
William Wernert 67828a86c1 Merge pull request #4289 from Security-Onion-Solutions/foxtrot
Soup error handling, reorder sensoroni state
2021-05-25 12:42:01 -04:00
m0duspwnens 58ec31d6c7 pass ELASTICAUTH to script 2021-05-25 12:02:41 -04:00
m0duspwnens 6da0b57ce1 fix file.file_exists 2021-05-25 11:55:22 -04:00
m0duspwnens 8d9d5a267a generate elasticsearch.auth pillar if it doesnt exist 2021-05-25 11:52:58 -04:00
William Wernert 94af55a951 Fix typo 2021-05-25 11:25:37 -04:00
William Wernert 192cec1825 Change how version with dashes are handled by so-docker-prune 2021-05-25 11:25:12 -04:00
Mike Reeves 1e564c2140 Fix zeek jinja 2021-05-25 10:22:36 -04:00
William Wernert 7e008378ba Replace string with variable, remove unnecessary text 2021-05-25 09:23:44 -04:00
William Wernert dbc4ffd69a Fix typo 2021-05-25 09:20:45 -04:00
m0duspwnens 5a1e8d9fe9 update kibana scripts for elastic auth 2021-05-25 08:50:55 -04:00
Mike Reeves 5e5d30a377 Fix 3rd party modules 2021-05-25 08:26:25 -04:00
William Wernert 3bc0def02a Add failure message to salt-master check 2021-05-24 16:45:05 -04:00
m0duspwnens bd301880ad define the default 2021-05-24 16:32:30 -04:00
m0duspwnens 2deb703272 map users_roles and users conf into docker container 2021-05-24 16:30:55 -04:00
Jason Ertel 8c6489a49a Initial pass at synchronizing users file 2021-05-24 15:48:05 -04:00
m0duspwnens 87609ba5d1 fix elasticcurl if auth is enabled 2021-05-24 15:44:01 -04:00
m0duspwnens ba3a51387c set default to False 2021-05-24 15:31:46 -04:00
William Wernert ffd5bfc480 Force images from automated branches to a very high semver 2021-05-24 15:25:03 -04:00
m0duspwnens a4226cc39a use elastic map file 2021-05-24 15:14:05 -04:00
William Wernert dcb89b704a Move sensoroni state out of the * block of top.sls
Resolves #3559
2021-05-24 13:45:12 -04:00
William Wernert 686c7c5a6c Add exception handling for docker API error to so-docker-prune 2021-05-24 13:26:43 -04:00
Jason Ertel 409eea677d Continue removal of argon hashing 2021-05-24 11:50:53 -04:00
William Wernert 99d41d1606 Add ending newline to soup 2021-05-24 11:29:40 -04:00
Jason Ertel 915b7aa2df Switch Kratos config from argon2 to bcrypt12 2021-05-24 10:52:54 -04:00
m0duspwnens e2d5102a0e changes for script to auth to elastic 2021-05-24 10:13:29 -04:00
Mike Reeves e5a41b60ef Merge remote-tracking branch 'remotes/origin/dev' into pipeline 2021-05-24 09:14:03 -04:00
Jason Ertel 0572ea4095 Fail curl command if a failing status code is returned by the remote server 2021-05-21 17:27:11 -04:00
Jason Ertel 71032150c5 Add secure HTTP headers to all SO application responses to reduce exposure to browser and other HTTP-related vulnerabilities 2021-05-21 17:27:00 -04:00
Jason Ertel 36d13dd414 Merge branch 'dev' into kilo 2021-05-21 17:26:50 -04:00
William Wernert 946e369a44 Merge branch 'dev' into foxtrot 2021-05-21 15:26:24 -04:00
Mike Reeves 18922ed6f5 Merge pull request #4263 from Security-Onion-Solutions/feature/merge-2.3.51
Merge 2.3.51 into dev
2021-05-21 12:47:15 -04:00
William Wernert c1dd4dafe4 Fix influx state 2021-05-21 12:41:10 -04:00
William Wernert fe3aec173f Merge branch 'master' into feature/merge-2.3.51
# Conflicts:
#	VERSION
#	salt/influxdb/init.sls
2021-05-21 12:31:54 -04:00
Mike Reeves c5d0286e24 Merge pull request #4254 from Security-Onion-Solutions/2.3.51
2.3.51
2021-05-21 12:15:04 -04:00
Mike Reeves 7aed01658f Sig file for 2.3.51 2021-05-20 22:10:36 -04:00
Mike Reeves de4fde4ee3 Merge pull request #4248 from Masaya-A/MAC-Address
Showing Mac Address to select suitable NICs (Discussions #4214)
2021-05-19 21:18:15 -04:00
Masaya-A 3450219bc7 Drop error to /dev/null 2021-05-20 09:33:14 +09:00
Jason Ertel b440f73336 Truncate wait_for_web_response.log before each wait invocation 2021-05-19 18:37:08 -04:00
Masaya-A 6af126b872 Fix array 2021-05-19 10:02:19 +09:00
Masaya-A ac42cba50b Adding MAC Address for NIC List 2021-05-19 09:06:02 +09:00
Masaya-A 5d263f63cb Merge pull request #10 from Security-Onion-Solutions/dev
Dev Sync
2021-05-19 08:59:49 +09:00
William Wernert f445186f1e Remove redundant error messages 2021-05-18 13:38:55 -04:00
Jason Ertel 25e2edc6d2 Reset HOTFIX with new release 2021-05-18 12:31:33 -04:00
William Wernert bdd53ed5e3 Change retry delay + count 2021-05-18 12:23:40 -04:00
Jason Ertel c207504657 Merge branch '2.3.51' of ssh://github.com/security-onion-solutions/securityonion into 2.3.51 2021-05-18 09:52:07 -04:00
Jason Ertel fe155222c2 Introduce mixed-case sensor into distributed test 2021-05-18 09:51:54 -04:00
Josh Patterson 9b4325662b Merge pull request #4218 from Security-Onion-Solutions/issue/4207
Issue/4207
2021-05-18 09:04:26 -04:00
m0duspwnens 0de1c9a669 removing unreference pillar file docker/config.sls 2021-05-18 07:57:00 -04:00
m0duspwnens ef32bff302 fix up soc.json 2021-05-17 18:29:27 -04:00
m0duspwnens e50002e0ca influx and grafana default for manager nodes - https://github.com/Security-Onion-Solutions/securityonion/issues/4207 2021-05-17 16:26:12 -04:00
William Wernert dbd5ef70c9 Change retry delay + count 2021-05-17 16:19:31 -04:00
William Wernert ce9554281e Fix backwards logic 2021-05-17 16:08:34 -04:00
William Wernert 4e1fba5b38 Only echo error code if not using retry 2021-05-17 16:04:13 -04:00
William Wernert 3f238f7a4a Set flag so trap doesn't repeat info 2021-05-17 16:02:52 -04:00
William Wernert b89091cc7d Try retrying in curl instead of shell function 2021-05-17 15:58:25 -04:00
Mike Reeves d001597e52 Update README.md 2021-05-17 15:56:46 -04:00
Mike Reeves 4c7cee4ebc Update VERSION 2021-05-17 15:55:49 -04:00
Mike Reeves 6eed730209 Merge pull request #4213 from Security-Onion-Solutions/zeekhotfix
Zeekhotfix
2021-05-17 15:55:17 -04:00
William Wernert 992b76a0f0 Remove debug lines 2021-05-17 15:38:10 -04:00
William Wernert 2bcd51b21c Fix error message 2021-05-17 15:10:57 -04:00
William Wernert 3625453668 Don't unmount airgap directory if not airgap 2021-05-17 11:00:28 -04:00
William Wernert 5821a122cc Merge branch 'dev' into issue/3220 2021-05-17 10:58:06 -04:00
Josh Patterson 891e414cb6 Merge pull request #4202 from Security-Onion-Solutions/issue/3264
Issue/3264
2021-05-14 16:30:16 -04:00
m0duspwnens 54f9e3ff9d remove leading space on comment line 2021-05-14 16:24:16 -04:00
m0duspwnens 1c0cc15fdb Merge remote-tracking branch 'remotes/origin/dev' into issue/3264 2021-05-14 15:19:58 -04:00
m0duspwnens 231e07dbbd circumvent file.patch putting ERROR in log if patch doesnt need applied 2021-05-14 15:19:45 -04:00
m0duspwnens 3859f6464a dont be quiet on first grep 2021-05-14 08:56:42 -04:00
Mike Reeves 71a74a6656 Added updated script and core modules 2021-05-13 13:07:16 -04:00
Josh Patterson 3668d1aadf Merge pull request #4188 from Security-Onion-Solutions/issue/3264
install influxdb and grafana during setup prior to final highstate
2021-05-13 11:46:57 -04:00
m0duspwnens d3af06e7a4 handle exception if influxdb module doesnt exist 2021-05-13 11:00:42 -04:00
m0duspwnens 74f2a61b25 install influxdb and grafana during setup prior to final highstate 2021-05-13 09:06:47 -04:00
Mike Reeves 68a667ee7c Add thirfpartydefaults.yml 2021-05-12 15:31:19 -04:00
William Wernert 192b5db25a Add true to end of functions ending with shorthand comparison
Functions ending with test using [[ <false> ]] && <cmd> will trip set -e, so adding true to the last line of the function will prevent the function from returning a nonzero code
2021-05-12 15:26:39 -04:00
William Wernert 9ced391c11 Fix indent in main(), re-add trap, remove ERR_HANDLED variable 2021-05-12 13:20:59 -04:00
William Wernert 807b525c79 Temp remove exit on failure + bash trap 2021-05-12 11:19:33 -04:00
William Wernert 7bd04deae7 Unset exit on failure for pkill command 2021-05-12 10:45:03 -04:00
William Wernert c379822bf0 Set variable to skip trap if error already handled 2021-05-11 12:59:49 -04:00
m0duspwnens ad67167e97 remove whitespace control 2021-05-11 12:58:21 -04:00
m0duspwnens 4012a8276c add template for module .yml file 2021-05-11 12:22:25 -04:00
m0duspwnens efc028d0a5 handle the docker port bindings for filebeat modules 2021-05-10 18:08:47 -04:00
Mike Reeves 01a121e029 Add defaults.yml 2021-05-10 15:29:50 -04:00
William Wernert f793450d97 Return actual exit code from retry 2021-05-10 13:22:13 -04:00
William Wernert fec868432f Try to fix bash trap 2021-05-10 11:59:22 -04:00
William Wernert d3b08beb53 Only cat file if it exists 2021-05-10 11:11:54 -04:00
William Wernert a75d4841d0 Add debug lines 2021-05-10 11:05:24 -04:00
William Wernert 8b3730748b Add debug line and remove exit command on retry failure 2021-05-10 10:58:29 -04:00
William Wernert de5552c91a Merge branch 'dev' into issue/3220 2021-05-10 10:33:52 -04:00
m0duspwnens a7e6dec51d Merge remote-tracking branch 'remotes/origin/dev' into kilo 2021-05-10 09:57:50 -04:00
Josh Patterson 26335a9b42 Merge pull request #4140 from Security-Onion-Solutions/issue/3264
https://github.com/Security-Onion-Solutions/securityonion/issues/3264
2021-05-10 08:14:12 -04:00
William Wernert f8dd6890b2 Unset/set exit on command fail for retries 2021-05-07 16:50:59 -04:00
m0duspwnens 1c103f92f2 Merge remote-tracking branch 'remotes/origin/issue/3264' into kilo 2021-05-07 14:48:42 -04:00
m0duspwnens e3ce683970 Merge remote-tracking branch 'remotes/origin/dev' into issue/3264 2021-05-07 14:48:16 -04:00
m0duspwnens 9eb63b17f9 exit if retry fails 2021-05-07 14:48:02 -04:00
m0duspwnens 755370eff0 Merge remote-tracking branch 'remotes/origin/dev' into kilo 2021-05-07 14:46:08 -04:00
Jason Ertel 407ad51244 Merge pull request #4139 from Security-Onion-Solutions/issue/4081
FEATURE: Pivot from Alerts/Hunt to CyberChef #4081
2021-05-07 13:31:21 -04:00
Doug Burks 293fb0a76d FEATURE: Pivot from Alerts/Hunt to CyberChef #4081 2021-05-07 13:23:46 -04:00
Doug Burks 2e228c8355 FEATURE: Pivot from Alerts/Hunt to CyberChef #4081 2021-05-07 13:22:03 -04:00
m0duspwnens 009f7617c1 check salt-master is responding 2021-05-07 12:47:22 -04:00
m0duspwnens b39c8c1f1f exit after 50 tries if manager cant connect to iteself via salt 2021-05-07 11:02:23 -04:00
William Wernert 7b29c6427b Add preliminary error handling in soup 2021-05-07 10:55:17 -04:00
m0duspwnens d0e084b8ea change command to test if salt-master is accepting connections 2021-05-07 10:20:04 -04:00
m0duspwnens 46223e0b30 add quotes around minionid 2021-05-07 08:59:47 -04:00
m0duspwnens 5d3b147b42 change retry command 2021-05-06 20:32:26 -04:00
m0duspwnens 6474c296e1 dont need to specify dest rp 2021-05-06 20:26:13 -04:00
m0duspwnens b8ad80ae35 update comment 2021-05-06 17:49:40 -04:00
m0duspwnens 78240b4b52 change retry command 2021-05-06 17:49:02 -04:00
m0duspwnens e7c716ede4 merge with dev, use retry to check if manager up instead of sleep in soup 2021-05-06 16:44:34 -04:00
m0duspwnens fb986b5cff set both log levels to error 2021-05-06 14:55:14 -04:00
m0duspwnens a49f2e2d98 change log_level_logfile to error for /opt/so/log/salt/minion 2021-05-06 13:38:16 -04:00
Mike Reeves 90b3462ead No recurse for you 2021-05-06 13:29:15 -04:00
m0duspwnens da528e802f ensure migration script doesnt migrate the current days data and fix downsample cq to move from so_short_term rp 2021-05-06 12:52:47 -04:00
Josh Brower 23b4327c28 Merge pull request #4072 from petiepooo/fix-sleep
fix 5-second sleep
2021-05-06 12:48:34 -04:00
Mike Reeves 1de768c182 Update HOTFIX 2021-05-06 12:02:05 -04:00
William Wernert 9f6dfa4d2e Merge pull request #4112 from Security-Onion-Solutions/master
Bring hotfix changes into dev
2021-05-06 10:44:25 -04:00
Mike Reeves 96c20ea3cf Merge pull request #4080 from Security-Onion-Solutions/hotfix2
GRIDFIX Hotfix
2021-05-06 10:34:17 -04:00
Wes Lambert 728d1f7540 Make Zeek and Suricata great again 2021-05-06 14:06:17 +00:00
Wes Lambert ee92ba20b0 Add modules path reference 2021-05-06 13:56:39 +00:00
Wes Lambert 1b749cf004 Additional config 2021-05-06 13:55:07 +00:00
Wes Lambert 37929dbd7d Add additional config for Filebeat modules 2021-05-06 13:54:28 +00:00
Wes Lambert 865ba912f8 Merge remote-tracking branch 'remotes/origin/dev' into pipeline 2021-05-06 13:19:31 +00:00
m0duspwnens 9dbb9f519b create so_short_term rp as default so that autogen can just be dropped once data is downsampled 2021-05-06 09:14:49 -04:00
m0duspwnens 20188549f7 add the logic for so-influxdb-migrate 2021-05-05 19:28:16 -04:00
m0duspwnens 925be17d51 clean some commas in so-influxdb-clean 2021-05-05 15:59:18 -04:00
m0duspwnens 0ea4c99102 remove support for months as it isnt supported in InfluxQL 2021-05-05 15:32:53 -04:00
m0duspwnens db98b7ed27 verify with user before proceedig to clean 2021-05-05 15:08:11 -04:00
m0duspwnens 44de611097 rename to so-influxdb-clean 2021-05-05 14:57:39 -04:00
m0duspwnens a5ee8fb59d fix the issues with so-influxdb-clear 2021-05-05 14:56:53 -04:00
m0duspwnens e532804474 move to proper dir 2021-05-05 13:42:21 -04:00
m0duspwnens ce24781446 first take at so-infludb-clean 2021-05-05 13:29:24 -04:00
weslambert c867d6648a Merge pull request #4098 from Security-Onion-Solutions/delta
Add ignore above for message keyword field
2021-05-05 08:53:39 -04:00
m0duspwnens 8ae5ae7e57 Merge remote-tracking branch 'remotes/origin/dev' into issue/3264 2021-05-05 08:33:47 -04:00
m0duspwnens 6a639edb05 have cq created once again 2021-05-05 08:33:31 -04:00
Wes Lambert a1a79719fc Add ignore above for message keyword field 2021-05-05 12:07:30 +00:00
m0duspwnens c5f99b012e comment out creation of cq to test data migration 2021-05-04 13:58:53 -04:00
m0duspwnens fcd1bea4a3 remove auto data migration, change duration from 0s to 0d 2021-05-04 12:06:03 -04:00
Mike Reeves 0622c77a7f Add filebeat modules 2021-05-04 10:50:13 -04:00
Mike Reeves 8aaf3e1052 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-05-04 10:44:13 -04:00
m0duspwnens 3dcaa1f6fb more logging for influxdb migration 2021-05-04 10:37:25 -04:00
m0duspwnens 2d91e509fa update wording 2021-05-04 10:34:13 -04:00
m0duspwnens a0f1839162 run in background 2021-05-04 09:59:16 -04:00
m0duspwnens e2f52765e4 add newline 2021-05-04 09:34:42 -04:00
m0duspwnens f186a3dde9 make sure user sees influxdb migration message by requiring enter to be pressed to continue 2021-05-04 09:30:38 -04:00
Mike Reeves 10c4a7fd98 Update soup 2021-05-04 09:18:59 -04:00
m0duspwnens 9b065155f4 log iunfluxdb migration to new log 2021-05-04 08:56:13 -04:00
m0duspwnens 12306368cf add post upgrade function for 2.3.60 soup to migrate influxdb data 2021-05-04 08:37:52 -04:00
Mike Reeves ffa9001df4 Update raid.sh 2021-05-04 07:57:07 -04:00
Mike Reeves e113e75f4d Update soup 2021-05-03 18:52:40 -04:00
Mike Reeves 9066959945 Update soup 2021-05-03 18:46:24 -04:00
Jason Ertel 6768e8ddf6 copy_new_files usage consistent across soup and hotfixapply scripts 2021-05-03 15:42:24 -04:00
Mike Reeves a489b369d7 Jertel Compliance 2021-05-03 15:23:34 -04:00
Mike Reeves 074fe46e90 Adding airgap hotfix 2021-05-03 15:02:51 -04:00
Mike Reeves f56244d708 Adding airgap hotfix 2021-05-03 14:39:32 -04:00
Mike Reeves cedcf05751 Adding airgap hotfix 2021-05-03 14:38:18 -04:00
Mike Reeves f04ed94627 Adding airgap hotfix 2021-05-03 14:33:45 -04:00
Mike Reeves 296c1c5a3c Adding airgap hotfix 2021-05-03 14:30:53 -04:00
weslambert d4e8ea8e72 Merge pull request #4079 from Security-Onion-Solutions/delta
Add event_data to common template so elastalert/playbook event_data f…
2021-05-03 13:45:17 -04:00
Wes Lambert 619402cc67 Add event_data to common template so elastalert/playbook event_data fields can be indexed and searchable 2021-05-03 17:03:30 +00:00
m0duspwnens b01bfda862 Merge remote-tracking branch 'remotes/origin/dev' into issue/3264 2021-05-03 11:49:09 -04:00
William Wernert da19df5174 Merge pull request #4076 from Security-Onion-Solutions/issue/4004
Don't ask for node description on eval and import installs
2021-05-03 11:43:37 -04:00
William Wernert 19dd9b97d2 Don't ask for node description on eval and import installs 2021-05-03 09:40:53 -04:00
Mike Reeves 21b92ac077 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-05-02 13:06:29 -04:00
Pete b80dd1ef3e fix 5-second sleep
using wait here instead of sleep tries to wait until pid 5 exits and generates the error
> /usr/sbin/so-playbook-reset: line 25: wait: pid 5 is not a child of this shell
2021-04-30 20:21:50 +00:00
m0duspwnens d6b9154a88 change how version to be installed is defined to work with centos 2021-04-30 14:48:51 -04:00
m0duspwnens f9573f7972 Merge remote-tracking branch 'remotes/origin/dev' into issue/3264 2021-04-30 13:33:47 -04:00
m0duspwnens 038cadeae8 change version to 2.3.60 to prepare to push to dev 2021-04-30 12:31:57 -04:00
m0duspwnens e32ca284c5 ensure proper version of python3-influxdb is installed prior to running the states that require it 2021-04-30 11:10:31 -04:00
Mike Reeves a56426010d Merge pull request #4057 from Security-Onion-Solutions/kilo 2021-04-29 17:46:26 -04:00
Jason Ertel dda07af4d4 Update Kibana config defaults 2021-04-29 17:44:15 -04:00
Mike Reeves 81bfb202f7 Merge pull request #4055 from Security-Onion-Solutions/kilo 2021-04-29 15:37:34 -04:00
Jason Ertel b6561fd8e2 Update defaultRoute with new path structure 2021-04-29 15:35:22 -04:00
m0duspwnens d475e50bef add deps for ubuntu 2021-04-29 13:49:15 -04:00
m0duspwnens 689a01423f fix deps 2021-04-29 13:28:31 -04:00
m0duspwnens 888d637b67 add %} 2021-04-29 13:26:24 -04:00
m0duspwnens e7660d68cb add %} 2021-04-29 13:25:29 -04:00
m0duspwnens 450a01784b support installing via pip for ubuntu 2021-04-29 13:22:31 -04:00
Mike Reeves 5d8cb511be Merge pull request #4046 from Security-Onion-Solutions/kilo
Switch to the ES-included community_id plugin
2021-04-29 12:11:44 -04:00
Jason Ertel 44ad8ce888 Switch to the ES-included community_id plugin 2021-04-29 12:08:07 -04:00
Jason Ertel 14572d9eab Merge pull request #4045 from Security-Onion-Solutions/ktbackup
Add Grid nodeid fix and Kratos backup to include Kratos
2021-04-29 11:55:46 -04:00
Mike Reeves 76d735ff43 Add ID Fix to nodeID 2021-04-29 11:49:20 -04:00
Mike Reeves 02b621bd2c Add Kratos to Backups 2021-04-29 11:29:07 -04:00
Mike Reeves 96eab86bc6 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-04-29 11:19:19 -04:00
m0duspwnens 93ee96b1cd Ignore "Status .* was not found" due to output from salt http.query or http.wait_for_successful_query states used with retry 2021-04-29 10:19:42 -04:00
m0duspwnens 907dbe6388 for for influx to be up so the reliant states dont fail 2021-04-29 08:47:33 -04:00
m0duspwnens f8e01d5d53 let the state retry incase influxdb isnt fully up yet 2021-04-29 06:43:05 -04:00
m0duspwnens 454b541a2e merge with dev, change version so test box doesnt try to upgrade to 2.3.60 2021-04-28 18:04:14 -04:00
m0duspwnens 2b9b22cd90 Merge remote-tracking branch 'remotes/origin/dev' into issue/3264 2021-04-28 18:02:01 -04:00
m0duspwnens 5584c4f1ae define and install the dependencies for python36-influxdb 2021-04-28 18:01:33 -04:00
Mike Reeves 9830f661c8 Merge pull request #4031 from Security-Onion-Solutions/kilo
Remove unused and incorrectly formatted osraid metric
2021-04-28 13:34:57 -04:00
Jason Ertel 7a21c44727 Remove unused and incorrectly formatted osraid metric 2021-04-28 13:27:11 -04:00
Mike Reeves 4c55e5a6cc Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-04-28 10:27:55 -04:00
Mike Reeves f0012015e6 Merge pull request #4018 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update raid.sh
2021-04-28 10:27:35 -04:00
Mike Reeves 14557983e1 Update raid.sh 2021-04-28 10:24:39 -04:00
Jason Ertel 865e5cb120 Merge pull request #4017 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update VERSION
2021-04-28 10:19:07 -04:00
m0duspwnens d9cb018a7d merge with dev, resolve conflicts 2021-04-28 10:19:01 -04:00
Mike Reeves 8dd9564171 Update VERSION 2021-04-28 10:17:37 -04:00
Mike Reeves 153394356b Merge pull request #4003 from Security-Onion-Solutions/dev
2.3.50
2021-04-28 10:11:53 -04:00
Mike Reeves bd454c7f25 Merge pull request #4016 from Security-Onion-Solutions/2350
Repo Fix
2021-04-27 16:02:15 -04:00
Mike Reeves b6792f73e0 Repo Fix 2021-04-27 15:51:30 -04:00
Mike Reeves 03774e6270 Repo Fix 2021-04-27 15:46:45 -04:00
Mike Reeves 77533f7873 Repo Fix 2021-04-27 15:45:35 -04:00
Mike Reeves a6b2eefee1 Prompt airgap to update 2021-04-27 15:33:52 -04:00
Mike Reeves 4cea08c080 Prompt airgap to update 2021-04-27 15:32:00 -04:00
Mike Reeves b23902fc2c Merge pull request #4015 from Security-Onion-Solutions/importfix
Update import install
2021-04-27 13:38:31 -04:00
Mike Reeves 458c386377 Update import install 2021-04-27 13:37:37 -04:00
Mike Reeves 79984f4808 Merge pull request #4007 from Security-Onion-Solutions/2350
Repo Fix
2021-04-26 16:40:28 -04:00
Mike Reeves 167e656abb Repo Fix 2021-04-26 16:38:12 -04:00
Josh Patterson f2b1b9a073 Merge pull request #4006 from Security-Onion-Solutions/2350
Prompt airgap to update
2021-04-26 15:38:23 -04:00
Mike Reeves 939414aef6 Prompt airgap to update 2021-04-26 15:36:56 -04:00
Josh Patterson 6a956702df Merge pull request #4005 from Security-Onion-Solutions/2350
Repo Fix
2021-04-26 14:52:00 -04:00
Mike Reeves df22269fc9 Repo Fix 2021-04-26 14:49:44 -04:00
Mike Reeves d36237ee87 Merge pull request #4002 from Security-Onion-Solutions/2350
2.3.50 sig files
2021-04-26 09:32:10 -04:00
Mike Reeves 0499b141ed 2.3.50 sig files 2021-04-26 09:20:03 -04:00
Mike Reeves d56e66917a 2.3.50 sig files 2021-04-26 09:18:15 -04:00
Mike Reeves 0654c6511a Merge pull request #4001 from Security-Onion-Solutions/TOoSmOotH-patch-4
Update README.md
2021-04-26 09:10:56 -04:00
Mike Reeves bbe2f81cb6 Update README.md 2021-04-26 08:53:58 -04:00
Jason Ertel 33bdd96221 Merge pull request #3996 from Security-Onion-Solutions/updateag
Prompt airgap to update
2021-04-25 12:25:45 -04:00
Mike Reeves 6135d89721 Prompt airgap to update 2021-04-25 12:19:34 -04:00
Mike Reeves abbe0ec819 Merge pull request #3995 from Security-Onion-Solutions/updateag
Fix updates for airgap
2021-04-25 11:26:20 -04:00
Mike Reeves 4d0b06dfc7 Fix updates for airgap 2021-04-25 11:01:21 -04:00
Mike Reeves 0505664b84 Merge pull request #3987 from Security-Onion-Solutions/TOoSmOotH-patch-4
Prime the CentOS Repos
2021-04-23 12:11:01 -04:00
Mike Reeves f2628f2e5b Prime the CentOS Repos 2021-04-23 12:09:41 -04:00
Mike Reeves fcaabaade0 Merge pull request #3986 from Security-Onion-Solutions/grafanaeps
remove eps graph from manager and update to consumptioneps for standalone and managersearch
2021-04-23 12:08:06 -04:00
m0duspwnens fff12b423a remove eps graph from manager and update to consumptioneps for standalone and managersearch 2021-04-23 11:56:27 -04:00
Jason Ertel b81ac6b7bd Merge pull request #3983 from Security-Onion-Solutions/kilo
Update MOTD with training link and simplify customization commands
2021-04-23 11:03:57 -04:00
Jason Ertel f4606828c7 Update MOTD with training link and simply customization commands 2021-04-23 10:42:14 -04:00
Josh Patterson 4e2ffbf5e5 Merge pull request #3971 from Security-Onion-Solutions/issue/3501
let remote nodes upgrade on their own time
2021-04-22 16:35:26 -04:00
m0duspwnens 7c7624c87e let remote nodes upgrade on their own time 2021-04-22 16:32:58 -04:00
Josh Patterson 7da091375e Merge pull request #3968 from Security-Onion-Solutions/issue/3501
Issue/3501
2021-04-22 15:37:59 -04:00
m0duspwnens 4f545eefc2 update preflight 2021-04-22 15:27:57 -04:00
m0duspwnens 90683a7e04 fix UPDATE_DIR var 2021-04-22 15:22:55 -04:00
m0duspwnens 36bc4f4aa8 remove by package name not wildcard 2021-04-22 15:21:36 -04:00
Mike Reeves 694c3b87fe Merge pull request #3967 from Security-Onion-Solutions/TOoSmOotH-patch-4
Update soup
2021-04-22 14:18:46 -04:00
Mike Reeves e7d3369cef Update soup 2021-04-22 14:17:38 -04:00
Josh Patterson fb6fa789b7 Merge pull request #3965 from Security-Onion-Solutions/soversion2
Soversion2
2021-04-22 13:45:56 -04:00
Mike Reeves b7c6110e57 sync soversion 2021-04-22 13:41:58 -04:00
Mike Reeves 93148e4adc sync soversion 2021-04-22 13:39:33 -04:00
Mike Reeves 016837df28 sync soversion 2021-04-22 13:36:52 -04:00
Mike Reeves 4b78b114f7 Merge pull request #3964 from Security-Onion-Solutions/fix/so-playbook-sync
Fix so-playbook-sync
2021-04-22 13:28:25 -04:00
Josh Brower 94352c212f Fix so-playbook-sync 2021-04-22 13:26:41 -04:00
Mike Reeves 3a65f7875e Merge pull request #3963 from Security-Onion-Solutions/fixsaltsoup
fix SALTNOTHELD for salt.minion
2021-04-22 13:25:05 -04:00
m0duspwnens 781ac0293c fix SALTNOTHELD for salt.minion 2021-04-22 13:22:08 -04:00
Mike Reeves a93b75af05 Merge pull request #3962 from Security-Onion-Solutions/fixsaltsoup
Fixsaltsoup
2021-04-22 11:52:05 -04:00
m0duspwnens a49d6a8d5c apply highstate to minions instead of just salt.minion for soup if salt needs upgraded 2021-04-22 11:47:53 -04:00
m0duspwnens 440c546bb4 remove docker-ce.repo 2021-04-22 11:41:14 -04:00
Mike Reeves 8c67ec5316 Merge pull request #3961 from Security-Onion-Solutions/fix/extra-paren
Remove extra paren
2021-04-22 11:27:16 -04:00
William Wernert 41a5818bb7 Remove extra paren 2021-04-22 11:26:15 -04:00
Mike Reeves ee48bb9b2a Merge pull request #3959 from Security-Onion-Solutions/fix/zeekpillar
Fix Zeek Setting for close-delete
2021-04-22 10:55:46 -04:00
Mike Reeves a41c40ccbb Fix Zeek Setting for close-delete 2021-04-22 10:53:59 -04:00
Mike Reeves 3d65135993 Merge pull request #3954 from Security-Onion-Solutions/feature/vim
Make sure VIM is installed with correct settings
2021-04-22 09:52:02 -04:00
Mike Reeves 9ba7beed95 Merge pull request #3957 from Security-Onion-Solutions/fix/yum-conf
Add support for legacy grids
2021-04-22 09:44:51 -04:00
William Wernert 7176a4214b Add support for legacy grids 2021-04-22 09:42:39 -04:00
Josh Brower 8f37b6b73b Make sure VIM is installed with correct settings 2021-04-22 09:35:42 -04:00
Josh Patterson f0e9b09d8f Merge pull request #3951 from Security-Onion-Solutions/issue/3948
fix salt retries
2021-04-22 08:50:14 -04:00
Mike Reeves 0bfe2aa6b6 Merge pull request #3950 from Security-Onion-Solutions/fix/correct-pillar
Use correct pillar value in yum.conf template
2021-04-22 08:40:09 -04:00
William Wernert 1519936e44 Use correct pillar value in yum.conf template 2021-04-22 08:37:49 -04:00
m0duspwnens 1d8e065902 fix salt retries - https://github.com/Security-Onion-Solutions/securityonion/issues/3948 2021-04-22 08:35:50 -04:00
Josh Patterson fb3b4dc44a Merge pull request #3949 from Security-Onion-Solutions/TOoSmOotH-patch-3
Roll back cluster changes
2021-04-22 08:29:13 -04:00
Mike Reeves fae72aa243 Roll back cluster changes 2021-04-22 08:25:01 -04:00
m0duspwnens 28982e0e0b fix requirement 2021-04-21 19:22:07 -04:00
m0duspwnens 1fbf77d090 fix state name 2021-04-21 18:53:00 -04:00
Mike Reeves 81581711da Merge pull request #3940 from Security-Onion-Solutions/foxtrot
Foxtrot
2021-04-21 18:44:37 -04:00
m0duspwnens 6c8a2e68d9 Merge remote-tracking branch 'remotes/origin/dev' into issue/3264 2021-04-21 18:24:07 -04:00
m0duspwnens f5ddb084b6 create salt.helper-packages state, use it to install the patch package 2021-04-21 18:22:44 -04:00
m0duspwnens 21077ef26e undo path change 2021-04-21 18:09:11 -04:00
m0duspwnens 5cedf98f55 change path 2021-04-21 18:05:52 -04:00
Mike Reeves 0a2d44131b Merge pull request #3939 from Security-Onion-Solutions/soupmkr
send suricata compress to dev/null
2021-04-21 18:00:03 -04:00
William Wernert c297031f6b Surround scalar in single quotes 2021-04-21 17:58:13 -04:00
William Wernert 071e5166b4 Set package manager source in patch pillar for yum.conf 2021-04-21 17:57:02 -04:00
Mike Reeves c337be8f4f send suricata compress to dev/null 2021-04-21 17:27:52 -04:00
Josh Patterson 22a7729fcf Merge pull request #3938 from Security-Onion-Solutions/soupmkr
soup will now ask to update packages
2021-04-21 17:20:18 -04:00
m0duspwnens a7247e9812 update package name 2021-04-21 17:17:49 -04:00
m0duspwnens c9298137b5 adding docker-ce.repo to delete list 2021-04-21 17:08:35 -04:00
m0duspwnens 17c95723ec update package name 2021-04-21 16:44:40 -04:00
Mike Reeves fa972ea110 soup will now ask to update packages 2021-04-21 16:37:13 -04:00
William Wernert 261e7f7fd9 sed and grep need input files 2021-04-21 16:29:24 -04:00
Mike Reeves b5b0c262c1 soup will now ask to update packages 2021-04-21 16:25:41 -04:00
William Wernert c1ae7ff3b6 Set proxy, replace when setting up yum for manager proxy 2021-04-21 16:18:20 -04:00
Mike Reeves 5c4be5e1cd soup will now ask to update packages 2021-04-21 16:15:40 -04:00
William Wernert f3d663f090 Don't set yum/apt proxy if updating through manager 2021-04-21 15:59:37 -04:00
Mike Reeves 73001713e3 soup will now ask to update packages 2021-04-21 15:51:28 -04:00
Mike Reeves 13ad07cd88 soup will now ask to update packages 2021-04-21 15:41:58 -04:00
Mike Reeves 7335611166 soup will now ask to update packages 2021-04-21 15:35:05 -04:00
William Wernert d5717b7011 Merge branch 'dev' into foxtrot 2021-04-21 14:45:11 -04:00
Josh Patterson df2420f6fe Merge pull request #3936 from Security-Onion-Solutions/TOoSmOotH-patch-2
Fix Security onion repo
2021-04-21 14:44:50 -04:00
Mike Reeves 06ccad334b Fix Security 2021-04-21 14:43:15 -04:00
Mike Reeves dd1fff59d7 Merge pull request #3934 from bryant-treacle/Issue-#3926
Update threading.map.jinja
2021-04-21 12:22:16 -04:00
William Wernert 428be2b8ad Merge pull request #3935 from Security-Onion-Solutions/fix/manager-check
Fix salt-master check
2021-04-21 12:10:14 -04:00
m0duspwnens 1f654d4444 fix the state apply 2021-04-21 12:04:58 -04:00
William Wernert 075ba0d83b Fix salt-master check 2021-04-21 12:01:21 -04:00
bryant-treacle f14df24ddc Update threading.map.jinja 2021-04-21 11:49:29 -04:00
m0duspwnens 0a01d7b041 fix var 2021-04-21 11:14:13 -04:00
m0duspwnens b53017ee87 ensure salt python modules are installed and patched during soup 2021-04-21 10:44:46 -04:00
William Wernert b618207f51 Merge branch 'dev' into foxtrot 2021-04-21 10:23:10 -04:00
m0duspwnens af86a9dac0 handle different paths for salt states/modules based on os 2021-04-21 09:52:22 -04:00
m0duspwnens d792c65ce3 change how influx is patch and python3-influxdb is installed 2021-04-21 09:25:25 -04:00
m0duspwnens 8eef574342 install python3-influxdb and create requires 2021-04-21 08:28:01 -04:00
m0duspwnens 2d0594398c Merge remote-tracking branch 'remotes/origin/dev' into issue/3264 2021-04-20 15:53:34 -04:00
Josh Patterson 86e7c0f87d Merge pull request #3927 from Security-Onion-Solutions/telefix1
Add Security Onion Repo
2021-04-20 15:47:28 -04:00
Mike Reeves cc4c092301 Add Security Onion Repo 2021-04-20 15:44:35 -04:00
William Wernert 3f007f1026 Disable fastestmirror during setup + soup 2021-04-20 15:18:06 -04:00
William Wernert 3d90423495 Fix summary message to preserve empty line 2021-04-20 14:44:58 -04:00
William Wernert 113e558a05 Set manager early for proxy config 2021-04-20 14:32:17 -04:00
William Wernert ca9ac46cd2 Add keypress instruction at end of summary 2021-04-20 13:27:52 -04:00
William Wernert 95bb757b03 Fix salt-master check 2021-04-20 13:12:55 -04:00
William Wernert 369c0b43f5 Further jinja fixes 2021-04-20 12:55:23 -04:00
William Wernert cd0a115ac7 Fix acng config and don't show changes when proxy string can exist in file 2021-04-20 12:55:00 -04:00
William Wernert bbf16d0f11 Show airgap prompt within if statement + persist variable for node installs 2021-04-20 11:34:17 -04:00
m0duspwnens 115764ae38 merge with dev and fix merge conflict in so-functions https://github.com/Security-Onion-Solutions/securityonion/issues/3264 2021-04-20 10:03:15 -04:00
Mike Reeves 3b203b9a31 Merge pull request #3922 from Security-Onion-Solutions/telefix1
Adjust sostatus timers
2021-04-20 08:14:34 -04:00
Mike Reeves 5072c24134 Adjust sostatus timers 2021-04-20 08:12:44 -04:00
William Wernert b449955711 Proxy whiptail fixes
* Don't try to set up proxy/manager proxy during network only flow
* Fix logic to never show new menu on airgap, set MANAGERUPDATES to 1 on airgap minions
2021-04-19 16:26:53 -04:00
Mike Reeves e9b86388da Merge pull request #3912 from Security-Onion-Solutions/telefix1
Change telegraf scripts to new method of process detection
2021-04-19 14:40:06 -04:00
Mike Reeves be6933e8fb Change EPS for Telegraf 2021-04-19 14:20:00 -04:00
William Wernert 6156e754c4 Merge branch 'dev' into foxtrot 2021-04-19 14:15:23 -04:00
William Wernert d2067a42bd Don't skip new menu on airgap minions 2021-04-19 14:12:53 -04:00
William Wernert b37da027fd ECDSA to ED25519 2021-04-19 14:08:25 -04:00
William Wernert d8457255cb n -> z 2021-04-19 14:06:10 -04:00
William Wernert 7948906f51 Fix minion airgap logic 2021-04-19 14:04:01 -04:00
William Wernert ba9a45bd0f Split network init + ssh copy notices 2021-04-19 14:02:00 -04:00
William Wernert 07e0ce563d Symmetrical spaces + remove useless logic 2021-04-19 13:50:30 -04:00
William Wernert 002fa99055 Fix whiptail order 2021-04-19 13:47:50 -04:00
William Wernert 59247b4579 Add exit check to new menu 2021-04-19 13:45:01 -04:00
Josh Patterson a70b631b2c Merge pull request #3911 from Security-Onion-Solutions/issue/3501
Issue/3501
2021-04-19 13:43:34 -04:00
Mike Reeves 0c0edbaac8 Change EPS for Telegraf 2021-04-19 13:29:46 -04:00
Mike Reeves 54322f5e9d Change EPS for Telegraf 2021-04-19 13:17:02 -04:00
Mike Reeves f5b0411772 Change EPS for Telegraf 2021-04-19 13:11:19 -04:00
Mike Reeves 31f193c397 Change EPS for Telegraf 2021-04-19 12:36:46 -04:00
William Wernert c907d416df Set proxy for apt cacher too 2021-04-19 11:27:17 -04:00
William Wernert e8553162a5 [refactor] Change how whiptail asks for proxy settings 2021-04-19 10:51:39 -04:00
Mike Reeves af7b6af32f Merge pull request #3901 from Security-Onion-Solutions/TOoSmOotH-patch-1
Fix beat script location
2021-04-19 09:44:59 -04:00
m0duspwnens 9e57fd2df0 cant pipe to grep without , python_shell=True 2021-04-19 09:00:30 -04:00
Mike Reeves ef0669aabb Fix beat script location 2021-04-17 18:24:33 -04:00
William Wernert 58febe7955 [fix] so-docker-prune breaks when multiple "so-" images share a version 2021-04-16 16:04:07 -04:00
m0duspwnens 1b15f01874 fix salt.master state 2021-04-16 13:09:01 -04:00
m0duspwnens 24b263c812 only hold/unhold packages if not already unheld/held 2021-04-16 11:37:18 -04:00
m0duspwnens 9d676efada move salt_minion_service state outside jinja if 2021-04-15 12:45:34 -04:00
m0duspwnens 9d01387a04 remove references to the common salt package 2021-04-15 11:57:25 -04:00
m0duspwnens 22edbcc111 can use SPLITCHAR before defined 2021-04-15 11:29:01 -04:00
m0duspwnens 2f198ed9fb change how salt is held and unheld from updates 2021-04-15 09:42:00 -04:00
weslambert 427dd31fcb Merge pull request #3876 from Security-Onion-Solutions/delta
FIX:Remove ESUSER/ESPASS for now to prevent issues with attempting Elasti…
2021-04-15 08:11:15 -04:00
Wes Lambert f61bf73f97 Remove ESUSER/ESPASS for now to prevent issues with attempting Elastic Auth when connecting to ES. 2021-04-15 11:59:34 +00:00
Josh Patterson 923d50d91e Merge pull request #3875 from Security-Onion-Solutions/issue/3543
add delay for salt-minion service starting
2021-04-14 16:34:21 -04:00
m0duspwnens 71d7ca8958 only manage service file if the right salt version is installed 2021-04-14 15:48:33 -04:00
m0duspwnens d42cd52ae1 Merge remote-tracking branch 'remotes/origin/dev' into issue/3543 2021-04-14 15:23:51 -04:00
Mike Reeves f177819e4f Merge pull request #3871 from Security-Onion-Solutions/beatstats
Beatstats
2021-04-14 15:03:13 -04:00
m0duspwnens f60da54ff0 remove extra lines at end 2021-04-14 11:11:13 -04:00
m0duspwnens d003d4941b fix bad typing 2021-04-14 11:10:19 -04:00
m0duspwnens 48c531bc2c fix file defaults def 2021-04-14 11:09:13 -04:00
m0duspwnens 47aa66876d fix import 2021-04-14 11:07:16 -04:00
m0duspwnens 9bfdae9cd5 fix import 2021-04-14 11:06:06 -04:00
m0duspwnens a50b3e8475 add delay to salt-minion service starting - https://github.com/Security-Onion-Solutions/securityonion/issues/3543 2021-04-14 10:22:06 -04:00
Mike Reeves 6fc7ed1a25 Add telegraf scripts to track eps and failures for beats 2021-04-13 20:51:27 -04:00
Mike Reeves 904d34977f Add telegraf scripts to track eps and failures for beats 2021-04-13 20:48:53 -04:00
Mike Reeves aa66b6226f Add hostname to the listener 2021-04-13 20:22:51 -04:00
Mike Reeves db7dcd76cd Add hostname to the listener 2021-04-13 20:21:32 -04:00
Mike Reeves 7153f58a03 Add Firewall for Beats port 2021-04-13 20:17:26 -04:00
Mike Reeves 621e5c1cf8 Enable Filebeat Stats 2021-04-13 19:18:10 -04:00
Mike Reeves 26547f4e96 Merge pull request #3864 from Security-Onion-Solutions/agauto
Fix Airgap Automation
2021-04-13 15:36:08 -04:00
Mike Reeves 989c2b23b1 Fix Airgap Automation 2021-04-13 15:34:03 -04:00
Josh Patterson e16875da0c Merge pull request #3855 from Security-Onion-Solutions/salt3003
Salt3003
2021-04-13 13:23:21 -04:00
Josh Brower 2b06223d7c Merge pull request #3856 from Security-Onion-Solutions/feature/osquery-ingest-timestamp
Differentiate between event & ingest timestamp
2021-04-13 13:00:52 -04:00
Josh Brower 7cbeed985a Differentiate between event & ingest timestamp 2021-04-13 12:55:40 -04:00
m0duspwnens 78ff84f968 Merge remote-tracking branch 'remotes/origin/dev' into salt3003.1 2021-04-13 12:05:58 -04:00
m0duspwnens eb94c011e2 update location of yum keys and repo files for setup 2021-04-13 11:15:15 -04:00
m0duspwnens 325264dafd point to new repo location 2021-04-12 17:44:50 -04:00
William Wernert 2392c0e2d4 Merge pull request #3846 from Security-Onion-Solutions/foxtrot
Setup changes/fixes
2021-04-12 16:39:08 -04:00
m0duspwnens eb7bf58f30 fix issues with repo.client state 2021-04-12 16:33:32 -04:00
William Wernert 9d09e7bec3 Fix sostatus log cron job 2021-04-12 16:25:17 -04:00
William Wernert 25637b74db Add back removed testing skip 2021-04-12 16:14:47 -04:00
William Wernert cc344d921a Skip whiptail during testing, echo error message to setup log 2021-04-12 16:13:32 -04:00
Josh Brower 2fa01c9386 Merge pull request #3845 from Security-Onion-Solutions/fix/wazuh-wel-alerts
Fix Wazuh WEL Shipping
2021-04-12 15:22:57 -04:00
Josh Brower cf4de255ec Fix Wazuh WEL Shipping 2021-04-12 15:18:18 -04:00
m0duspwnens 9240d376f3 combine client repo management into 1 state 2021-04-12 14:31:41 -04:00
William Wernert 8cb4a75eb1 Merge branch 'dev' into feature/setup-check-manager 2021-04-12 13:14:51 -04:00
William Wernert 73a1bdd885 Send stdout to log, and actually populate error message 2021-04-12 12:59:45 -04:00
William Wernert 5d98c896a3 /opt/so/log needs 755 permissions for soremote to read sostatus log 2021-04-12 12:53:17 -04:00
Mike Reeves 03abf4d4ee Merge pull request #3828 from Security-Onion-Solutions/kilo
Do not set influxdb hostUrl if import node since import nodes don't r…
2021-04-09 21:43:25 -04:00
Jason Ertel 8facbcf18c Do not set influxdb hostUrl if import node since import nodes don't run influxdb 2021-04-09 20:40:44 -04:00
Jason Ertel 280958e298 Merge pull request #3826 from Security-Onion-Solutions/kilo
Add raid/process status to Grid
2021-04-09 16:33:14 -04:00
Jason Ertel 5cb73ced36 Add Influx module to SOC config 2021-04-09 14:58:15 -04:00
Jason Ertel 21d922c640 Merge branch 'dev' into kilo 2021-04-09 10:24:27 -04:00
William Wernert 4db20a00ff Add quotes around description, since it can contain spaces 2021-04-09 10:16:19 -04:00
William Wernert 026ce76966 Change airgap prompt to menu 2021-04-09 10:11:00 -04:00
William Wernert 764307bfa0 Reformat airgap whiptail prompt 2021-04-09 10:09:28 -04:00
William Wernert fc9df2bbae Update airgap question to ask during minion installs too 2021-04-09 10:00:50 -04:00
William Wernert 9b5276f1ab Remove bad || statement 2021-04-09 09:59:54 -04:00
William Wernert b2fcd438c2 Initial support for checking state of manager during setup 2021-04-09 09:39:33 -04:00
m0duspwnens ecda46c04b Merge remote-tracking branch 'remotes/origin/dev' into salt3003.1 2021-04-09 09:37:35 -04:00
Josh Patterson 69ad3ad491 Merge pull request #3817 from Security-Onion-Solutions/saltver
Do not upgrade salt on ISO installs
2021-04-09 08:50:08 -04:00
Mike Reeves c9feda1168 Do not upgrade salt on ISO installs 2021-04-09 08:48:29 -04:00
Jason Ertel d5bc7ec627 Merge branch 'dev' into kilo 2021-04-08 18:43:37 -04:00
m0duspwnens 6650ad5cdd make the -r for all 2021-04-08 14:04:30 -04:00
William Wernert 0ea57b4848 Merge pull request #3805 from Security-Onion-Solutions/foxtrot
Setup option summary + proxy test fix
2021-04-08 12:00:23 -04:00
Mike Reeves ea9103ad53 Merge pull request #3806 from Security-Onion-Solutions/saltfix
Fix Telegraf sostatus
2021-04-08 11:51:24 -04:00
Mike Reeves b53815d04a Fix Telegraf sostatus 2021-04-08 11:42:41 -04:00
Jason Ertel 5ef336fed2 Merge branch 'dev' into kilo 2021-04-08 11:23:07 -04:00
Jason Ertel f7f95b6c54 Add model to sensoroni agent config 2021-04-08 11:22:54 -04:00
Mike Reeves 28666e0db2 Merge pull request #3804 from Security-Onion-Solutions/saltfix
Fix Repos by forcing removal
2021-04-08 11:08:35 -04:00
Mike Reeves 09b14e6a86 Fix Repo Logic 2021-04-08 10:38:50 -04:00
Mike Reeves 4c5f373ffa Fix Repo Logic 2021-04-08 10:37:44 -04:00
Mike Reeves fdaf251ba0 Fix Repo Logic 2021-04-08 10:36:52 -04:00
Mike Reeves 951369c2d6 Fix Repo Logic 2021-04-08 10:25:36 -04:00
Mike Reeves ce9f781d81 Fix Repo Logic 2021-04-08 10:24:04 -04:00
Mike Reeves 725320ebc8 Fix Repo Logic 2021-04-08 10:02:11 -04:00
m0duspwnens dce476b604 change back to saltstack3003 repo 2021-04-08 09:54:41 -04:00
Mike Reeves b609f250c3 Merge pull request #3798 from Security-Onion-Solutions/saltfix
Fix so repo for salt
2021-04-08 08:48:57 -04:00
Mike Reeves d4a3bc4550 Fix so repo for salt 2021-04-08 08:43:20 -04:00
William Wernert a5f5888913 Summary order change 2021-04-07 17:03:08 -04:00
Mike Reeves 9a7a7a3b12 Merge pull request #3795 from Security-Onion-Solutions/telemetric
Add raid bind
2021-04-07 16:33:14 -04:00
Mike Reeves 3caaf06820 Add sostatus for telegraf 2021-04-07 16:30:16 -04:00
Mike Reeves 8ab4dd10d4 Add sostatus for telegraf 2021-04-07 16:29:44 -04:00
Mike Reeves 9baa9767ca Add raid bind 2021-04-07 16:12:51 -04:00
William Wernert 3c69c0c24c Correct patch schedule name logic in summary 2021-04-07 14:15:02 -04:00
William Wernert 3a4cf8aa26 Add proxy url/user to summary 2021-04-07 13:54:01 -04:00
m0duspwnens c4f0119276 fix check if repo file exists 2021-04-07 13:51:40 -04:00
William Wernert ec076bba4a MTU is not always set by the user, so don't always show in summary 2021-04-07 13:42:18 -04:00
William Wernert f83ac5a278 Print install summary to file and setup log after user confirms 2021-04-07 13:38:47 -04:00
m0duspwnens 425e5bc4c3 add some quotes 2021-04-07 13:31:43 -04:00
William Wernert 5e5df4d65a Merge branch 'feature/setup-end-screen' into foxtrot 2021-04-07 13:23:45 -04:00
William Wernert 377b14ccb1 ESCLUSTERNAME is empty for standalone, so check if it's set before listing 2021-04-07 13:20:55 -04:00
William Wernert ceb1ea61dc Summary screen changes 2021-04-07 13:15:49 -04:00
m0duspwnens 249fa06fc7 echo when performing the repo actions for 2.3.50 2021-04-07 13:03:27 -04:00
m0duspwnens 5578206bf1 need to make the repo changes before we try to upgrade sa;t 2021-04-07 12:41:01 -04:00
Josh Patterson ceb4d4ace4 Merge pull request #3790 from Security-Onion-Solutions/airgapfix
Fix Logic for Airgap distributed
2021-04-07 12:37:11 -04:00
Mike Reeves c8c1553247 Fix Logic for Airgap distributed 2021-04-07 12:36:50 -04:00
Mike Reeves ed0cd97de5 Fix Logic for Airgap distributed 2021-04-07 12:34:23 -04:00
m0duspwnens b7aa9ddaa3 run preupgrade changes if 2.3.40 2021-04-07 11:37:55 -04:00
m0duspwnens 54e0394776 change from saltstack3003 to just saltstack for repo 2021-04-07 10:57:09 -04:00
m0duspwnens 080ecba8e6 change delrepos 2021-04-07 10:54:46 -04:00
William Wernert 5b3014496b Proxy fixes
* Adjust proxy test timeout
* Don't show proxy on error
* Add echo statement so user knows what setup is doing
2021-04-07 10:35:59 -04:00
Mike Reeves 95b440de43 Merge pull request #3783 from Security-Onion-Solutions/airgapfix
Fix Logic for Airgap distributed
2021-04-07 10:18:07 -04:00
William Wernert 88c565feae Fix proxy test logic 2021-04-07 10:14:16 -04:00
Mike Reeves 5cd7d65b3f Fix Logic for Airgap distributed 2021-04-07 10:03:33 -04:00
m0duspwnens 8f208728dd change delete repos 2021-04-07 09:10:16 -04:00
William Wernert 099ac2ff19 Minor formatting changes to whiptail end screen 2021-04-07 09:06:22 -04:00
Jason Ertel fb02a10bfb Merge pull request #3781 from Security-Onion-Solutions/waagent
Detect if running in an Azure VM
2021-04-07 08:35:36 -04:00
Jason Ertel ee079f1132 Merge from dev 2021-04-07 08:09:24 -04:00
m0duspwnens 9b19f93ad0 Merge remote-tracking branch 'remotes/origin/soup2350' into salt3003.1 2021-04-06 16:46:12 -04:00
Mike Reeves 6f7e6cee80 Force it 2021-04-06 16:43:42 -04:00
m0duspwnens a95ead1ec8 Merge remote-tracking branch 'remotes/origin/soup2350' into salt3003.1 2021-04-06 16:31:16 -04:00
Mike Reeves 51bf988d31 Add .repo extension 2021-04-06 16:21:19 -04:00
m0duspwnens 73e00dbe30 change salt upgrade in soup 2021-04-06 16:07:08 -04:00
m0duspwnens f522799b36 Merge remote-tracking branch 'remotes/origin/soup2350' into salt3003.1 2021-04-06 15:58:21 -04:00
Mike Reeves b50700114c Add the do 2021-04-06 15:58:08 -04:00
m0duspwnens 9c7309797a Merge remote-tracking branch 'remotes/origin/soup2350' into salt3003.1 2021-04-06 15:48:36 -04:00
Mike Reeves 92768ecd08 Add upgrade function 2021-04-06 15:47:50 -04:00
Mike Reeves af6403f874 soup salt and repos ohh my 2021-04-06 15:45:05 -04:00
William Wernert 6d6829ba34 Remove duplicate variable assignment 2021-04-06 13:21:07 -04:00
William Wernert b70d9c0892 Add end summary and warning about SSH host key change 2021-04-06 13:20:56 -04:00
m0duspwnens 80509fbbc6 fix -R repo option 2021-04-06 12:23:11 -04:00
m0duspwnens 914a01e321 Merge remote-tracking branch 'remotes/origin/dev' into salt3003.1 2021-04-06 12:02:22 -04:00
m0duspwnens 6da84c7c87 strip trailing / 2021-04-06 12:00:36 -04:00
m0duspwnens 521dbbd90a change repo path 2021-04-06 11:45:59 -04:00
m0duspwnens 01f95c846c remove trailing / 2021-04-06 11:41:06 -04:00
m0duspwnens 049001d572 set repo url for salt upgrade for centos 2021-04-06 09:48:21 -04:00
m0duspwnens 1ea0be0097 remove references to 3003.1 change to 3003 2021-04-06 09:15:22 -04:00
William Wernert b6dba26e2c Merge pull request #3767 from Security-Onion-Solutions/foxtrot
Move function call using nmcli to prevent error during setup
2021-04-06 09:11:23 -04:00
m0duspwnens 5525b9e97d point to new salt repo 2021-04-06 08:30:57 -04:00
Jason Ertel 919eec497d Merge branch 'dev' into waagent 2021-04-05 20:19:30 -04:00
Josh Patterson 8dc915e965 Merge pull request #3770 from Security-Onion-Solutions/newrepo
Fix Spelling issue
2021-04-05 18:53:19 -04:00
Mike Reeves 168d0bcaf4 Fix Spelling issue 2021-04-05 18:30:07 -04:00
Mike Reeves 08a857239c Merge pull request #3769 from Security-Onion-Solutions/newrepo
Add some manager logic
2021-04-05 17:50:05 -04:00
Mike Reeves a38015bd98 Add some manager logic 2021-04-05 17:28:04 -04:00
m0duspwnens 3a1c478d9a compare the new var 2021-04-05 16:56:34 -04:00
Jason Ertel 5f6770925d speculative commit 2021-04-05 16:52:12 -04:00
m0duspwnens 89f72bb6ed check if . in new version, append .1 if not 2021-04-05 16:44:51 -04:00
Jason Ertel 4d9f928aed Merge branch 'dev' into kilo 2021-04-05 15:57:59 -04:00
m0duspwnens 83bf709290 use -r for salt boostrap in soup as well 2021-04-05 15:12:53 -04:00
Mike Reeves d62ab60d48 Merge pull request #3768 from Security-Onion-Solutions/newrepo
Newrepo
2021-04-05 15:03:44 -04:00
Mike Reeves fc88634159 Set the Repo for airgap during install 2021-04-05 15:01:21 -04:00
m0duspwnens ae83fa61f3 Merge remote-tracking branch 'remotes/origin/dev' into salt3003.1 2021-04-05 14:36:21 -04:00
Josh Patterson 3adc2a8e63 Merge pull request #3766 from Security-Onion-Solutions/newrepo
Newrepo
2021-04-05 14:35:46 -04:00
Mike Reeves 97503bc35d Merge pull request #3761 from Security-Onion-Solutions/newraid
Newraid
2021-04-05 14:31:51 -04:00
m0duspwnens 9b8b5e6173 use -r by default to disable salt bootstrap from doing repo things 2021-04-05 14:12:24 -04:00
m0duspwnens ba3c65d49f Merge remote-tracking branch 'remotes/origin/issue/3501' into salt3003.1 2021-04-05 12:52:48 -04:00
William Wernert 1dc45541eb Merge branch 'dev' into foxtrot 2021-04-05 12:41:08 -04:00
William Wernert 6f784565d4 Merge branch 'fix/nmcli-ami-error' into foxtrot 2021-04-05 12:41:02 -04:00
William Wernert c864936c15 Merge pull request #3762 from Security-Onion-Solutions/foxtrot
Refactor so-ssh-harden
2021-04-05 12:39:51 -04:00
Mike Reeves a824813cdb Add model to sensoroni config 2021-04-05 12:10:29 -04:00
Mike Reeves bad22ab541 Add model to sensoroni config 2021-04-05 12:08:38 -04:00
Mike Reeves f41ee1457b Merge pull request #3755 from Security-Onion-Solutions/issue/3753
FIX: Hunt query for HTTP EXE downloads should work for both Zeek and …
2021-04-05 11:42:45 -04:00
Mike Reeves 5aefa2a024 Fix Raid for Jertel compliance 2021-04-05 11:41:19 -04:00
Mike Reeves f9dc040c7f Fix Raid 2021-04-05 11:38:39 -04:00
m0duspwnens 1c3a7094bd upgrade salt to 3003.1 2021-04-05 11:05:48 -04:00
Mike Reeves d43cb3e133 Merge remote-tracking branch 'remotes/origin/dev' into newrepo 2021-04-05 10:48:01 -04:00
m0duspwnens 534dbf9761 change the upgrade command - https://github.com/Security-Onion-Solutions/securityonion/issues/3501 2021-04-05 09:07:00 -04:00
Doug Burks 8ca0626387 FIX: Hunt query for HTTP EXE downloads should work for both Zeek and Suricata #3753 2021-04-05 06:55:40 -04:00
Jason Ertel e430be1017 Enable Flux compatibility mode to prepare for eventual migration to 2.0 2021-04-02 16:36:29 -04:00
William Wernert d19c03efef Refactor search of config lines
* Create arrays for each line and loop through them for better code readability
* Add more host key algorithms for removal
* Update regex to look for a comma or EOL at the end of the search term, to avoid missing last item in list
2021-04-02 14:49:22 -04:00
William Wernert 8b8086b91a Update wording, as the new key tends to be ED25519, not ECDSA 2021-04-02 10:20:28 -04:00
William Wernert fd57996bc6 Change behavior of adding lines to sshd config
* Replace existing lines in cases where a change has already been made
2021-04-02 10:00:27 -04:00
William Wernert 43c31b4e66 Fix script so changes are actually made 2021-04-01 14:56:05 -04:00
William Wernert fa373e9db0 Merge branch 'fix/ssh-harden-setup' into foxtrot 2021-04-01 11:04:10 -04:00
William Wernert 58989398e0 Merge pull request #3721 from Security-Onion-Solutions/foxtrot
Allow user to enter a description during setup
2021-04-01 11:02:23 -04:00
m0duspwnens 5cda35db0a change defaults for testing - https://github.com/Security-Onion-Solutions/securityonion/issues/3264 2021-04-01 10:45:54 -04:00
Mike Reeves c60d4aca16 Merge pull request #3724 from Masaya-A/Fix-https
Fix: Connection to ES is "https" from 2.3.40
2021-04-01 10:36:02 -04:00
Mike Reeves 234dec3f63 Merge pull request #3734 from Security-Onion-Solutions/zeekports
Reserve ports for Zeek
2021-04-01 10:35:16 -04:00
Mike Reeves 7d489ea34f Merge pull request #3735 from Security-Onion-Solutions/kilo
For hunt quick actions, pipe value to 'escape' operator to escape bac…
2021-04-01 10:35:01 -04:00
Mike Reeves 7c6b037ae5 Reserve ports for Zeek 2021-04-01 10:30:52 -04:00
Mike Reeves 40313fc2f5 Reserve ports for Zeek 2021-04-01 10:29:58 -04:00
m0duspwnens 4f3b3a787c change defaults for testing, remove measurements list since cq uses wildcard now - https://github.com/Security-Onion-Solutions/securityonion/issues/3264 2021-04-01 10:18:29 -04:00
Mike Reeves 0d05612393 Reserve ports for Zeek 2021-04-01 10:00:55 -04:00
Masaya-A bc04cae918 Fix: Connection to ES is "https" from 2.3.40 2021-04-01 16:59:47 +09:00
Masaya-A 908c5f8ef6 Merge pull request #8 from Security-Onion-Solutions/dev
Dev Sync 20210401
2021-04-01 16:55:41 +09:00
Mike Reeves 88eab86528 Manage the repo files 2021-03-31 17:07:30 -04:00
Mike Reeves 9645988555 Manage the repo files 2021-03-31 17:06:26 -04:00
Mike Reeves 1509722185 Manage the repo files 2021-03-31 17:04:56 -04:00
Mike Reeves bfc5bb011f Manage the repo files 2021-03-31 17:03:52 -04:00
Mike Reeves 13421bb04b Manage the repo files 2021-03-31 16:59:15 -04:00
Josh Patterson 6cebc41353 Merge pull request #3720 from Security-Onion-Solutions/issue/3709
https://github.com/Security-Onion-Solutions/securityonion/issues/3709
2021-03-31 16:54:15 -04:00
Mike Reeves f387c4327a Manage the repo files 2021-03-31 16:53:20 -04:00
Mike Reeves 358f397535 Manage the repo files 2021-03-31 16:50:43 -04:00
Mike Reeves 9b84a92ced Manage the repo files 2021-03-31 16:47:04 -04:00
William Wernert a8483cb30e Merge branch 'dev' into foxtrot 2021-03-31 16:02:26 -04:00
William Wernert dfe5e73608 Merge branch 'feature/node-description' into foxtrot 2021-03-31 16:02:12 -04:00
William Wernert 3de980e4a1 Move function call to run after Network Manager is installed 2021-03-31 16:00:37 -04:00
Josh Brower 2b86241450 Merge pull request #3717 from Security-Onion-Solutions/fix/playbook-timestamps
Fix Playbook Alert timestamps
2021-03-31 15:47:11 -04:00
Josh Brower ef98445560 Fix Playbook Alert timestamps 2021-03-31 15:44:41 -04:00
m0duspwnens f7e99b4961 https://github.com/Security-Onion-Solutions/securityonion/issues/3709 2021-03-31 15:17:15 -04:00
Jason Ertel 820b01405f For hunt quick actions, pipe value to 'escape' operator to escape backslashes and double quotes 2021-03-31 14:57:36 -04:00
William Wernert 2a595f03b7 Merge pull request #3630 from Security-Onion-Solutions/foxtrot
Add option to configure chrony as an ntp service
2021-03-31 13:41:06 -04:00
William Wernert 761a12ebbb Fix variable name 2021-03-31 13:32:49 -04:00
William Wernert 1c4ba28336 [fix] host_pillar overwrites the file, so run ntp_pillar after it 2021-03-31 13:28:42 -04:00
Mike Reeves f8d7241354 Fix repo file path 2021-03-31 12:55:46 -04:00
Mike Reeves 89922a439e Move repo files 2021-03-31 12:37:33 -04:00
Josh Brower 209d348108 Merge pull request #3688 from Security-Onion-Solutions/fix/playbook-sync
Fix sensor cleanup & playbook sync scripts
2021-03-31 11:59:27 -04:00
Jason Ertel cdf3254485 Merge pull request #3708 from Security-Onion-Solutions/newrepo
Add Wazuh 4 repo
2021-03-31 09:29:50 -04:00
Mike Reeves 5e25d762c4 Merge remote-tracking branch 'remotes/origin/dev' into newrepo 2021-03-31 09:28:18 -04:00
Mike Reeves 46865809ed Fix Automation Testing round 2 2021-03-31 09:28:02 -04:00
Mike Reeves bb39ccc1aa Fix Automation Testing 2021-03-31 09:25:21 -04:00
Mike Reeves 0d077b0d49 Merge pull request #3704 from gebhard73/patch-2
Update so-index-list
2021-03-31 09:18:29 -04:00
William Wernert 04920dcbed Merge branch 'dev' into foxtrot 2021-03-31 09:15:17 -04:00
William Wernert c03e2b2c11 Move ntp server array to its own pillar in the minion sls file 2021-03-31 09:14:40 -04:00
Mike Reeves 5203c25971 Add Wazuh 4 Repo 2021-03-31 09:13:38 -04:00
Mike Reeves b485531bd8 Merge remote-tracking branch 'remotes/origin/dev' into newrepo 2021-03-31 09:12:56 -04:00
weslambert 5eb0137c21 Merge pull request #3705 from Security-Onion-Solutions/delta
Enforce date type for ingest.timestamp
2021-03-31 08:40:41 -04:00
Wes Lambert 942de130ca Enforce date type for ingest.timestamp 2021-03-31 12:24:51 +00:00
gebhard73 0b9cf57b5f Update so-index-list
Sort by index name.
2021-03-31 14:22:06 +02:00
Mike Reeves e92f5c122c Merge pull request #3689 from Security-Onion-Solutions/kilo
Remove incompatible example
2021-03-30 16:08:16 -04:00
William Wernert 177989269f Better formatting of chrony.conf 2021-03-30 15:50:37 -04:00
William Wernert fd51b327ee Add messaging to explain chronyc output to log 2021-03-30 15:23:57 -04:00
William Wernert be6eb3ed6c Restart chrony in case it's already running 2021-03-30 14:17:05 -04:00
m0duspwnens 8e55e0b994 start graphing data from so_long_term 2021-03-30 13:36:52 -04:00
Josh Brower 679925ebd9 Fix sensor cleanup & playbook sync scripts 2021-03-30 13:29:56 -04:00
weslambert ff317cdcf1 Merge pull request #3684 from Security-Onion-Solutions/delta
Add Elastic scripts
2021-03-30 12:06:00 -04:00
Wes Lambert 7049383ba6 Add Elastic scripts 2021-03-30 15:47:05 +00:00
Mike Reeves 2534ca7eb7 Merge pull request #3633 from Security-Onion-Solutions/newrepo
Attempt to use so repo for network install
2021-03-30 11:37:46 -04:00
Mike Reeves b2138045c0 Merge remote-tracking branch 'remotes/origin/dev' into newrepo 2021-03-30 11:29:22 -04:00
Mike Reeves fc3fd00216 Fix formatting 2021-03-30 11:28:47 -04:00
Mike Reeves 09064baf71 Update so-common 2021-03-30 11:21:19 -04:00
Mike Reeves 5f5a53b8bb Push repolist to dev null 2021-03-30 11:14:58 -04:00
William Wernert 25eca39428 Always ask for ntp setup on iso installs, don't ask on network installs 2021-03-30 09:54:21 -04:00
m0duspwnens 30c6d4756a change default long term resolution to 5m 2021-03-30 09:38:37 -04:00
William Wernert 0e9ffe033d Show message about setting up network earlier during setup 2021-03-30 09:30:06 -04:00
Jason Ertel e98f3e54c0 Merge branch 'dev' into kilo 2021-03-29 17:37:18 -04:00
Mike Reeves 3fce63e0c5 Fix Repo Again 2021-03-29 16:43:44 -04:00
Mike Reeves f73bf947bc Fix repo url 2021-03-29 15:42:26 -04:00
Mike Reeves 1a58479f39 Fix acng passthrough 2021-03-29 15:15:34 -04:00
m0duspwnens d1150f150f loop through the rps 2021-03-29 10:59:18 -04:00
m0duspwnens e0f4abaa09 try to do it with just 1 cq, modify defaults for testing 2021-03-29 10:36:56 -04:00
William Wernert d81d4e7474 Merge branch 'dev' into foxtrot 2021-03-29 09:36:38 -04:00
William Wernert 2ff790699f [fix] Set ntp_string to empty, not ntp_servers 2021-03-29 09:36:24 -04:00
Jason Ertel 6bce8e8e2c Remove incompatible example 2021-03-29 07:30:26 -04:00
Mike Reeves d889bd2694 Fix Security Onio Pub Key 2021-03-28 22:32:03 -04:00
Mike Reeves 5882642c32 fixpath for GPG Keys for real 2021-03-28 22:10:02 -04:00
Mike Reeves 362bf55526 fixpath for GPG keys 2021-03-28 22:01:58 -04:00
Jason Ertel 0945747a70 Merge pull request #3649 from Security-Onion-Solutions/kilo
Support custom login banner
2021-03-26 22:33:36 -04:00
Mike Reeves bab062e52b Fix acng to actually cache 2021-03-26 16:21:03 -04:00
Mike Reeves 955d41abde Fix acng to actually cache 2021-03-26 16:18:49 -04:00
Mike Reeves 26f8ae87c5 Fix acng to actually cache 2021-03-26 16:10:00 -04:00
Mike Reeves 8819cc1371 Fix acng to actually cache 2021-03-26 16:01:22 -04:00
Jason Ertel 9d6c2a5f15 Merge branch 'dev' into kilo 2021-03-26 15:58:05 -04:00
Jason Ertel 0195d366cc Add custom banner to login page 2021-03-26 14:44:31 -04:00
William Wernert eb674b3b93 Validate list of ntp servers (ip4, hostname, or fqdn) 2021-03-25 14:45:33 -04:00
William Wernert 150e724a4a Fix chrony install logic + add sleep for chrony to finish sync 2021-03-25 13:37:54 -04:00
Mike Reeves af3951e1ad Attempt to use so repo for network install 2021-03-25 11:51:55 -04:00
m0duspwnens 889e624a8c add shard_duration to state and defaults - https://github.com/Security-Onion-Solutions/securityonion/issues/3264 2021-03-25 09:33:10 -04:00
m0duspwnens cd0ab5c709 add support for shard_duration to influxdb module and influxdb_retention_policy state - https://github.com/Security-Onion-Solutions/securityonion/issues/3264 2021-03-25 08:50:32 -04:00
Masaya-A 16f88c38de Merge pull request #7 from Security-Onion-Solutions/dev
Dev Sync
2021-03-25 09:09:38 +09:00
m0duspwnens d75fafb19c add support for shard_duration to influxdb module and influxdb_retention_policy state - https://github.com/Security-Onion-Solutions/securityonion/issues/3264 2021-03-24 17:30:27 -04:00
Jason Ertel 909a1badcb Merge pull request #3622 from Security-Onion-Solutions/kilo
Correct local online docs link to release notes
2021-03-24 15:01:35 -04:00
Jason Ertel 7fc2467951 Correct local online docs link to release notes 2021-03-24 15:00:02 -04:00
William Wernert c6a257bc50 Merge branch 'dev' into feature/ntp-service 2021-03-24 11:50:47 -04:00
Mike Reeves f0c19cf2af Merge pull request #3616 from Security-Onion-Solutions/kilo 2021-03-24 11:48:31 -04:00
Jason Ertel 08f46a779a Remove freqserver, minio, and domainstats from image list 2021-03-24 11:32:29 -04:00
m0duspwnens 11c3f14b42 end patch files with newline 2021-03-24 10:35:20 -04:00
William Wernert 982f2de33c [fix] Refactor so-ssh-harden
* Create a temp file to make changes, and only copy back over if any changes are made
* Test changes as they're made, and exit if the test fails
* Only add lines if they don't already exist in the config
2021-03-24 09:48:00 -04:00
m0duspwnens 53528d486c remove minio 2021-03-24 09:44:56 -04:00
m0duspwnens 3a8aea0de6 removing domainstats and freqserver from so-image-common 2021-03-24 09:11:48 -04:00
Jason Ertel 79ad87f83c Remove freqserver, minio, and domainstats from image list 2021-03-23 21:16:17 -04:00
Jason Ertel 887920e7c5 Implement customizable overview page 2021-03-23 16:44:08 -04:00
Jason Ertel 2d8c73d317 Merge branch 'dev' into kilo 2021-03-23 16:31:44 -04:00
Jason Ertel 5ade0b9f40 Implement customizable overview page 2021-03-23 16:31:41 -04:00
m0duspwnens a3e11f017b merge with 2.3.40 2021-03-23 14:34:52 -04:00
William Wernert 23cd006724 so-ssh-harden fixes
* Change when script is run during setup
* Add newlines to sshd config for legibility
2021-03-23 14:06:10 -04:00
William Wernert 3287a777a2 [fix] Pre-fill hostname re-enter on default 2021-03-23 11:41:12 -04:00
William Wernert 9f0afd90f1 [fix] Add missing backslash 2021-03-23 11:27:37 -04:00
William Wernert 2d873b92fa Fix ntp logic elsewhere 2021-03-23 10:22:41 -04:00
William Wernert 0e9c81c145 Fix logic around ntp prompt 2021-03-23 09:44:44 -04:00
William Wernert 884343b299 Merge branch 'dev' into feature/ntp-service 2021-03-23 09:36:41 -04:00
William Wernert 184c763b02 [fix] Export correct variable to check later in setup 2021-03-23 09:36:08 -04:00
William Wernert ace30c07ea [fix] Also sync time before updating system clock 2021-03-23 09:22:09 -04:00
William Wernert b3f558a1f8 [fix] Also check if proxy is set before asking for ntp servers 2021-03-23 09:14:34 -04:00
Masaya-A 151376a18f Merge pull request #5 from Security-Onion-Solutions/dev
Dev Sync
2021-03-23 14:27:29 +09:00
Jason Ertel 197693df4e Merge pull request #3580 from Security-Onion-Solutions/kilo
Upgrade to version 2.3.50
2021-03-22 21:10:05 -04:00
William Wernert 449e0d853c Initial support for ntp service via chronyd 2021-03-22 15:52:51 -04:00
Jason Ertel 8448588809 Upgrade to version 2.3.50 2021-03-22 15:04:02 -04:00
Mike Reeves cdb16e3e5a Merge pull request #3579 from Security-Onion-Solutions/kilo
Revert upgrade to version 2.3.50
2021-03-22 14:55:21 -04:00
Jason Ertel 86cb59d5ae Revert upgrade to version 2.3.50 2021-03-22 14:53:36 -04:00
Mike Reeves b4172565e8 Merge pull request #3578 from Security-Onion-Solutions/kilo
Upgrade to version 2.3.50
2021-03-22 14:50:27 -04:00
Jason Ertel b83ae4bded Upgrade to version 2.3.50 2021-03-22 14:49:14 -04:00
Mike Reeves afed0b70eb Merge pull request #3572 from Security-Onion-Solutions/dev
2.3.40
2021-03-22 14:43:34 -04:00
William Wernert 50fa0dc81a Allow user to enter a description during setup
Resolves #2404
2021-03-22 11:32:37 -04:00
Jason Ertel e9bd3888c4 Merge pull request #3571 from Security-Onion-Solutions/2340sigrtd
Verify ISO and update gpg
2021-03-22 10:03:42 -04:00
Mike Reeves ea5624b4bf Update date 2021-03-22 10:02:04 -04:00
Mike Reeves 11cb843fb4 Verify ISO and update gpg 2021-03-22 09:59:48 -04:00
Mike Reeves 57664a3c8a Merge pull request #3570 from Security-Onion-Solutions/Update-Readme
Update README.md
2021-03-22 09:14:34 -04:00
Mike Reeves 71d4d7ee8f Update README.md 2021-03-22 09:03:47 -04:00
Mike Reeves 25c9e70658 Merge pull request #3564 from Security-Onion-Solutions/fix/dash
Fix Dashboard Placeholder
2021-03-20 16:10:07 -04:00
Mike Reeves e06e023d8e Fix Dashboard Placeholder 2021-03-20 14:05:55 -04:00
Mike Reeves 4fe14dbfd8 Merge pull request #3558 from Security-Onion-Solutions/fix/https-playbook-alerter
Fix https Playbook Alerter
2021-03-19 16:39:35 -04:00
Josh Brower 2425355680 Fix https Playbook Alerter 2021-03-19 16:38:33 -04:00
Josh Patterson 30b948f6b8 Merge pull request #3557 from Security-Onion-Solutions/suri-eve-file-mode
prevent salt warning about file mode
2021-03-19 16:24:26 -04:00
m0duspwnens e87fb013dc prevent salt warning - The 'file_mode' argument will be ignored. Please use 'mode' instead to set file permissions. 2021-03-19 16:21:18 -04:00
Mike Reeves 908a9c2c06 Merge pull request #3550 from Security-Onion-Solutions/issue/3493
fix docker-ce holds
2021-03-19 15:18:45 -04:00
m0duspwnens d0f938a600 fix docker-ce holds 2021-03-19 15:16:58 -04:00
Mike Reeves ee2a6f8be9 Merge pull request #3549 from Security-Onion-Solutions/saved_objects
Update saved objects and remove index patterns because this is now handled by Field Caps API
2021-03-19 14:32:55 -04:00
Wes Lambert b481cf885b Update saved objects and remove index patterns because this is now handled by Field Caps API 2021-03-19 18:30:42 +00:00
Mike Reeves 890c0da81a Merge pull request #3546 from Security-Onion-Solutions/kilo
Update release notes for 2.3.40
2021-03-19 11:25:15 -04:00
Jason Ertel e69f6270f9 Merge branch 'dev' into kilo 2021-03-19 11:15:47 -04:00
Jason Ertel 83a3488a06 Update changes.json to reflect 2.3.40 changes 2021-03-19 11:15:27 -04:00
Mike Reeves de61886441 Merge pull request #3544 from Security-Onion-Solutions/feature/setup-kibana-space
Configure default Space in Kibana during setup
2021-03-19 09:02:18 -04:00
Josh Brower 9d533e5db0 Merge pull request #3542 from Security-Onion-Solutions/fix/fleet-custom-hostname
Fix Fleet Custom Hostname Reactor
2021-03-19 08:21:30 -04:00
Josh Brower d020f1d1a1 Fix Fleet Custom Hostname Reactor 2021-03-19 08:15:47 -04:00
William Wernert b595c6ddf7 Configure default Space in Kibana during setup 2021-03-18 16:00:13 -04:00
Mike Reeves 28999af493 Merge pull request #3539 from Security-Onion-Solutions/fix/postsoup
Fix/postsoup
2021-03-18 15:46:36 -04:00
Josh Brower 77b8aecfd9 add so-kibana-space-defaults 2021-03-18 15:40:12 -04:00
Mike Reeves 2e84af621e Add postloop for 2.3.40 2021-03-18 15:14:10 -04:00
William Wernert 6b2947ca6a Merge pull request #3535 from Security-Onion-Solutions/fix/cloud-var
Set is_cloud variable in the main shell process
2021-03-18 14:00:58 -04:00
Mike Reeves 2bd3a6418d Merge pull request #3536 from Security-Onion-Solutions/kilo
Refresh fieldcaps every 5 minutes
2021-03-18 13:57:24 -04:00
Jason Ertel cc30abfe1b Refresh fieldcaps every 5 minutes 2021-03-18 13:48:57 -04:00
William Wernert 0edf419bcb Remove redundant message 2021-03-18 13:16:45 -04:00
William Wernert 360f0d4dfd Also print stdout message to log 2021-03-18 13:12:16 -04:00
William Wernert 27ff823bc0 [fix] Don't set is_cloud in a subshell 2021-03-18 13:09:46 -04:00
Mike Reeves 1f85506fb1 Merge pull request #3532 from Security-Onion-Solutions/fix/packaging
Also add python packaging lib package to common state
2021-03-18 11:30:56 -04:00
William Wernert cb0fb93f77 Also add python packaging lib package to common state 2021-03-18 11:28:25 -04:00
William Wernert fcf0417fbf Merge pull request #3528 from Security-Onion-Solutions/fix/default-no-proxy
Change proxy prompt to default to no
2021-03-18 09:57:03 -04:00
William Wernert c910a2d2a0 Change proxy prompt to default to no 2021-03-18 09:52:11 -04:00
William Wernert 066a8598a6 Merge pull request #3523 from Security-Onion-Solutions/issue/3493
fix docker versions in setup
2021-03-18 09:31:35 -04:00
William Wernert b5770964c4 Merge pull request #3522 from Security-Onion-Solutions/fix/install-network-manager
[fix] CentOS ami does not include NetworkManager, so install it
2021-03-18 09:10:41 -04:00
William Wernert 31725ac627 [fix] Indent 2021-03-18 09:09:29 -04:00
m0duspwnens dbe54708ef fix docker versions in setup https://github.com/Security-Onion-Solutions/securityonion/issues/3493 2021-03-18 09:09:28 -04:00
William Wernert 163cb8f3ca [fix] Typo 2021-03-18 09:08:31 -04:00
William Wernert 4f104c860e [fix] CentOS ami does not include NetworkManager, so install it 2021-03-18 09:00:02 -04:00
Mike Reeves db605adaf6 Merge pull request #3517 from Security-Onion-Solutions/fix/restarting-docker-message 2021-03-17 21:15:37 -04:00
Mike Reeves 308f10fbdd Merge pull request #3510 from Security-Onion-Solutions/kilo 2021-03-17 21:14:45 -04:00
William Wernert 6e3d951b01 [fix] Show message in terminal when restarting Docker to avoid confusion 2021-03-17 20:17:23 -04:00
Mike Reeves 9a2b5fa301 Merge pull request #3516 from Security-Onion-Solutions/add_suricata_eve_clean
https://github.com/Security-Onion-Solutions/securityonion/issues/3515
2021-03-17 18:50:23 -04:00
m0duspwnens ec179f8e9b https://github.com/Security-Onion-Solutions/securityonion/issues/3515 2021-03-17 18:44:25 -04:00
Jason Ertel bc002cb9fb Merge branch 'dev' into kilo 2021-03-17 18:29:52 -04:00
Jason Ertel 4e9f629231 Reformat inactiveTools list in JSON format 2021-03-17 18:25:05 -04:00
Mike Reeves 75f9138a40 Merge pull request #3514 from Security-Onion-Solutions/fix/accept-hostname-proxy
[fix] Also accept a hostname in the proxy URL
2021-03-17 17:51:59 -04:00
William Wernert 96ac742b69 [fix] Also accept a hostname in the proxy URL 2021-03-17 17:31:47 -04:00
Jason Ertel 42809083e8 Merge branch 'dev' into kilo 2021-03-17 17:14:29 -04:00
Mike Reeves a3b7388aba Merge pull request #3511 from Security-Onion-Solutions/fix/elastic-license-agree
Make the Elastic license prompt case insensitive
2021-03-17 16:57:32 -04:00
William Wernert 7da027abc1 Make the Elastic license prompt case insensitive 2021-03-17 16:55:34 -04:00
Jason Ertel 4de809ecbd Automatically hide SOC tools that are not installed. Resolves #1643. 2021-03-17 16:13:50 -04:00
Josh Brower 8fd3f102f1 Merge pull request #3509 from Security-Onion-Solutions/fix/kibana-space-defaults
Add space defaults script
2021-03-17 15:55:11 -04:00
Josh Brower 7583593152 Add space defaults scripot 2021-03-17 15:47:36 -04:00
Jason Ertel dc0d989942 Merge pull request #3504 from Security-Onion-Solutions/issue/3493
UPGRADE: docker-ce, docker-ce-cli, containerd to latest
2021-03-17 13:51:31 -04:00
William Wernert 46d346aa62 Merge pull request #3503 from Security-Onion-Solutions/foxtrot
Foxtrot
2021-03-17 12:07:40 -04:00
William Wernert 16d6e116fa Merge branch 'dev' into foxtrot
# Conflicts:
#	salt/idstools/init.sls
2021-03-17 11:52:54 -04:00
Mike Reeves 52b836d456 Merge pull request #3498 from Security-Onion-Solutions/fix/so-rule-apply
Fix so-rule apply - manually tested
2021-03-17 11:28:16 -04:00
William Wernert 8aac9d6bea Reorder states in sync_files.sls 2021-03-17 10:46:17 -04:00
William Wernert 99a37a56a9 [fix] Change the commands so-rule uses to apply changes 2021-03-17 10:36:43 -04:00
m0duspwnens f63cc10602 https://github.com/Security-Onion-Solutions/securityonion/issues/3493 2021-03-17 10:26:52 -04:00
William Wernert c0163108ab Merge branch 'dev' into foxtrot
# Conflicts:
#	salt/common/tools/sbin/soup
2021-03-17 10:23:51 -04:00
m0duspwnens aa14dda155 https://github.com/Security-Onion-Solutions/securityonion/issues/3493 2021-03-17 10:20:20 -04:00
Mike Reeves fbdb627ab7 Merge pull request #3488 from Security-Onion-Solutions/issue/3288
insert instead of append
2021-03-17 09:17:20 -04:00
m0duspwnens 68ce7a902d insert instead of append 2021-03-17 09:14:19 -04:00
Doug Burks 2ba130b44c Merge pull request #3487 from Security-Onion-Solutions/issue/3486
FEATURE: soup should provide some initial information and then prompt…
2021-03-17 09:02:29 -04:00
Doug Burks d32c1de411 FEATURE: soup should provide some initial information and then prompt the user to continue #3486 2021-03-17 09:00:46 -04:00
Josh Brower d21abd9693 Merge pull request #3482 from Security-Onion-Solutions/feature/revert-livequery-hunt
Temp revert Fleet Live Query to Hunt
2021-03-17 08:29:28 -04:00
Josh Brower bba9913be1 Temp revert Fleet Live Query to Hunt 2021-03-17 08:25:25 -04:00
Jason Ertel 1b6f681ae1 Merge pull request #3477 from Security-Onion-Solutions/esheap
Esheap
2021-03-17 08:14:13 -04:00
Mike Reeves 137e1a699d Fix the math 2021-03-16 19:01:10 -04:00
Mike Reeves 2f3488b134 Merge pull request #3476 from Security-Onion-Solutions/issue/3288
Issue/3288
2021-03-16 18:56:07 -04:00
Mike Reeves 7719a26a96 Change ES Heap calculation 2021-03-16 18:53:41 -04:00
m0duspwnens 53c3b19a08 Merge remote-tracking branch 'remotes/origin/dev' into issue/3288 2021-03-16 16:46:32 -04:00
Doug Burks 065f1c2927 Merge pull request #3473 from Security-Onion-Solutions/fix/shorten-elastic-license-url
Shorten Elastic License URL to avoid line wrap
2021-03-16 16:43:38 -04:00
Doug Burks 388524ec4e Shorten Elastic License URL to avoid line wrap 2021-03-16 16:39:14 -04:00
m0duspwnens 38a497932c https://github.com/Security-Onion-Solutions/securityonion/issues/3288 2021-03-16 16:36:35 -04:00
weslambert 8d29f757b1 Merge pull request #3471 from Security-Onion-Solutions/kilo
Reverse Zeek index close/delete count for Curator
2021-03-16 14:34:46 -04:00
Josh Brower b56434aea1 Merge pull request #3470 from Security-Onion-Solutions/feature/disable-features-ui
Feature/disable certain features in Kibana UI
2021-03-16 14:00:21 -04:00
Josh Brower abd4f92088 Cleanup curl output 2021-03-16 13:53:28 -04:00
Josh Brower c855e0a55a Disable certain Features within the default space 2021-03-16 13:48:13 -04:00
Wes Lambert 7a02150389 Reverse Zeek index close/delete count for Curator 2021-03-16 17:16:55 +00:00
weslambert 5fd483a99d Merge pull request #3466 from Security-Onion-Solutions/soup2340
Soup for 2.3.40
2021-03-16 13:03:33 -04:00
Mike Reeves d92c1c11aa Merge pull request #3463 from Security-Onion-Solutions/kilo
Ignore TIME_WAIT when checking for Strelka frontend port reservation
2021-03-16 12:59:16 -04:00
Mike Reeves 71c6bb71c1 Merge remote-tracking branch 'remotes/origin/dev' into soup2340 2021-03-16 12:56:24 -04:00
Mike Reeves e528d84ebe Update Elastic License Text 2021-03-16 12:56:06 -04:00
William Wernert 129db23062 Move interface message to later in setup 2021-03-16 12:34:44 -04:00
William Wernert 1e7aaf9ffb Collect manager info before showing message about copying ssh key 2021-03-16 12:32:37 -04:00
Mike Reeves 2851840e76 Fix Logging 2021-03-16 12:18:01 -04:00
Josh Brower 7b748128ea Merge pull request #3462 from Security-Onion-Solutions/delta
Fixes IP & Port mappings
2021-03-16 12:05:23 -04:00
Josh Brower 4d6cac4a2a Merge remote-tracking branch 'remotes/origin/dev' into delta 2021-03-16 11:57:17 -04:00
William Wernert c8bbe078a6 Use more lines on proxy error message 2021-03-16 11:42:15 -04:00
William Wernert 6a48d7f478 Print curl error to populate variable 2021-03-16 11:34:36 -04:00
Wes Lambert 038c58f3d5 Ignore TIME_WAIT when checking for Strelka frontend port reservation 2021-03-16 14:51:16 +00:00
William Wernert 59c62393b5 Change back to validating proxy, show user error message from curl 2021-03-16 10:18:02 -04:00
Mike Reeves 00025e5c74 Fix Syntax Error 2021-03-16 09:34:53 -04:00
Josh Brower 71ae5b60ea Update Sigmac mappings and config for IPs and ports 2021-03-16 09:32:40 -04:00
Josh Brower 44c75122ed Update Sigmac mappings and config for IPs and ports 2021-03-16 09:05:35 -04:00
Mike Reeves 8d23518f90 Update Elastic Link 2021-03-15 17:50:06 -04:00
Mike Reeves 9a4c4448f3 Fix whiptail display 2021-03-15 17:45:44 -04:00
Mike Reeves 12501e0079 Add check license to its own logic 2021-03-15 17:41:45 -04:00
Mike Reeves 72759de97f Fix so-common syntax 2021-03-15 17:37:44 -04:00
Mike Reeves 67e0d450e4 Add Elastic License Prompts 2021-03-15 17:32:36 -04:00
Mike Reeves 05ec7dba21 Merge pull request #3452 from Security-Onion-Solutions/Telegraf-Fix
Turn off SSL Verification in Telegraf
2021-03-15 16:47:27 -04:00
Mike Reeves 674bb342ea Turn off SSL Verification in Telegraf 2021-03-15 16:39:43 -04:00
Josh Brower 5fe025318b Update Sigmac mappings and config for IPs and ports 2021-03-15 15:53:00 -04:00
William Wernert 086f2b3437 Change when prereq packages are installed to follow new order 2021-03-15 14:59:24 -04:00
Mike Reeves c93aab7a85 Merge pull request #3448 from Security-Onion-Solutions/kilo
Allow for moving Strelka files to processed directory after scanning
2021-03-15 14:51:04 -04:00
William Wernert efc0463201 Change when proxy + variables are set so strings are built correctly 2021-03-15 14:45:23 -04:00
William Wernert 55aee69a74 Merge branch 'dev' into foxtrot 2021-03-15 12:34:24 -04:00
William Wernert 6ae3a26cbe Revert all proxy changes on reinstall 2021-03-15 12:34:13 -04:00
Wes Lambert f142b754dc Add Strelka files.processed directory so files will be moved from staging to processed 2021-03-15 15:43:31 +00:00
Wes Lambert b6a785395d Add Strelka staging directory for state 2021-03-15 15:42:13 +00:00
Mike Reeves ab75d0e563 soup for 2.3.40 2021-03-15 10:51:31 -04:00
Mike Reeves 79c7af9a31 soup for 2.3.40 2021-03-15 10:48:24 -04:00
Masaya-A 236373cda2 Merge pull request #2 from Security-Onion-Solutions/dev
Dev Sync
2021-03-14 20:27:50 +09:00
Mike Reeves d931e57fd8 Merge pull request #3428 from Security-Onion-Solutions/kilo 2021-03-12 17:03:48 -05:00
Doug Burks cfdf9703ab Merge pull request #3427 from Security-Onion-Solutions/issue/3340
FEATURE: soup should output more guidance for distributed deployments at the end #3340
2021-03-12 15:27:26 -05:00
Doug Burks da7adab566 FEATURE: soup should output more guidance for distributed deployments at the end #3340 2021-03-12 12:59:17 -05:00
William Wernert f80dfda60b Only run initial installer progress to 98 to avoid sitting at 100 2021-03-12 11:39:44 -05:00
William Wernert 302d6e03be Merge branch 'dev' into foxtrot 2021-03-12 11:36:26 -05:00
Mike Reeves 4ac408ad38 Merge pull request #3423 from Security-Onion-Solutions/issue/3422
FIX: Improve Setup verbiage #3422
2021-03-12 11:04:25 -05:00
doug edb88ac09a FIX: Improve Setup verbiage #3422 2021-03-12 10:54:44 -05:00
Jason Ertel 747f387936 Replace salt's http.wait_for_successful_query with so-common's wait_for_web_response due to issues with salt 2021-03-12 10:42:18 -05:00
Jason Ertel 8cddfeb47d Provide pillar for each client param 2021-03-12 07:42:10 -05:00
Doug Burks 555f9b5091 Merge pull request #3417 from Security-Onion-Solutions/issue/3413
FIX: SMTP shoud read SNMP on Kibana SNMP view #3413
2021-03-12 06:52:21 -05:00
doug a5779a520c FIX: SMTP shoud read SNMP on Kibana SNMP view #3413 2021-03-12 06:48:57 -05:00
Jason Ertel a7ea0808c3 Merge pull request #3399 from Security-Onion-Solutions/kilo
feature: Show job owner/submitter. Resolves #2775
2021-03-12 06:45:34 -05:00
Jason Ertel 462f76e2bb Remove client params block in favor in individual settings that will go into the pillar 2021-03-12 06:38:53 -05:00
Jason Ertel b5cf9ae820 Merge branch 'dev' into kilo 2021-03-11 18:01:17 -05:00
Jason Ertel 80987dfd1d Support overrides of client params 2021-03-11 18:01:04 -05:00
William Wernert 6842204981 Ask for hostname earlier in setup 2021-03-11 16:55:06 -05:00
Doug Burks ab1c84afca Merge pull request #3409 from Security-Onion-Solutions/issue/3408
FIX: Populate http.status_message field #3408
2021-03-11 16:45:53 -05:00
doug adbc7436b6 FIX: Populate http.status_message field #3408 2021-03-11 16:42:20 -05:00
William Wernert 6d431c0bda Add more info to comment 2021-03-11 16:36:56 -05:00
William Wernert b14b9e8e17 [fix] Fix dependency install progress bar 2021-03-11 16:34:54 -05:00
William Wernert b35e65190e [fix] Fix dependency install progress bar 2021-03-11 16:30:14 -05:00
William Wernert 8e8bb1489b Redirect output of kill command 2021-03-11 16:13:52 -05:00
William Wernert e2fc1b0b39 Redirect output of kill command 2021-03-11 16:06:49 -05:00
William Wernert 3306ffa792 Only collect proxy once, include manager in no_proxy value on minions 2021-03-11 16:03:43 -05:00
William Wernert a86b2ab653 [fix] Remove additional collect_proxy call 2021-03-11 15:54:46 -05:00
William Wernert 5612fc10d4 [feat] Remove setup dependency on bc 2021-03-11 15:53:04 -05:00
Jason Ertel 286351f424 Merge branch 'dev' into kilo 2021-03-11 15:32:38 -05:00
Jason Ertel 908720592a Upgrade saved objects to 7.11.2 2021-03-11 15:32:22 -05:00
William Wernert 66da3e380f [fix] Set percentage value when needed 2021-03-11 15:25:38 -05:00
William Wernert e60bc87ffa Install setup required packages later so that also uses the proxy 2021-03-11 15:20:39 -05:00
m0duspwnens c4da576030 ensure the presence of the telegraf database 2021-03-11 12:20:32 -05:00
William Wernert 0d01f63e3b [fix] Confirm proxy password 2021-03-11 11:46:46 -05:00
Jason Ertel 79dd0d1809 Fix indentation 2021-03-11 11:13:14 -05:00
Mike Reeves cdd95986a8 Merge pull request #3398 from Security-Onion-Solutions/issue/3397
FIX: Improve Suricata DHCP logging and parsing #3397
2021-03-11 11:07:53 -05:00
doug b4ad7e7359 FIX: Improve Suricata DHCP logging and parsing #3397 2021-03-11 11:01:51 -05:00
m0duspwnens 465253a769 Merge remote-tracking branch 'remotes/origin/dev' into issue/3264 2021-03-11 10:55:19 -05:00
William Wernert 0434ffac38 Merge branch 'dev' into foxtrot 2021-03-11 10:52:36 -05:00
William Wernert 506162bfcc Use auth for automated proxy test 2021-03-11 10:52:17 -05:00
m0duspwnens 3b74d987c1 fix retry in ca state. add subjectAltName to influxdb.crt 2021-03-11 10:49:15 -05:00
m0duspwnens 3385ba2ca2 verify ssl 2021-03-11 09:35:54 -05:00
m0duspwnens 6dba2879c5 change so_long_term rp to 6h for tetsing 2021-03-11 09:25:44 -05:00
m0duspwnens 8fc1656939 fix timeouts / retries in ssl state 2021-03-11 09:24:57 -05:00
Doug Burks adb25d63d2 Merge pull request #3396 from Security-Onion-Solutions/issue/3295
FIX: Improve DHCP leases query in Hunt #3395
2021-03-11 08:22:48 -05:00
Doug Burks 85aaa71006 FIX: Improve DHCP leases query in Hunt #3395 2021-03-11 08:01:27 -05:00
William Wernert 750de6333d [fix] Remove last bad usage of cortexkey 2021-03-10 16:24:21 -05:00
William Wernert 9ffbb9d37e [fix] Use update so-cortex-user-enable with correct pillar
Fixes #3388
2021-03-10 16:17:10 -05:00
William Wernert 157badf448 [fix] Use correct pillar value for api key
Fixes #3388
2021-03-10 16:12:59 -05:00
m0duspwnens 75012cdcba create rps and cqs 2021-03-10 15:20:11 -05:00
Jason Ertel eefa6bb949 feature: Show job owner/submitter. Resolves #2775 2021-03-10 14:44:21 -05:00
William Wernert 19ccd0c9a2 Merge branch 'dev' into foxtrot 2021-03-10 09:33:42 -05:00
Mike Reeves 6bbcc7a5e9 Merge pull request #3382 from Security-Onion-Solutions/kilo
Ensure MTU is defined for advanced sensor automation
2021-03-10 09:27:20 -05:00
Jason Ertel 3eb4a37c76 Expose zeek and suri pins for automation 2021-03-10 09:26:46 -05:00
Jason Ertel 180bba782e Expose zeek and suri pins for automation 2021-03-10 09:26:11 -05:00
Jason Ertel b1531cc75e Merge pull request #3384 from Security-Onion-Solutions/Eval/Import-Fix
Update cert location for eval.import
2021-03-10 09:15:53 -05:00
Mike Reeves 18203513ab Update cert location for eval.import 2021-03-10 09:14:14 -05:00
Jason Ertel 46af6a5c84 Ensure MTU is defined for advanced sensor automation 2021-03-10 08:14:25 -05:00
Mike Reeves 2e74cb6abf Merge pull request #3377 from Security-Onion-Solutions/kilo 2021-03-09 21:40:43 -05:00
Jason Ertel a496b03de7 Add missing MTU var for automation of advanced sensor 2021-03-09 20:52:34 -05:00
William Wernert 60f40163aa Merge branch 'dev' into foxtrot 2021-03-09 13:51:13 -05:00
Jason Ertel 46288802d1 Merge pull request #3368 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update 9101_output_osquery_livequery.conf.jinja
2021-03-09 13:16:17 -05:00
Mike Reeves 2e01330e1b Update 9101_output_osquery_livequery.conf.jinja 2021-03-09 13:15:04 -05:00
m0duspwnens c1e4c4cb30 fix pip and python-influxdb install 2021-03-09 11:50:27 -05:00
m0duspwnens a3a0af64ce Merge remote-tracking branch 'remotes/origin/dev' into issue/3264 2021-03-09 10:34:39 -05:00
m0duspwnens 1f9e5ca3cc install influxdb python module add test retention policies 2021-03-09 10:31:59 -05:00
William Wernert f0e089b6bf Merge branch 'dev' into foxtrot 2021-03-09 10:11:04 -05:00
Mike Reeves 734d25b1ac Merge pull request #3361 from Security-Onion-Solutions/nomorefeatures
Make saved objects less hacky
2021-03-09 10:05:23 -05:00
Mike Reeves 49258a13a3 Make saved objects less hacky 2021-03-09 10:03:29 -05:00
Josh Brower 00da549430 Merge pull request #3358 from Security-Onion-Solutions/delta
FEATURE: Initial support for viewing Osquery Live Query results in Hunt
2021-03-09 09:18:57 -05:00
Jason Ertel b1777ff10f Merge pull request #3357 from Security-Onion-Solutions/nomorefeatures
SSL with Elastic Security
2021-03-08 21:22:30 -05:00
Mike Reeves 3967e581cf Merge pull request #3356 from Security-Onion-Solutions/kilo
fix: Sensors can temporarily show offline while processing large PCAP…
2021-03-08 19:14:54 -05:00
William Wernert ba71b2fbc8 Change proxy Jinja logic (none and empty string are falsy) 2021-03-08 17:36:34 -05:00
Mike Reeves 1ecb079066 Fix Kibana Script for loading dashboards 2021-03-08 17:36:07 -05:00
William Wernert f85f86ccdd [fix] Check for empty proxy string everywhere 2021-03-08 17:25:23 -05:00
William Wernert 8c4e66f7bb [fix] Print error to stderr 2021-03-08 15:52:21 -05:00
William Wernert 5ee6856a07 Strip the last substring following a hyphen for automated branches
Also don't show the user a stack trace on invalid version strings, just alert on the bad string and exit
2021-03-08 15:43:54 -05:00
William Wernert ed4f8025be [fix] Also check for proxy to be empty string 2021-03-08 13:57:24 -05:00
Josh Brower fe8788c09a Merge remote-tracking branch 'remotes/origin/dev' into delta 2021-03-08 12:56:47 -05:00
William Wernert 5c7d3656dd [fix] Don't try to create so_proxy during automated installs, just set it 2021-03-08 12:26:17 -05:00
Jason Ertel 84c152e233 fix: Sensors can temporarily show offline while processing large PCAP jobs. Resolves #3279. 2021-03-08 12:05:44 -05:00
Mike Reeves bf4ac2a312 Fix some merge conflicts 2021-03-08 11:43:24 -05:00
William Wernert 368b04b24e Add back accidentally removed code 2021-03-08 09:04:17 -05:00
William Wernert ca2766511b Revert "[wip] Change when proxy is set up so main ip is known"
This reverts commit 1ea3cb1c61.

# Conflicts:
#	setup/so-functions
2021-03-08 09:02:53 -05:00
William Wernert 06c584910c Merge branch 'dev' into foxtrot 2021-03-08 08:58:31 -05:00
Josh Brower 19b3c7bb07 Merge pull request #3339 from Security-Onion-Solutions/feature/live_query-hunt
Feature/live query hunt
2021-03-08 08:31:25 -05:00
William Wernert 49db2a016a Merge pull request #3341 from Security-Onion-Solutions/kilo
Kilo
2021-03-08 08:17:29 -05:00
Jason Ertel 94610307b3 Merge branch 'dev' into kilo 2021-03-08 07:56:48 -05:00
William Wernert 35ae9363f5 [fix] Log gateway error, and don't show whiptail msg on automated installs 2021-03-05 20:15:37 -05:00
William Wernert 9c49cef2de Merge branch 'feature/docker-prune-rework' into foxtrot 2021-03-05 14:18:57 -05:00
William Wernert f537b3c7f7 Merge branch 'feature/setup-ssh-harden' into foxtrot 2021-03-05 14:18:35 -05:00
William Wernert e5110dc3fc [fix] None -> none 2021-03-05 14:08:03 -05:00
m0duspwnens 7409f15752 update all grafana queries that were using autogen to use default 2021-03-05 13:59:29 -05:00
William Wernert 50fcdb65a6 [fix] Modify the proxy automated test
* It makes more sense to test the proxy using a network install, not via the iso
2021-03-05 13:53:48 -05:00
William Wernert 32e7afdc5f Merge branch 'feature/setup' into foxtrot 2021-03-05 12:53:31 -05:00
William Wernert 245902326f [wip] Add automation support for proxy settings 2021-03-05 12:53:20 -05:00
Jason Ertel 7234353476 Merge pull request #3319 from Security-Onion-Solutions/foxtrot
fix: syntax error in reserved ports configuration #3308
2021-03-05 12:51:50 -05:00
William Wernert ec04145d15 [fix] Set proxy for idstools container manually 2021-03-05 11:34:31 -05:00
Jason Ertel 61a7efeeab fix: syntax error in reserved ports configuration; ensure ports are reserved prior to setup 2021-03-05 10:54:01 -05:00
Josh Brower 548f67ca6f Initial support for Live Queries in Hunt 2021-03-04 18:21:13 -05:00
William Wernert 33b2bd33fe [fix] Also create config.json so containers use proxy 2021-03-04 17:12:10 -05:00
William Wernert e0d0baafcc [fix] Permanently set proxy for yum using template 2021-03-04 16:40:32 -05:00
William Wernert b3c7760ad4 [fix] Use correct variable in so-proxy.sh 2021-03-04 14:08:21 -05:00
Mike Reeves 39d4f077b4 Merge pull request #3290 from Security-Onion-Solutions/foxtrot
Foxtrot
2021-03-04 13:44:00 -05:00
William Wernert a435ea77e8 [fix] Also add hostname to no_proxy list 2021-03-04 12:43:42 -05:00
William Wernert 2ee8c7ad1c [fix] Always pass $proxy_addr since we retry the surrounding function 2021-03-04 12:16:23 -05:00
William Wernert ac0a4f4a13 Merge branch 'dev' into feature/setup 2021-03-04 12:11:17 -05:00
William Wernert b265854644 [wip] Move proxy config to separate file 2021-03-04 12:10:42 -05:00
William Wernert 4339ded17f [wip][fix] Don't add logic to so-setup, create wrapper function in so-functions 2021-03-04 12:10:14 -05:00
William Wernert d19ca943cc [fix][wip] Only setup proxy early on configure network setup 2021-03-04 11:57:16 -05:00
William Wernert 2e56252f54 [wip] Syntax fixes 2021-03-04 11:54:21 -05:00
William Wernert 13dc822197 [wip] Ask user if they want to re-enter the proxy 2021-03-04 11:53:08 -05:00
William Wernert 5a97341d33 [wip] Fix how collect_proxy function works on retry 2021-03-04 11:41:36 -05:00
William Wernert 7ee0fd6375 [wip] Specify setup log location to user when directing them to it 2021-03-04 11:31:22 -05:00
Mike Reeves 05c7bd5789 Merge pull request #3285 from Security-Onion-Solutions/elastic
Elastic
2021-03-04 10:57:06 -05:00
Mike Reeves c2b347e4bb Security Enable for only nodes and heavy 2021-03-04 10:52:01 -05:00
Mike Reeves a0a8d12526 Enable SSL and Features 2021-03-04 10:08:28 -05:00
Mike Reeves 8c474cc7df Merge pull request #3268 from Security-Onion-Solutions/issue/3254
FIX: Custom Kibana settings are not being applied properly on upgrades #3254
2021-03-04 08:39:50 -05:00
William Wernert 3d5cf128ae [wip] Test proxy before using it 2021-03-03 15:02:21 -05:00
Mike Reeves 49371a1d6a fix elastic output for ssl 2021-03-03 14:30:45 -05:00
William Wernert 1ea3cb1c61 [wip] Change when proxy is set up so main ip is known
* Also only restart docker if the command exists (i.e. docker is installed)
2021-03-03 14:20:26 -05:00
Mike Reeves bf4249d28b fix elastalert verification 2021-03-03 14:16:10 -05:00
William Wernert 4ffa0fbc13 [wip] Fix proxy validation 2021-03-03 14:09:59 -05:00
Mike Reeves e0538417f1 fix http.wait 2021-03-03 14:06:35 -05:00
doug d39b3280c8 FIX: Custom Kibana settings are not being applied properly on upgrades #3254 2021-03-03 14:04:32 -05:00
Mike Reeves 6c7111cd0a turn off verification mode for ES 2021-03-03 13:42:04 -05:00
Mike Reeves 4de62c878c turn on elastic security 2021-03-03 12:51:29 -05:00
William Wernert e951e9d9c5 [wip] Further proxy changes
* Remove unused docker.conf template
* Rename proxy variable to avoid name collision
* Reword address prompt to specify users should not include user:pass in their input
* Actually call the collect_proxy function
2021-03-03 12:19:14 -05:00
William Wernert 26b1da744c [wip] Reword proxy yesno prompt 2021-03-03 12:01:15 -05:00
William Wernert 83791d87c7 [wip][fix] Use passwordbox for proxy password 2021-03-03 11:58:45 -05:00
William Wernert 279a5b60b8 Soup indent fixes 2021-03-03 11:58:10 -05:00
Mike Reeves 4f34eca5b9 remove unused script 2021-03-03 10:32:23 -05:00
Mike Reeves 07b5cc3d1d Fix https for rw indicies script 2021-03-03 10:29:41 -05:00
Mike Reeves d7451dcd75 Merge remote-tracking branch 'origin/foxtrot' into nomorefeatures 2021-03-03 10:04:38 -05:00
Mike Reeves 4f867e5375 Fix all scripts for ssl elastic 2021-03-03 10:02:23 -05:00
William Wernert 82018a206c [wip] Don't validate user+pass for proxy, use new variable 2021-03-03 09:56:14 -05:00
William Wernert 2b94fa366e [wip] Add auth inputs for proxy settings, fix some broken logic 2021-03-03 09:51:38 -05:00
William Wernert de77d3ebc9 [wip] Initial work for setting up proxy on manager 2021-03-02 17:41:49 -05:00
William Wernert 4df53b3c70 Unify log_size_limit variable value in so-curator-closed-delete-delete 2021-03-02 17:38:17 -05:00
William Wernert 497938460a [fix] manager:log_size_limit is no longer used, remove generation 2021-03-02 16:47:49 -05:00
Mike Reeves e0d9212e55 Make https default for all things 2021-03-02 14:01:05 -05:00
Mike Reeves 80574d3c20 Make https default for all things 2021-03-02 13:59:43 -05:00
Mike Reeves bfd05a8cfc Change to https for elastic connections 2021-03-02 11:32:29 -05:00
Mike Reeves 3219f4cd12 Remove Features Option 2021-03-02 11:04:50 -05:00
William Wernert a18dd869c4 Merge branch 'dev' into feature/setup 2021-03-02 10:23:33 -05:00
William Wernert 61611b8de2 Fix Elasticsearch disk space prompt
Resolves #3205
2021-03-02 10:23:04 -05:00
William Wernert 0db9991307 Reword/remove some comments 2021-03-02 10:20:33 -05:00
Jason Ertel 4014dbbc3d Revert "Move version to 2.3.31"
This reverts commit cf21200a36.
2021-03-02 10:14:45 -05:00
William Wernert 35f5c7fb4b Merge branch 'dev' into feature/docker-prune-rework 2021-03-02 09:48:41 -05:00
Jason Ertel cf21200a36 Move version to 2.3.31 2021-03-02 09:11:49 -05:00
Mike Reeves bff446543a Merge pull request #3215 from Security-Onion-Solutions/foxtrot
Foxtrot
2021-03-01 15:58:41 -05:00
Jason Ertel 53a45e1c97 Merge branch 'dev' into foxtrot 2021-03-01 15:54:41 -05:00
Jason Ertel b37d5ae15f Enable advanced setup for some search/sensor installs 2021-03-01 15:54:29 -05:00
Mike Reeves 85204dbb14 Merge pull request #3210 from Security-Onion-Solutions/dev2340
Update VERSION
2021-03-01 15:28:45 -05:00
Mike Reeves 2c75cb74db Update VERSION 2021-03-01 15:17:38 -05:00
Mike Reeves d99acdb72c Merge pull request #3209 from Security-Onion-Solutions/dev
2.3.30
2021-03-01 15:09:29 -05:00
Mike Reeves 0d70d2e6f8 Merge pull request #3208 from Security-Onion-Solutions/sigs
Update Signatures
2021-03-01 14:48:04 -05:00
Mike Reeves 64b37cedc7 Update Signatures 2021-03-01 14:45:51 -05:00
Mike Reeves 852f588512 Merge pull request #3207 from Security-Onion-Solutions/telegraf_suri_meta
Telegraf suri meta
2021-03-01 13:59:36 -05:00
m0duspwnens a197d5addf revert version to 2.3.30 https://github.com/Security-Onion-Solutions/securityonion/issues/3206 2021-03-01 13:58:04 -05:00
m0duspwnens 3983e08fe5 exclude zeekcaptureloss when suricata metadata selected https://github.com/Security-Onion-Solutions/securityonion/issues/3206 2021-03-01 13:31:05 -05:00
Mike Reeves 8f8651c52c Merge pull request #3204 from Security-Onion-Solutions/foxtrot
Update VERSION file to 2.3.40
2021-03-01 12:18:50 -05:00
Jason Ertel 85e059a766 Update VERSION file to 2.3.40 2021-03-01 12:16:46 -05:00
Mike Reeves 2df871adcd Merge pull request #3199 from Security-Onion-Solutions/dev
2.3.30 Release
2021-03-01 12:11:19 -05:00
William Wernert 3e1a31c0b0 Merge pull request #3201 from Security-Onion-Solutions/sigs
Release 2.3.30 sig
2021-03-01 10:49:55 -05:00
Mike Reeves 4e9bfbefda Merge pull request #3200 from Security-Onion-Solutions/release-merge-fix
Release merge fix
2021-03-01 10:49:41 -05:00
Mike Reeves 1a1e3caec8 Release 2.3.30 sig 2021-03-01 10:48:22 -05:00
William Wernert be7dcdb442 Merge branch 'master' into release-merge-fix
# Conflicts:
#	README.md
#	VERIFY_ISO.md
#	VERSION
#	salt/docker_clean/init.sls
#	salt/soc/files/soc/changes.json
2021-03-01 10:45:51 -05:00
Mike Reeves 8a9c7fa279 Merge pull request #3198 from Security-Onion-Solutions/sigs
Add Signature Files
2021-03-01 10:42:15 -05:00
Mike Reeves bfa7c85e27 Release 2.3.30 2021-03-01 10:40:41 -05:00
Mike Reeves ed2c836250 Merge pull request #3196 from Security-Onion-Solutions/foxtrot
Update changes for 2.3.30
2021-03-01 10:00:12 -05:00
Jason Ertel 1ae46b82ec Update changes for 2.3.30 2021-03-01 09:58:39 -05:00
Mike Reeves 6e8777b9d6 Merge pull request #3193 from Security-Onion-Solutions/bugfix/revert-default-route-msg
Revert "[refactor] Make default route message a warning"
2021-03-01 09:49:58 -05:00
William Wernert def3637bf6 Revert "[refactor] Make default route message a warning"
This reverts commit be1f641bf0.
2021-03-01 09:46:28 -05:00
William Wernert 1834e07aad Merge branch 'dev' into feature/docker-prune-rework 2021-03-01 09:37:47 -05:00
Mike Reeves 64cc894948 Merge pull request #3192 from Security-Onion-Solutions/bugfix/input-validation-fixes
Bugfix/input validation fixes
2021-03-01 09:27:48 -05:00
Mike Reeves 55b6efba7b Merge pull request #3189 from Security-Onion-Solutions/bugfix/mtu-input
Add max to MTU input validation to encompass default + jumbo frames
2021-03-01 09:26:54 -05:00
William Wernert cf9be3521d [fix] Don't validate LS/ES heap sizes
* Also remove comments + fix indent
2021-03-01 09:17:36 -05:00
William Wernert 6113bcc261 [fix] Increase max integer value 2021-03-01 09:16:51 -05:00
William Wernert 810ffbdaf5 Add max to MTU input validation to encompass default + jumbo frames 2021-03-01 08:41:19 -05:00
Mike Reeves c1a8e1971b Merge pull request #3174 from Security-Onion-Solutions/foxtrot 2021-02-27 09:49:46 -05:00
Jason Ertel 7451aa990b Improve formatting of changes list 2021-02-27 08:14:44 -05:00
Jason Ertel 839ab30b2c Merge pull request #3171 from Security-Onion-Solutions/foxtrot
Add changes.json for 2.3.30
2021-02-26 18:16:20 -05:00
Jason Ertel 9631327c71 Add changes.json for 2.3.30 2021-02-26 18:11:13 -05:00
William Wernert 33696398eb Add new so-docker-prune script
* Script will pull list of so- images and prune any older than most recent + last version
2021-02-26 18:06:07 -05:00
Josh Patterson b6fe8dec3b Merge pull request #3170 from Security-Onion-Solutions/bugfix/setup-configure-network
Fix logic for configure network option in setup
2021-02-26 15:43:38 -05:00
William Wernert fd877a2256 Fix logic for configure network option in setup 2021-02-26 15:40:20 -05:00
Mike Reeves 26a22b8e3b Merge pull request #3169 from Security-Onion-Solutions/foxtrot
Foxtrot
2021-02-26 14:37:09 -05:00
Jason Ertel cc15e9a0b1 Merge branch 'dev' into foxtrot 2021-02-26 14:26:48 -05:00
Jason Ertel 4a03862fc4 Add suricata distributed automations 2021-02-26 14:26:28 -05:00
William Wernert 069f6eccbf Merge pull request #3157 from Security-Onion-Solutions/feature/default-route-warn
[refactor] Make default route message a warning
2021-02-26 10:29:43 -05:00
William Wernert be1f641bf0 [refactor] Make default route message a warning
Don't force users to exit setup if the default route and management NIC's IP don't match,
just warn them
2021-02-26 10:27:14 -05:00
William Wernert 8910b5c3a7 Merge pull request #3155 from Security-Onion-Solutions/bugfix/fleet-hostname-input
[fix] Change logic for collecting fleet custom hostname
2021-02-26 09:16:22 -05:00
William Wernert 333a7e6173 [fix] Change logic for collecting fleet custom hostname 2021-02-26 09:14:30 -05:00
Josh Patterson b893a2b887 Merge pull request #3154 from Security-Onion-Solutions/salt-3002.5
upgrade to Salt 3002.5
2021-02-26 08:57:23 -05:00
m0duspwnens b4c1c56e72 Merge remote-tracking branch 'remotes/origin/dev' into salt-3002.5 2021-02-26 08:38:02 -05:00
Josh Brower 45f626887d Merge pull request #3153 from Security-Onion-Solutions/bugfix/so-playbook-sigmarefresh
Fix so-playbook-sigma-refresh
2021-02-26 08:36:36 -05:00
Josh Brower 5678e66b39 Fix so-playbook-sigma-refresh 2021-02-26 08:33:24 -05:00
Josh Brower b8137214e4 Initial Support - Live Query to Hunt 2021-02-26 08:08:09 -05:00
Josh Patterson dc673eef77 Merge pull request #3148 from Security-Onion-Solutions/salt-3002.5
Salt 3002.5
2021-02-25 23:00:35 -05:00
m0duspwnens 9fa625189f upgrade to salt 3002.5 https://github.com/Security-Onion-Solutions/securityonion/issues/3147 2021-02-25 20:07:29 -05:00
Mike Reeves e06ca75677 Merge pull request #3144 from Security-Onion-Solutions/interfaces
Don't disable NICs
2021-02-25 17:28:47 -05:00
Mike Reeves a47a3d51c9 Merge pull request #3139 from Security-Onion-Solutions/feature/soup-log_size_limit
Show log_size_limit message at end of soup instead of during
2021-02-25 17:10:38 -05:00
William Wernert b024dae72e [fix] Don't call set_main_ip a second time 2021-02-25 15:19:28 -05:00
Josh Patterson 8a0e0e88e0 Merge pull request #3142 from Security-Onion-Solutions/issue/3130
stop zeek state.db from getting owned by root
2021-02-25 15:01:20 -05:00
Mike Reeves 2c8bc16c8f Remove some nmcli business 2021-02-25 13:43:02 -05:00
Mike Reeves 37c13362df Netowrk Manager needs to chill 2021-02-25 13:20:29 -05:00
Mike Reeves 51e8839daf Inverse NIC offload 2021-02-25 11:46:00 -05:00
Josh Patterson 18365ed87d Merge pull request #3140 from Security-Onion-Solutions/issue/3130
Issue/3130
2021-02-25 11:27:46 -05:00
m0duspwnens fcd3f81400 fix quotes 2021-02-25 11:16:53 -05:00
m0duspwnens c8213fa3d4 change docker exec 2021-02-25 11:07:54 -05:00
m0duspwnens add66e750e forgot to add -c 2021-02-25 10:49:09 -05:00
William Wernert 6a097beaff Show log_size_limit message at end of soup instead of during 2021-02-25 10:47:29 -05:00
Doug Burks 79fefd83ef Merge pull request #3134 from Security-Onion-Solutions/issue/3128
Improve Hunt queries for ssh and tunnel #3128
2021-02-25 07:11:20 -08:00
m0duspwnens d52abcbcbd ensure zeekctl is run as user zeek https://github.com/Security-Onion-Solutions/securityonion/issues/3130 2021-02-25 09:58:07 -05:00
Doug Burks c18c865764 Improve Hunt queries for ssh and tunnel #3128 2021-02-25 09:23:19 -05:00
Doug Burks ef1e296415 Improve Hunt queries for ssh and tunnel #3128 2021-02-25 08:52:34 -05:00
Mike Reeves ae89260793 Merge pull request #3127 from Security-Onion-Solutions/foxtrot
Add automation files for Suricata metadata
2021-02-25 08:26:20 -05:00
Jason Ertel 34dab9009c Ensure Zeek spool dir is owned by Zeek to allow Zeek to start correctly 2021-02-25 08:10:13 -05:00
Jason Ertel ef7cdf27bf Add automation files for Suricata metadata 2021-02-25 07:43:11 -05:00
Mike Reeves c39b516f38 Merge pull request #3121 from Security-Onion-Solutions/strelkainstall
Fix Strelka Rule updates, repo fix
2021-02-24 17:13:41 -05:00
Mike Reeves 39860ea6bd Merge pull request #3123 from Security-Onion-Solutions/kilo
Add function to soup to notify user of log_size_limit issues
2021-02-24 17:09:07 -05:00
Mike Reeves 701cfe7e9a Merge branch 'dev' into strelkainstall 2021-02-24 17:07:26 -05:00
William Wernert 4ae34f928c Merge branch 'dev' into kilo
# Conflicts:
#	setup/so-functions
2021-02-24 17:05:53 -05:00
Mike Reeves ff577cdf41 Merge pull request #3079 from petiepooo/feature/eslogsize
calculate log_size_limit based on /nsm/elasticsearch
2021-02-24 17:03:35 -05:00
William Wernert 4a6ad7c87e Set MAINIP to MNIC_IP when using a VPN 2021-02-24 16:31:45 -05:00
Mike Reeves b30f964974 Moving the wildcard 2021-02-24 16:09:37 -05:00
Mike Reeves 262bf03595 Testing capitals 2021-02-24 16:04:53 -05:00
Mike Reeves ae17a3aeb8 Fix Syntax try 3 2021-02-24 16:02:36 -05:00
Mike Reeves ab66f175c5 Fix Syntax 2021-02-24 16:01:18 -05:00
Mike Reeves 8f3ba7633c Fix Syntax 2021-02-24 15:57:18 -05:00
Mike Reeves 5949119cb5 Bypass route check 2021-02-24 15:53:55 -05:00
Mike Reeves 6058400aad Bypass route check 2021-02-24 15:52:50 -05:00
William Wernert f042312aac Merge branch 'dev' into kilo
# Conflicts:
#	salt/common/tools/sbin/soup
2021-02-24 15:42:10 -05:00
Mike Reeves 52fd3c0470 Merge pull request #3122 from Security-Onion-Solutions/strelka_repo_update
Modify soup to add Strelka rule repo in pillar
2021-02-24 15:35:35 -05:00
Wes Lambert 6ea8eab9af Modify soup to add Strelka rule repo in pillar 2021-02-24 20:32:47 +00:00
William Wernert 775f274962 Also check /nsm/elasticsearch in soup log_size_limit check
Reflect changes from PR#3079
2021-02-24 14:36:41 -05:00
William Wernert e500e24802 Only show log_size_limit warning on dist if heavynode pillars exist 2021-02-24 13:56:59 -05:00
William Wernert 298f7da90b Fix indent in set_default_log_size 2021-02-24 13:56:33 -05:00
Mike Reeves 38d60752b7 Merge pull request #3110 from Security-Onion-Solutions/dockerclean
Docker Cleanup
2021-02-24 13:44:06 -05:00
Josh Patterson 25ca70efd8 Merge pull request #3120 from Security-Onion-Solutions/issue/3115
ensure log_level and log_level_logfile are set to info in /etc/salt/minion
2021-02-24 13:36:34 -05:00
Mike Reeves bdfec5176d Dont disable unused interfaces during setup 2021-02-24 13:22:06 -05:00
William Wernert ece79379a5 Add file name/path to log_size_limit message 2021-02-24 12:54:14 -05:00
William Wernert ac6f1df86f [fix] Only check log_size_limit on .2X -> .30
* Since we're showing a message in the middle of soup, wait for keypress if it's shown
2021-02-24 12:35:17 -05:00
William Wernert 4507a89d95 tar arg fix (-x -> -z) 2021-02-24 12:24:54 -05:00
William Wernert 2be7ccac33 Add function to notify user that log_size_limit may be incorrect 2021-02-24 12:24:32 -05:00
Josh Patterson 81331264e7 Merge pull request #3117 from Security-Onion-Solutions/issue/3115
logfile is 1 word
2021-02-24 11:57:33 -05:00
m0duspwnens eba5d271aa logfile is 1 word https://github.com/Security-Onion-Solutions/securityonion/issues/3115 2021-02-24 11:56:43 -05:00
Josh Patterson a9066f491d Merge pull request #3116 from Security-Onion-Solutions/issue/3115
Issue/3115
2021-02-24 11:51:42 -05:00
m0duspwnens 3552abfca1 ensure info log level - 2021-02-24 11:50:08 -05:00
Mike Reeves 1d45472b48 Fix Strelka Rule updates, repo fix 2021-02-24 11:30:43 -05:00
Mike Reeves 68c683e3bf Merge pull request #3114 from Security-Onion-Solutions/foxtrot
Add retry support for 'docker pull' command
2021-02-24 11:25:14 -05:00
Jason Ertel 050058a959 Add retry support for 'docker pull' command 2021-02-24 09:34:14 -05:00
Mike Reeves 09c94ddf95 Docker Cleanup 2021-02-24 08:57:25 -05:00
Mike Reeves 54367db99b Merge pull request #3108 from Security-Onion-Solutions/issue/3056
add estimated EPS graphs to Grafana for manager, mastersearch and standalone nodes
2021-02-24 08:49:36 -05:00
Mike Reeves 56daae64be Merge pull request #3097 from Security-Onion-Solutions/sometacleanup
Clean up on sid numbers
2021-02-24 08:24:48 -05:00
Mike Reeves 00deab9305 Merge pull request #3100 from Security-Onion-Solutions/kilo
Add so-preflight + usage to so-monitor-add, fix managersearch missing from so-rule
2021-02-23 17:32:41 -05:00
Mike Reeves fa6fd20ff9 Merge pull request #3088 from Security-Onion-Solutions/soupairgap
Syn the latest rules on an airgap install
2021-02-23 17:31:29 -05:00
Mike Reeves d195efa8e5 Merge pull request #3098 from Security-Onion-Solutions/feature/update-soup
Update SOUP with so-playbook-sigma-refresh
2021-02-23 15:46:48 -05:00
Josh Brower a7eb3cd38d Add so-playbook-sigma-refresh 2021-02-23 15:43:09 -05:00
Mike Reeves 5baa4cb6a5 Clean up on sid numbers 2021-02-23 15:42:58 -05:00
Josh Patterson 988ad5f8fc Merge pull request #3086 from Security-Onion-Solutions/issue/3056
Issue/3056
2021-02-23 14:53:42 -05:00
William Wernert a361ca0e19 [fix] Add managersearch node type to so-rule pillar search 2021-02-23 14:15:17 -05:00
William Wernert 9cf15cdae5 [fix] Reword so-monitor-add help message 2021-02-23 13:55:18 -05:00
William Wernert d5477b4721 Add usage/help message to so-monitor-add 2021-02-23 13:48:54 -05:00
William Wernert 5a2fa26d72 Add ET OPEN/PRO URLs 2021-02-23 13:47:52 -05:00
William Wernert 61a23509a1 [fix] grep -q doesn't give output to parse, so remove the flag 2021-02-23 13:43:10 -05:00
William Wernert 25698dafe3 Add initial pre-flight check script 2021-02-23 13:25:54 -05:00
Mike Reeves 186710964b Fix Airgap Rule Path 2021-02-23 13:07:23 -05:00
Mike Reeves 3b32eb539f Copy latest rules when using airgaps 2021-02-23 11:21:23 -05:00
m0duspwnens 6ee69ff21b Merge remote-tracking branch 'remotes/origin/dev' into issue/3056 2021-02-23 11:11:50 -05:00
m0duspwnens 00cc640224 add EPS to managersearch dashboard 2021-02-23 11:08:08 -05:00
Mike Reeves 40721d7dec Merge pull request #3084 from Security-Onion-Solutions/feature/log-rotate
Configure fleet result.log to rotate
2021-02-23 10:20:53 -05:00
m0duspwnens e76ee07932 add CPUS for cpu count 2021-02-23 10:10:58 -05:00
Josh Brower 122e34b69c Configure fleet result.log to rotate 2021-02-23 10:06:24 -05:00
m0duspwnens 1f2475c1c5 add eps graph to manager 2021-02-23 10:06:11 -05:00
m0duspwnens 141fbaced1 add eps graph to standalone 2021-02-23 09:40:21 -05:00
William Wernert fa9fe82046 Merge pull request #3082 from Security-Onion-Solutions/kilo
Add so-rule script + soup pillar changes
2021-02-23 08:56:49 -05:00
William Wernert fad87a8789 Fix function name (.20 -> .2X) 2021-02-23 08:51:44 -05:00
William Wernert 9287209750 Merge branch 'soup2.3.30' into feature/so-rules
# Conflicts:
#	salt/common/tools/sbin/soup
2021-02-22 16:07:15 -05:00
William Wernert 982967fdde Merge branch 'dev' into feature/so-rules 2021-02-22 16:01:48 -05:00
William Wernert fb3af255d9 Add more info to apply messaging 2021-02-22 15:50:07 -05:00
William Wernert 3e3c923ab9 Arrange missing pillar error message better 2021-02-22 15:44:29 -05:00
William Wernert b00cc88801 [fix] Unreverse apply prompt actions 2021-02-22 15:43:56 -05:00
William Wernert e9b85337ff [fix] Only prompt if entry doesn't exist, deep compare arrays 2021-02-22 15:41:09 -05:00
William Wernert fd33a6cebe Rename script, prompt user to apply if they didn't pass --apply 2021-02-22 15:32:18 -05:00
William Wernert cdf766eeae explicitely -> explicitly 2021-02-22 14:30:26 -05:00
William Wernert 8fc82fa3ef Fix minion pillar directory 2021-02-22 14:27:22 -05:00
Mike Reeves 6ed1cc3875 Add Soup Functions 2021-02-22 14:02:37 -05:00
Doug Burks 84f138772f Merge pull request #3072 from Security-Onion-Solutions/kilo
Additional fine tuning of Suricata metadata support
2021-02-22 10:57:02 -08:00
doug 71c7ffae3e Improve support for Suricata metadata #2200 2021-02-22 13:49:29 -05:00
doug bcce205430 Improve support for Suricata metadata #2200 2021-02-22 13:00:14 -05:00
Jason Ertel 943cbdbf1f Merge pull request #3073 from Security-Onion-Solutions/delta
Apply action on PR only now that PRs are mandatory
2021-02-22 12:50:38 -05:00
Jason Ertel 43e0c3a60b Apply action on PR only now that PRs are mandatory 2021-02-22 12:35:17 -05:00
Mike Reeves d5069d12cf Merge pull request #3071 from Security-Onion-Solutions/delta
Add acng to import installs for consistency
2021-02-22 11:34:23 -05:00
William Wernert e65c9e5c7c Don't expect apply arg at beginning of command 2021-02-22 11:29:30 -05:00
William Wernert 4bcb7403a9 Add apply option to end of command 2021-02-22 11:27:03 -05:00
William Wernert bef3a6921c [fix] SID wildcards are not parsed by idstools, remove 2021-02-22 11:12:02 -05:00
William Wernert f7bef9200b [fix] Only look for manager-type pillars
* SID disabling is only managed globally for now, so don't give the option to edit a different pillar
2021-02-22 10:38:53 -05:00
William Wernert bb6f3107bc [fix] idstools can run on an import node as well 2021-02-22 10:29:40 -05:00
doug 3467f30603 Improve support for Suricata metadata #2200 2021-02-22 10:27:24 -05:00
Doug Burks d4ee2b86e6 Merge pull request #3070 from Security-Onion-Solutions/dev
Dev to Kilo
2021-02-22 07:22:49 -08:00
William Wernert f2a1e89633 Merge branch 'dev' into feature/so-rules 2021-02-22 10:03:14 -05:00
William Wernert abae673568 Update help text to reflect arg requirement changes 2021-02-22 10:00:29 -05:00
Jason Ertel 747d62dae5 Add acng to import installs for consistency 2021-02-22 09:44:24 -05:00
Josh Brower 5ca3dc492c Merge pull request #3061 from Security-Onion-Solutions/foxtrot
Fix Playbook Fields & Mappings
2021-02-21 09:40:59 -05:00
Doug Burks 85b9cac110 Merge pull request #3063 from Security-Onion-Solutions/dev
Dev to kilo
2021-02-21 03:40:05 -08:00
Mike Reeves 40780f192e Merge pull request #3062 from Security-Onion-Solutions/delta
fix merge issue
2021-02-20 19:15:16 -05:00
Jason Ertel 7222f1faa5 fix merge issue 2021-02-20 16:41:12 -05:00
Mike Reeves e07e0b201d Merge pull request #3058 from Security-Onion-Solutions/delta
Fix intermittent Suricata rules load issue
2021-02-20 10:27:13 -05:00
Jason Ertel 9d3c82a589 Disable unused features for import installations 2021-02-19 20:14:55 -05:00
Jason Ertel 04b3a20e22 Merge branch 'dev' into delta 2021-02-19 20:12:07 -05:00
Mike Reeves cb6fe75ddb Merge pull request #3055 from Security-Onion-Solutions/TOoSmOotH-patch-1
Rename filter.rules to filters.rules
2021-02-19 15:36:01 -05:00
Mike Reeves 8ab12c71a1 Rename filter.rules to filters.rules 2021-02-19 15:34:45 -05:00
Josh Brower 046cc0fbb0 Merge pull request #3052 from Security-Onion-Solutions/feature/sigma-tweaks
Feature/sigma tweaks
2021-02-19 15:16:34 -05:00
Josh Brower 8c69e19419 Add sigma refresh script 2021-02-19 15:14:37 -05:00
Josh Brower 2a324eac32 Add sigma refresh script 2021-02-19 15:12:55 -05:00
Mike Reeves 8db3602679 Merge pull request #3049 from Security-Onion-Solutions/TOoSmOotH-patch-1
Fix name and update examples
2021-02-19 15:01:04 -05:00
Mike Reeves 08abad747d Fix name and update examples 2021-02-19 14:59:27 -05:00
William Wernert c73970620d [fix] Correct indent 2021-02-19 14:38:43 -05:00
William Wernert 34174a3290 Print relevant help if no/partial command passed 2021-02-19 14:34:32 -05:00
Mike Reeves 0ea29144a8 Merge pull request #3047 from Security-Onion-Solutions/surifile2
Suricata as Meta Data, File Extraction, And Parsing changes
2021-02-19 14:09:38 -05:00
Doug Burks 3ea1ec99d5 Merge pull request #3048 from Security-Onion-Solutions/kilo
Update syslog ingest parser to accomodate pfSense filterlog changes #3033
2021-02-19 11:02:56 -08:00
William Wernert d205fff3ba Run ssh-harden in setup per #1932 2021-02-19 13:45:23 -05:00
Jason Ertel 9302b9302b Clear salt fileserver cache to ensure the new local.rules file gets picked up on the filesync 2021-02-19 11:13:31 -05:00
Mike Reeves b4b449aa14 Pull in Suricata changes 2021-02-19 11:01:15 -05:00
William Wernert 4689e32ce4 Add sed for curly braces in minion pillars to soup 2021-02-19 10:18:06 -05:00
William Wernert 2184c6d59f [fix] Create dict value if it doesn't exist 2021-02-19 09:31:22 -05:00
William Wernert 9183c0a92c [feat] Initial so-rules script
* Quote curly braces in minion pillar, need to add sed function in soup
2021-02-19 09:24:12 -05:00
doug 88eb5b1d61 Update syslog ingest parser to accomodate pfSense filterlog changes #3033 2021-02-19 08:02:32 -05:00
Doug Burks 5493b3ef91 Merge pull request #3032 from Security-Onion-Solutions/dev
Update kilo to latest dev
2021-02-19 04:53:23 -08:00
Josh Patterson 4a510df205 Merge pull request #3026 from Security-Onion-Solutions/delta
Delta
2021-02-18 16:31:18 -05:00
Jason Ertel faa78c0e26 Salt doesn't like a name starting with a non alpha-numeric char. Switch back to long if/then format 2021-02-18 14:51:09 -05:00
Josh Patterson 79e7b1da4d Merge pull request #3021 from Security-Onion-Solutions/issue/2989
change suricata clean cron to run once a day
2021-02-18 14:07:40 -05:00
m0duspwnens 03487c2a31 change suricata clean cron to run once a day 2021-02-18 14:06:45 -05:00
Jason Ertel e912b2fd96 Move idstools to run after nginx runs 2021-02-18 12:50:00 -05:00
Josh Patterson 0ab9577863 Merge pull request #3018 from Security-Onion-Solutions/all_rules_dont_show_changes
dont show changes since file can be large
2021-02-18 12:23:54 -05:00
m0duspwnens bf100a2310 dont show changes since file can be large 2021-02-18 12:23:22 -05:00
Josh Patterson 2092044335 Merge pull request #3017 from Security-Onion-Solutions/issue/1237
load templates all the time
2021-02-18 12:13:49 -05:00
m0duspwnens e730efb4ec load templates all the time 2021-02-18 12:12:18 -05:00
Josh Patterson 76cdc45fad Merge pull request #3016 from Security-Onion-Solutions/all_rules_dont_show_changes
Don't show changes because all.rules can be large
2021-02-18 12:00:08 -05:00
m0duspwnens 069997a65c Don't show changes because all.rules can be large 2021-02-18 11:56:25 -05:00
Jason Ertel 6f7bc650a0 Apply reserved ports if the existing file is 0 bytes 2021-02-18 11:20:13 -05:00
Josh Patterson a9da761fab Merge pull request #3012 from Security-Onion-Solutions/issue/2989
Issue/2989
2021-02-18 10:52:23 -05:00
m0duspwnens 95df18c545 limit eve logs and gz files based on days 2021-02-18 10:45:20 -05:00
m0duspwnens a4d5f58256 fix surilogcompress 2021-02-18 10:33:47 -05:00
Josh Patterson 3f7cdb933f Merge pull request #3010 from Security-Onion-Solutions/issue/2989
Issue/2989
2021-02-18 09:58:35 -05:00
m0duspwnens 74ca4487de ensure at least 2 eve files are kept https://github.com/Security-Onion-Solutions/securityonion/issues/2989 2021-02-18 09:51:40 -05:00
m0duspwnens 4b07d5e457 add identifier to eve clean cron 2021-02-18 09:39:54 -05:00
m0duspwnens 041d193f2d fix brackets 2021-02-18 09:37:37 -05:00
m0duspwnens 0bef8b6662 limit number of eve.json files for suricata https://github.com/Security-Onion-Solutions/securityonion/issues/2989 2021-02-18 09:26:59 -05:00
Josh Brower b5087b815a Merge pull request #3002 from Security-Onion-Solutions/feature/sigma-tweaks
Update .security analyzer
2021-02-17 16:38:22 -05:00
Josh Brower d2a74c80e2 Update .security analyzer 2021-02-17 16:37:31 -05:00
Josh Brower 741f674a4c Merge pull request #3001 from Security-Onion-Solutions/dev
Dev
2021-02-17 16:36:49 -05:00
Pete 29c5f3212f make log_size_limit calculation more specific
Extend the directory traversal into /nsm/elasticsearch in case that's a separate mountpoint from /nsm/.
2021-02-17 16:53:31 +00:00
Josh Patterson 174ed84750 Merge pull request #2993 from Security-Onion-Solutions/issue/2736
logrotate strelka
2021-02-17 11:47:52 -05:00
m0duspwnens 7a595df5b6 strelka logrotate - https://github.com/Security-Onion-Solutions/securityonion/issues/2736 2021-02-17 11:17:41 -05:00
m0duspwnens 2b07d89b5a error: /opt/so/conf/sensor-rotate.conf:8 unknown option 'endscript' -- ignoring line 2021-02-17 11:01:18 -05:00
m0duspwnens e6ae1af85f test rotating strelka log at 100k 2021-02-17 10:47:06 -05:00
Josh Patterson ce313d8dc4 Merge pull request #2992 from Security-Onion-Solutions/issue/2737
fix logic for log_size_limit
2021-02-17 10:09:54 -05:00
Josh Patterson fddef1a6f4 Merge pull request #2985 from Security-Onion-Solutions/issue/2915
remove old backup files
2021-02-17 09:43:58 -05:00
William Wernert cda36f178b Merge pull request #2979 from Security-Onion-Solutions/foxtrot
Setup fixes/improvements
2021-02-16 17:14:59 -05:00
Josh Patterson bec437c2cf Merge pull request #2984 from Security-Onion-Solutions/issue/2737
Issue/2737
2021-02-16 15:41:46 -05:00
m0duspwnens 996bf0768b fix logic for log_size_limit https://github.com/Security-Onion-Solutions/securityonion/issues/2737 2021-02-16 15:40:01 -05:00
William Wernert 0bd5ddf6a6 Grammar + misc fixes per PR review
* Remove unnecessary `apt-get update` commands
* Change `if ! (command); then exit 1; fi` to `command || exit 1` to avoid subshell
2021-02-16 14:17:41 -05:00
Doug Burks 8016511414 Merge pull request #2981 from Security-Onion-Solutions/kilo
Hunt: improve Wazuh queries #2383
2021-02-16 10:38:53 -08:00
Josh Patterson eb18ec552c Merge pull request #2980 from Security-Onion-Solutions/issue/2915
Issue/2915
2021-02-16 12:01:37 -05:00
doug fabe3c87f2 Hunt: improve Wazuh queries #2383 2021-02-16 11:56:14 -05:00
m0duspwnens 7099ed4bf5 delete many backup files 2021-02-16 11:55:49 -05:00
m0duspwnens 1ccc5480e1 remove oldest backup 2021-02-16 11:40:45 -05:00
Doug Burks d6fa54b606 Merge pull request #2975 from Security-Onion-Solutions/kilo
Issues 2954 and 2361 - Kibana config
2021-02-16 08:30:46 -08:00
William Wernert 3323e900ef [fix] Fix indent (pt 2) 2021-02-16 11:17:36 -05:00
William Wernert 7a9f801eb1 [fix] Add more apt-get update commands
Fixes #2962
2021-02-16 10:24:58 -05:00
William Wernert 38a5b86813 Make apt-get syntax consistent 2021-02-16 10:24:07 -05:00
William Wernert 23221065eb Preset MANAGERUPDATES var for airgap since we don't prompt now 2021-02-16 09:43:54 -05:00
William Wernert 5e8d09be51 [fix] Fix indent 2021-02-16 09:42:35 -05:00
doug 397d8d0964 Kibana 7.10.2 config changes #2954 2021-02-14 07:04:51 -05:00
doug 3248edea8b Update Kibana dashboard hyperlinks to new url format #2361 2021-02-12 17:25:42 -05:00
Josh Patterson bf3b609a44 Merge pull request #2955 from Security-Onion-Solutions/issue/1237
Issue/1237
2021-02-12 16:04:58 -05:00
m0duspwnens 100601c452 only laod templates if they change https://github.com/Security-Onion-Solutions/securityonion/issues/1237 2021-02-12 16:03:45 -05:00
doug 31a0c2bc82 Update Kibana dashboard hyperlinks to new url format #2361 2021-02-12 15:37:25 -05:00
doug 797d2c4dba Kibana 7.10.2 config changes #2954 2021-02-12 15:35:06 -05:00
Doug Burks fd4cb0b7a8 Kibana 7.10.2 config changes #2954 2021-02-12 14:05:29 -05:00
Doug Burks c717773fc3 Kibana 7.10.2 config changes #2954 2021-02-12 14:04:00 -05:00
Josh Patterson ce04b109fe Merge pull request #2950 from Security-Onion-Solutions/delta
Disable ICMP timestamps by default
2021-02-12 13:54:59 -05:00
William Wernert 4affb20b27 Give context to metadata tool choice 2021-02-12 13:42:14 -05:00
William Wernert 724f5cad78 Warn user if using "securityonion" as hostname 2021-02-12 12:55:55 -05:00
William Wernert 8323f3f57a [fix] Fix logic to correctly hide prompt 2021-02-12 12:23:45 -05:00
Josh Patterson a8598a50e4 Merge pull request #2953 from Security-Onion-Solutions/issue/2756
remove /etc/yum.repos.d/salt-2019-2-5.repo if present
2021-02-12 12:05:21 -05:00
m0duspwnens 3b0c2b3e91 remove /etc/yum.repos.d/salt-2019-2-5.repo if present https://github.com/Security-Onion-Solutions/securityonion/issues/2756 2021-02-12 12:04:08 -05:00
William Wernert 1ffa7afefa eval-net answerfile corrections
* HOSTNAME: standalone -> eval
* install_type: STANDALONE -> EVAL
2021-02-11 16:20:29 -05:00
William Wernert 188d844d27 Redirect stderr of minion grep to /dev/null 2021-02-11 13:49:39 -05:00
m0duspwnens b4e9a44572 Merge remote-tracking branch 'remotes/origin/dev' into issue/1704 2021-02-11 11:10:06 -05:00
m0duspwnens 7e4d7a6985 drop icmp timestamp replies https://github.com/Security-Onion-Solutions/securityonion/issues/1704 2021-02-11 11:09:21 -05:00
William Wernert d9b4c09cf0 [fix] Don't show irrelevant prompts during airgap setup 2021-02-11 10:52:18 -05:00
William Wernert ce8db8abdb [fix] Only run salt commands during reinstall if master is configured 2021-02-11 10:51:04 -05:00
Josh Patterson bf8ca590d0 Merge pull request #2932 from Security-Onion-Solutions/delta
only save at the end
2021-02-11 09:25:31 -05:00
Mike Reeves 97594f84cb Merge pull request #2930 from Security-Onion-Solutions/vpn
VPN Configuration
2021-02-11 09:21:17 -05:00
Mike Reeves f8903c2554 Fix extra character 2021-02-10 12:58:02 -05:00
Mike Reeves 9eb1e6a448 Prevent the tun interface from being disabled 2021-02-10 12:51:26 -05:00
m0duspwnens 3cfbc61f4e only save at the end 2021-02-10 11:15:39 -05:00
Mike Reeves 10553938b5 Merge pull request #2901 from Security-Onion-Solutions/curatorwarm
add warm node action for hot/warm
2021-02-08 12:08:23 -05:00
Mike Reeves 125f7d6262 add warm node action for hot/warm 2021-02-08 11:49:49 -05:00
Mike Reeves 940bac3634 Merge pull request #2889 from Security-Onion-Solutions/backupsfix
Backupsfix
2021-02-08 10:40:20 -05:00
Mike Reeves 5043b970ef Fix tar syntax 2021-02-06 19:14:44 -05:00
Mike Reeves a3ca84db66 Fix backupdir name state 2021-02-06 15:32:42 -05:00
Mike Reeves bf79c92456 Lock down Backups folder permissions 2021-02-05 22:31:08 -05:00
Mike Reeves 8f97973fac Lock down Backups folder permissions 2021-02-05 22:17:31 -05:00
Jason Ertel 4d6d2edd17 Merge pull request #2872 from Security-Onion-Solutions/automation/ami
Add locking to so-firewall
2021-02-04 16:14:16 -05:00
Jason Ertel e427f8178d Implement locking to so-firewall script 2021-02-04 16:06:11 -05:00
Jason Ertel a13b31fbcc Merge branch 'dev' into automation/ami 2021-02-04 16:05:39 -05:00
Mike Reeves d4e5ab477f Merge pull request #2854 from Security-Onion-Solutions/revert-2830-filebeatlimits
Revert "Make filebeat retry forever"
2021-02-03 22:26:03 -05:00
Jason Ertel 58e4205602 Revert "Make filebeat retry forever" 2021-02-03 21:46:29 -05:00
Jason Ertel 6b54a29ac7 Remove 'new user' references from so-user 2021-02-03 15:23:58 -05:00
Jason Ertel 3ebedcd4e8 Merge pull request #2830 from Security-Onion-Solutions/filebeatlimits
Make filebeat retry forever
2021-02-03 11:32:05 -05:00
Mike Reeves 179efa3a51 Merge pull request #2833 from Security-Onion-Solutions/automation/ami
Adjust AMI test network
2021-02-02 21:05:34 -05:00
Jason Ertel 91480abaa0 Adjust AMI test network 2021-02-02 17:41:41 -05:00
Mike Reeves 55a8f6aa7a Make filebeat retry forever 2021-02-02 16:41:52 -05:00
William Wernert 8f0b0ac936 Merge pull request #2825 from Security-Onion-Solutions/foxtrot
Setup: dpkg retry, whiptail changes, fix zeek state condition
2021-02-02 14:41:48 -05:00
Josh Patterson ef2fe2bb61 Merge pull request #2828 from Security-Onion-Solutions/delta
adjust timeout for ssl states and pillarize ElastAlert
2021-02-02 13:35:28 -05:00
William Wernert 46581c0528 [fix] Don't use ZEEKVERSION var, check pillar value 2021-02-02 12:45:56 -05:00
William Wernert 2253603544 [fix] Don't try to inherit home net on standalone 2021-02-02 12:11:47 -05:00
Jason Ertel e7e1f4c155 Merge pull request #2820 from Security-Onion-Solutions/automation/ami
Adjust automation files for distributed AMI
2021-02-01 15:33:53 -05:00
m0duspwnens b3c08229db Merge remote-tracking branch 'remotes/origin/sslstate/timeouts_retry' into delta 2021-02-01 15:33:31 -05:00
Jason Ertel f736d9f8dd Adjust automation files for distributed AMI 2021-02-01 15:27:53 -05:00
m0duspwnens 8cf0a3da98 remove seconds 2021-02-01 15:19:47 -05:00
William Wernert 8d01b87ab5 Merge branch 'dev' into foxtrot 2021-02-01 13:56:33 -05:00
William Wernert 8f476bbbdd [fix] Add back removed if statement 2021-02-01 13:11:51 -05:00
m0duspwnens 8ff6d1639a Merge remote-tracking branch 'remotes/origin/dev' into issue/1191 2021-02-01 12:51:00 -05:00
William Wernert daebe90b6e [fix] fix retry command handling
* use eval "$cmd" to handle strings correctly
* add-apt-repo doesn't need dpkg lock so don't use retry for those lines
2021-02-01 12:06:19 -05:00
William Wernert 44617fdddf [fix] Run command being retried within quotes 2021-02-01 11:28:28 -05:00
William Wernert 02f0ef989b [fix] <cmd> || <fail_reactor>; exit 1 will always exit, fix this 2021-02-01 11:11:01 -05:00
William Wernert 36ce389202 Remove wait_for_apt, use common retry function to run apt commands 2021-02-01 10:55:14 -05:00
Jason Ertel 1c8a8f6b7b Merge pull request #2805 from Security-Onion-Solutions/elasticrollback
Add features option back
2021-01-30 21:00:10 -05:00
Mike Reeves 160d307f4a Disable ML for features #2788 2021-01-30 20:00:41 -05:00
Mike Reeves 4212afe0c9 Add features option back 2021-01-30 19:57:18 -05:00
m0duspwnens 0ea504c16a remove space 2021-01-29 17:32:48 -05:00
m0duspwnens 8ca15a6679 Merge remote-tracking branch 'remotes/origin/dev' into issue/1191 2021-01-29 16:54:26 -05:00
Mike Reeves 929896c191 Merge pull request #2797 from Security-Onion-Solutions/raid2
Raid Setup for Appliances
2021-01-29 16:30:43 -05:00
Mike Reeves 22e6e45667 Remove other changes 2021-01-29 16:14:14 -05:00
William Wernert edfd985353 Merge branch 'bugfix/zeek-prompts' into foxtrot 2021-01-29 16:04:56 -05:00
Mike Reeves 18f2c7b482 Raid Setup for Appliances 2021-01-29 16:03:18 -05:00
Mike Reeves aa93e2b48f Merge pull request #2794 from Security-Onion-Solutions/foxtrot
Add retry capabilities to image/sig pulls
2021-01-29 15:57:41 -05:00
William Wernert 7a3c7322fc [fix] Only check for ZEEKVERSION on manager installs 2021-01-29 15:36:50 -05:00
m0duspwnens 618b94b9b6 add newline 2021-01-29 15:31:05 -05:00
m0duspwnens f50a89a0cf watch elastalert config and restart docker if chagnes 2021-01-29 15:28:59 -05:00
m0duspwnens 482b6eb699 Merge remote-tracking branch 'remotes/origin/dev' into sslstate/timeouts_retry 2021-01-29 13:44:27 -05:00
m0duspwnens e6ecd609cc change timeouts to 30s 2021-01-29 13:44:11 -05:00
Jason Ertel 2926527ad0 Place sig keys in same dir as other sig files 2021-01-29 13:21:58 -05:00
Jason Ertel 73909c4dea Place sig keys in same dir as other sig files 2021-01-29 13:00:56 -05:00
Jason Ertel c055427e40 Add support for image key/sig retries 2021-01-29 11:18:06 -05:00
Jason Ertel 194f480017 Airgap fix for import nodes missing rules 2021-01-28 13:03:47 -05:00
m0duspwnens 0936dbdb1c add timeouts and retries to ca/ssl states 2021-01-28 11:40:31 -05:00
Jason Ertel f12947362b Adjust test network IPs 2021-01-28 11:35:10 -05:00
Jason Ertel bfa6aabc4b Correct automation for airgap import to avoid infinite loop during setup 2021-01-28 10:38:03 -05:00
Jason Ertel 34c2116669 Adjust test network allocation 2021-01-27 16:02:36 -05:00
m0duspwnens b7aef32eeb fix missing } 2021-01-27 15:50:23 -05:00
m0duspwnens 8df9e020ac pillarize elastalert https://github.com/Security-Onion-Solutions/securityonion/issues/1191 2021-01-27 15:35:29 -05:00
m0duspwnens 0ac19142c4 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-01-27 10:52:05 -05:00
Josh Brower d277bf6d05 Merge pull request #2749 from Security-Onion-Solutions/bugfix/osquery-wel-parsing
Update Osquery Windows Eventlog Parsing
2021-01-27 09:17:17 -05:00
Josh Brower 13ab4c66eb Update Osquery Windows Eventlog Parsing 2021-01-27 09:15:54 -05:00
William Wernert f5c044e3e3 [fix] Log directory fixes
* The playbook log dir is owned by the socore group, so we can use `su root socore`
* Addresses https://github.com/Security-Onion-Solutions/securityonion/pull/2681#issuecomment-767761670
---
* influxdb runs as root, so we can set the log directory permissions to 755 for this service
2021-01-26 16:07:34 -05:00
m0duspwnens be0b2b99e9 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-01-26 13:48:49 -05:00
William Wernert 1939fe85d7 [fix] Revert directory permission changes 2021-01-26 13:41:10 -05:00
Josh Patterson f8242a931c Merge pull request #2733 from Security-Onion-Solutions/automation/ssh_prompts
fix if statement for isntalling sshpass
2021-01-26 09:57:32 -05:00
m0duspwnens ffd01d6975 fix if statement for isntalling sshpass 2021-01-26 09:49:19 -05:00
m0duspwnens f1faab7b1a Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-01-26 09:04:00 -05:00
William Wernert 7b2ec05dbf [fix] Add missing fi 2021-01-25 19:57:34 -05:00
Mike Reeves bcd5bdd82d Merge pull request #2730 from Security-Onion-Solutions/telegraf3
Add EPS and RAID status collection for telegraf
2021-01-25 19:37:03 -05:00
Mike Reeves 3b1cea94d1 Merge branch 'dev' into telegraf3 2021-01-25 19:36:49 -05:00
Mike Reeves 88abd284a7 Fix Conflicts 2021-01-25 19:35:32 -05:00
Mike Reeves 891a7592d8 Fix Conflicts 2021-01-25 19:33:49 -05:00
Mike Reeves e43a80b9c6 Add EPS and RAID status collection for telegraf 2021-01-25 19:28:30 -05:00
Mike Reeves 4ef38f8d04 Add EPS and RAID status collection for telegraf 2021-01-25 19:14:46 -05:00
Josh Patterson 049daa6701 Merge pull request #2725 from Security-Onion-Solutions/automation/ssh_prompts
Automation/ssh prompts
2021-01-25 17:21:55 -05:00
Jason Ertel df21b28d5c Update copyright year 2021-01-25 17:11:42 -05:00
Jason Ertel b0c74cf38c Add import automation files for other platforms 2021-01-25 16:46:52 -05:00
Jason Ertel ae233b5757 Update AMI automation files for distributed install 2021-01-25 15:53:25 -05:00
Jason Ertel 8ec0b95f02 Rename AMI automation files for consistency with other files 2021-01-25 15:53:25 -05:00
m0duspwnens 2f8b5afe3e Merge remote-tracking branch 'remotes/origin/issue/2722' into automation/ssh_prompts 2021-01-25 15:23:39 -05:00
m0duspwnens 944817732b grep for the scrip to be running https://github.com/Security-Onion-Solutions/securityonion/issues/2722 2021-01-25 15:22:04 -05:00
m0duspwnens 17a1189e42 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-01-25 15:20:46 -05:00
m0duspwnens 50345628f0 Merge remote-tracking branch 'remotes/origin/dev' into automation/ssh_prompts 2021-01-25 13:48:08 -05:00
m0duspwnens 7dcca6f364 change when we detect os and wait_for_apt when installing sshpass 2021-01-25 13:47:51 -05:00
Mike Reeves 6e9bdde9e2 Merge pull request #2721 from Security-Onion-Solutions/sosappliance
Fix function for appliances
2021-01-25 13:26:28 -05:00
Mike Reeves 2e32b53158 Fix function for appliances 2021-01-25 13:20:46 -05:00
m0duspwnens e1f7c090f3 detect os and cloud sooner 2021-01-25 10:25:41 -05:00
William Wernert 2a4eac74c4 Merge pull request #2681 from Masaya-A/logrotate-fix
Log Rotation Fix (common-rotate)
2021-01-25 10:14:39 -05:00
m0duspwnens fe09479dde Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-01-25 09:55:52 -05:00
Masaya-A 995d618ff5 Add cron.absent to remove old cron job if present 2021-01-25 15:45:33 +09:00
Mike Reeves 560e510b44 Merge pull request #2715 from Security-Onion-Solutions/sosappliance
Sosappliance
2021-01-24 12:06:18 -05:00
Mike Reeves b4c8b439a0 Detect if this is an SOS appliance 2021-01-24 12:02:34 -05:00
Mike Reeves 85e2a14f1e Put functions in correct order 2021-01-24 11:52:45 -05:00
Jason Ertel 6f14f27ca0 Add automation files for distributed network variations 2021-01-23 11:04:07 -05:00
William Wernert 59a4b148bc Merge branch 'dev' into logrotate-fix 2021-01-22 15:20:55 -05:00
William Wernert 2159914742 Merge pull request #2708 from Security-Onion-Solutions/bugfix/telegraf-zombie-procs
Bugfix/telegraf zombie procs
2021-01-22 15:20:09 -05:00
Jason Ertel 47d69bbc9e Move from quay.io to ghcr.io 2021-01-22 13:53:49 -05:00
William Wernert 7273c8a066 [fix] Also rotate stenographer log as per #2681 2021-01-22 12:46:21 -05:00
William Wernert 4079f8a8e8 [fix] Telegraf doesn't clean up zombie processes, use init flag to fix this 2021-01-22 12:23:09 -05:00
William Wernert f1781b1fde [fix] Set timeout for scripts (15s, 3x default 5s) 2021-01-22 12:15:29 -05:00
Jason Ertel 537f7529f8 Increase Kibana wait from 3 minutes to 15 minutes due to the longer init time needed for Kibana to start (because of the recent ES changes) 2021-01-22 10:09:15 -05:00
Masaya-A 249651edc7 Delete suri-rotate.conf 2021-01-22 10:08:23 +09:00
Masaya-A e0bbc8cc51 Delete surirotate 2021-01-22 10:08:07 +09:00
Masaya-A f156106e57 Update salt/common/files/log-rotate.conf
Co-authored-by: William Wernert <william.wernert@gmail.com>
2021-01-22 09:29:08 +09:00
Masaya-A bcdf826204 Update init.sls 2021-01-22 09:26:52 +09:00
Mike Reeves 636687ac59 Merge pull request #2702 from Security-Onion-Solutions/essecurity
SSL with Elastic Basic license. Remove features option.
2021-01-21 13:57:28 -05:00
Mike Reeves 9408d62c65 Remove features 2021-01-21 13:55:53 -05:00
Mike Reeves f85ecf254e Fix dupe 2021-01-21 13:21:08 -05:00
Mike Reeves 9f984036c5 Use the internmediate cert 2021-01-21 13:00:46 -05:00
Mike Reeves b0914fa604 try .p12 2021-01-21 12:46:00 -05:00
Mike Reeves 9759990233 Switch to java key store 2021-01-21 12:29:45 -05:00
Mike Reeves bb523c44e6 Enable features temporarily 2021-01-21 12:19:41 -05:00
Mike Reeves 013b706ce4 Enable http ssl 2021-01-21 12:13:23 -05:00
weslambert 583b65e952 Fix syntax 2021-01-21 11:52:23 -05:00
Mike Reeves 84b75a38a3 Fix error in init.sls for ES 2021-01-21 11:21:04 -05:00
Mike Reeves 6de70ec820 Update docker mappings for ES 2021-01-21 11:12:12 -05:00
weslambert d6043d091b Merge pull request #2701 from Security-Onion-Solutions/feature/filebeat_events
Allow for Filebeat queue/output adjustments via pillar
2021-01-21 10:36:33 -05:00
Wes Lambert 19d22e1f8a Allow for Filebeat queue/output adjustments via pillar 2021-01-21 15:34:54 +00:00
Mike Reeves 35c741ae63 Turn on Xpack SSL 2021-01-21 09:49:31 -05:00
m0duspwnens 76aadbd04e Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-01-21 09:30:03 -05:00
weslambert a99246c600 Merge pull request #2698 from Security-Onion-Solutions/fix/reserved_ports
Fix/reserved ports
2021-01-21 08:39:35 -05:00
Wes Lambert 0039877779 Check for port availability for Wazuh and Strelka 2021-01-21 13:29:09 +00:00
Wes Lambert 9a91674688 Add reserved ports file for sysctl 2021-01-21 13:18:22 +00:00
Wes Lambert 74e315841a Modify common to reserve Docker proxy ports 2021-01-21 13:17:16 +00:00
Masaya-A cd5abf924c To make log rotation working 2021-01-21 09:31:15 +09:00
Masaya-A 845ab92d36 To make log rotation working 2021-01-21 09:30:34 +09:00
Josh Patterson 516634ef8d Merge pull request #2691 from Security-Onion-Solutions/issue/2679
Issue/2679
2021-01-20 17:41:43 -05:00
m0duspwnens 18217ba38b change so-searchnode role to so-node https://github.com/Security-Onion-Solutions/securityonion/issues/2679 2021-01-20 17:40:02 -05:00
m0duspwnens 6e756b3586 allow heathcheck state for standalone and heavynode 2021-01-20 17:34:53 -05:00
Josh Patterson e7e6243399 Merge pull request #2689 from Security-Onion-Solutions/issue/2679
Issue/2679
2021-01-20 15:14:38 -05:00
m0duspwnens 18278a97ac fix salt top formatting 2021-01-20 15:13:55 -05:00
m0duspwnens b693373d8d change how we allow or disallow states to be run https://github.com/Security-Onion-Solutions/securityonion/issues/2679 2021-01-20 15:09:53 -05:00
Jason Ertel 58f922aac3 Skip image pull if so-tcpreplay image already exists and is current 2021-01-20 11:17:10 -05:00
m0duspwnens b1c5b83fd5 removing old search node logic and managersensor from salt top 2021-01-20 09:53:42 -05:00
m0duspwnens caaa8cc764 add schedule state to fleet node so it gets highstate schedule 2021-01-20 09:46:49 -05:00
Masaya-A d53945888c Add sensoroni dir 2021-01-20 14:54:55 +09:00
Masaya-A d3d11ff67b Delete some directories
Delete some directories that should not be handled by common-rotate.
2021-01-20 13:42:20 +09:00
Masaya-A b2b221fa46 Specify the file name for Suricata
stats.log will be rotated by surirotate
2021-01-20 13:20:04 +09:00
Masaya-A e20891ac44 Fix spacing 2021-01-20 13:10:33 +09:00
Masaya-A 8cca792a8f To avoid lots of "[stenoloss.sh] <defunct>" 2021-01-20 12:16:17 +09:00
Masaya-A 5dad143c42 Need full path in order to work on cron 2021-01-20 12:14:09 +09:00
Masaya-A 9dd3199ec4 Merge pull request #1 from Security-Onion-Solutions/dev
Update Dev
2021-01-20 12:09:35 +09:00
Jason Ertel 71e0014115 Wrap parenthesis around correlation filter to allow additional filtering 2021-01-19 17:51:23 -05:00
m0duspwnens 0fec46505d Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-01-19 14:35:53 -05:00
William Wernert 8023e79020 [fix] Don't remove answer file when checking version on manager, file does not yet exist 2021-01-19 11:28:33 -05:00
m0duspwnens 3ef8106d8d Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-01-19 11:28:27 -05:00
William Wernert 650008e1e6 [fix] Replace leftover /root/install_opt strings with variable 2021-01-19 11:20:53 -05:00
Jason Ertel d91913e58e Redirect tcpreplay warnings to dev null when running so-test 2021-01-18 21:42:50 -05:00
Mike Reeves 12aa4033b6 Fix soup in case airgap is in the hostname 2021-01-18 18:08:34 -05:00
Jason Ertel a795f0a487 Correct airgap IPs; Remove auto tcpreplay during post-setup phase 2021-01-16 12:01:49 -05:00
Jason Ertel 2006677a22 Add default customization file (Blank) 2021-01-15 20:08:27 -05:00
William Wernert 32839f8a53 [feat] Various input validation changes + fixes
* Keep invalid input in subsequent prompts
* Remove useless placeholder values
* Only set PROCS variable once
* Make input collection loops more consistent
2021-01-15 18:05:29 -05:00
Jason Ertel 0af6afa216 Add method for making adjustments to the SOC UI 2021-01-15 16:26:06 -05:00
William Wernert 8cb836a17a [fix] Don't preset HOSTNAME var, interferes with automation 2021-01-15 16:22:07 -05:00
William Wernert 432d231a0e [fix] Don't use set -e since we depend on non-zero exit codes for this function 2021-01-15 13:52:10 -05:00
William Wernert 9726ff9ce6 [fix] Correct logic for verbose flag 2021-01-15 13:39:12 -05:00
Mike Reeves 9cf63545bc Merge pull request #2640 from Masaya-A/influxdb/strengthen
Disable weak cipher suites from influxdb
2021-01-15 10:50:21 -05:00
m0duspwnens 76c7c46887 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-01-15 10:48:19 -05:00
William Wernert e440f6c44a [fix] Set variables used by sensor pillar before generating the pillar 2021-01-15 10:29:51 -05:00
William Wernert ed129bcf1f [fix] Add verbose flag so that so-monitor-add only sees necessary information 2021-01-15 09:25:04 -05:00
William Wernert f4de5e28bf [fix] Padding 3->4 spaces, don't use lookup_pillar before salt is installed 2021-01-15 08:57:14 -05:00
Jason Ertel 07b5f1d23e Rename functions to avoid naming conflict with setup vars 2021-01-15 08:55:30 -05:00
William Wernert 0f6805823e [fix] Add spacing to whiptail menu + preset err 2021-01-15 08:35:37 -05:00
Masaya-A 0d93b15a63 Disable weak cipher suites from influxdb
The default config of influxdb enables use of some weak cipher suites such as RC4 and 3DES(SWEET32).
To disable them, a list of enabled ciphers added into influxdb.conf.
2021-01-15 11:47:04 +09:00
William Wernert dbe22f901d [fix] Add jinja raw block to so-common 2021-01-14 14:54:37 -05:00
William Wernert ebc5a4314a [feat] Add salt logs to log rotation config 2021-01-14 13:43:00 -05:00
William Wernert df07cc578c [fix] Only update err if return code is non-zero 2021-01-14 13:20:56 -05:00
William Wernert 2e23e0d690 [fix] Only update err if return code is non-zero 2021-01-14 13:20:29 -05:00
William Wernert a7b9b565fd [fix] Only return after all interfaces added to bond0 2021-01-14 13:19:29 -05:00
William Wernert e7070ef217 Merge pull request #2630 from Security-Onion-Solutions/feature/setup
Input validation + so-monitor-add
2021-01-14 13:17:01 -05:00
William Wernert 8793965f4a [fix] Capitalization 2021-01-14 13:12:12 -05:00
William Wernert ddcd487edc [fix] Remove files not in dev 2021-01-14 13:08:11 -05:00
William Wernert 0db439df1e Merge branch 'dev' into feature/setup 2021-01-14 13:06:32 -05:00
William Wernert 82c7832d60 [fix] Fix indent in valid_hostname 2021-01-14 12:58:21 -05:00
m0duspwnens a2b52a1a98 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-01-14 10:44:53 -05:00
William Wernert 3c22738ae1 [fix] Add example CIDR notation, remove placeholder X.X.X.X 2021-01-14 10:38:47 -05:00
Jason Ertel 9d0dca05b1 Adjusted logic on so-tcpreplay to handle init for standalone/eval nodes 2021-01-13 22:29:58 -05:00
Jason Ertel 2ccf77eaef Rename network automation files 2021-01-13 17:29:48 -05:00
William Wernert 8245b25835 [fix] Move metadata function 2021-01-13 17:28:19 -05:00
William Wernert b68685e00e [fix] Correct metadata function name 2021-01-13 17:26:27 -05:00
William Wernert 90f085b2d7 [fix] Fail setup early if we can't determine version of manager 2021-01-13 15:57:21 -05:00
Jason Ertel 6d6779bba6 Added automation files for network eval/standalone installs; Reduced Zeek threads from 7 to 2 on all test nodes 2021-01-13 15:43:43 -05:00
Jason Ertel 0a1ab29d19 Add distributed airgap automation files 2021-01-13 14:28:54 -05:00
Jason Ertel ea1ab75072 Refactored so-common node type checks for improved readability; Updated so-tcpreplay to support distributed grids 2021-01-13 12:42:54 -05:00
William Wernert 6ea3a651a4 [fix] Fix unit tests for dns list 2021-01-13 11:37:48 -05:00
William Wernert 4dc3a6aa35 [refactor] Standardize list inputs to comma separated 2021-01-13 11:36:20 -05:00
Josh Patterson 59b016695f Merge pull request #2611 from Security-Onion-Solutions/issue/2095
pillarize disk freespace for steno
2021-01-13 11:11:27 -05:00
m0duspwnens df590bfd23 pillarize disk freespace for steno https://github.com/Security-Onion-Solutions/securityonion/issues/2095 2021-01-13 11:09:38 -05:00
William Wernert d254fd960a [feat] Add message explaining strings cannot contain spaces 2021-01-13 11:04:35 -05:00
m0duspwnens 489f702e47 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-01-13 10:47:13 -05:00
William Wernert 0734998315 [fix] patch_schedule should not be local 2021-01-13 10:39:24 -05:00
Jason Ertel 9b060fb2d1 Adjust automation defaults for sensors and search nodes 2021-01-13 10:39:10 -05:00
Jason Ertel bb386f9935 Allow passwordless sudo during tests for all nodes, not just manager; Only run so-test on sensor nodes during test runs 2021-01-13 10:39:05 -05:00
William Wernert ebac17ce38 [wip] Attempting to fix missing patch schedule prompts 2021-01-13 10:29:36 -05:00
Mike Reeves 2950779d91 Fix stralka rule update 2021-01-13 09:57:12 -05:00
Josh Patterson 02d4813ef7 Merge pull request #2609 from Security-Onion-Solutions/issue/2590
Issue/2590
2021-01-12 16:43:45 -05:00
m0duspwnens 225ed1c14a change suriloss and zeekloss to be more similar code style 2021-01-12 16:39:19 -05:00
m0duspwnens 96dab31ab0 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into issue/2590 2021-01-12 14:29:59 -05:00
Josh Patterson aa8a14d74a Merge pull request #2606 from Security-Onion-Solutions/automation/ssh_prompts
fix quotes
2021-01-12 14:08:08 -05:00
m0duspwnens dbb9f90f00 fix quotes 2021-01-12 14:07:04 -05:00
William Wernert dd20002fd5 [fix] Dockernet prompt is negative, continue on "no" 2021-01-12 11:28:24 -05:00
William Wernert 5c6f8f9d47 [fix] Correct function call (pt 2) 2021-01-12 11:27:03 -05:00
William Wernert ff69d022b3 [fix] Correct function call 2021-01-12 11:26:20 -05:00
William Wernert fb31b56c8b [fix] Only check for network init file if iso 2021-01-12 11:22:52 -05:00
William Wernert 38e37a0385 [refactor] Remove whiptail shard count prompt 2021-01-12 11:04:40 -05:00
William Wernert 5d077d278e [feat] Add input validation to inputbox whiptail prompts 2021-01-12 11:02:33 -05:00
William Wernert 0dc0780e28 [feat] Add unit tests for input validation 2021-01-12 11:02:00 -05:00
William Wernert 332c6877b8 [fix] Add extra arg to printf instead of using echo 2021-01-12 11:01:25 -05:00
William Wernert ef7a934b9d [feat] Add functions for input validation 2021-01-12 11:01:04 -05:00
m0duspwnens cc0697cefa Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-01-12 10:29:49 -05:00
Josh Patterson 4f384991ba Merge pull request #2601 from Security-Onion-Solutions/automation/ssh_prompts
remote quotes
2021-01-12 09:54:10 -05:00
m0duspwnens 9405990a2e remote quotes 2021-01-12 09:50:08 -05:00
m0duspwnens 6ea1a83afe resolve some issues with the zeekloss script https://github.com/Security-Onion-Solutions/securityonion/issues/2590 2021-01-11 14:10:08 -05:00
m0duspwnens 4d84b64056 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-01-11 12:43:37 -05:00
Jason Ertel 8b49876e26 First pass at distribute ISO automation files 2021-01-11 12:04:57 -05:00
Jason Ertel bc8e200919 Continued retry implementation for salt-key acceptance; improve timestamp coverage in setup 2021-01-10 02:34:46 -05:00
Jason Ertel 63047b4b85 Add retry logic around salt key acceptance during setup 2021-01-10 00:57:43 -05:00
Josh Patterson 95a9d14832 Merge pull request #2578 from Security-Onion-Solutions/salt/info_logging
increase salt logging to info
2021-01-08 16:34:26 -05:00
m0duspwnens f07e583013 increase salt logging to info 2021-01-08 16:33:38 -05:00
m0duspwnens ae63b52e7a Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-01-08 15:30:15 -05:00
Jason Ertel 9eedb874fb Add eval and standalone airgap automations 2021-01-08 12:37:54 -05:00
Jason Ertel a6f88b2843 Correct eval AMI automation vars 2021-01-07 15:22:34 -05:00
m0duspwnens 86cb1abad4 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-01-07 15:12:36 -05:00
Jason Ertel 567d80bb01 Update sed to disable sudo password prompt for automated testing 2021-01-07 11:33:59 -05:00
Josh Patterson d2848b9985 Merge pull request #2561 from Security-Onion-Solutions/automation/so-status
add description for exit code 99
2021-01-07 11:24:14 -05:00
m0duspwnens 83e7493691 add description for exit code 99 2021-01-07 11:23:39 -05:00
William Wernert 1ec45fb4ae [fix] Only show Zeek prompts if Zeek was selected as the MD tool
Resolves #900
2021-01-07 10:37:25 -05:00
William Wernert c1e32ed680 [refactor] Rename MD tool function to be more clear 2021-01-07 10:36:32 -05:00
William Wernert fa06a38a3b [refactor] Remove duplicate function 2021-01-07 10:36:01 -05:00
Josh Patterson d287dd2412 Merge pull request #2557 from Security-Onion-Solutions/automation/so-status
Automation/so status
2021-01-07 09:07:12 -05:00
Josh Patterson 8fa2b14c98 Merge pull request #2539 from Security-Onion-Solutions/automation/ssh_prompts
Automation/ssh prompts
2021-01-07 09:06:10 -05:00
Jason Ertel 948f900673 Drop password requirement for sudo access during automated tests 2021-01-06 20:39:44 -05:00
m0duspwnens a5735e6654 return 99 if setup is running 2021-01-06 20:14:42 -05:00
m0duspwnens ae7c0a26be add a quiet mode to so-status for automation testing 2021-01-06 18:46:21 -05:00
Jason Ertel bbdb47703d Rename automation files to match environment names for consistency 2021-01-06 17:21:46 -05:00
Wes Lambert 7f64d57111 Reserve port for Wazuh API and check if port is already in use 2021-01-06 14:37:28 -05:00
Wes Lambert e7db1a99bd Set @timestamp to winlog.systemTime 2021-01-06 14:37:28 -05:00
Mike Reeves 7d25e8a08b Remove ERSPAN so log doesn't show a warning 2021-01-06 14:37:28 -05:00
Masaya-A d37023e0f5 Make yum removing unneeded packages
Reference: https://www.stigviewer.com/stig/red_hat_enterprise_linux_7/2020-09-03/finding/V-204452
2021-01-06 14:37:28 -05:00
William Wernert 9d8fb79d9f [feat] Reorder network-only prompt 2021-01-06 14:37:27 -05:00
weslambert c864cc607f Remove multiple old so-yara-update cron jobs, if needed 2021-01-06 14:37:27 -05:00
William Wernert 80a3d8dcf8 [fix] Fix automation compatibility 2021-01-06 14:37:27 -05:00
William Wernert ac35a345ff [fix] Don't prompt to only set up network and then skip if network was previously configured 2021-01-06 14:37:27 -05:00
weslambert 958635b012 Remove old Strelka cron job 2021-01-06 14:37:27 -05:00
William Wernert 6ba11f835d [fix] Remove condition for stopping SOC, since the parent condition covers what's tested 2021-01-06 14:37:27 -05:00
Jason Ertel 1cc8a78aa5 Only stop SOC if is_manager or is_import 2021-01-06 14:37:27 -05:00
Jason Ertel 7dcd934269 so-fleet-setup doesn't need an interactive terminal to run, remove 'it' 2021-01-06 14:37:27 -05:00
Jason Ertel bedbd39b82 tcpreplay doesn't need an interactive terminal to run, remove 'it' 2021-01-06 14:37:27 -05:00
Jason Ertel 7d97e3590c Redirect tcpreplay init output to file 2021-01-06 14:37:27 -05:00
Jason Ertel bdbc637852 Stop SOC prior to opening the firewall for analysts, this ensures no outside requests can be processed prior to the server rebooting 2021-01-06 14:37:27 -05:00
Jason Ertel 10d04f760d Use manager internal IP for intra-service comms 2021-01-06 14:37:26 -05:00
Jason Ertel ebb0e615b9 Fix script typo to correctly run the so-test 2021-01-06 14:37:26 -05:00
Jason Ertel f20feabda2 Reboot to ensure thehive falls in line before kicking off the test 2021-01-06 14:37:26 -05:00
Jason Ertel 9b40318bfe Ensure so-test is logged 2021-01-06 14:37:26 -05:00
Jason Ertel fc44474519 Add eval automation 2021-01-06 14:37:26 -05:00
Jason Ertel 229657f7d2 Use AMI's public IP for external access 2021-01-06 14:37:26 -05:00
Jason Ertel fb28faa4e3 Monitor interface will not always be bond0 - pull correct value from pillar; Replay test data after automated test installations complete. 2021-01-06 14:37:26 -05:00
weslambert 36ae09ac4a Merge pull request #2545 from Security-Onion-Solutions/fix/wazuh_port_reservation
Reserve port for Wazuh API and check if port is already in use
2021-01-06 11:49:23 -05:00
weslambert 55344725e7 Merge pull request #2544 from Security-Onion-Solutions/fix/winlog_timestamp
Set @timestamp to winlog.systemTime
2021-01-06 11:49:01 -05:00
Wes Lambert 875908dc90 Set @timestamp to winlog.systemTime 2021-01-06 16:47:35 +00:00
Wes Lambert f2b677bfcb Reserve port for Wazuh API and check if port is already in use 2021-01-06 15:52:10 +00:00
m0duspwnens 48f81d9ac6 reduce setting ssh commands down to 1 function and 1 function call 2021-01-06 08:58:33 -05:00
m0duspwnens 94fd79cd28 originally had sshpass package install reveresed, fixed it here 2021-01-06 08:51:33 -05:00
m0duspwnens aecc0c025e fix comment 2021-01-06 08:49:08 -05:00
m0duspwnens 91ad7f26bf no longer need to pass $automated to compare_versions 2021-01-06 08:45:33 -05:00
m0duspwnens c65e722164 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-01-06 08:39:56 -05:00
m0duspwnens 749b21e684 make sure ssh commands get set whether automated install or not 2021-01-05 14:12:43 -05:00
Mike Reeves 1154b533d6 Remove ERSPAN so log doesn't show a warning 2021-01-05 13:56:56 -05:00
m0duspwnens 0f9bf9deb6 make sshcmd, scpcmd, ssh_copy_id_cmd global to so-functions; 2021-01-05 13:49:51 -05:00
m0duspwnens c93dfa7b33 hardcode automation pw 2021-01-05 11:47:22 -05:00
m0duspwnens 81c4d879eb first round of testing for automated testing ssh/scp 2021-01-05 10:26:19 -05:00
Mike Reeves dc429494ac Merge pull request #2370 from Masaya-A/improve/yum
Make yum removing unneeded packages
2021-01-05 09:26:04 -05:00
William Wernert 294601ff64 [feat] Reorder network-only prompt 2021-01-04 16:40:16 -05:00
weslambert 707528d7e8 Merge pull request #2530 from Security-Onion-Solutions/fix/strelka_cron_2
Remove multiple old so-yara-update cron jobs, if needed
2021-01-04 16:30:22 -05:00
weslambert c1e245043e Remove multiple old so-yara-update cron jobs, if needed 2021-01-04 16:29:32 -05:00
William Wernert f94e421f4e [fix] Fix automation compatibility 2021-01-04 14:46:48 -05:00
m0duspwnens 38f985ae22 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2021-01-04 14:10:41 -05:00
William Wernert 9d674d6d3a [feat] Add so-monitor-add script 2021-01-04 13:35:14 -05:00
William Wernert 7bfac1e8df [fix] Don't prompt to only set up network and then skip if network was previously configured 2021-01-04 11:58:25 -05:00
William Wernert 65c3849c7b Merge pull request #2527 from Security-Onion-Solutions/feature/setup
Feature/setup
2021-01-04 11:41:07 -05:00
William Wernert f8c7413b15 [fix] Move is_iso variable assignment up 2021-01-04 10:37:07 -05:00
weslambert e51f60f7fa Merge pull request #2521 from Security-Onion-Solutions/fix/strelka_rule_cron
Remove old Strelka cron job
2021-01-04 10:19:50 -05:00
weslambert 535820bfa7 Remove old Strelka cron job 2021-01-04 10:18:32 -05:00
William Wernert 0fa001ed92 [fix] Add more logic to network-only process 2021-01-04 09:27:22 -05:00
William Wernert a714d36b99 [fix] Remove condition for stopping SOC, since the parent condition covers what's tested 2021-01-02 21:03:15 -05:00
Jason Ertel 455da7ec5d Only stop SOC if is_manager or is_import 2020-12-31 15:09:22 -05:00
Jason Ertel 4b244645ba so-fleet-setup doesn't need an interactive terminal to run, remove 'it' 2020-12-31 10:52:59 -05:00
Jason Ertel 6b81419d38 tcpreplay doesn't need an interactive terminal to run, remove 'it' 2020-12-30 22:02:19 -05:00
Jason Ertel e167bfed20 Redirect tcpreplay init output to file 2020-12-30 18:48:56 -05:00
Jason Ertel df305c49a6 Stop SOC prior to opening the firewall for analysts, this ensures no outside requests can be processed prior to the server rebooting 2020-12-30 16:33:46 -05:00
William Wernert 3f3fe78322 [fix] Correct reversed logic 2020-12-30 14:01:20 -05:00
Jason Ertel 13f0ddabfc Use manager internal IP for intra-service comms 2020-12-30 12:02:42 -05:00
Jason Ertel 19d14cf277 Fix script typo to correctly run the so-test 2020-12-30 10:31:04 -05:00
Jason Ertel a49ddfb887 Reboot to ensure thehive falls in line before kicking off the test 2020-12-29 20:42:50 -05:00
Jason Ertel 827a571db8 Ensure so-test is logged 2020-12-29 17:25:53 -05:00
Jason Ertel 989e2b8b78 Add eval automation 2020-12-29 16:15:10 -05:00
William Wernert 0a57b78900 [feat] Add option to set up only network on an iso 2020-12-29 12:52:21 -05:00
Jason Ertel 74dd2187fb Use AMI's public IP for external access 2020-12-29 11:16:57 -05:00
Jason Ertel ea5e25c4a5 Monitor interface will not always be bond0 - pull correct value from pillar; Replay test data after automated test installations complete. 2020-12-29 10:34:31 -05:00
William Wernert afe40fe87b Merge pull request #2478 from Security-Onion-Solutions/feature/wait-for-apt
Feature/wait for apt
2020-12-28 18:29:20 -05:00
William Wernert e9a6155e44 Merge branch 'dev' into feature/wait-for-apt 2020-12-28 18:26:38 -05:00
Jason Ertel deb38844ba Correct hive init urls 2020-12-28 16:20:33 -05:00
William Wernert 97466957a7 [fix] Fix text printed to whiptail progress bar 2020-12-28 15:06:03 -05:00
William Wernert cdb6dfcea0 [fix][wip] Fix whiptail output 2020-12-28 14:55:15 -05:00
William Wernert 5059373485 [fix] Change text printed to whiptail progress bar 2020-12-28 14:43:33 -05:00
William Wernert af62e64852 [fix] Message changes 2020-12-28 14:40:17 -05:00
William Wernert b03408df6b [fix] Add missing function 2020-12-28 14:30:34 -05:00
William Wernert 5836d22525 [fix] Change text printed to whiptail progress bar 2020-12-28 14:29:03 -05:00
William Wernert a4239d7fe4 [fix] Clarify why dpkg lock is needed 2020-12-28 14:20:37 -05:00
William Wernert 5bd15b91ea [fix] Message formatting changes 2020-12-28 14:18:43 -05:00
William Wernert a0533dd6b5 [feat] Increase retry_count, decrease wait time, change wording 2020-12-28 14:17:27 -05:00
William Wernert f7a60a011b [fix] Message formatting 2020-12-28 14:06:33 -05:00
William Wernert 17160dcdbe [fix] Don't repeat fail message on last attempt 2020-12-28 14:02:46 -05:00
William Wernert 0dd80a664f [fix] Only call progress callback if arg passed 2020-12-28 14:00:09 -05:00
William Wernert 1e0525b1ad [fix] Only call progress callback if arg passed 2020-12-28 13:57:44 -05:00
William Wernert 7050b1fce5 [fix] Don't use same variable for increment and limit 2020-12-28 13:55:03 -05:00
Jason Ertel 7fe0182ede Refactor so-test and so-tcpreplay to be compatible with SO 2.3.20+; Change hive_init and cortex_init to initialize the cortex and fleet services directly on the manager IP instead of attempting to use the public URL 2020-12-28 11:26:56 -05:00
William Wernert 4d1cb37468 [feat] Add function to wait for dpkg lock 2020-12-28 09:35:51 -05:00
Jason Ertel 8f15d794bc Silence curl progress output during hive/cortex init 2020-12-24 08:44:28 -05:00
Jason Ertel baf5be1a3a Return adequate exit code when init fails; Logs output of init scripts for troubleshooting failed installations 2020-12-23 20:14:46 -05:00
Jason Ertel 9cf150f988 Switch from Jinja syntax to bash 2020-12-23 15:11:43 -05:00
m0duspwnens 7800e90776 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-12-23 14:53:27 -05:00
Jason Ertel 2d44b69e8d Refactor hive and cortex init to use wait loops instead of hardcoded sleeps 2020-12-23 12:12:38 -05:00
Jason Ertel aa5c0a7351 Clarify prompt instructions for so-elastalert-test 2020-12-23 09:37:44 -05:00
Jason Ertel eef1f49d09 Corrected cortex_init process which was incorrectly attempting to access ES via the external URL; Removing 1-2 minute sleeps during init to see if those are no longer needed 2020-12-22 22:56:01 -05:00
Jason Ertel cfe5019f51 Add firewall listhogroups and listportgroups commands; Change AMI test defaults to use a custom hostname for cypress access 2020-12-22 17:59:59 -05:00
weslambert f6a199156b Merge pull request #2428 from Security-Onion-Solutions/feature/strelka_pillar_repos
Support setting rule repos via pillar
2020-12-22 10:38:01 -05:00
Wes Lambert ac96ded2dc Support setting rule repos via pillar 2020-12-22 15:36:15 +00:00
Mike Reeves aa15f3ca4a Merge pull request #2425 from Security-Onion-Solutions/patch/2.3.21
2.3.21 ISO sig
2020-12-22 08:39:00 -05:00
TOoSmOotH 3a3182a51f 2.3.21 ISO sig 2020-12-22 08:32:58 -05:00
Mike Reeves 36207d0440 Merge pull request #2417 from Security-Onion-Solutions/patch/2.3.21
2.3.21
2020-12-21 20:02:04 -05:00
Mike Reeves 88bfe7c49c Update VERIFY_ISO.md 2020-12-21 19:52:31 -05:00
Mike Reeves 7116c2103b Update Docker Clean 2020-12-21 17:06:14 -05:00
Mike Reeves b49355d346 Update changes.json 2020-12-21 16:54:55 -05:00
Mike Reeves aecde2dd54 Update README.md 2020-12-21 16:54:10 -05:00
Mike Reeves f2d8c7f10d Update VERSION 2020-12-21 16:53:30 -05:00
Mike Reeves 627d4da432 Merge pull request #2403 from Security-Onion-Solutions/fix/so-analyst-typo
fix typo in so-analyst-install warning
2020-12-21 11:48:25 -05:00
m0duspwnens a18c89d804 fix typo in so-analyst-install warning 2020-12-21 11:42:03 -05:00
m0duspwnens 416d98071d Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-12-21 11:39:23 -05:00
Mike Reeves d73f3bb6f8 Update README.md 2020-12-21 10:53:41 -05:00
Mike Reeves 48931116ab Update VERSION 2020-12-21 10:52:37 -05:00
Mike Reeves 7b8f5aa8a9 Merge pull request #2402 from Security-Onion-Solutions/dev
2.3.20
2020-12-21 10:26:50 -05:00
m0duspwnens 544c473338 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-12-21 10:21:48 -05:00
Mike Reeves 1f9151b407 Update README.md 2020-12-21 10:21:28 -05:00
m0duspwnens 5d0cef5e3d Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-12-21 10:21:24 -05:00
TOoSmOotH def8dc0e1e 2.3.20 ISO sig 2020-12-21 09:58:25 -05:00
Mike Reeves 88be7bca3f Update VERIFY_ISO.md 2020-12-21 09:56:18 -05:00
Mike Reeves a0f00e09c1 2.3.20 Readme Update 2020-12-21 09:55:23 -05:00
weslambert def08895d5 Merge pull request #2393 from Security-Onion-Solutions/fix/strelka_filestream
Fix/strelka filestream
2020-12-18 15:48:54 -05:00
weslambert 2fee2ca143 Change identifier name to be more descriptive 2020-12-18 15:40:54 -05:00
weslambert 7453626b06 Add identifier 2020-12-18 15:39:52 -05:00
Josh Patterson 4ccb80c9c8 Merge pull request #2392 from Security-Onion-Solutions/fix/sensoroni_fw
fix duplicate state name for fw
2020-12-18 15:02:52 -05:00
m0duspwnens ad45779978 fix duplicate state name for fw 2020-12-18 15:01:55 -05:00
Josh Patterson 83326518c4 Merge pull request #2391 from Security-Onion-Solutions/fix/sensoroni_fw
Fix/sensoroni fw
2020-12-18 14:16:33 -05:00
m0duspwnens 66f62b912e Merge remote-tracking branch 'remotes/origin/dev' into fix/sensoroni_fw 2020-12-18 14:14:55 -05:00
m0duspwnens 4bbedfa027 put portgroup name in statename 2020-12-18 14:14:45 -05:00
m0duspwnens 7653ad56a9 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-12-18 14:11:21 -05:00
Josh Patterson 5275583098 Merge pull request #2388 from Security-Onion-Solutions/fix/grafana_sensor_uptime
limit sensor uptime in grafana dash to 2 decimal
2020-12-18 13:41:54 -05:00
m0duspwnens e756bbc430 limit sensor uptime in grafana dash to 2 decimal 2020-12-18 13:40:55 -05:00
m0duspwnens 1374ac0628 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-12-18 13:39:27 -05:00
Mike Reeves dea88e4c68 Update soup 2020-12-18 13:27:08 -05:00
Josh Patterson dec6cdd3c5 Merge pull request #2385 from Security-Onion-Solutions/fix/sensoroni_fw
add sensoroni port to minions for manager nodes
2020-12-18 13:08:16 -05:00
m0duspwnens dbf82a891f add sensoroni port to minions for manager nodes 2020-12-18 13:06:14 -05:00
m0duspwnens b506f0455f Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-12-18 12:38:44 -05:00
Mike Reeves 96bd1e72a7 Update soup 2020-12-18 11:55:24 -05:00
weslambert 1a463bccaf Add cron.absent to remove old cron job if present 2020-12-18 11:25:14 -05:00
Josh Patterson b0db910e7a Merge pull request #2384 from Security-Onion-Solutions/fix/telegraf_stenoloss
make sure timestamp on steno log line has changed so we don't snapshot the drop%
2020-12-18 11:02:29 -05:00
m0duspwnens 90dcad7e6f make sure timestamp on steno log line has changed so we dont snapshot the drop% 2020-12-18 11:00:24 -05:00
m0duspwnens e7a833e890 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-12-18 10:57:18 -05:00
weslambert 9493aad1a5 Read from dedicated unprocessed dir 2020-12-18 10:53:17 -05:00
weslambert bf76c1b58c Create unprocessed dir and move Zeek extracted files there 2020-12-18 10:52:14 -05:00
Mike Reeves 575098e368 Update init.sls 2020-12-17 20:23:38 -05:00
Mike Reeves 39425c1ba8 Fix extra extrahosts 2020-12-17 20:15:56 -05:00
TOoSmOotH 6448ddc31a Allow SNs to resolve the ES master 2020-12-17 20:08:21 -05:00
Josh Patterson 89a9816d50 Merge pull request #2379 from Security-Onion-Solutions/fix/telegraf-suriloss
tell dc to use 4 decimal spot for suriloss calc
2020-12-17 18:08:35 -05:00
m0duspwnens 412e8eeccb tell dc to use 4 decimal spot for suriloss calc 2020-12-17 18:05:25 -05:00
m0duspwnens 6e202f2ee0 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-12-17 17:21:01 -05:00
Mike Reeves 6ccbe47f10 Fix Jinja 2020-12-17 16:34:49 -05:00
Mike Reeves 6fcc11eac2 Fix setup 2020-12-17 16:31:25 -05:00
Mike Reeves b6f2cdce8c Fix whiptail menu 2020-12-17 15:57:13 -05:00
Jason Ertel 370a2cdb81 Update change.json for 2.3.20 2020-12-17 15:49:09 -05:00
TOoSmOotH 96ebb98fc6 Change wording about true clustering again 2020-12-17 15:34:29 -05:00
TOoSmOotH 336ec18e09 Change wording about true clustering 2020-12-17 15:32:34 -05:00
TOoSmOotH d99596ad06 Fix Docker Settings on new installs 2020-12-17 15:21:29 -05:00
William Wernert 1f523deaea [fix] Playbook setup bug fixes
* Increase timeout for port check
* Exit with non-zero code in user create script if timeout exceeded or error occurs
2020-12-17 12:23:06 -05:00
Jason Ertel e0dc6cbb41 Update screenshots with new Grid menu change 2020-12-17 11:15:49 -05:00
Josh Brower 5719b12968 Merge pull request #2373 from Security-Onion-Solutions/bugfix/so-suricata-testrule
Fix so-suricata-testrule
2020-12-17 11:08:26 -05:00
Josh Brower 73ad89f4ba Fix so-suricata-testrule 2020-12-17 11:05:57 -05:00
Masaya-A 59ae5f63cf Make yum removing unneeded packages
Reference: https://www.stigviewer.com/stig/red_hat_enterprise_linux_7/2020-09-03/finding/V-204452
2020-12-17 22:14:03 +09:00
Josh Patterson 011dc48d96 Merge pull request #2363 from Security-Onion-Solutions/fix/grafana-eval
Fix/grafana eval
2020-12-16 18:05:02 -05:00
m0duspwnens 027929bb6d fix eval grafana dashboard 2020-12-16 17:59:54 -05:00
TOoSmOotH 345710a48d Make sure thehive is up then soup by hitting api 2020-12-16 17:41:38 -05:00
m0duspwnens 90e499f6e9 fix eval grafana dashboard 2020-12-16 17:25:56 -05:00
TOoSmOotH 23110d3b33 Make sure thehive is up then soup 2020-12-16 17:23:51 -05:00
William Wernert 384456a991 [fix] Make repo directory during soup if it doesn't exist 2020-12-16 16:18:17 -05:00
TOoSmOotH 6e84227525 Add DB migration for thehive 2020-12-16 16:06:05 -05:00
Josh Patterson 3ff99da302 Merge pull request #2359 from Security-Onion-Solutions/fix/so-status-import-node
Fix/so status import node
2020-12-16 14:22:08 -05:00
m0duspwnens 2d497cb724 change to just Hunt 2020-12-16 14:15:57 -05:00
Mike Reeves eecb323459 remove extra state.apply common 2020-12-16 13:12:38 -05:00
m0duspwnens 2e278586f2 disable steno in so-status for import node 2020-12-16 13:03:24 -05:00
m0duspwnens 81e2b4d572 Merge remote-tracking branch 'remotes/origin/dev' into fix/so-status-import-node 2020-12-16 12:02:39 -05:00
m0duspwnens 96b72d46be show steno,zeek,suricata as disabled in so-status on import node 2020-12-16 12:01:48 -05:00
Mike Reeves 09b5e6d227 Fix SSL issue 2020-12-16 11:57:27 -05:00
William Wernert 9c8fc5e6ed [fix] Make parent directories if needed 2020-12-16 11:16:14 -05:00
William Wernert 6ba3c16c75 [fix] Actually count containers when checking count 2020-12-16 11:10:57 -05:00
William Wernert d670f96dc0 [fix] Exit on command failure in so-catrust 2020-12-16 11:07:00 -05:00
William Wernert a959b4b2cd [fix] Helix sensor needs so-soc and so-elasticsearch images downloaded 2020-12-16 11:00:48 -05:00
m0duspwnens 9fd2ab530e Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-12-16 10:53:35 -05:00
William Wernert 142649b396 [fix] Fix comparator 2020-12-16 10:38:34 -05:00
William Wernert e464117e8a [fix] Run so-catrust in ES state on Helix sensor install 2020-12-16 10:19:44 -05:00
William Wernert aa0d43b1db [fix] Always define ismanager var 2020-12-16 09:55:09 -05:00
Josh Patterson bdbb466d69 Merge pull request #2357 from Security-Onion-Solutions/fix/sensoroni_steno_pillar
Fix/sensoroni steno pillar
2020-12-16 09:40:06 -05:00
TOoSmOotH 8889c79afd Run a common state first to fix docker race condition 2020-12-16 09:39:41 -05:00
m0duspwnens 448d0e079e add whitespace removal to the front 2020-12-16 09:39:25 -05:00
m0duspwnens f0999abd8e add missing % 2020-12-16 09:38:21 -05:00
m0duspwnens c68b87db56 set steno running default based on sensor role or not 2020-12-16 09:33:44 -05:00
William Wernert a1fc354a89 [fix] Correct ordering of printf lines 2020-12-16 09:32:36 -05:00
TOoSmOotH b858136672 Add jertel complaince 2020-12-16 09:24:59 -05:00
William Wernert af149d04a9 [fix] Only run portions of ES state, do not run container 2020-12-16 09:18:40 -05:00
William Wernert a4897d2063 [fix] Add Elasticsearch to containers running on Helix sensor 2020-12-16 09:07:38 -05:00
m0duspwnens fffca7e0d8 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-12-16 08:59:39 -05:00
TOoSmOotH 805e25f495 Fix typeo 2020-12-15 20:40:59 -05:00
TOoSmOotH 4ca4141819 Fix conditional statement 2020-12-15 19:29:35 -05:00
TOoSmOotH f1be6cc259 Check MD5 of all components 2020-12-15 18:32:07 -05:00
TOoSmOotH e30d7a8d8e Fix upgrade docker variable 2020-12-15 18:25:41 -05:00
TOoSmOotH 87882b4d91 Fix upgrade function 2020-12-15 18:18:26 -05:00
TOoSmOotH 082fd51b05 Remove extra variable 2020-12-15 17:07:40 -05:00
TOoSmOotH 04a26df4f7 Fix the features suffix 2020-12-15 17:05:33 -05:00
Jason Ertel e3c8018824 Toggle strelka rules after the user is prompted it strelka should be installed to ensure strelka rules are updated later during the setup process 2020-12-15 16:44:52 -05:00
TOoSmOotH 7909834722 Clean up previous upgrade dirs in temp 2020-12-15 16:23:49 -05:00
Mike Reeves 06dd3432f8 Copy the correct files over that soup needs 2020-12-15 16:13:51 -05:00
Mike Reeves 6cab65a548 Update so-image-common 2020-12-15 16:06:21 -05:00
Jason Ertel e58ca93896 Add logging for strelka configuration during setup 2020-12-15 15:46:59 -05:00
William Wernert 15347d1209 [fix] More condition changes for Helix 2020-12-15 15:08:33 -05:00
William Wernert c7c3d004ca [fix] More helix -> helixsensor 2020-12-15 14:01:19 -05:00
William Wernert 1825776271 [fix] helix -> helixsensor 2020-12-15 13:58:36 -05:00
William Wernert 951556902c [fix] Accept salt key on Helix Sensor install 2020-12-15 13:41:00 -05:00
William Wernert 7ba10ee698 [fix] Add HELIXSENSOR to case for Ubuntu 2020-12-15 13:38:00 -05:00
William Wernert 343e9f8b2c [fix] Only try to stop/remove containers if at least one exists 2020-12-15 13:37:46 -05:00
William Wernert e89c06f71b [fix] Add backslash for newline 2020-12-15 13:37:21 -05:00
William Wernert f7d02763e8 [fix] Move FEATURESCHECK var assignment, fix indentation 2020-12-15 13:07:21 -05:00
William Wernert f70d828aa6 [fix] Create array correctly 2020-12-15 13:04:09 -05:00
Jason Ertel 3da7a26e88 Remove jinja whitespace trimming to avoid syntax error in bash 2020-12-15 12:37:05 -05:00
Mike Reeves 922534a5da Merge pull request #2352 from Security-Onion-Solutions/soup2320
SOUP Features
2020-12-15 12:07:19 -05:00
TOoSmOotH 80a61d3316 SOUP Features 2020-12-15 12:06:30 -05:00
Mike Reeves bf1f00d2fe Merge pull request #2348 from Security-Onion-Solutions/soup2320
SOUP Changes
2020-12-14 21:19:45 -05:00
TOoSmOotH cbd59ed86a SOUP Changes 2020-12-14 20:46:31 -05:00
Josh Brower efe44323cb Merge pull request #2346 from Security-Onion-Solutions/bugfix/fleet-patch
Swap localhost for 127.0.0.1
2020-12-14 15:49:58 -05:00
William Wernert aa281f849f [feat] Add message about dropping to command line when setting up ssh key 2020-12-14 15:31:25 -05:00
William Wernert f4c4a16f54 Merge pull request #2343 from Security-Onion-Solutions/experimental
Experimental
2020-12-14 14:27:52 -05:00
Jason Ertel aa479b9c8e Move node address/desc into the minion pillar 2020-12-14 12:42:16 -05:00
William Wernert 3e2a9cc884 Merge branch 'dev' into experimental 2020-12-14 12:32:53 -05:00
William Wernert a533e6fa35 [fix] Always set INSTALLUSERNAME var 2020-12-14 11:42:34 -05:00
m0duspwnens 3a66af0b16 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-12-14 11:36:03 -05:00
Josh Patterson de3f86724a Merge pull request #2335 from Security-Onion-Solutions/issue/1586
remove old firewall ports pillar file
2020-12-14 11:15:34 -05:00
m0duspwnens 4e04f31b8e remove old firewall ports pillar file https://github.com/Security-Onion-Solutions/securityonion/issues/1586 2020-12-14 10:24:49 -05:00
m0duspwnens 32482710db Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-12-14 10:14:44 -05:00
Doug Burks 7a314b5935 Prevent Wazuh "last -n 20" logs from going to Alerts queue #2321 2020-12-12 11:35:29 -05:00
Doug Burks 61ae187d03 revert previous commit #2321 2020-12-12 10:12:23 -05:00
Josh Brower 73d23e6d17 Revert "Initial support - Playbook Overrides"
This reverts commit 8915e49288.
2020-12-12 10:07:30 -05:00
Josh Brower 8faf80a03b Revert "Playbook db updates"
This reverts commit 35be785f7a.
2020-12-12 10:07:23 -05:00
Mike Reeves b5ed973abd Merge pull request #2138 from OmerTirosh/OmerTirosh-fix-win.eventlog
Fix Error: SO elasticsearch ingest failed to convert 'winlog.event_data.SubjectUserName' to 'user.name'
2020-12-12 10:00:27 -05:00
Doug Burks 85aac4ad75 Prevent Wazuh "last -n 20" logs from going to Alerts queue #2321 2020-12-12 09:22:08 -05:00
Jason Ertel fd7fe72b2a Correct default address pool base value 2020-12-11 23:29:59 -05:00
Jason Ertel c5a3597564 Swap AWS interfaces 2020-12-11 21:57:56 -05:00
Josh Brower 66495e6bae Swap localhost for 127.0.0.1 2020-12-11 17:38:42 -05:00
Jason Ertel 42c8f1e325 Use eth0/eth1 instead of ens5/ens6 in AWS 2020-12-11 15:34:16 -05:00
Jason Ertel bb61c1f745 Cleanup bash imports/sources, function definitions, and variables 2020-12-11 15:33:31 -05:00
Josh Patterson e4eea6a616 Merge pull request #2320 from Security-Onion-Solutions/issue/2319
zeek file extraction can now be manipulated with zeek pillar
2020-12-11 14:38:10 -05:00
m0duspwnens 09b3a4a0dd merge pillar with the defaults https://github.com/Security-Onion-Solutions/securityonion/issues/2319 2020-12-11 14:35:06 -05:00
m0duspwnens b8e8510dd2 merge pillar with the defaults https://github.com/Security-Onion-Solutions/securityonion/issues/2319 2020-12-11 14:26:32 -05:00
m0duspwnens 95c068a37f Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-12-11 14:13:48 -05:00
Jason Ertel eb735c7289 Replace duplicate random generator with common function 2020-12-11 13:22:13 -05:00
Josh Patterson 2f2867804a Merge pull request #2318 from Security-Onion-Solutions/issue/1175
pillarize grafana and allow for grafana alerts to be created
2020-12-11 12:36:06 -05:00
m0duspwnens d877fac786 add null for max graph value https://github.com/Security-Onion-Solutions/securityonion/issues/1175 2020-12-11 12:28:43 -05:00
m0duspwnens c88a1a943d update search and sensor node dashboard panaels from guage to graph https://github.com/Security-Onion-Solutions/securityonion/issues/1175 2020-12-11 12:21:16 -05:00
m0duspwnens e3335a3106 update managersearch dashboard panaels from guage to graph https://github.com/Security-Onion-Solutions/securityonion/issues/1175 2020-12-11 12:00:02 -05:00
m0duspwnens 0a77a28e06 guage to graph cor cpu on manager and eval https://github.com/Security-Onion-Solutions/securityonion/issues/1175 2020-12-11 11:51:42 -05:00
m0duspwnens 6eb64227ae update manager dashboard panaels from guage to graph https://github.com/Security-Onion-Solutions/securityonion/issues/1175 2020-12-11 11:44:21 -05:00
m0duspwnens 5a95181b2b update eval version 1 https://github.com/Security-Onion-Solutions/securityonion/issues/1175 2020-12-11 11:36:19 -05:00
m0duspwnens 2fc151d923 update eval dashboard panaels from guage to graph https://github.com/Security-Onion-Solutions/securityonion/issues/1175 2020-12-11 11:34:08 -05:00
William Wernert db276d9020 [fix] Always set hostname 2020-12-11 11:02:27 -05:00
m0duspwnens 33fde42dbc dont show legend on pcap retention panel 2020-12-11 10:42:30 -05:00
m0duspwnens e0e38ac37f update standlone dashboard panaels from guage to graph https://github.com/Security-Onion-Solutions/securityonion/issues/1175 2020-12-11 10:39:25 -05:00
William Wernert 75c5abef30 [fix] Add all selected options to install_opts 2020-12-11 10:16:00 -05:00
Jason Ertel 0915ae30e4 Add timestamps to so-yara-update output 2020-12-11 10:08:10 -05:00
Jason Ertel 14f28e38be Ensure so-yara-updata script is logging to a file during cron job execution 2020-12-11 10:04:43 -05:00
William Wernert 870cc6b79b [fix][typo] readaraay -> readarray 2020-12-11 09:39:22 -05:00
William Wernert 3c7a8fe92f [fix] Don't cd in so-variables 2020-12-11 09:39:00 -05:00
William Wernert b6a0e692c6 [refactor] Use command -v for netplan check 2020-12-11 09:38:44 -05:00
m0duspwnens fbcc62d5c5 Merge remote-tracking branch 'remotes/origin/dev' into issue/1175 2020-12-10 15:17:45 -05:00
m0duspwnens 733f5a5021 allowUiUpdates to dashboards to allow for alert creation on stock dashboards issue/1175 2020-12-10 15:17:22 -05:00
William Wernert 25f2075e22 [fix] Revert bad change to whiptail_basic_zeek 2020-12-10 15:01:10 -05:00
William Wernert 5c4103681c [fix] Save original argument array to use later 2020-12-10 14:45:24 -05:00
William Wernert ab856532e6 [fix] Show airgap option on import install 2020-12-10 14:20:48 -05:00
William Wernert 58bcc79c54 [fix] Create full dir structure, rm /root/install_opt on failure 2020-12-10 14:17:47 -05:00
William Wernert 1f1cfde3ac [fix] Make directory for new setup download 2020-12-10 14:03:54 -05:00
William Wernert bc6a0c1e6f [fix] Add missing append flags to tee 2020-12-10 13:54:41 -05:00
William Wernert 8302119756 [fix] Don't redirect entire download function to setup log 2020-12-10 13:26:19 -05:00
William Wernert 21e107f2e8 [fix] Remove sudo from version check, only remove known_hosts entry if exists 2020-12-10 13:13:45 -05:00
Mike Reeves cd6a945a24 Merge pull request #2298 from Security-Onion-Solutions/escluster
Traditional ES Clustering Support
2020-12-10 12:07:17 -05:00
m0duspwnens 4ee944448f remove $Interval template var since alerts cant be crated when it is used https://github.com/Security-Onion-Solutions/securityonion/issues/1175 2020-12-10 12:05:57 -05:00
TOoSmOotH 42833b2086 Make non clustered node attributes 2020-12-10 11:14:32 -05:00
TOoSmOotH d9d7f49b96 Adjust elasticsearch.yml 2020-12-10 11:09:38 -05:00
William Wernert 86313796a5 [fix] Set manager_ver in download function 2020-12-10 11:00:52 -05:00
weslambert 24fce27e62 Merge pull request #2297 from Security-Onion-Solutions/feature/idstools_arg
Add ability to supply an arg, for example overriding 15 min limit
2020-12-10 09:31:50 -05:00
Wes Lambert 45faa7fda4 Add ability to supply an arg, for example overriding 15 min limit 2020-12-10 14:30:29 +00:00
weslambert c2cf2c4987 Merge pull request #2296 from Security-Onion-Solutions/fix/suricata_ftp_data
Add initial suricata.ftp_data pipeline
2020-12-10 09:17:01 -05:00
TOoSmOotH 379f1d98d8 fix addtotab 2020-12-10 09:15:17 -05:00
Wes Lambert f689722559 Add initial suricata.ftp_data pipeline 2020-12-10 14:14:50 +00:00
weslambert d09daef094 Merge pull request #2288 from Security-Onion-Solutions/fix/strelka_rules
Expand STRELKARULES
2020-12-09 17:05:44 -05:00
weslambert 0b2e2739bd Expand STRELKARULES 2020-12-09 17:05:11 -05:00
m0duspwnens ea1bd63f60 makedirs and place readme file for grafana https://github.com/Security-Onion-Solutions/securityonion/issues/1175 2020-12-09 16:59:38 -05:00
TOoSmOotH af15f0eb38 remove ml node.role 2020-12-09 16:23:38 -05:00
TOoSmOotH 101ddd18a5 Fix print statments 2020-12-09 16:08:09 -05:00
Mike Reeves 3a903501fd Merge pull request #2286 from Security-Onion-Solutions/newescluster
Newescluster
2020-12-09 16:01:46 -05:00
m0duspwnens 8db79ae852 comment out some defaults file https://github.com/Security-Onion-Solutions/securityonion/issues/1175 2020-12-09 16:01:09 -05:00
m0duspwnens e05da4efc2 remove odl grafana.ini file https://github.com/Security-Onion-Solutions/securityonion/issues/1175 2020-12-09 15:53:01 -05:00
Mike Reeves 30e69bf7b2 Merge branch 'escluster' into newescluster 2020-12-09 15:23:49 -05:00
TOoSmOotH 0a48f7d5dc Simplify logic 2020-12-09 15:22:09 -05:00
m0duspwnens c320efe7e4 fix whitespace https://github.com/Security-Onion-Solutions/securityonion/issues/1175 2020-12-09 14:33:19 -05:00
m0duspwnens 617ed2a7c2 add a place to place files referenced in the config https://github.com/Security-Onion-Solutions/securityonion/issues/1175 2020-12-09 14:06:54 -05:00
William Wernert 522399e4ab Merge branch 'feature/setup' into experimental 2020-12-09 13:13:58 -05:00
William Wernert a2e48f91b2 [fix] Add manager to hosts before attempting ssh 2020-12-09 13:13:51 -05:00
William Wernert 987008811c [fix] Make repo directory before using it 2020-12-09 12:47:35 -05:00
m0duspwnens c5c053d24a change to header 2020-12-09 11:59:06 -05:00
m0duspwnens 75ea648cf9 change to file.managed https://github.com/Security-Onion-Solutions/securityonion/issues/1175 2020-12-09 11:57:28 -05:00
William Wernert e29fa7ba70 Merge branch 'feature/setup' into experimental 2020-12-09 11:51:18 -05:00
William Wernert 282b4090ce [fix] Actually call nic comparison function, redirect tarball gen to setup_log 2020-12-09 11:51:07 -05:00
TOoSmOotH e983322a18 Fix elastic if statement 2020-12-09 11:31:22 -05:00
m0duspwnens 6b479c5a89 pillarize grafana https://github.com/Security-Onion-Solutions/securityonion/issues/1175 2020-12-09 11:10:00 -05:00
William Wernert 223856c0b9 [fix] Don't redirect whiptail message, use SIGINT instead of SIGKILL 2020-12-09 10:16:42 -05:00
William Wernert 795cacecf3 [fix] Fix cut command options 2020-12-09 10:06:14 -05:00
William Wernert f3ce2fc71e [fix] new_setup -> manager_setup 2020-12-09 10:06:02 -05:00
William Wernert 51650147ef [fix] Only show network init message if valid 2020-12-09 09:59:44 -05:00
William Wernert 950c05e53d [fix] Only move error log if present 2020-12-09 09:50:30 -05:00
William Wernert 652c4d49c9 [fix] Remove extra semicolon 2020-12-09 09:47:57 -05:00
TOoSmOotH 6ceecbd524 Fixing some elasticsearch logic 2020-12-09 09:42:03 -05:00
William Wernert a8f1ec37a3 [refactor] Remove is_smooshed var 2020-12-08 15:29:48 -05:00
William Wernert 813fe77582 [feat] Run so-analyst-install after network init 2020-12-08 15:29:31 -05:00
William Wernert b41ba1ea3c [feat] Compare setup version to manager, dl tarball + exec on mismatch 2020-12-08 15:29:04 -05:00
William Wernert 4899ea23f8 [fix] Put conditions in install_cleanup function 2020-12-08 14:03:59 -05:00
William Wernert 4210d25fae [feat] Init network + soremote key early 2020-12-08 14:03:21 -05:00
William Wernert 65d994a2f8 [feat] Generate gzipped tarball of repo during setup and soup 2020-12-08 14:02:45 -05:00
William Wernert 997e2735e3 [refactor] Press -> select 2020-12-08 13:59:42 -05:00
TOoSmOotH d6fa739c60 Adding queue=True 2020-12-08 11:17:47 -05:00
m0duspwnens 2b412b6a48 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-12-08 10:41:28 -05:00
Josh Brower f34a10a986 Merge pull request #2259 from Security-Onion-Solutions/feature/playbook-updates2
Playbook db updates
2020-12-08 10:36:42 -05:00
Josh Brower 35be785f7a Playbook db updates 2020-12-08 10:35:50 -05:00
Jason Ertel 5d955bcdb7 Enable new SoStatus module in SOC for managing grid status 2020-12-08 09:22:18 -05:00
Josh Brower 5f756549b1 Merge pull request #2254 from Security-Onion-Solutions/feature/playbook-updates2
Initial support - Playbook Overrides
2020-12-07 22:30:50 -05:00
Josh Brower 8915e49288 Initial support - Playbook Overrides 2020-12-07 22:28:58 -05:00
Josh Patterson 2d9c6a42bf Merge pull request #2249 from Security-Onion-Solutions/issue/2188
Issue/2188
2020-12-07 16:52:34 -05:00
Josh Brower 35ea6c36d2 Merge pull request #2247 from Security-Onion-Solutions/feature/so-suricata-ruletest
so-suricata-testrule initial commit
2020-12-07 15:12:20 -05:00
William Wernert 64dc9f8d4e [fix] Only list ipv4 addresses when checking mysql 2020-12-07 14:40:32 -05:00
William Wernert d88364c9fd [feat] Create error log for easy copy/paste
Resolves #2165
2020-12-07 14:18:01 -05:00
William Wernert 08ab36927d [refactor] Kill parent script on exit 2020-12-07 14:16:54 -05:00
William Wernert 6fc3232637 [fix] Set INSTALLUSERNAME to the user running the script
Resolves #2243
2020-12-07 14:16:06 -05:00
William Wernert 4363b082bb Merge branch 'dev' into feature/setup 2020-12-07 14:15:11 -05:00
Mike Reeves 8ea088c3fc Restart Elastic on addition of node. 2020-12-07 14:09:41 -05:00
m0duspwnens b5e0b21400 Merge remote-tracking branch 'remotes/origin/dev' into issue/2188 2020-12-07 11:52:09 -05:00
m0duspwnens 19d27c7d68 remove docker-ce-cli from common state 2020-12-07 11:50:47 -05:00
William Wernert 38324c226e [fix] Don't let grep output message on file not found 2020-12-07 10:58:58 -05:00
m0duspwnens 4fe2de2637 upgrade docker https://github.com/Security-Onion-Solutions/securityonion/issues/2188 2020-12-07 10:47:20 -05:00
William Wernert edc8ccd1b6 Merge branch 'feature/main-ip-validation' into feature/setup 2020-12-07 09:53:38 -05:00
m0duspwnens 81e914ab23 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-12-07 09:38:04 -05:00
William Wernert 3136c66780 [fix] Bring back network setup before setting MAINIP var 2020-12-07 08:50:53 -05:00
Josh Brower 134d9bc89a so-suricata-testrule initial commit 2020-12-06 17:08:11 -05:00
William Wernert d724fe7357 Merge pull request #2201 from Security-Onion-Solutions/bugfix/reinstall
Bugfix/reinstall
2020-12-04 09:38:46 -05:00
William Wernert fca50660a2 [fix] Trap argument off by one 2020-12-04 09:33:28 -05:00
William Wernert 1c1b835c71 Merge branch 'bugfix/reinstall' into experimental 2020-12-03 15:44:04 -05:00
William Wernert 7b43c2955e [fix] kill old restart pid and assign new pid for start 2020-12-03 15:42:15 -05:00
William Wernert ff1cfb578f Only kill+start on final loop and increase time between status checks 2020-12-03 15:42:15 -05:00
William Wernert 7458313d3d [fix] Also kill+start while trying to restart service initially 2020-12-03 15:42:15 -05:00
William Wernert 39dce13cf6 [fix] Move set_redirect out of sub-shell 2020-12-03 15:42:15 -05:00
William Wernert 916db4acec [fix] kill/start after if statement 2020-12-03 15:42:15 -05:00
William Wernert 2e516629f9 [fix] Kill + start salt-minion if it isn't responding 2020-12-03 15:42:15 -05:00
William Wernert 3273a63662 [fix] kill old restart pid and assign new pid for start 2020-12-03 15:38:26 -05:00
William Wernert 660c768f8f Only kill+start on final loop and increase time between status checks 2020-12-03 15:38:26 -05:00
William Wernert ebade0a5a6 [fix] Also kill+start while trying to restart service initially 2020-12-03 15:38:26 -05:00
William Wernert ac85cbc3f1 [fix] Move set_redirect out of sub-shell 2020-12-03 15:38:26 -05:00
William Wernert b5bfad07dc [fix] kill/start after if statement 2020-12-03 15:38:26 -05:00
William Wernert 3049718660 [fix] Kill + start salt-minion if it isn't responding 2020-12-03 15:38:25 -05:00
William Wernert 80ce8b5e41 [refactor] Run all changes inside whiptail progress, use grep -q 2020-12-03 15:38:25 -05:00
William Wernert 2c208ec943 [fix] kill -> stop, add indent to service check, revert incorrect logic 2020-12-03 15:38:25 -05:00
William Wernert 76fff28dfa [fix] Correct logic for service check + bash trap 2020-12-03 15:38:25 -05:00
William Wernert af8295a651 [reafactor] systemctl stop -> kill 2020-12-03 15:38:25 -05:00
William Wernert ddcf5dec5b [refactor] Run all changes inside whiptail progress, use grep -q 2020-12-03 13:59:25 -05:00
Jason Ertel 967111decc Add node address to sensoroni pillar 2020-12-03 11:24:45 -05:00
Mike Reeves 94253e92a6 Adjust the elasticsearch config 2020-12-03 10:38:18 -05:00
William Wernert f410c451cd [fix] kill -> stop, add indent to service check, revert incorrect logic 2020-12-03 10:31:45 -05:00
William Wernert 786665d8cf [fix] Correct logic for service check + bash trap 2020-12-03 10:18:44 -05:00
weslambert c41d4373b7 Merge pull request #2192 from Security-Onion-Solutions/fix/elasticsearch_bool_query_clause_count
Add indices.query.bool.max_clause_count to allow for wildcard searche…
2020-12-03 09:30:24 -05:00
weslambert 95570976a8 Add indices.query.bool.max_clause_count to allow for wildcard searches targeting more than 1024 fields 2020-12-03 09:29:44 -05:00
weslambert a84f816eff Merge pull request #2189 from Security-Onion-Solutions/feature/so-elastic-scripts
so-elastic scripts
2020-12-03 09:20:47 -05:00
Wes Lambert 4ce3ec7582 Make scripts executable 2020-12-03 14:18:22 +00:00
Wes Lambert f96365baba Add intial grouped Elastic start/stop/restart scripts 2020-12-03 14:17:32 +00:00
William Wernert 9c919f3c92 [reafactor] systemctl stop -> kill 2020-12-02 17:07:49 -05:00
Jason Ertel cf0ec2f78f Default to the node's primary IP for the description field 2020-12-02 16:38:33 -05:00
Mike Reeves 3e322c38eb Fix config for single cluster mode 2020-12-02 15:33:35 -05:00
William Wernert 46d2342c8b Merge branch 'bugfix/reinstall' into experimental 2020-12-02 14:45:46 -05:00
Mike Reeves d004263b71 Add Elastic Clustering 2020-12-02 14:33:22 -05:00
William Wernert fc7fe23590 [fix] Correct signal naming 2020-12-02 14:06:50 -05:00
William Wernert cc5d54764a [fix] sed masks command return code, remove 2020-12-02 13:54:02 -05:00
William Wernert 8fe43d6d56 [fix] Print WARNING instead of ERROR if minion is not responding initially 2020-12-02 13:35:57 -05:00
Mike Reeves 69ae4577f5 Merge pull request #2174 from Security-Onion-Solutions/escluster
Escluster
2020-12-02 13:23:08 -05:00
William Wernert 467f9923b0 [refactor] Add trap to handle script exits, change what files are deleted in /etc/salt/ 2020-12-02 13:19:34 -05:00
weslambert c819729cd6 Don't use max_files or time_to_live for shutdown params 2020-12-02 13:17:19 -05:00
m0duspwnens 8983ff994c Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-12-02 13:08:15 -05:00
Josh Patterson 54d8dcdbb0 Merge pull request #2173 from Security-Onion-Solutions/issue/2079
Issue/2079
2020-12-02 11:46:29 -05:00
William Wernert 2d4fe58299 [fix] Also kill currently running jobs 2020-12-01 21:43:38 -05:00
William Wernert 4b5b936abb [fix] echo -> return 2020-12-01 21:40:41 -05:00
William Wernert 2d6feea5c5 [fix] Syntax fixes 2020-12-01 21:21:32 -05:00
William Wernert 38028a543a [feat] Add timeout for salt services to stop during reinstall init 2020-12-01 21:18:24 -05:00
Jason Ertel b7bc8db3b2 Modify PCAP quick action to work off of network community ID; Add new Correlate quick action 2020-12-01 17:37:44 -05:00
Jason Ertel 81b86bf7f2 Switch PCAP quick actions to support alternative lookup link when a single event ID is not available 2020-12-01 16:04:50 -05:00
m0duspwnens ff6951cd95 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into issue/2079 2020-12-01 15:38:15 -05:00
m0duspwnens 141d7a35c9 if true cluster enabled allow search nodes to talk to each other https://github.com/Security-Onion-Solutions/securityonion/issues/2079 2020-12-01 15:38:09 -05:00
William Wernert c2e7e42509 [fix] Don't SIGKILL salt services + disable highstate schedule 2020-12-01 15:36:05 -05:00
weslambert 0e8f547087 Merge pull request #2160 from Security-Onion-Solutions/fix/strelka_mmbot
Remove ScanMmbot
2020-12-01 11:26:14 -05:00
weslambert 9517cb2a58 Remove ScanMmbot 2020-12-01 11:25:51 -05:00
m0duspwnens 3ee562a243 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-12-01 09:28:27 -05:00
Josh Brower c303cdff09 Merge pull request #2150 from Security-Onion-Solutions/bugfix/fleet-standalone
Fleet Fixes - mysql race condition
2020-11-30 18:06:30 -05:00
Josh Brower e7a927188b Fleet Fixes - mysql race condition 2020-11-30 17:28:11 -05:00
William Wernert 8a8885e14f [feat] Verify that main ip = mngmt ip
* Add a check to check whether the src ip in the routing table is also the ip assigned to the management nic
2020-11-30 16:53:02 -05:00
Josh Brower 8e9458ca84 Merge pull request #2149 from Security-Onion-Solutions/bugfix/fleet-standalone
Fix Fleet setup errors
2020-11-30 12:06:36 -05:00
Josh Brower 5d2acf4011 Fix Fleet setup errors 2020-11-30 12:06:02 -05:00
William Wernert 8964444eeb [fix] Correct count print in mysql_conn 2020-11-30 11:32:43 -05:00
William Wernert ec81e8565f [fix] Add safety logic to retry var in mysql_conn 2020-11-30 11:32:28 -05:00
William Wernert 040b435278 [refactor] Fail mysql_conn if the mainint has > 1 ip address 2020-11-30 11:10:50 -05:00
m0duspwnens ae464c38b2 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-11-30 11:04:34 -05:00
Josh Brower 704f024441 Merge pull request #2146 from Security-Onion-Solutions/bugfix/fleet-standalone
Fleet standalone - fix event
2020-11-30 10:33:05 -05:00
Josh Brower 65d8005629 Fleet standalone - fix event 2020-11-30 10:32:39 -05:00
Josh Brower 7fddf99648 Merge pull request #2128 from Security-Onion-Solutions/bugfix/fleet-standalone
Fix Fleet setup errors
2020-11-27 13:59:19 -05:00
Josh Brower f52c30bff5 Fix Fleet setup errors 2020-11-27 13:58:41 -05:00
Josh Brower 19a33c5c2a Merge pull request #2126 from Security-Onion-Solutions/bugfix/fleet-standalone
Bugfix/fleet standalone
2020-11-27 11:45:25 -05:00
Josh Brower 19b36f0468 Fleet standalone redirect fix 2020-11-27 11:43:51 -05:00
Josh Brower 95a664e12a Merge pull request #2103 from Security-Onion-Solutions/bugfix/fleet-standalone
Fleet standalone fix
2020-11-25 14:09:27 -05:00
Josh Brower 38afd67108 Fleet standalone fix 2020-11-25 14:08:30 -05:00
Jason Ertel 979f171828 Add missing comma to sensoroni.json 2020-11-25 12:29:45 -05:00
Jason Ertel 8f9081618f Add role to sensoroni.json file 2020-11-25 11:11:46 -05:00
Jason Ertel 7fb264b4fe Use double quotes around agent key to ensure interpolation 2020-11-24 17:17:50 -05:00
Jason Ertel d20560385f Remove /nsm/wazuh/etc subdir state since confirmed the Wazuh docker container itself 2020-11-24 16:50:46 -05:00
Jason Ertel e1147398cc Ensure /nsm/wazuh is owned by ossec 2020-11-24 15:48:46 -05:00
Jason Ertel 8864428a00 Ensure setup output is redirected to logfile 2020-11-24 15:45:40 -05:00
m0duspwnens 5f0f20918b Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-11-24 14:33:05 -05:00
Jason Ertel ea9bbfd1aa Improve wazuh agent registration with retry logic to wait for manager to become ready 2020-11-24 13:53:20 -05:00
weslambert 0c4ee94472 Merge pull request #2077 from Security-Onion-Solutions/fix/thehive_upgrade_conf
Fix/thehive upgrade conf
2020-11-24 11:52:51 -05:00
weslambert 39bf60feb7 Add digit 2020-11-24 11:52:20 -05:00
weslambert 35653d2e66 Changes for ES7 2020-11-24 11:51:19 -05:00
weslambert eb2364b926 Changes for ES7 2020-11-24 11:49:08 -05:00
Josh Patterson 9bb485cdc9 Merge pull request #2074 from Security-Onion-Solutions/issue/2040
Issue/2040
2020-11-24 11:45:08 -05:00
m0duspwnens fe2662cab8 dont enable steno pillar on import node https://github.com/Security-Onion-Solutions/securityonion/issues/2040 2020-11-24 11:42:03 -05:00
m0duspwnens 995a377432 squigly comma if steno enabled https://github.com/Security-Onion-Solutions/securityonion/issues/2040 2020-11-24 11:31:41 -05:00
weslambert e3a41c2a94 Changes for ES7 elasticsearch.yml 2020-11-24 11:20:09 -05:00
Mike Reeves ddca9563e5 Merge branch 'mkrmerge' into escluster 2020-11-24 10:29:57 -05:00
OmerTirosh e2ee0db727 Ignore failure for rename processor
Ignore failure for winlog.event_data.SubjectUserName rename processor.
For some event ids (for example 4688), this field already been added in winlogbeat JS processor.
Therefor, elastic throw [user.name] already exists error.
2020-11-24 17:21:47 +02:00
m0duspwnens 4dfd49ef39 add vars https://github.com/Security-Onion-Solutions/securityonion/issues/2040 2020-11-24 10:11:28 -05:00
m0duspwnens 65334d15ea https://github.com/Security-Onion-Solutions/securityonion/issues/2040 2020-11-24 09:33:38 -05:00
Jason Ertel 1e32a01657 Create symlink before registration otherwise registration script can't save it's state (.log) file into the conf subdir; add more logging output to track down registration failures 2020-11-23 18:36:19 -05:00
m0duspwnens ae7672f395 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-11-23 13:44:38 -05:00
Jason Ertel bafefb980b Update so-elastalert-test script for compatibility with SO 2.3 2020-11-23 10:45:56 -05:00
m0duspwnens 22ebb5af03 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-11-23 09:29:18 -05:00
Mike Reeves 426769588a Merge pull request #1739 from jtgreen-cse/patch-2
fix for Windows events via osquery
2020-11-21 13:27:05 -05:00
Josh Patterson a183be489c Merge pull request #2030 from Security-Onion-Solutions/master
Merge master to dev
2020-11-20 17:00:31 -05:00
Josh Patterson b29ffcac92 Merge pull request #2029 from Security-Onion-Solutions/soup-ubuntu-salt
fix issue with proper salt.minion state execution for ubuntu
2020-11-20 16:55:45 -05:00
Jason Ertel 78f5727f6f Improve so-ip-update prompts 2020-11-20 15:16:07 -05:00
m0duspwnens 0d3754200f fix issue with proper salt.minion state execution for ubuntu 2020-11-20 14:27:07 -05:00
Jason Ertel bc40a2bfc5 Correct so-import-pcap wrapping; add so-pcap-import alias for so-import-pcap; prompt to reboot after changing IP address on manager; ensure all tools have exec bit set 2020-11-20 14:14:03 -05:00
Jason Ertel f074179656 Correct so-import-pcap wrapping; add so-pcap-import alias for so-import-pcap; prompt to reboot after changing IP address on manager; ensure all tools have exec bit set 2020-11-20 14:14:03 -05:00
William Wernert b6e36d4d06 Merge pull request #2023 from Security-Onion-Solutions/bugfix/bug-hunt
Bugfix/bug hunt
2020-11-20 13:04:33 -05:00
William Wernert 2e6be747d9 [fix] Fixes for quiet flag in so-ssh-harden 2020-11-20 11:18:40 -05:00
William Wernert 1a11c24f03 [fix] Add newline escapes to so-ssh-harden 2020-11-20 11:13:40 -05:00
m0duspwnens d178a7c5f3 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-11-20 10:32:32 -05:00
William Wernert d15064b294 Merge branch 'dev' into bugfix/bug-hunt 2020-11-20 10:15:52 -05:00
William Wernert d3ef46a5f6 Merge pull request #2020 from Security-Onion-Solutions/bugfix/pre-whiptail-message
[fix] Remove echo redirect at beginning of install
2020-11-20 10:15:24 -05:00
William Wernert 9d837f7b45 [fix] Reload sshd if config changes are made
Fixes #1976
2020-11-20 10:09:14 -05:00
William Wernert e62b52da1b [fix] Add condition to zeek state during setup for ZEEKVERSION
Fixes #1990
2020-11-20 09:58:07 -05:00
William Wernert 79ec1de83a [fix] Add exit check for static ip whiptail menus
Fixes #1992
2020-11-20 09:56:48 -05:00
m0duspwnens 762441fdda merge 2020-11-20 08:57:48 -05:00
Jason Ertel 9fb8a6d482 Increment version to 2.3.20 2020-11-19 16:53:34 -05:00
Mike Reeves 5344d30d56 Merge pull request #2003 from Security-Onion-Solutions/dev
2.3.10
2020-11-19 16:48:53 -05:00
Mike Reeves 4051111999 Update hashes and keys 2020-11-19 16:00:40 -05:00
Mike Reeves 316a1c02f1 Update soup to display what its doing 2020-11-19 15:19:50 -05:00
Josh Patterson c07f62f8d1 Merge pull request #2007 from Security-Onion-Solutions/fix/minon
kill salt process with soup and dont restart salt-minion service when…
2020-11-19 15:17:58 -05:00
m0duspwnens cdc7a5cc7c kill salt process with soup and dont restart salt-minion service when salt upgrade 2020-11-19 15:17:11 -05:00
Josh Patterson 10a3e6f414 Merge pull request #2006 from Security-Onion-Solutions/fix/minon
change typo on minon to minion
2020-11-19 15:11:16 -05:00
m0duspwnens 2a3951ab36 change typo on minon to minion 2020-11-19 15:08:08 -05:00
m0duspwnens 868286a58a Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-11-19 15:06:10 -05:00
m0duspwnens 146c1a4d75 fix typos of minon to minion 2020-11-19 15:06:06 -05:00
Mike Reeves 67a8c4e8cb Update Readme 2020-11-19 11:27:15 -05:00
Mike Reeves 177819447b Update Sigs and Hashes 2020-11-19 11:26:08 -05:00
Mike Reeves 3be1c9ae32 Clean up 2.3.1 dockers 2020-11-19 09:58:08 -05:00
William Wernert ac3b5e4f1b [fix] Remove echo redirect at beginning of install 2020-11-19 09:48:56 -05:00
Josh Brower b79e1c3225 Merge pull request #1987 from Security-Onion-Solutions/bugfix/playbookdb-user
playbook mysqluser
2020-11-18 20:48:49 -05:00
Josh Brower d3065005ca playbook mysqluser 2020-11-18 20:48:02 -05:00
Josh Patterson 26e97d5875 Merge pull request #1984 from Security-Onion-Solutions/salt/3002.2
upgrade from salt 3002.1 to salt 3002.2
2020-11-18 18:26:11 -05:00
m0duspwnens d68726f6ef upgrade from salt 3002.1 to salt 3002.2 2020-11-18 18:25:02 -05:00
Josh Patterson f81da406da Merge pull request #1983 from Security-Onion-Solutions/soup-verify-salt
dont highstate, just restart salt-minion
2020-11-18 17:40:36 -05:00
m0duspwnens afd466cd2b dont highstate, just restart salt-minion 2020-11-18 17:27:25 -05:00
Josh Patterson 6d228a836f Merge pull request #1982 from Security-Onion-Solutions/soup-verify-salt
add -X so bootstrap doesnt try to start salt-minion during soup
2020-11-18 16:45:05 -05:00
m0duspwnens 1805effdc0 add -X so bootstrap doesnt try to start salt-minion during soup 2020-11-18 16:32:53 -05:00
Jason Ertel 1170b04a87 Update changes for 2.3.10 2020-11-18 16:18:00 -05:00
Josh Patterson c0b43d3319 Merge pull request #1981 from Security-Onion-Solutions/soup-verify-salt
add back -s
2020-11-18 15:50:04 -05:00
m0duspwnens 6cc9d1c076 add back -s 2020-11-18 15:49:30 -05:00
William Wernert 1c55bb6db2 [fix] Only backup /nsm/mysql and /nsm/wazuh 2020-11-18 15:34:40 -05:00
Josh Brower 3d0003555a Merge pull request #1980 from Security-Onion-Solutions/bugfix/soup-regen-osquery
SOUP - Regen Osquery Packages
2020-11-18 14:56:23 -05:00
Josh Brower 0830f63c4e SOUP - Regen Osquery Packages 2020-11-18 14:55:14 -05:00
Josh Patterson adbd8d6956 Merge pull request #1979 from Security-Onion-Solutions/soup-verify-salt
Soup verify salt
2020-11-18 14:49:03 -05:00
William Wernert 80d0080f70 [fix] Only set is_reinstall if it's needed 2020-11-18 14:47:53 -05:00
m0duspwnens af6e14dc6f highstate , merge with dev fix conflict 2020-11-18 14:47:40 -05:00
William Wernert 8b6b7cbd11 [fix] Check if $is_reinstall is true 2020-11-18 14:46:22 -05:00
William Wernert e65c53dbb1 [fix] Don't rename /nsm/docker-registry 2020-11-18 14:01:33 -05:00
m0duspwnens ceef07b74b remove pkill 2020-11-18 14:00:01 -05:00
William Wernert 280cde43ff [fix] install_type -> setup_type 2020-11-18 13:51:55 -05:00
William Wernert 81b9658499 [fix] Don't remove accept_changes file 2020-11-18 13:51:55 -05:00
weslambert 04c6bed779 Merge pull request #1977 from Security-Onion-Solutions/fix/zeek_log_inode_cleanup
Change clean_removed to true to clean up tracking of Zeek logs removed fr…
2020-11-18 13:49:46 -05:00
weslambert 6b4af30fc1 Change clean_removed to true cleanup tracking of Zeek logs removed from current 2020-11-18 13:47:32 -05:00
m0duspwnens 1e2b404836 remove -s 2020-11-18 13:29:42 -05:00
m0duspwnens 276c011a4f queue state and change upgrade command https://github.com/Security-Onion-Solutions/securityonion/issues/1961 2020-11-18 13:22:11 -05:00
William Wernert 34fd80182e [fix][wip] Don't use variable for accept_changes file 2020-11-18 12:54:36 -05:00
Jason Ertel 57e9f69c97 Add new so-ip-update script (Work in progress) 2020-11-18 12:35:38 -05:00
William Wernert 0542e0aa04 [fix] info -> title 2020-11-18 12:35:16 -05:00
m0duspwnens d0e7b5b55a only ensure salt-minion service is running if salt is on right verison https://github.com/Security-Onion-Solutions/securityonion/issues/1961 2020-11-18 12:32:21 -05:00
William Wernert ad74b4b3e0 [refactor][fix] Update reinstall logic
* Only set reinstall flag if new accept_changes file exists
* Instead of stopping highstate from running, kill all salt processes and remove their configs
* Make end of non-reinstall logs clear in cases where user cancels (and log not rotated)
2020-11-18 12:29:54 -05:00
m0duspwnens ce70e0a61f changes to upgradecommand https://github.com/Security-Onion-Solutions/securityonion/issues/1961 2020-11-18 11:51:28 -05:00
William Wernert 8a4defcffa [refactor] Check for setup log earlier
* Check for sosetuo.log before any scripts besides so-variables are sourced to make sure the log hasn't been created yet.
2020-11-18 11:16:36 -05:00
m0duspwnens bddc3d6df9 kill all salt-minion again since they hang and redirect highstate to a logfile 2020-11-18 10:40:23 -05:00
m0duspwnens 4bb1ad9799 dont restart or kill salt-minon in upgrade command https://github.com/Security-Onion-Solutions/securityonion/issues/1961 2020-11-18 09:29:09 -05:00
William Wernert bc0c395b7f Merge pull request #1963 from Security-Onion-Solutions/feature/rem-so-setup-perm-entry
Feature/rem so-setup perm entry
2020-11-18 09:12:25 -05:00
m0duspwnens 67dc71ab49 Merge remote-tracking branch 'remotes/origin/dev' into soup-verify-salt 2020-11-18 08:36:23 -05:00
m0duspwnens c95619d335 change upgradecommand order https://github.com/Security-Onion-Solutions/securityonion/issues/1961 2020-11-18 08:35:56 -05:00
Jason Ertel bfbc0f354c Only default to logging out to tty if tty exists as a character device 2020-11-17 22:48:40 -05:00
m0duspwnens 5c6e9e0e3a run a highstate and let that start the salt-minion back up https://github.com/Security-Onion-Solutions/securityonion/issues/1961 2020-11-17 19:40:42 -05:00
m0duspwnens 7291d64e82 pkill salt-minion before restartiong salt-minion service https://github.com/Security-Onion-Solutions/securityonion/issues/1961 2020-11-17 18:38:01 -05:00
m0duspwnens 695cce0b50 upgrad command changes https://github.com/Security-Onion-Solutions/securityonion/issues/1961 2020-11-17 17:54:56 -05:00
m0duspwnens 42126f125b change verison check to != 2020-11-17 17:00:59 -05:00
m0duspwnens 2bfc48be35 change check of salt was upgraded during soup for ubuntu and centos 2020-11-17 16:31:11 -05:00
m0duspwnens 7d1cf56160 change check of salt was upgraded during soup for ubuntu and centos 2020-11-17 16:29:35 -05:00
m0duspwnens 1fd2196dd5 fix check of salt was upgraded during soup for ubuntu and centos 2020-11-17 16:18:50 -05:00
m0duspwnens 65b84f1bd7 Merge remote-tracking branch 'remotes/origin/dev' into soup-verify-salt 2020-11-17 16:09:47 -05:00
m0duspwnens fcfd3e3758 change location yum/apt verison locks https://github.com/Security-Onion-Solutions/securityonion/issues/1961 2020-11-17 16:09:30 -05:00
William Wernert ee3708a428 [fix] Move sudoers check in soup to correct place + fix styling issue 2020-11-17 15:44:20 -05:00
William Wernert b146700303 [feat] Remove so-setup permission from sudoers file after iso setup
Closes #1701
2020-11-17 15:36:25 -05:00
Jason Ertel 1ec8b52353 Replace scan.exiftool.* fields due to reduction in strelka field counts 2020-11-17 15:12:06 -05:00
Josh Patterson f8346cde08 Merge pull request #1962 from Security-Onion-Solutions/soup-verify-salt
Soup verify salt
2020-11-17 15:08:32 -05:00
m0duspwnens e162be2e1d change salt upgrade command https://github.com/Security-Onion-Solutions/securityonion/issues/1961 2020-11-17 14:29:39 -05:00
m0duspwnens 4f4f64a47d Merge remote-tracking branch 'remotes/origin/dev' into soup-verify-salt 2020-11-17 13:16:18 -05:00
m0duspwnens 4cd1086efa new way for soup to install and resart salt for upgrade 2020-11-17 13:15:55 -05:00
Mike Reeves 2184c3b8ee Revert "The Hive ES update"
This reverts commit 88c2ee0d36.
2020-11-17 12:51:42 -05:00
Mike Reeves 65d28f98b5 Revert "The Hive ES Update"
This reverts commit f31d459a24.
2020-11-17 12:51:13 -05:00
Jason Ertel aa8d9c12a0 Remove yara rule update that can't succeed since the script doesn't exist at this point of the setup process 2020-11-17 12:15:27 -05:00
Mike Reeves f31d459a24 The Hive ES Update 2020-11-17 11:59:03 -05:00
Mike Reeves 88c2ee0d36 The Hive ES update 2020-11-17 11:58:22 -05:00
Jason Ertel d13733e716 Queue the registry state in case a highstate is already active 2020-11-17 09:59:09 -05:00
Josh Patterson 86922a2388 Merge pull request #1959 from Security-Onion-Solutions/soup-verify-salt
verify new salt version is installed during soup if not, exit before proceeding
2020-11-17 09:53:08 -05:00
m0duspwnens 65440f9aef verify new salt version is installed during soup if not, exit before proceeding 2020-11-17 09:51:28 -05:00
William Wernert 12c661101a Merge pull request #1958 from Security-Onion-Solutions/feat/require-min-nics
Feat/require min nics
2020-11-17 09:49:09 -05:00
William Wernert 79b63ed14b [fix] Use singular when needed for requirements 2020-11-17 09:47:08 -05:00
Josh Brower cc4357d567 Merge pull request #1954 from Security-Onion-Solutions/bugfix/ingest-mappings
Cleanup & fix sysmon pid ingest
2020-11-17 09:05:31 -05:00
Jason Ertel b9267ee015 Add missing newline after armor header 2020-11-17 09:00:02 -05:00
Jason Ertel 5c310327e4 Merge pull request #1942 from Security-Onion-Solutions/jertel/refactor-seed
Jertel/refactor seed
2020-11-16 18:46:28 -05:00
Jason Ertel 4311f66110 Remove unnecessary redirect 2020-11-16 16:58:09 -05:00
Josh Patterson a8644478b5 Merge pull request #1939 from Security-Onion-Solutions/fix/nginx-nonmanager
fix nginx for non manaager/fleet nodes
2020-11-16 16:47:39 -05:00
m0duspwnens 4436f02f6d fix nginx for non manaager/fleet nodes 2020-11-16 16:46:22 -05:00
Jason Ertel 3cf8afc1dd Remove unused redirect descriptors and ensure gpg import output is not leaked to console 2020-11-16 16:39:54 -05:00
Josh Patterson f1e33b6eea Merge pull request #1938 from Security-Onion-Solutions/fix/so.status-module
fix so-status to work with so.status module and change padding
2020-11-16 16:35:08 -05:00
m0duspwnens 0d9b22fe2d fix so-status to work with so.status module and change padding 2020-11-16 16:33:29 -05:00
William Wernert a08923030b [feat] Exit setup if less than required number of NICs present 2020-11-16 16:26:38 -05:00
Jason Ertel 1ec4af1a4d Destroy the old registry before updating SO images 2020-11-16 15:41:15 -05:00
Jason Ertel 5ae78d4108 Install curl in order to test for cloud 2020-11-16 15:31:40 -05:00
Jason Ertel 3bae243915 Continued refactoring of bash 2020-11-16 15:20:00 -05:00
Jason Ertel 8234b6f835 Switch remaining containers over to new registries; Continued bash refactoring 2020-11-16 15:11:08 -05:00
Josh Patterson 55231eab25 Merge pull request #1934 from Security-Onion-Solutions/fix/so-status-in-setup
redirect output from setting up so-status stuff in so-setup
2020-11-16 14:57:58 -05:00
m0duspwnens e956ee9324 redirect output from setting up so-status stuff in so-setup 2020-11-16 14:56:20 -05:00
Jason Ertel a343e3f31e Save descriptors while inside the progress pipe 2020-11-16 14:10:48 -05:00
Jason Ertel 2ff738a61c Refactor docker_seed_registry to eliminate duplicate logic 2020-11-16 13:27:23 -05:00
William Wernert c226c1d902 [fix] Redirect stderr when checking for link state 2020-11-16 11:30:47 -05:00
Josh Patterson 7a49c55ea0 Merge pull request #1930 from Security-Onion-Solutions/issue/1831
Issue/1831
2020-11-16 10:09:49 -05:00
m0duspwnens cc50eba6cb make sure /opt/so/log/salt/so-salt-minion-check gets touched even if salt-minon verison isnt correct https://github.com/Security-Onion-Solutions/securityonion/issues/1831 2020-11-16 10:01:40 -05:00
m0duspwnens 5c25dcf192 add /opt/so/log/salt/so-salt-minion-check to log rotate https://github.com/Security-Onion-Solutions/securityonion/issues/1831 2020-11-16 09:50:10 -05:00
Jason Ertel c744d389f7 More bash cleanup 2020-11-15 10:44:14 -05:00
Jason Ertel 76c917d977 Continued bash cleanup 2020-11-15 09:57:12 -05:00
Josh Brower 1908a68330 Cleanup & fix sysmon pid ingest 2020-11-14 16:19:23 -05:00
Jason Ertel d22040fb5d Annual fall bash cleanup event 2020-11-14 11:53:31 -05:00
Jason Ertel 372f694cc1 Set curl type to 'features' when adding features to existing installation 2020-11-14 11:04:40 -05:00
Jason Ertel 1c079f7ff4 Remove duplicate docker pull/sigverify logic from so-features-enable; Provide current SO version to curl 2020-11-14 10:35:45 -05:00
m0duspwnens 4e6e29e7dc update logging 2020-11-13 20:26:06 -05:00
m0duspwnens 43a244e0da change log path https://github.com/Security-Onion-Solutions/securityonion/issues/1831 2020-11-13 19:37:03 -05:00
m0duspwnens e958246457 touch file at start of highstate, just kill salt dont systemctl stop it https://github.com/Security-Onion-Solutions/securityonion/issues/1831 2020-11-13 19:34:17 -05:00
m0duspwnens b210092534 logging changes issue/1831 2020-11-13 19:09:53 -05:00
m0duspwnens e820c6fa42 logging changes issue/1831 2020-11-13 19:04:09 -05:00
m0duspwnens 71a409f210 fix threshold logic https://github.com/Security-Onion-Solutions/securityonion/issues/1831 2020-11-13 18:23:55 -05:00
m0duspwnens a5823be0ac fix typo 2020-11-13 17:55:19 -05:00
Mike Reeves 13c261178a fix soup so-image-common 2020-11-13 17:26:04 -05:00
m0duspwnens 2f0eaff8b3 sbin 2020-11-13 17:25:45 -05:00
Mike Reeves 977eea131e fix soup so-image-common 2020-11-13 17:18:55 -05:00
Mike Reeves fb9b07b0eb fix soup so-image-common 2020-11-13 17:13:05 -05:00
m0duspwnens 6a010bb3e6 change var name 2020-11-13 17:08:47 -05:00
Mike Reeves 51b3e066be fix soup so-image-common 2020-11-13 17:01:42 -05:00
Mike Reeves 7dfb8f5b12 fix soup so-image-common 2020-11-13 16:50:12 -05:00
Mike Reeves 23f2dee840 fix soup so-image-common 2020-11-13 16:30:34 -05:00
m0duspwnens 4275fcbf22 Merge remote-tracking branch 'remotes/origin/dev' into issue/1831 2020-11-13 16:28:58 -05:00
Jason Ertel ee97f5eaac Remove unnecessary branch var; allow skipping of tag/push step 2020-11-13 16:17:09 -05:00
m0duspwnens 0a807621cc check health of salt-minion https://github.com/Security-Onion-Solutions/securityonion/issues/1831 2020-11-13 16:02:28 -05:00
Mike Reeves 8577fa63a3 fix network install download 2020-11-13 14:28:27 -05:00
Mike Reeves 50175f7e42 soup should now copy the common image functions 2020-11-13 14:25:29 -05:00
Mike Reeves 3173c6fd3c Change user agent string for docker refresh 2020-11-13 14:09:29 -05:00
Mike Reeves 069908ec56 Change user agent string for docker refresh 2020-11-13 13:55:26 -05:00
Mike Reeves 09f3199cc2 Change user agent string for docker refresh 2020-11-13 13:39:52 -05:00
Josh Brower adec9ad48b Merge pull request #1916 from Security-Onion-Solutions/feature/so-playbook-reset
Feature/so playbook reset
2020-11-13 11:21:50 -05:00
Josh Brower 8b3262ce1b Add so-playbook-reset 2020-11-13 11:20:39 -05:00
weslambert 4fad0e3a98 Merge pull request #1914 from Security-Onion-Solutions/fix/syslog_parsing
Syslog updates
2020-11-13 11:07:53 -05:00
Wes Lambert fddfb8eb92 Syslog updates 2020-11-13 16:06:22 +00:00
Jason Ertel 210a7bc65b Merge curator closed-delete-delete changes from the abandoned 2.3.3 release 2020-11-13 10:05:23 -05:00
William Wernert 8a7ff3260d Merge pull request #1911 from Security-Onion-Solutions/feature/ssh-harden-script
[feat] Add ssh-harden script
2020-11-13 09:00:07 -05:00
William Wernert 2f27b6f2fa [feat] Add ssh-harden script 2020-11-13 08:51:28 -05:00
Mike Reeves 52e909007f Change url and clean up sigs 2020-11-12 16:08:27 -05:00
Mike Reeves 80aeffe1ad Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-11-12 11:53:41 -05:00
Mike Reeves cbca2d702f Add Version back to sig files 2020-11-12 11:53:30 -05:00
Automation af44cce423 Auto-publish so-acng image signature 2020-11-12 16:39:54 +00:00
Automation 7d81080076 Auto-publish so-grafana image signature 2020-11-12 16:39:24 +00:00
Automation 6194d85180 Auto-publish so-idstools image signature 2020-11-12 16:38:38 +00:00
Automation 88675ec2ee Auto-publish so-strelka-manager image signature 2020-11-12 16:37:53 +00:00
Automation 9c0a1bc8b9 Auto-publish so-fleet image signature 2020-11-12 16:37:24 +00:00
Automation 52babc686d Auto-publish so-fleet-launcher image signature 2020-11-12 16:36:51 +00:00
Automation 9370e5b8bc Auto-publish so-freqserver image signature 2020-11-12 16:36:01 +00:00
Automation 6c1d5451eb Auto-publish so-strelka-backend image signature 2020-11-12 16:35:16 +00:00
Automation f50e6ab929 Auto-publish so-strelka-filestream image signature 2020-11-12 16:34:12 +00:00
Automation 67f18a02ea Auto-publish so-strelka-frontend image signature 2020-11-12 16:33:37 +00:00
Mike Reeves 7f491545fa Fix Variable for docker inspect 2020-11-12 11:31:27 -05:00
Automation 9b33201ba5 Auto-publish so-minio image signature 2020-11-12 16:30:56 +00:00
Mike Reeves aefcb9a491 Fix Variable for docker 2020-11-12 11:28:58 -05:00
Automation fee52f8b86 Auto-publish so-redis image signature 2020-11-12 16:28:23 +00:00
Automation e434ccd3d3 Auto-publish so-soctopus image signature 2020-11-12 16:18:25 +00:00
Automation 70a0cbae23 Auto-publish so-telegraf image signature 2020-11-12 16:17:22 +00:00
Automation 04263101cf Auto-publish so-kibana image signature 2020-11-12 16:15:27 +00:00
Mike Reeves 312f99966e Change docker inspect to a variable to speed it up 2020-11-12 09:39:13 -05:00
Mike Reeves 667800d830 Change docker inspect to variable to speed it up 2020-11-12 09:35:19 -05:00
Mike Reeves 2fba02f71b Grab specific digest so re-installs work 2020-11-12 09:29:18 -05:00
Josh Patterson 4ce0b770a5 Merge pull request #1898 from jtgreen-cse/patch-3
fix for #1725, grafana queries use non_negative_ variants
2020-11-12 08:55:12 -05:00
Mike Reeves 1de862985c Merge pull request #1893 from Security-Onion-Solutions/gpg
GPG Docker Image Verification
2020-11-12 08:46:34 -05:00
Jason Green 4e40392c55 fix for #1725, grafana queries use non_negative_ variants 2020-11-12 07:34:51 -05:00
Automation d1fe79b642 Auto-publish so-thehive-es image signature 2020-11-12 02:55:19 +00:00
Automation f96cc35d37 Auto-publish so-thehive-cortex image signature 2020-11-12 02:53:56 +00:00
Automation 388f1e753d Auto-publish so-strelka-manager image signature 2020-11-12 02:52:24 +00:00
Automation 42382d00d8 Auto-publish so-strelka-frontend image signature 2020-11-12 02:51:38 +00:00
Automation b086f5e5c1 Auto-publish so-strelka-filestream image signature 2020-11-12 02:50:51 +00:00
Automation 0b0f9854f9 Auto-publish so-strelka-backend image signature 2020-11-12 02:49:47 +00:00
Automation 3107f46940 Auto-publish so-logstash image signature 2020-11-12 02:48:28 +00:00
Automation 202c672798 Auto-publish so-kibana image signature 2020-11-12 02:47:00 +00:00
Automation 6ac1bc5623 Auto-publish so-freqserver image signature 2020-11-12 02:45:21 +00:00
Automation e002015ce2 Auto-publish so-fleet-launcher image signature 2020-11-12 02:44:31 +00:00
Automation 61b5e009c7 Auto-publish so-filebeat image signature 2020-11-12 02:43:27 +00:00
Automation f3aadcd553 Auto-publish so-elasticsearch image signature 2020-11-12 02:42:22 +00:00
Automation 71370d4522 Auto-publish so-elasticsearch image signature 2020-11-12 02:41:12 +00:00
Automation c287b5f826 Auto-publish so-elastalert image signature 2020-11-12 02:39:48 +00:00
Automation 4286ac0dfd Auto-publish so-domainstats image signature 2020-11-12 02:38:46 +00:00
Automation adc937295b Auto-publish so-tcpreplay image signature 2020-11-12 02:37:39 +00:00
Automation 96bf2c57e7 Auto-publish so-pcaptools image signature 2020-11-12 02:36:20 +00:00
Automation 5f7a28dd5d Auto-publish so-telegraf image signature 2020-11-12 02:35:22 +00:00
Automation 3560ba933b Auto-publish so-suricata image signature 2020-11-12 02:34:18 +00:00
Automation 9c20450832 Auto-publish so-soctopus image signature 2020-11-12 02:33:10 +00:00
Automation d71daef2e9 Auto-publish so-playbook image signature 2020-11-12 02:31:59 +00:00
Automation c3ae80e2c1 Auto-publish so-logstash image signature 2020-11-12 02:30:36 +00:00
Automation 2098dd16ff Auto-publish so-influxdb image signature 2020-11-12 02:29:02 +00:00
Automation 3b4c9e02e7 Auto-publish so-idstools image signature 2020-11-12 02:28:04 +00:00
Automation adc99ff06d Auto-publish so-filebeat image signature 2020-11-12 02:26:57 +00:00
Automation f9b26c9a8f Auto-publish so-thehive image signature 2020-11-12 02:25:44 +00:00
Automation 41a123c22b Auto-publish so-grafana image signature 2020-11-12 02:24:19 +00:00
Automation 966089e1d0 Auto-publish so-curator image signature 2020-11-12 02:22:56 +00:00
Automation 3034d5ef98 Auto-publish so-kratos image signature 2020-11-12 02:22:11 +00:00
Automation 5ab169ea52 Auto-publish so-kibana image signature 2020-11-12 02:21:20 +00:00
Automation f858027da1 Auto-publish so-wazuh image signature 2020-11-12 02:19:52 +00:00
Automation c7517b37fa Auto-publish so-steno image signature 2020-11-12 02:18:25 +00:00
Automation 2f315ba5a0 Auto-publish so-redis image signature 2020-11-12 02:17:06 +00:00
Automation ed883f173b Auto-publish so-mysql image signature 2020-11-12 02:16:12 +00:00
Automation a46ad6fe81 Auto-publish so-minio image signature 2020-11-12 02:15:06 +00:00
Automation 42fc0add5e Auto-publish so-fleet image signature 2020-11-12 02:14:08 +00:00
Automation f6c2983bd1 Auto-publish so-zeek image signature 2020-11-12 02:12:58 +00:00
Automation 0b8e19bfc8 Auto-publish so-acng image signature 2020-11-12 02:11:20 +00:00
Automation bee829697e Auto-publish so-soc image signature 2020-11-12 02:10:11 +00:00
Mike Reeves ed025851ca Change soup for new gpg verification 2020-11-11 20:13:21 -05:00
Automation 94ab77b14d Auto-publish so-nginx image signature 2020-11-12 00:57:45 +00:00
Mike Reeves b113dce140 remove size from gpg sig 2020-11-11 19:49:25 -05:00
Automation a2ef12eb6a Auto-publish so-nginx image signature 2020-11-12 00:46:11 +00:00
Automation eb0b909cd2 Auto-publish so-nginx image signature 2020-11-12 00:41:23 +00:00
Automation 7ef2056f17 Auto-publish so-steno image signature 2020-11-11 22:17:26 +00:00
Automation b12f29d48a Auto-publish so-thehive-es image signature 2020-11-11 22:16:06 +00:00
Automation 5fd1fd9b0d Auto-publish so-thehive-cortex image signature 2020-11-11 22:14:47 +00:00
Automation ad0ecff8c5 Auto-publish so-strelka-manager image signature 2020-11-11 22:13:19 +00:00
Automation 88b6ae1b2f Auto-publish so-strelka-frontend image signature 2020-11-11 22:12:32 +00:00
Automation 9772fd181c Auto-publish so-strelka-filestream image signature 2020-11-11 22:11:36 +00:00
Automation cfff8319bb Auto-publish so-strelka-backend image signature 2020-11-11 22:10:44 +00:00
Automation 0dc7c8b0e7 Auto-publish so-logstash image signature 2020-11-11 22:09:47 +00:00
Automation 3ccd8b40b2 Auto-publish so-kibana image signature 2020-11-11 22:08:21 +00:00
Automation ca94bd12cf Auto-publish so-fleet-launcher image signature 2020-11-11 22:06:47 +00:00
Automation d650e68472 Auto-publish so-filebeat image signature 2020-11-11 22:05:38 +00:00
Automation 70f9bad827 Auto-publish so-elasticsearch image signature 2020-11-11 22:04:36 +00:00
Automation c3d6e168ae Auto-publish so-elasticsearch image signature 2020-11-11 22:03:08 +00:00
Automation 5c9c1915f1 Auto-publish so-domainstats image signature 2020-11-11 22:01:41 +00:00
Automation 32912f2c87 Auto-publish so-freqserver image signature 2020-11-11 22:00:41 +00:00
Automation fb70e1e40c Auto-publish so-elastalert image signature 2020-11-11 21:59:35 +00:00
Automation 4106d88338 Auto-publish so-tcpreplay image signature 2020-11-11 21:58:50 +00:00
Automation 93f57b73e2 Auto-publish so-pcaptools image signature 2020-11-11 21:57:37 +00:00
Automation 4fa0b6be0e Auto-publish so-telegraf image signature 2020-11-11 21:56:53 +00:00
Automation 7ec2d85286 Auto-publish so-suricata image signature 2020-11-11 21:56:06 +00:00
Automation 763d5425a5 Auto-publish so-soctopus image signature 2020-11-11 21:55:11 +00:00
Automation 4be594cbb9 Auto-publish so-playbook image signature 2020-11-11 21:54:12 +00:00
Automation e6fd3160ca Auto-publish so-logstash image signature 2020-11-11 21:52:59 +00:00
Automation 07871987e4 Auto-publish so-influxdb image signature 2020-11-11 21:51:49 +00:00
Automation 3c33a38098 Auto-publish so-idstools image signature 2020-11-11 21:50:43 +00:00
Automation b24bf9b6a9 Auto-publish so-filebeat image signature 2020-11-11 21:49:41 +00:00
Automation 373d9256f2 Auto-publish so-thehive image signature 2020-11-11 21:48:26 +00:00
Automation dde7e0bd11 Auto-publish so-grafana image signature 2020-11-11 21:46:55 +00:00
Automation 017c9c9874 Auto-publish so-curator image signature 2020-11-11 21:45:36 +00:00
Automation 871f919c27 Auto-publish so-kratos image signature 2020-11-11 21:44:53 +00:00
Automation f67c26a8f2 Auto-publish so-kibana image signature 2020-11-11 21:43:58 +00:00
Automation 038e8fceb7 Auto-publish so-wazuh image signature 2020-11-11 21:42:21 +00:00
weslambert 8c6adc21a8 Merge pull request #1891 from Security-Onion-Solutions/syslog_cef
Update syslog pipeline to allow for initial CEF parsing and pipeline …
2020-11-11 16:40:55 -05:00
Automation 75b26fb2af Auto-publish so-redis image signature 2020-11-11 21:39:49 +00:00
Wes Lambert 8258b782fc Update syslog pipeline to allow for initial CEF parsing and pipeline targeting 2020-11-11 21:39:40 +00:00
Automation d73542d274 Auto-publish so-nginx image signature 2020-11-11 21:38:45 +00:00
Automation 1092aa2cb1 Auto-publish so-mysql image signature 2020-11-11 21:37:49 +00:00
Automation 8668cf9a9c Auto-publish so-minio image signature 2020-11-11 21:36:45 +00:00
Automation b9440364f7 Auto-publish so-fleet image signature 2020-11-11 21:35:44 +00:00
Automation 4f0ebfaf1f Auto-publish so-zeek image signature 2020-11-11 21:34:50 +00:00
Automation b090656269 Auto-publish so-acng image signature 2020-11-11 21:33:29 +00:00
Automation 16e0a26869 Auto-publish so-soc image signature 2020-11-11 21:30:17 +00:00
Automation bc362acf82 Auto-publish so-soc image signature 2020-11-11 21:05:43 +00:00
Jason Ertel 79cbc747ea Run leaktest on any branch 2020-11-11 15:52:48 -05:00
Mike Reeves 2269695e75 Change gpg to sig 2020-11-11 15:50:52 -05:00
Jason Ertel 710afe9355 Merge pull request #1889 from Security-Onion-Solutions/leaktest
Create leaktest.yml
2020-11-11 15:46:50 -05:00
Jason Ertel ac236a0538 Move image sigs into versioned dir 2020-11-11 15:42:25 -05:00
Jason Ertel eb7e8079ec Create leaktest.yml 2020-11-11 15:39:06 -05:00
Mike Reeves 8512042132 Change Sig Path 2020-11-11 15:37:11 -05:00
Automation a234e1c898 Auto-publish so-thehive-es image signature 2020-11-11 20:20:56 +00:00
Automation 25c91192a1 Auto-publish so-thehive-cortex image signature 2020-11-11 20:19:33 +00:00
Automation 22f19bbe9e Auto-publish so-strelka-manager image signature 2020-11-11 20:18:03 +00:00
Automation 3b31a8d8cb Auto-publish so-strelka-frontend image signature 2020-11-11 20:17:09 +00:00
Automation cd868d1edb Auto-publish so-strelka-filestream image signature 2020-11-11 20:16:30 +00:00
Automation b31ea84c00 Auto-publish so-strelka-backend image signature 2020-11-11 20:15:36 +00:00
Automation 4ed6355186 Auto-publish so-logstash image signature 2020-11-11 20:14:14 +00:00
Automation e51c2152fa Auto-publish so-kibana image signature 2020-11-11 20:12:38 +00:00
Automation 7af1b7a539 Auto-publish so-fleet-launcher image signature 2020-11-11 20:11:29 +00:00
Automation debbe965fe Auto-publish so-filebeat image signature 2020-11-11 20:10:27 +00:00
Automation 3bbaca41c9 Auto-publish so-elasticsearch image signature 2020-11-11 20:09:30 +00:00
Automation f2d25439e2 Auto-publish so-elasticsearch image signature 2020-11-11 20:08:10 +00:00
Automation 472fdd935e Auto-publish so-domainstats image signature 2020-11-11 20:06:33 +00:00
Automation 14304c0f28 Auto-publish so-freqserver image signature 2020-11-11 20:05:36 +00:00
Automation 6a60890c36 Auto-publish so-elastalert image signature 2020-11-11 20:04:37 +00:00
Automation 687120ce4a Auto-publish so-tcpreplay image signature 2020-11-11 20:03:28 +00:00
Automation 5e3f99c567 Auto-publish so-pcaptools image signature 2020-11-11 20:02:05 +00:00
Automation c2ed0a6c72 Auto-publish so-telegraf image signature 2020-11-11 20:00:55 +00:00
Automation 8ed6a3ed78 Auto-publish so-suricata image signature 2020-11-11 19:59:46 +00:00
Automation 0511c851a2 Auto-publish so-soctopus image signature 2020-11-11 19:58:35 +00:00
Automation 0c7db56053 Auto-publish so-playbook image signature 2020-11-11 19:57:18 +00:00
Automation 7fae7500e8 Auto-publish so-logstash image signature 2020-11-11 19:55:41 +00:00
Automation 25b771d36f Auto-publish so-influxdb image signature 2020-11-11 19:54:19 +00:00
Automation 6febc290a8 Auto-publish so-idstools image signature 2020-11-11 19:53:15 +00:00
Automation 9e9a023377 Auto-publish so-thehive image signature 2020-11-11 19:52:11 +00:00
Automation f069b8cced Auto-publish so-filebeat image signature 2020-11-11 19:50:50 +00:00
Automation 0d42bfb7f4 Auto-publish so-grafana image signature 2020-11-11 19:49:26 +00:00
Automation 4ccc898054 Auto-publish so-curator image signature 2020-11-11 19:48:16 +00:00
Automation 2010712929 Auto-publish so-kratos image signature 2020-11-11 19:47:11 +00:00
Automation 0ad0255e8c Auto-publish so-kibana image signature 2020-11-11 19:46:20 +00:00
Automation ca28cc7a17 Auto-publish so-wazuh image signature 2020-11-11 19:44:58 +00:00
Automation 0fce6823db Auto-publish so-steno image signature 2020-11-11 19:43:44 +00:00
Automation 0db072d9b2 Auto-publish so-redis image signature 2020-11-11 19:42:27 +00:00
Automation 0c3a7a6214 Auto-publish so-nginx image signature 2020-11-11 19:41:26 +00:00
Automation a58b487a0a Auto-publish so-mysql image signature 2020-11-11 19:40:32 +00:00
Automation 061b8d5b9b Auto-publish so-minio image signature 2020-11-11 19:39:38 +00:00
Automation ff1dab283c Auto-publish so-fleet image signature 2020-11-11 19:38:45 +00:00
Automation 319867ef10 Auto-publish so-zeek image signature 2020-11-11 19:38:01 +00:00
Automation c21131b77a Auto-publish so-acng image signature 2020-11-11 19:36:46 +00:00
Automation 638d9ddee3 Auto-publish so-soc image signature 2020-11-11 19:35:45 +00:00
Automation dded28a54a Auto-publish so-kibana image signature 2020-11-11 19:33:55 +00:00
Automation 7132011ece Auto-publish so-steno image signature 2020-11-11 19:32:05 +00:00
Mike Reeves 3a622ee71e Hash and sig update 2020-11-11 14:29:47 -05:00
Automation fdc1468a11 Auto-publish so-wazuh image signature 2020-11-11 18:54:25 +00:00
Automation 691f64f8a3 Auto-publish so-nginx image signature 2020-11-11 18:53:13 +00:00
Mike Reeves a29def504e Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into gpg 2020-11-11 13:52:31 -05:00
Mike Reeves 8160ef104d Merge pull request #1887 from Security-Onion-Solutions/scriptpids
Make sure scripts don't run if they are already running
2020-11-11 13:51:51 -05:00
Automation 52ee26c334 Auto-publish so-mysql image signature 2020-11-11 18:25:23 +00:00
Automation d2c1fed2df Auto-publish so-strelka-backend image signature 2020-11-11 18:14:28 +00:00
Automation 1521224100 Auto-publish so-strelka-filestream image signature 2020-11-11 18:12:47 +00:00
Automation 97f5f8438c Auto-publish so-thehive-es image signature 2020-11-11 18:11:17 +00:00
Mike Reeves 978ba5b3ad Update zeekloss.sh 2020-11-11 13:09:52 -05:00
Automation 80b926bc31 Auto-publish so-logstash image signature 2020-11-11 18:09:41 +00:00
Mike Reeves a4df3623be Update zeekcaptureloss.sh 2020-11-11 13:09:31 -05:00
Mike Reeves 4a80c37167 Update suriloss.sh 2020-11-11 13:09:08 -05:00
Mike Reeves 8e88c350d5 Update stenoloss.sh 2020-11-11 13:08:43 -05:00
Mike Reeves a6a9f03cb0 Update redis.sh 2020-11-11 13:08:28 -05:00
Automation 3a9c9e3d99 Auto-publish so-strelka-frontend image signature 2020-11-11 18:08:03 +00:00
Automation 307af1248c Auto-publish so-thehive-cortex image signature 2020-11-11 18:05:26 +00:00
Automation 0224adb7c8 Auto-publish so-strelka-manager image signature 2020-11-11 18:02:54 +00:00
Automation f4a804b88c Auto-publish so-fleet-launcher image signature 2020-11-11 17:58:56 +00:00
Automation ea88fa7319 Auto-publish so-soctopus image signature 2020-11-11 17:56:28 +00:00
Mike Reeves c9bfd8a253 Update oldpcap.sh 2020-11-11 12:55:28 -05:00
Mike Reeves ee0e1ce8d7 Update influxdbsize.sh 2020-11-11 12:55:08 -05:00
Mike Reeves 814aa85dba Update helixeps.sh 2020-11-11 12:54:48 -05:00
Mike Reeves c5ddddda2a Update checkfiles.sh 2020-11-11 12:54:31 -05:00
Mike Reeves c75536db6d Update so-curator-delete 2020-11-11 12:54:04 -05:00
Mike Reeves c11d8367fa Update so-curator-closed-delete-delete 2020-11-11 12:53:36 -05:00
Mike Reeves 8320421d42 Update so-curator-closed-delete 2020-11-11 12:53:05 -05:00
Automation 33bf799b47 Auto-publish so-freqserver image signature 2020-11-11 17:52:55 +00:00
Mike Reeves 047ab95e68 Update so-curator-close 2020-11-11 12:52:38 -05:00
Mike Reeves 2eb3378b62 Update so-curator-closed-delete 2020-11-11 12:50:59 -05:00
Automation a354a6279b Auto-publish so-idstools image signature 2020-11-11 17:49:25 +00:00
Mike Reeves 578250a994 Update so-curator-delete 2020-11-11 12:48:55 -05:00
Mike Reeves e68f90c3b5 Update so-curator-closed-delete-delete 2020-11-11 12:48:28 -05:00
Automation 5a9211693c Auto-publish so-kratos image signature 2020-11-11 17:48:03 +00:00
Automation 1e2df983af Auto-publish so-redis image signature 2020-11-11 17:46:57 +00:00
Mike Reeves d85c99abf3 Update so-curator-close 2020-11-11 12:46:44 -05:00
Mike Reeves c0897c7e5a Update so-curator-close 2020-11-11 12:46:19 -05:00
Automation b4989c6c0e Auto-publish so-minio image signature 2020-11-11 17:43:17 +00:00
Automation 7a79ef6ddb Auto-publish so-zeek image signature 2020-11-11 17:41:08 +00:00
Automation 8aa3a508fa Auto-publish so-acng image signature 2020-11-11 17:39:18 +00:00
Automation b320a1d63e Auto-publish so-fleet image signature 2020-11-11 17:12:03 +00:00
Automation 2a119d7824 Auto-publish so-soc image signature 2020-11-11 17:08:52 +00:00
Mike Reeves 73c17b77ae Update zeekcaptureloss.sh 2020-11-11 11:43:48 -05:00
Mike Reeves edb0d71e87 Update zeekloss.sh 2020-11-11 11:43:28 -05:00
Mike Reeves 6ff1922788 Update zeekcaptureloss.sh 2020-11-11 11:42:58 -05:00
Josh Patterson 758bee3a20 Merge pull request #1886 from Security-Onion-Solutions/issue/1681
Issue/1681
2020-11-11 11:40:08 -05:00
m0duspwnens 529da993aa Merge remote-tracking branch 'remotes/origin/dev' into issue/1681 2020-11-11 11:39:08 -05:00
m0duspwnens 5a95159ec3 just use so-status.conf for containers to fix salt warning https://github.com/Security-Onion-Solutions/securityonion/issues/1681 2020-11-11 11:38:48 -05:00
Automation fc9c31706d Auto-publish so-acng image signature 2020-11-11 16:31:42 +00:00
Mike Reeves 9548b3df54 Update stenoloss.sh 2020-11-11 11:23:20 -05:00
Mike Reeves d3f65ac1a8 Update redis.sh 2020-11-11 11:22:52 -05:00
Mike Reeves cb46c13054 Update oldpcap.sh 2020-11-11 11:22:28 -05:00
Mike Reeves a4d3e109e6 Update influxdbsize.sh 2020-11-11 11:17:18 -05:00
Mike Reeves 711f5ab38f Update helixeps.sh 2020-11-11 11:16:47 -05:00
Mike Reeves ea1227de9d Update checkfiles.sh 2020-11-11 11:16:15 -05:00
Mike Reeves f9b52677d7 Update suriloss.sh 2020-11-11 11:15:45 -05:00
weslambert 533a65205f Merge pull request #1885 from Security-Onion-Solutions/fix/syslog_application
Add check for field
2020-11-11 10:33:24 -05:00
weslambert ea1f53b40c Add check for field 2020-11-11 10:29:58 -05:00
Josh Patterson 0f4f029e92 Merge pull request #1883 from Security-Onion-Solutions/issue/1857
add top change for fleet getting mysql state back
2020-11-11 09:18:06 -05:00
m0duspwnens da9a915421 add top change for fleet getting mysql state back was reverted in https://github.com/Security-Onion-Solutions/securityonion/pull/1880/files 2020-11-11 09:15:50 -05:00
weslambert 280fc501f9 Merge pull request #1882 from Security-Onion-Solutions/fix/extra_top_var
Fix duplicate vars
2020-11-11 08:53:43 -05:00
weslambert 625307ac5f Fix duplicate vars 2020-11-11 08:52:39 -05:00
weslambert 44677ad521 Merge pull request #1880 from Security-Onion-Solutions/disable_elastic
Allow for disabling Elastic stack via pillar
2020-11-11 08:29:23 -05:00
Wes Lambert 1c326f561b Allow for disabling Elastic stack via pillar 2020-11-11 13:26:59 +00:00
Josh Patterson 7b64f93bce Merge pull request #1874 from Security-Onion-Solutions/issue/1681
Issue/1681
2020-11-10 17:57:48 -05:00
m0duspwnens 15f243f0ce change names of acng and docker registry containers https://github.com/Security-Onion-Solutions/securityonion/issues/1681 2020-11-10 17:51:00 -05:00
m0duspwnens edb00c2058 remove redundant common from top, create so-status conf files on manager before registry state https://github.com/Security-Onion-Solutions/securityonion/issues/1681 2020-11-10 17:09:38 -05:00
m0duspwnens 9e612e98ed merge with dev 2020-11-10 15:43:40 -05:00
m0duspwnens 1fc94a8f59 change to so-acng for so-status https://github.com/Security-Onion-Solutions/securityonion/issues/1681 2020-11-10 15:37:03 -05:00
m0duspwnens c58039ab47 rename state https://github.com/Security-Onion-Solutions/securityonion/issues/1681 2020-11-10 15:34:10 -05:00
m0duspwnens 1fca5e65df redo how containers get added to so-status https://github.com/Security-Onion-Solutions/securityonion/issues/1681 2020-11-10 15:31:47 -05:00
Mike Reeves 9a59ceee4e move to so-image-common 2020-11-10 12:16:54 -05:00
Mike Reeves c5bf9bf90d rework soup and docker refresh 2020-11-10 12:05:08 -05:00
William Wernert 676b4f0777 [fix] Close connection in mysql_conn module 2020-11-10 11:42:40 -05:00
William Wernert 6557155a8a Merge pull request #1868 from Security-Onion-Solutions/feature/improve-mysql-dep
Feature/improve mysql dep
2020-11-10 11:04:23 -05:00
William Wernert d3227bbcb1 [refactor] Code cleanup pt. 3 2020-11-10 11:03:43 -05:00
William Wernert 7f218e5297 [feat] Also run query against mysql to ensure queries can complete 2020-11-10 11:02:34 -05:00
William Wernert b3c527e7a9 [refactor] Code cleanup pt. 2 2020-11-10 10:05:06 -05:00
William Wernert 54d732a060 [refactor] Code cleanup 2020-11-10 10:01:10 -05:00
William Wernert 22b7de819c [fix] Put mysql import in try,catch in case it hasn't been installed 2020-11-10 10:00:21 -05:00
William Wernert dba30fb0ed [refactor] Split 15 min mysql startup between two wait states 2020-11-10 09:48:20 -05:00
Mike Reeves 7ca8fefded gpg sign images 2020-11-10 09:45:06 -05:00
Josh Patterson 95b24b1684 Merge pull request #1865 from Security-Onion-Solutions/issue/1864
make so-status line color same as service state
2020-11-09 18:17:05 -05:00
m0duspwnens 66cd91c0a7 make so-status line color same as service state https://github.com/Security-Onion-Solutions/securityonion/issues/1864 2020-11-09 18:16:02 -05:00
Josh Patterson 64199c81e1 Merge pull request #1863 from Security-Onion-Solutions/issue/1857
Issue/1857
2020-11-09 17:54:25 -05:00
m0duspwnens ae5bc297dd remove extra squigly https://github.com/Security-Onion-Solutions/securityonion/issues/1857 2020-11-09 17:06:32 -05:00
m0duspwnens f5a1bd4074 only try to get enrollsecret if fleet is already enabled https://github.com/Security-Onion-Solutions/securityonion/issues/1857 2020-11-09 16:25:28 -05:00
m0duspwnens 407a655717 merge with dev 2020-11-09 15:29:19 -05:00
m0duspwnens 0e19594c97 enable fleet in global pillars before running fleet state during setup https://github.com/Security-Onion-Solutions/securityonion/issues/1857 2020-11-09 15:25:11 -05:00
William Wernert ff4d7a6cb6 [fix] Sync modules so states can use our modules during setup 2020-11-09 14:01:19 -05:00
William Wernert f647a06239 [fix] Correct percentage steps 2020-11-09 13:37:42 -05:00
Josh Patterson d122ca1ba3 Merge pull request #1861 from Security-Onion-Solutions/issue/1857
fix top logic for mysql for fleet/playbook
2020-11-09 13:16:28 -05:00
m0duspwnens 5616aa6beb fix top logic for mysql - https://github.com/Security-Onion-Solutions/securityonion/issues/1857 2020-11-09 13:12:45 -05:00
William Wernert 394fa727cb [fix] Don't overwrite mysql module 2020-11-09 13:05:29 -05:00
William Wernert 9960cf0592 [feat] Add salt module to check if mysql is accepting db connections 2020-11-09 12:05:37 -05:00
weslambert 059c4e03e1 Merge pull request #1860 from Security-Onion-Solutions/strelka-parsing
Pull out additional fields from Exif info
2020-11-09 11:54:55 -05:00
Wes Lambert 7e578d2ce0 Pull out additional fields from Exif info 2020-11-09 16:53:53 +00:00
William Wernert 12125deecb [feat] Show link state in whiptail menus 2020-11-09 11:06:08 -05:00
William Wernert 51256983da [fix] Make sure pip is installed on Ubuntu 2020-11-06 08:53:30 -05:00
William Wernert 0718dbbd4d Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion into dev 2020-11-06 08:52:42 -05:00
William Wernert 6b2ab67c58 [fix] Bump version of navigator json to 3.0 + fix booleans 2020-11-06 08:52:36 -05:00
Josh Patterson 64fd27fd78 Merge pull request #1843 from Security-Onion-Solutions/issue/1536
increase so-status padding by 1
2020-11-05 19:10:06 -05:00
m0duspwnens 7eb0dab6c7 increase padding by 1 - https://github.com/Security-Onion-Solutions/securityonion/issues/1536 2020-11-05 19:08:19 -05:00
Josh Patterson 0caf054da0 Merge pull request #1842 from Security-Onion-Solutions/issue/1764
show if disabled regardless of highstate status
2020-11-05 18:50:09 -05:00
m0duspwnens 21b284fb10 show if disabled regardless of highstate status - https://github.com/Security-Onion-Solutions/securityonion/issues/1764 2020-11-05 18:46:11 -05:00
Josh Patterson 3d1412a138 Merge pull request #1841 from Security-Onion-Solutions/issue/1764
Issue/1764
2020-11-05 18:24:51 -05:00
m0duspwnens c7b4a5351c fix logic - https://github.com/Security-Onion-Solutions/securityonion/issues/1764 2020-11-05 18:17:11 -05:00
m0duspwnens a95129b8c2 add color - https://github.com/Security-Onion-Solutions/securityonion/issues/1764 2020-11-05 18:03:42 -05:00
m0duspwnens 695bace3e8 https://github.com/Security-Onion-Solutions/securityonion/issues/1764 2020-11-05 17:54:10 -05:00
m0duspwnens 47cac59adb https://github.com/Security-Onion-Solutions/securityonion/issues/1764 2020-11-05 17:52:28 -05:00
m0duspwnens 1a75ebdca3 https://github.com/Security-Onion-Solutions/securityonion/issues/1764 2020-11-05 17:51:51 -05:00
m0duspwnens 8da070d511 https://github.com/Security-Onion-Solutions/securityonion/issues/1764 2020-11-05 17:46:23 -05:00
William Wernert d2ea197ce0 [fix] Remove old entry for manager from known_hosts
Resolves #1839
2020-11-05 14:40:00 -05:00
William Wernert b528fe1a03 [fix] Only show analyst on network installs
Closes #1682
2020-11-05 14:39:04 -05:00
weslambert 3abe8cb397 Merge pull request #1836 from Security-Onion-Solutions/fix/wazuh_agent_register
Don't sleep if not registering agent
2020-11-05 14:03:32 -05:00
weslambert 2911e37b70 Don't sleep if not registering agent 2020-11-05 14:03:08 -05:00
William Wernert 4fed5c2518 Merge pull request #1822 from Security-Onion-Solutions/feature/setup-idempotency
Feature/setup idempotency
2020-11-05 13:48:18 -05:00
William Wernert a5833f1f77 Merge branch 'dev' into feature/setup-idempotency
# Conflicts:
#	setup/so-functions
2020-11-05 13:48:05 -05:00
William Wernert b27b2e358b [fix] Set MSRVIP variable before hosts file is overwritten 2020-11-05 13:38:08 -05:00
William Wernert 915aaf58f2 [fix] Always set MSRVIP because /etc/hosts is wiped 2020-11-05 13:28:21 -05:00
William Wernert f058fb460d [fix] Don't modify hosts file during whiptail menus 2020-11-05 13:25:02 -05:00
William Wernert f7394559d4 [fix] Only add entry to /etc/hosts if unable to resolve hostname 2020-11-05 13:16:52 -05:00
Josh Patterson ec3f35c360 Merge pull request #1832 from Security-Onion-Solutions/patch_2.3.3
Patch 2.3.3
2020-11-05 10:00:43 -05:00
Josh Patterson fea6e6f4f9 Merge branch 'dev' into patch_2.3.3 2020-11-05 09:58:43 -05:00
William Wernert cb75b2df65 [revert] Remove wazuh-agent package as well 2020-11-04 16:23:51 -05:00
William Wernert 4369b8d0f6 [fix] Remove wazuh-agent package as well 2020-11-04 16:14:58 -05:00
William Wernert 5cb8d0beda [fix] Add -q flag to grep 2020-11-04 14:23:24 -05:00
William Wernert b4446cba9a [refactor][wip] Also backup directories in /nsm 2020-11-04 14:20:51 -05:00
William Wernert 1e41b9ba31 [fix] Add conditions for commands so they're less likely to fail 2020-11-04 14:20:26 -05:00
William Wernert b2759c4c7c [fix] Uninstall launcher if installed 2020-11-04 14:19:25 -05:00
Mike Reeves 6b144903fc Update VERIFY_ISO.md 2020-11-04 13:47:37 -05:00
Mike Reeves 3825becd1b Update changes.json 2020-11-04 13:44:52 -05:00
Mike Reeves 2aa21512e5 Update soup 2020-11-04 13:40:45 -05:00
William Wernert 3150367b1d [fix] Add epoch string to /opt/so folder name 2020-11-04 12:52:37 -05:00
William Wernert 3ac9c43b7b Merge branch 'dev' into feature/setup-idempotency 2020-11-04 12:44:14 -05:00
William Wernert b643363e82 [fix] Directories need -r flag 2020-11-04 12:07:34 -05:00
Jason Ertel 8d5c29340e Add screenshots to readme 2020-11-04 12:03:57 -05:00
Jason Ertel 1e9e156a87 Improve issue template directions 2020-11-04 11:49:22 -05:00
Jason Ertel a364f13d24 Add issue template 2020-11-04 11:42:39 -05:00
William Wernert 3d70698647 [fix] Remove old mysql db directory 2020-11-04 11:26:56 -05:00
Mike Reeves e989fc7041 Update map.jinja 2020-11-04 10:58:52 -05:00
William Wernert 49af35b440 [fix][wip] Add reinstall_init function (part 3)
Create a function that, if the setup log exists, puts the system into a state where
the installer can run again without issue.

This is WIP, there are most likely still issues.
2020-11-04 10:38:48 -05:00
Mike Reeves 4592e2d4d7 add airgap option to upgradecommand 2020-11-04 10:08:01 -05:00
Mike Reeves ec64314b70 Fix soup to clear yum cache for airgap 2020-11-04 10:00:44 -05:00
Mike Reeves cf001875c2 Update soup 2020-11-03 20:14:15 -05:00
Mike Reeves c7367eea38 Fix AGREPO Variable 2020-11-03 19:08:58 -05:00
William Wernert db31cf3083 [refactor][fix] Remove old so-* containers, make fs changes after whiptail menus 2020-11-03 18:10:16 -05:00
Mike Reeves 8edb1529a9 Update soup 2020-11-03 17:36:53 -05:00
Mike Reeves e8616e4d46 Update soup 2020-11-03 17:19:55 -05:00
William Wernert 3bf57382ce [fix] Change when /opt/so is removed 2020-11-03 17:05:34 -05:00
Jason Ertel def993f4ed Improve salt version update comment 2020-11-03 16:50:22 -05:00
William Wernert 96ec483ae4 [fix][wip] Remove /opt/so directory during reinstall 2020-11-03 16:49:00 -05:00
William Wernert 6169758f4e [fix] 0 -> root so file owner is set correctly 2020-11-03 16:47:59 -05:00
William Wernert 1c91e2d50b [fix] Add minion_config variable so sed works 2020-11-03 15:48:08 -05:00
William Wernert 57e7e61f21 [fix] Don't add proxy to yum.conf on manager nodes 2020-11-03 15:45:19 -05:00
William Wernert 93ab4b5d4f [fix][wip] Add reinstall_init function (part 2)
Create a function that, if the setup log exists, puts the system into a state where
the installer can run again without issue.

This is WIP, there are most likely still issues.
2020-11-03 15:44:37 -05:00
William Wernert 00fc256c37 [fix][wip] Add reinstall_init function
Create a function that, if the setup log exists, puts the system into a state where
the installer can run again without issue.

This is WIP, there are most likely still issues.
2020-11-03 14:51:35 -05:00
Mike Reeves 887f412e48 Remove docker_clean from docker_update function 2020-11-03 13:54:00 -05:00
Jason Ertel aa9aa59213 Correct cheatsheetUrl for airgap installs 2020-11-03 12:27:55 -05:00
m0duspwnens a859aa4f48 upgrade from salt 3001.1 to salt 3002.1 - https://github.com/Security-Onion-Solutions/securityonion/issues/1807 2020-11-03 11:54:28 -05:00
Jason Ertel 82a7b7e02d Upgrade to Kratos 0.5.3-alpha1 2020-11-03 11:50:25 -05:00
Mike Reeves 85ea61bf98 Update VERSION 2020-11-03 11:40:03 -05:00
Mike Reeves 7f4b8e8183 Update README.md 2020-11-03 11:39:42 -05:00
Josh Patterson 1f8b139462 Merge pull request #1806 from Security-Onion-Solutions/issue/1782
Issue/1782
2020-11-03 11:23:22 -05:00
m0duspwnens 562a016579 remove more from sosetup.log 2020-11-03 10:23:56 -05:00
weslambert e040009d0b Merge pull request #1804 from Security-Onion-Solutions/fix/wazuh_api_creds_remove
Remove Wazuh API creds after registering initial agent
2020-11-03 09:57:58 -05:00
Wes Lambert 7dca988c11 Remove Wazuh API creds after registering intial agent 2020-11-03 14:53:50 +00:00
Mike Reeves f007ef0ef5 Update so-functions 2020-11-02 17:00:02 -05:00
weslambert bfe98433f6 Merge pull request #1789 from Security-Onion-Solutions/fix/zeek_intel
Add Zeek intel.dat
2020-11-02 16:38:16 -05:00
Wes Lambert 05549a2362 Add Zeek intel.dat 2020-11-02 21:36:44 +00:00
m0duspwnens 7e090b0894 dont echo salt minion config file to prevent mysql.pass from showing in sosetup.log 2020-11-02 16:23:34 -05:00
weslambert 8a645edb34 Merge pull request #1788 from Security-Onion-Solutions/feature/nids_rules
Allow for muliple files for rules
2020-11-02 16:05:53 -05:00
Wes Lambert 24a54a326c Allow for muliple files for rules 2020-11-02 21:03:45 +00:00
Jason Ertel 184d163d65 Do not persist the Cortex PID file; This allows Cortex to recover from non-graceful container shutdowns, such as a power loss event on the host machine 2020-11-02 15:04:13 -05:00
weslambert bb0cf9b8c7 Merge pull request #1784 from Security-Onion-Solutions/fix/strelka_exif_parsing
Fix/strelka exif parsing
2020-11-02 14:32:45 -05:00
Wes Lambert 3113d5fbdb Format scan.exiftool as text 2020-11-02 19:31:14 +00:00
Wes Lambert 6420ee0310 Update parsing for scan.exiftool 2020-11-02 19:28:12 +00:00
William Wernert 033f5dbb9c [fix] Use (mostly) absolute path when adding to PATH 2020-11-02 14:25:46 -05:00
William Wernert 1c4abcef15 [fix] Kill all jobs before checking if we can reach the salt master 2020-11-02 14:25:02 -05:00
Jason Ertel 2acb930a2e fix: Remove crontab for automation installs 2020-11-02 11:08:45 -05:00
weslambert 37c630d6ab Merge pull request #1776 from Security-Onion-Solutions/bugfix/af-packet-ring-size
Match max-pending-packets size
2020-11-02 08:39:21 -05:00
weslambert 71a260a000 Match max-pending-packets size 2020-11-02 08:38:45 -05:00
jtgreen-cse 6359e03ba6 fix for Windows events via osquery
This change was required to properly let Windows events flow through their specific pipelines. Otherwise, the `temp` field stays around and gets ingested in ES.
2020-10-29 15:03:13 -04:00
William Wernert b489fee8b5 Merge pull request #1738 from Security-Onion-Solutions/bugfix/nginx-redirect
Bugfix/nginx redirect
2020-10-29 14:33:38 -04:00
William Wernert 91221c4332 [revert] Move proxy_pass back to ip 2020-10-29 10:23:12 -04:00
Mike Reeves 57d8f25422 Create master node role in ES 2020-10-28 16:44:14 -04:00
William Wernert 3abd1c9f16 [fix] Configure soctopus to use url_base 2020-10-28 16:08:19 -04:00
Mike Reeves b14c1d0999 Merge pull request #1713 from Security-Onion-Solutions/logstashbind
Add a place where custom logstash certs can go
2020-10-28 15:27:26 -04:00
Mike Reeves 13be0da484 Add a place where custom logstash certs can go 2020-10-28 15:26:41 -04:00
Mike Reeves 3385d98a2a Merge pull request #1712 from Security-Onion-Solutions/logstashbind
Add a place where custom logstash certs can go
2020-10-28 15:26:08 -04:00
Mike Reeves 361b13dc88 Add a place where custom logstash certs can go 2020-10-28 15:25:00 -04:00
Jason Ertel 98c669e80b Disable nginx server version and TLSv1.0/TLSv1.1 2020-10-28 14:29:29 -04:00
William Wernert b02d434a0e [fix] Change any scripts using auth headers to url_base 2020-10-28 12:29:09 -04:00
William Wernert 3ee9f23d26 [fix] Use url_base in sensoroni.json instead of manager hostname 2020-10-28 12:28:34 -04:00
Jason Ertel 348c2feee2 Prevent usage of dollar signs in admin passwords during setup 2020-10-28 11:07:05 -04:00
Mike Reeves b238c492e4 Update so-functions 2020-10-28 10:50:10 -04:00
Mike Reeves 97207bd006 Merge pull request #1702 from Security-Onion-Solutions/dockernet
Custom Docker IP Range
2020-10-28 10:48:56 -04:00
Mike Reeves bed70ab6bf Update whiptail menu for docker question 2020-10-28 10:19:15 -04:00
Mike Reeves 8173cb589b Update whiptail menu for docker question 2020-10-28 10:17:53 -04:00
Mike Reeves 563a606e0e Upodate dockernet menu 2020-10-28 10:14:14 -04:00
Mike Reeves 8d952eca7e Upodate dockernet menu 2020-10-28 10:12:07 -04:00
Mike Reeves 8f7dffea4b Upodate dockernet menu 2020-10-28 10:10:43 -04:00
weslambert 7ea8dc84b6 Merge pull request #1696 from Security-Onion-Solutions/feature/wazuh-user-mods
Add Wazuh user management scripts
2020-10-28 08:24:15 -04:00
Wes Lambert 453247971e Add Wazuh user management scripts 2020-10-28 12:22:50 +00:00
Mike Reeves 741e17a637 add bip for docker 2020-10-27 18:21:53 -04:00
Mike Reeves fedf334ee9 add bip for docker 2020-10-27 18:21:09 -04:00
Mike Reeves 8fee19ee1b add bip for docker 2020-10-27 18:01:48 -04:00
Mike Reeves 697bc53aec Dockernet Modifications 2020-10-27 15:08:34 -04:00
Jason Ertel 5a705fc0f2 Add Hunt quick action for hunted events, grouping by dataset and module 2020-10-27 12:30:33 -04:00
William Wernert 7b17b4abc7 Merge pull request #1680 from Security-Onion-Solutions/feature/setup-fixes
Feature/setup fixes
2020-10-27 12:17:21 -04:00
William Wernert a043bc7cc4 [fix] Second if to elif 2020-10-27 12:16:19 -04:00
William Wernert 72dc267ab5 [fix] Menu sizing fixes 2020-10-27 12:14:44 -04:00
William Wernert 970be4d530 [fix] Change cd to relative
Since the script already changes to the correct dir, we can work from relative directories now.
2020-10-27 12:13:07 -04:00
Jason Ertel 474c4e54b4 Ensure labels and icons are associated with all quick actions 2020-10-27 12:04:57 -04:00
Mike Reeves d4dd4aa416 Add missing comma in daemon.json 2020-10-27 11:25:45 -04:00
William Wernert 5054138be9 [feat] Add analyst option + add back helix option 2020-10-27 11:21:03 -04:00
William Wernert 83c23dd5de [fix] Remove old got_root call 2020-10-27 11:20:39 -04:00
Mike Reeves 42e00514f5 Adding docker net setting 2020-10-27 11:09:14 -04:00
William Wernert e75f8ba257 [fix] Move root check to top of so-setup 2020-10-27 09:39:29 -04:00
William Wernert 564ac3a4ff Merge pull request #980 from Security-Onion-Solutions/feature/nginx-update
Feature/nginx update
2020-10-27 09:29:43 -04:00
William Wernert c58deef2e0 Merge branch 'dev' into feature/nginx-update 2020-10-27 09:29:06 -04:00
Mike Reeves 0ad65c8cd4 Merge pull request #1568 from jtgreen-cse/patch-1
fix for rendering error >1 search node
2020-10-26 16:57:17 -04:00
William Wernert 0aaf8d6d9a [fix] Change 301 to 307 so curl requests work as intended 2020-10-26 16:37:16 -04:00
William Wernert 37ede9b993 [wip] Redirect so-user-add to separate log so ERROR isn't in main log 2020-10-26 15:03:27 -04:00
Mike Reeves 5395983fc7 Merge pull request #1580 from Security-Onion-Solutions/feature/thehive-casetemplates
Add case_template field to Playbook alerts
2020-10-26 14:13:54 -04:00
William Wernert 3648e293a1 [fix] Add -L option to curl to respect redirects 2020-10-26 14:08:52 -04:00
Mike Reeves ecfd1bbe4d Merge remote-tracking branch 'remotes/origin/dev' into escluster 2020-10-26 13:33:05 -04:00
Mike Reeves 12acc2e123 Merge pull request #1663 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update VERIFY_ISO.md
2020-10-26 13:10:18 -04:00
Mike Reeves 8d84718c91 Update VERIFY_ISO.md 2020-10-26 13:08:30 -04:00
Jason Ertel 3809573963 Correct cheatsheet URL for airgap installs 2020-10-26 12:16:55 -04:00
Jason Ertel 571550c019 Merge master into dev 2020-10-26 10:30:26 -04:00
William Wernert e613bb3740 Merge branch 'dev' into feature/nginx-update 2020-10-26 10:28:14 -04:00
William Wernert 4662837075 [fix] Revert changes from merging dev 2020-10-26 10:25:16 -04:00
Mike Reeves 892ca294dc Merge pull request #1655 from Security-Onion-Solutions/patch_2.3.2
2.3.2
2020-10-26 10:17:23 -04:00
Mike Reeves 45fd325307 Update VERIFY_ISO.md 2020-10-26 10:11:58 -04:00
Mike Reeves 653561ad95 Update VERIFY_ISO.md 2020-10-26 10:09:25 -04:00
Mike Reeves f75badf43a 2.3.2 ISO info 2020-10-26 09:53:26 -04:00
Doug Burks c61199618a Update so-curator-closed-delete-delete 2020-10-24 07:15:43 -04:00
Mike Reeves d9c021e86a Update so-curator-closed-delete-delete 2020-10-23 17:07:16 -04:00
Mike Reeves 951f6ab3e2 Update VERIFY_ISO.md 2020-10-23 16:48:05 -04:00
Mike Reeves da488945e0 Update VERIFY_ISO.md 2020-10-23 16:47:43 -04:00
Mike Reeves b6f1cfada6 Update changes.json 2020-10-23 16:44:02 -04:00
Jason Ertel 85e0b2cab3 Add cheatsheet URL to soc.json 2020-10-23 16:35:35 -04:00
Mike Reeves c8a6b232d5 Fix which field we return for Elastic index 2020-10-23 15:58:35 -04:00
William Wernert fdb7cb90e3 [wip] Test alt variable usage 2020-10-23 15:36:01 -04:00
William Wernert 73b83584e6 [fix] Remove bad '_' character 2020-10-23 14:32:43 -04:00
Mike Reeves 801f4aae8e Update README.md 2020-10-23 10:09:07 -04:00
Mike Reeves c066cc67dc Update VERSION 2020-10-23 10:08:45 -04:00
Josh Patterson 1185e43064 Merge pull request #1614 from Security-Onion-Solutions/issue/1573
Issue/1573 and Issue/1601
2020-10-22 15:57:40 -04:00
Mike Reeves 51ca661219 update wording for USB device vs CDROM 2020-10-22 14:54:34 -04:00
m0duspwnens 50a767ca6c dont list aptcacherng in so-status if user chose open updates during setup - https://github.com/Security-Onion-Solutions/securityonion/issues/1573 2020-10-22 14:52:07 -04:00
Mike Reeves 174bbc6cd9 Update VERSION 2020-10-22 14:14:57 -04:00
William Wernert 6a08086dfa [refactor] Make variable names consistent 2020-10-22 14:10:06 -04:00
Mike Reeves a3579b88ae Merge pull request #1604 from Security-Onion-Solutions/dev
2.3.1
2020-10-22 14:08:41 -04:00
William Wernert 6a3e921924 [fix] Fixes for fleet install 2020-10-22 13:09:26 -04:00
Mike Reeves 4a0796359b Update README.md 2020-10-22 12:54:05 -04:00
m0duspwnens 0bfdef274b update so-status to work with disabled containers - https://github.com/Security-Onion-Solutions/securityonion/issues/1601 2020-10-22 12:09:19 -04:00
Mike Reeves 92d397d573 Update ISO instructions 2020-10-22 11:59:39 -04:00
m0duspwnens 0b6b6e38fc fix map for steno 2020-10-22 11:24:18 -04:00
m0duspwnens aa59eff1ac fix if statement 2020-10-22 10:59:03 -04:00
m0duspwnens 172ca9aa8d add option to enable or disable to steno docker container - https://github.com/Security-Onion-Solutions/securityonion/issues/1601 2020-10-22 10:52:34 -04:00
William Wernert 79c4f07ff7 [fix] Don't listen on port 80 on all installs 2020-10-22 10:43:24 -04:00
Mike Reeves 460a391460 Update changes.json 2020-10-22 10:00:20 -04:00
Mike Reeves 905fcd06a6 Remove old 2.3.0 dockers 2020-10-22 08:51:40 -04:00
Josh Patterson 0b7f1fb189 Merge pull request #1594 from Security-Onion-Solutions/issue/1593
fix grabbing soversion in so-features-enable
2020-10-21 16:51:06 -04:00
m0duspwnens 712dc6b277 fix grabbing soversion in so-features-enable 2020-10-21 16:47:48 -04:00
Josh Patterson b93709e05f Merge pull request #1591 from Security-Onion-Solutions/issue/1590
fix arg for so-firewall addhostgroup
2020-10-21 15:48:02 -04:00
m0duspwnens 32294eb2ed fix arg for so-firewall addhostgroup 2020-10-21 15:34:35 -04:00
Josh Patterson 2da656ff95 Merge pull request #1589 from Security-Onion-Solutions/issue/1551
only allow hosts in syslog host group to connect to manager type nodes
2020-10-21 14:41:50 -04:00
m0duspwnens ef1e05db3e only allow hosts in syslog host group to connect to manager type nodes 2020-10-21 14:41:03 -04:00
Josh Patterson 798abdbcde Merge pull request #1584 from Security-Onion-Solutions/issue/1551
firewall to allow search nodes to connect to beats on manager
2020-10-21 12:50:49 -04:00
m0duspwnens 8805fef187 firewall to allow search nodes to connect to beats on manager 2020-10-21 12:43:28 -04:00
Josh Patterson aafd365f2b Merge pull request #1583 from Security-Onion-Solutions/issue/1551
add firewall rules for syslog
2020-10-21 11:21:18 -04:00
m0duspwnens 5f43380aa0 add firewall rules for syslog 2020-10-21 11:20:34 -04:00
Josh Brower 844ffe8fdf nest case_template 2020-10-21 09:58:31 -04:00
Josh Brower 1e14d66f54 Add case_template field to Playbook alerts 2020-10-21 08:59:26 -04:00
weslambert e2d95e0deb Merge pull request #1576 from Security-Onion-Solutions/fix/comon_nids_rule_ruleset
Change rule_ruleset to rule.ruleset
2020-10-20 22:15:00 -04:00
weslambert 4765ef5f5c Change rule_ruleset to rule.ruleset 2020-10-20 22:14:23 -04:00
William Wernert d63358c8f0 [fix] Correct pillar reference + nginx errors 2020-10-20 14:30:06 -04:00
Jason Ertel d37ddf584a Correct quick action defaults 2020-10-20 14:12:23 -04:00
jtgreen-cse eaa41266a2 fix for rendering error >1 search node
Fails rendering if you have more than one search node.
2020-10-20 13:24:53 -04:00
Mike Reeves 4a9fcfb8cf Fix missing quote 2020-10-20 13:17:40 -04:00
Mike Reeves a119d8f27d Fix config for airgap installs 2020-10-20 11:28:49 -04:00
Mike Reeves 87adbb5f81 printf issues 2020-10-19 17:20:33 -04:00
Mike Reeves 722f2b3913 Fix pillar syntax 2020-10-19 17:08:06 -04:00
Mike Reeves 3cb419174a Fix pillar syntax 2020-10-19 17:04:06 -04:00
Mike Reeves 55b6f5ce99 Fix pillar syntax 2020-10-19 17:02:26 -04:00
Mike Reeves 4e1bff2231 Fix pillar syntax 2020-10-19 16:56:13 -04:00
Mike Reeves 7e0063d474 Fix pillar syntax 2020-10-19 16:55:11 -04:00
Mike Reeves 23bc5e303e Add clustering to ES function 2020-10-19 16:52:43 -04:00
Mike Reeves 6f703fad25 Change whiptail logic 2020-10-19 16:44:43 -04:00
Mike Reeves c538e5f85b Change whiptail logic 2020-10-19 16:40:56 -04:00
Mike Reeves c22e8c08a6 Change whiptail logic 2020-10-19 16:40:22 -04:00
Mike Reeves f893cf203f Change whiptail logic 2020-10-19 16:38:17 -04:00
Mike Reeves bbb825a207 Add cluster whiptail questions 2020-10-19 16:33:40 -04:00
Josh Patterson ba1dfcd774 Merge pull request #1554 from Security-Onion-Solutions/issue/1551
Issue/1551
2020-10-19 16:10:50 -04:00
m0duspwnens 10e4248cfc and node that gets filebeat state now can listen for syslog - https://github.com/Security-Onion-Solutions/securityonion/issues/1551 2020-10-19 16:10:20 -04:00
Mike Reeves bab6b151ff Add cluster whiptail questions 2020-10-19 16:07:22 -04:00
William Wernert 42e285cfbe Merge branch 'dev' into feature/nginx-update
# Conflicts:
#	salt/nginx/etc/nginx.conf
#	salt/nginx/etc/nginx.conf.so-eval
#	salt/nginx/etc/nginx.conf.so-manager
#	salt/nginx/etc/nginx.conf.so-standalone
2020-10-19 13:25:46 -04:00
Mike Reeves 97a2d91d15 Re-arrange whiptail screens 2020-10-19 12:14:30 -04:00
m0duspwnens 79854f111e add 514 tcp listener to filebeat docker and add syslog listener to fb config for manager and manager search - https://github.com/Security-Onion-Solutions/securityonion/issues/1551 2020-10-19 10:27:40 -04:00
Josh Patterson a05329e7d8 Merge pull request #1532 from Masaya-A/patch-1
Grafana /nsm fix for eval/standalone
2020-10-16 16:48:12 -04:00
Masaya-A 47652ac080 Update eval.json 2020-10-17 04:45:12 +09:00
Masaya-A 964919109d Update standalone.json 2020-10-17 04:35:39 +09:00
Jason Ertel a968e5c23f Increment version to 2.3.1 2020-10-16 10:57:31 -04:00
Mike Reeves ba7b34a8ce Merge pull request #1529 from Security-Onion-Solutions/dev
2.3.0 GA!
2020-10-16 10:53:53 -04:00
Mike Reeves e2f16d51a6 Update VERIFY_ISO.md 2020-10-15 20:54:11 -04:00
Mike Reeves 42a6693101 Sig File for ISO 2020-10-15 20:36:08 -04:00
Jason Ertel 2326701cc0 Moved known issues underneath new changes 2020-10-15 19:29:33 -04:00
Jason Ertel 6ee37977c3 Fixed quotes and href targets 2020-10-15 19:25:26 -04:00
Mike Reeves 1ae35a39c3 Update changes.json 2020-10-15 19:11:55 -04:00
Mike Reeves 943aa82ce4 Update changes.json 2020-10-15 19:09:46 -04:00
Mike Reeves 131e105106 Update changes.json 2020-10-15 19:07:37 -04:00
Mike Reeves cc56dc5a7f Update changes.json 2020-10-15 19:05:47 -04:00
weslambert 657e251f51 Merge pull request #1528 from Security-Onion-Solutions/fix/kibana_ack
Update Kibana mappings for event ack/eslacation
2020-10-15 14:48:00 -04:00
Wes Lambert d863f26f9d Update Kibana mappings for event ack/eslacation 2020-10-15 18:46:37 +00:00
Mike Reeves a7e0df84bb Update README.md 2020-10-15 14:46:13 -04:00
William Wernert 1fdf431c12 [fix] so-user spelling+syntax fixes
* Consistent ending punctuation
* Consistent capitalization
* Correct comparison operators
2020-10-15 13:44:23 -04:00
Mike Reeves 35b10b1f91 Sensors should clean up their dockers as well 2020-10-15 10:31:51 -04:00
weslambert 36b9450a39 Merge pull request #1526 from Security-Onion-Solutions/fix/kibana_things
Intel mapping enforcement and winlog.verion
2020-10-15 08:43:34 -04:00
Wes Lambert af9daa4d71 Intel mapping enforcement and winlog.verion 2020-10-15 12:42:33 +00:00
weslambert c81ee9621d Merge pull request #1525 from Security-Onion-Solutions/fix/kibana_discover_default
Fix default discover query
2020-10-14 17:44:55 -04:00
Wes Lambert e7401b3e0c Fix default discover query 2020-10-14 21:43:19 +00:00
weslambert f2125242f9 Merge pull request #1523 from Security-Onion-Solutions/fix/strelka_file_mime_type
Rename file.flavors.mime to file.mime_type
2020-10-14 14:58:15 -04:00
Wes Lambert 54c4ee796f Rename file.flavors.mime to file.mime_type 2020-10-14 18:56:44 +00:00
weslambert 8d4fd6c18d Merge pull request #1522 from Security-Onion-Solutions/fix/pipeline_commmon_remove_ignore_missing
Fix common pipeline field removal so won't fail for missing fields
2020-10-14 09:56:34 -04:00
Wes Lambert 3c820365ab Fix common pipeline field removal so won't fail for missing fields 2020-10-14 13:55:24 +00:00
Doug Burks a106913d1a Heavy node filebeat needs extra_hosts for the heavy node itself #1521 2020-10-14 09:51:59 -04:00
Josh Patterson 493c9a11df Merge pull request #1520 from Security-Onion-Solutions/issue/1519
disable strelka by default for sensor nodes during setup
2020-10-14 09:38:50 -04:00
m0duspwnens 1283708186 disable strelka by default for sensor nodes during setup 2020-10-14 09:36:59 -04:00
Josh Patterson 2e62494793 Merge pull request #1518 from Security-Onion-Solutions/issue/1153
fix issue with schedule being placed in wrong location
2020-10-14 09:26:31 -04:00
Doug Burks f88403e83e use ssl on nodes that support it 2020-10-14 05:50:29 -04:00
m0duspwnens a08d0c8b6f fix issue with schedule being placed in wrong location 2020-10-13 18:24:44 -04:00
Josh Patterson 9f6fcb3763 Merge pull request #1516 from Security-Onion-Solutions/quickfix/managerestempalte
add elasticsearch template manager pillar and assign to manager node
2020-10-13 16:09:24 -04:00
m0duspwnens 1afa12e607 add elasticsearch template manager pillar and assign to manager node 2020-10-13 16:08:15 -04:00
Doug Burks 190869a1f2 enable https on elasticsearch nodes that support it 2020-10-13 16:04:55 -04:00
William Wernert f6296c095f [fix] Redirect stderr to stdout for crontab -l 2020-10-13 15:00:00 -04:00
Josh Patterson 15ea152b84 Merge pull request #1515 from Security-Onion-Solutions/issue/1511
changes for https://github.com/Security-Onion-Solutions/securityonion/issues/1511
2020-10-13 14:17:28 -04:00
weslambert 4fff105986 Merge pull request #1514 from Security-Onion-Solutions/fix/replay_verbiage
Replay verbiage -- let users know when preparing to replay
2020-10-13 14:14:41 -04:00
Wes Lambert 3f8f0da468 Replay verbiage -- let users know when preparing to replay 2020-10-13 18:13:36 +00:00
m0duspwnens 2456605a54 changes for https://github.com/Security-Onion-Solutions/securityonion/issues/1511 2020-10-13 14:10:24 -04:00
William Wernert 675db1da1b [fix] Remove tab from string in whiptail menu 2020-10-13 13:44:51 -04:00
Doug Burks 0f68a53af4 Update so-curator-closed-delete-delete 2020-10-13 13:22:35 -04:00
Doug Burks b004a9149e Update so-index-list 2020-10-13 12:40:45 -04:00
Doug Burks e5ece6cd50 Update so-index-list 2020-10-13 12:34:49 -04:00
Jason Ertel 2ad6ab7dfc Dynamically alter docs URL based on airgap setting 2020-10-13 12:29:59 -04:00
Doug Burks a75e986836 Update so-elastic-clear 2020-10-13 12:18:27 -04:00
Mike Reeves c388966e7e Add airgap config 2020-10-13 12:05:19 -04:00
William Wernert 0cd80de2b3 [fix] Hard code NIDS to Suricata since Snort is not yet supported 2020-10-13 10:31:44 -04:00
William Wernert a459511812 Merge pull request #1512 from Security-Onion-Solutions/bugfix/whiptail-punctuation
Bugfix/whiptail punctuation
2020-10-13 10:26:26 -04:00
William Wernert 9dc491bd71 [refactor] Fixes per style guide 2020-10-13 10:23:47 -04:00
William Wernert f5ea8325fe [fix] Standardize input prompts
* All prompts that are questions end in "?"
* All other prompts end in ":"
* Any additional sentences after a prompt follow normal grammatical rules for punctuation
2020-10-13 09:45:32 -04:00
Doug Burks ad50b5d640 elasticsearch _cat/indices output has changed between 6 and 7 2020-10-13 06:33:40 -04:00
Doug Burks 21b1becd7e Update so-elasticsearch-pipelines-list 2020-10-12 16:34:30 -04:00
Doug Burks 5458c57cc9 Update so-elasticsearch-pipeline-stats 2020-10-12 16:32:11 -04:00
Doug Burks 68e34b781a Update so-elasticsearch-templates-load 2020-10-12 16:10:38 -04:00
Doug Burks 4c43262610 Update so-elasticsearch-templates-list 2020-10-12 16:08:06 -04:00
weslambert a17a2ad3de Merge pull request #1507 from Security-Onion-Solutions/fix/zeek_smb_ts_common
Ensure Zeek logs without ts field have an @timestamp field associated
2020-10-12 13:21:15 -04:00
Wes Lambert 14559b081d Ensure Zeek logs without ts field have an @timestamp field associated 2020-10-12 17:19:23 +00:00
weslambert 748ff0dbeb Merge pull request #1506 from Security-Onion-Solutions/fix/index_dates
Fix/index dates
2020-10-12 11:45:08 -04:00
Wes Lambert 4fc4913d1e Don't predefine index date for Filebeat ES outputs 2020-10-12 15:44:00 +00:00
Wes Lambert 884cc2d054 Don't predefine index date for Logstash outputs 2020-10-12 15:41:47 +00:00
Doug Burks 553ce3e363 only include extra_hosts if nodestab exists 2020-10-12 10:13:05 -04:00
Mike Reeves e0fe63d263 Merge pull request #1505 from Security-Onion-Solutions/experimental
Fix Cross Cluster Search Acks
2020-10-12 09:24:16 -04:00
Mike Reeves f5cfd480a3 Moar encryptions 2020-10-12 09:12:36 -04:00
Jason Ertel 3fff1451d4 Enable high strength cipher for golang compatibility 2020-10-11 22:31:29 -04:00
Mike Reeves 9695e63950 fix template statement 2020-10-11 17:21:57 -04:00
Mike Reeves 96083e1458 update logstash outputs 2020-10-11 17:06:56 -04:00
Mike Reeves deb0f640d6 add jinja templates 2020-10-11 17:02:07 -04:00
Mike Reeves b7c4fd94c4 get pipelines to load 2020-10-11 16:57:08 -04:00
Mike Reeves e4ce17d4de Turn on SSL output 2020-10-11 16:10:55 -04:00
Mike Reeves a7bd1c2ce5 Turn on SSL output 2020-10-11 15:58:12 -04:00
Josh Patterson c9c8c5e5f5 Merge pull request #1502 from Security-Onion-Solutions/quickfix/socrestart
watch all the files in the dir
2020-10-11 14:20:34 -04:00
m0duspwnens c1e6c5688d watch all the files in the dir 2020-10-11 14:19:44 -04:00
Mike Reeves 29c3948f95 Fix soc.json 2020-10-11 14:09:14 -04:00
Mike Reeves 31e0b5c81c Add nodes to soc.json 2020-10-11 11:28:49 -04:00
Mike Reeves 73aade1223 Enable rest access from manager to sn 2020-10-11 11:02:20 -04:00
Mike Reeves 271e40337b Enable jinja for tls 2020-10-11 10:57:04 -04:00
Mike Reeves f6f9097cd9 Enable tls for 9200 on search capable nodes 2020-10-11 10:53:54 -04:00
Doug Burks 3cfee82b59 Update Hunt fields for firewall #1500 2020-10-10 08:18:00 -04:00
Doug Burks 87574181d5 Add Community ID to pfsense filterlog #1501 2020-10-10 08:11:51 -04:00
Doug Burks 5f15320b9d Update Hunt fields for firewall #1500 2020-10-10 07:54:48 -04:00
Doug Burks 8d1ba1f4db fix pfsense firewall udp parsing 2020-10-10 07:38:47 -04:00
Doug Burks 8cfabf101c Update Hunt query for firewall #1499 2020-10-10 07:17:49 -04:00
Doug Burks 9aa4112de1 Remove extra comma 2020-10-10 06:10:10 -04:00
weslambert 12c3c351d8 Merge pull request #1498 from Security-Onion-Solutions/feature/filterlog
Feature/filterlog
2020-10-09 20:05:21 -04:00
Wes Lambert 28a1f7f88a Remove pfsense tag 2020-10-10 00:03:51 +00:00
Wes Lambert b55ffa44f8 Fix module,dataset rename 2020-10-10 00:01:37 +00:00
Wes Lambert 69a04dedd3 Filterlog config changes 2020-10-09 23:56:52 +00:00
Josh Patterson 930ec33cb7 Merge pull request #1496 from Security-Onion-Solutions/issue/1489
move salt master config file, copy salt-master service file and enabl…
2020-10-09 13:45:19 -04:00
m0duspwnens 6172268661 move salt master config file, copy salt-master service file and enable service restarts - https://github.com/Security-Onion-Solutions/securityonion/issues/1489 2020-10-09 13:27:46 -04:00
Josh Patterson 336400e642 Merge pull request #1495 from Security-Onion-Solutions/issue/1403
Issue/1403
2020-10-09 12:24:56 -04:00
m0duspwnens ea1324e498 fix LOSS calc line 2020-10-09 11:54:39 -04:00
m0duspwnens 3f007b6af7 Merge remote-tracking branch 'remotes/origin/dev' into issue/1403 2020-10-09 11:40:01 -04:00
m0duspwnens f5cacd66b8 correct zeekcaptureloss script to work on zeek standalone 2020-10-09 11:39:44 -04:00
Jason Ertel 40ff628c0b Replace simple pillar lookup with salt equivalent to ensure quoted values are handled properly 2020-10-09 11:10:46 -04:00
William Wernert 97fce74263 [fix] Rename playbook key and add new admin/automation psswds 2020-10-09 09:59:08 -04:00
William Wernert d7961fdbb8 Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion into dev 2020-10-09 08:51:45 -04:00
William Wernert 5a8d776a62 [ix] Correct sls syntax 2020-10-09 08:51:35 -04:00
Josh Patterson 4af87ffcbe Merge pull request #1492 from Security-Onion-Solutions/issue/1403
change capture loss to every 5 minutes and default grafana dashboard …
2020-10-08 17:52:52 -04:00
m0duspwnens f38519247b change capture loss to every 5 minutes and default grafana dashboard to 1h 2020-10-08 17:52:02 -04:00
William Wernert 065fe9042d [fix] Make sure Playbook is up before creating user 2020-10-08 17:01:12 -04:00
weslambert 993aabedf2 Merge pull request #1491 from Security-Onion-Solutions/fix/so-elasticsearch-pipeline-stats-dots
Ensure pipelines with dots in names can be referenced
2020-10-08 15:41:44 -04:00
weslambert 06706d29f2 Ensure pipelines with dots in names can be referenced 2020-10-08 15:41:17 -04:00
weslambert f41987024f Merge pull request #1490 from Security-Onion-Solutions/feature/so-elastic-pipeline-stats
Add pipeline stats script
2020-10-08 15:12:55 -04:00
Wes Lambert 1efb39a71b Add pipeline stats script 2020-10-08 19:11:41 +00:00
m0duspwnens 52e8265511 update is_airgap for soup 2020-10-08 14:16:19 -04:00
Mike Reeves 26317efe79 Update Soup 2020-10-08 14:05:52 -04:00
William Wernert 0795aa39ba Merge pull request #1487 from Security-Onion-Solutions/feature/rotate-logs
Feature/rotate logs
2020-10-08 12:48:01 -04:00
William Wernert 2ad3f9da11 [fix] Wazuh not saving .log files anymore, only check .json files 2020-10-08 12:41:51 -04:00
William Wernert 034750fe5b Merge branch 'dev' into feature/rotate-logs
# Conflicts:
#	setup/so-functions
2020-10-08 12:36:30 -04:00
William Wernert e1d8f578c2 [feat] Add log dirs for playbook + influxdb 2020-10-08 12:35:14 -04:00
Josh Patterson 2156adcf70 Merge pull request #1486 from Security-Onion-Solutions/fix/estemplates
fix templates not applying to searchnode.
2020-10-08 11:19:14 -04:00
m0duspwnens e7abbf19af fix templates not applying to searchnode. so-searchnode role doesnt exists searchnodes are so-node role 2020-10-08 11:17:26 -04:00
weslambert 0f5f781024 Merge pull request #1484 from Security-Onion-Solutions/fix/strelka_rule_null_safe_2
More fixes for rule field
2020-10-08 09:37:44 -04:00
Wes Lambert a6d3dcf398 More fixes for rule field 2020-10-08 13:36:47 +00:00
weslambert 5e4bbcd4ca Merge pull request #1483 from Security-Onion-Solutions/fix/strelka_rule_null_safe
Add null safe check for rule
2020-10-08 09:15:29 -04:00
Wes Lambert a2e2f23a8d Add null safe check for rule 2020-10-08 13:14:39 +00:00
weslambert 3ec9206b17 Merge pull request #1482 from Security-Onion-Solutions/fix/network_transport_kibana_viz
Fix network transport Kibana viz
2020-10-08 08:18:12 -04:00
Wes Lambert adf0ef87c9 Fix network transport Kibana viz 2020-10-08 12:17:15 +00:00
weslambert 7767d3897b Merge pull request #1481 from Security-Onion-Solutions/fix/network_transport_lower
Lowercase network.transport
2020-10-08 08:00:22 -04:00
weslambert 5ada85942b Lowercase network.transport 2020-10-08 07:59:57 -04:00
Doug Burks 2489ca608a Improve Hunt FTP queries #1479 2020-10-08 05:30:17 -04:00
Josh Patterson 0a982dec95 Merge pull request #1477 from Security-Onion-Solutions/issue/1403
Issue/1403
2020-10-07 17:47:21 -04:00
m0duspwnens be7167d99b Merge remote-tracking branch 'remotes/origin/dev' into issue/1403 2020-10-07 17:45:22 -04:00
m0duspwnens 821ce19aad new dashboard for sensors 2020-10-07 17:38:16 -04:00
m0duspwnens 1bdc45ef0e new dashboard for sensors 2020-10-07 17:37:11 -04:00
m0duspwnens 4f8bb9c2f1 updates to standalone and eval dashboards 2020-10-07 16:48:29 -04:00
m0duspwnens 7dd839cfa2 add zeek capture loss graph and resize redis queue for standalone 2020-10-07 15:53:31 -04:00
weslambert 7befff3baa Merge pull request #1474 from Security-Onion-Solutions/fix/common_nids
Don't use regex for determining rule type
2020-10-07 12:16:55 -04:00
Wes Lambert 7543144afe Don't use regex for determining rule type 2020-10-07 16:15:43 +00:00
weslambert 7787f81bdd Merge pull request #1473 from Security-Onion-Solutions/fix/logstash_output_wazuh
Remove dataset name since pipeline no longer in use
2020-10-07 11:49:40 -04:00
weslambert 8e829b47ae Remove dataset name since pipeline no longer in use 2020-10-07 11:48:56 -04:00
m0duspwnens 8540a691dc only send loss if timestamp on data has changed 2020-10-07 11:23:06 -04:00
weslambert 8015676e01 Merge pull request #1472 from Security-Onion-Solutions/fix/rename-signature_info
Change rule.signature_info to rule.reference and ensure common.nids e…
2020-10-07 11:21:18 -04:00
Wes Lambert 015a441e79 Change rule.signature_info to rule.reference and ensure common.nids exists 2020-10-07 15:20:26 +00:00
weslambert a1866e5229 Merge pull request #1471 from Security-Onion-Solutions/fix/ingest-updates
Fix/ingest updates
2020-10-07 11:15:55 -04:00
m0duspwnens 1106b2bf96 only send loss if timestamp on data has changed 2020-10-07 11:15:10 -04:00
Wes Lambert f0a1457ffd Update common.nids 2020-10-07 15:14:08 +00:00
m0duspwnens d09f0f841e only send loss if timestamp on data has changed 2020-10-07 11:13:03 -04:00
m0duspwnens 6f2d47cc40 only send loss if timestamp on data has changed 2020-10-07 11:11:06 -04:00
m0duspwnens 2317e8b348 only send loss if timestamp on data has changed 2020-10-07 11:08:41 -04:00
m0duspwnens f96d6ae4f4 only send loss if timestamp on data has changed 2020-10-07 11:06:54 -04:00
m0duspwnens 5e534571ff set timestamp with capture loss 2020-10-07 10:20:51 -04:00
m0duspwnens 14dd80b410 handle whitespace 2020-10-06 18:46:32 -04:00
m0duspwnens af2df2c7d1 just print the loss 2020-10-06 18:44:22 -04:00
m0duspwnens f95712c502 update log file 2020-10-06 18:38:51 -04:00
m0duspwnens 48ca2cdff1 fix pillars we check 2020-10-06 18:10:41 -04:00
m0duspwnens 4a236b3f75 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into issue/1403 2020-10-06 18:05:47 -04:00
m0duspwnens 73ce948d42 add zeekcaptureloss to data to influxdb. rename broloss to zeekloss - https://github.com/Security-Onion-Solutions/securityonion/issues/1403 2020-10-06 18:05:41 -04:00
Mike Reeves fd4bb81f29 Fix ZEEKLOGS pillar 2020-10-06 17:38:05 -04:00
William Wernert d84f85335e [fix] Add jinja option, missing log dirs, compress option 2020-10-06 17:18:39 -04:00
Wes Lambert 8c07c098f6 Pipeline cleanup 2020-10-06 20:14:15 +00:00
Wes Lambert 350cc41740 Let zeek.common handle common fields for zeek.tunnels 2020-10-06 20:12:23 +00:00
William Wernert b64a91f13c [refactor] Remove nocompress option 2020-10-06 14:51:43 -04:00
William Wernert 27351fa520 [fix] Correct jinja syntax + indent all lines 2020-10-06 14:51:42 -04:00
Josh Patterson 7d14c68d70 Merge pull request #1468 from Security-Onion-Solutions/issue/163
fix yum db if corrupted -
2020-10-06 14:29:11 -04:00
m0duspwnens 035d215398 fix yum db if corrupted - https://github.com/Security-Onion-Solutions/securityonion/issues/163 2020-10-06 14:28:01 -04:00
Josh Patterson 51d3defe76 Merge pull request #1467 from Security-Onion-Solutions/issue/1460
Issue/1460
2020-10-06 14:06:01 -04:00
m0duspwnens 3d71766b64 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into issue/1460 2020-10-06 13:58:02 -04:00
m0duspwnens 34dfc809c7 handle thread count for suricata and default max-pending-packets to 5000 - https://github.com/Security-Onion-Solutions/securityonion/issues/1460 2020-10-06 13:57:50 -04:00
Mike Reeves f809cf5216 Update so-functions 2020-10-06 13:27:23 -04:00
William Wernert bd4292711e [fix] Redirect missing lines to global pillar 2020-10-06 13:23:26 -04:00
William Wernert 9737b01676 [feat] Move logrotate configuration settings to pillar 2020-10-06 13:22:44 -04:00
William Wernert 94f15c63ce [fix] Correct indent in common init.sls 2020-10-06 13:21:37 -04:00
weslambert a16419b997 Merge pull request #1466 from Security-Onion-Solutions/fix/so-elasticsearch-templates-load
Rename so-elasticsearch-templates to so-elasticsearch-templates-load
2020-10-06 13:19:54 -04:00
Wes Lambert a6a69c57d1 Rename so-elasticsearch-templates to so-elasticsearch-templates-load 2020-10-06 17:18:42 +00:00
weslambert 6cdff854f3 Merge pull request #1465 from Security-Onion-Solutions/feature/so-elasticsearch-templates-list
Add so-elasticsearch-templates-list
2020-10-06 13:16:11 -04:00
Wes Lambert 787f1d8732 Add so-elasticsearch-templates-list 2020-10-06 17:15:27 +00:00
weslambert 1a2921c2bc Merge pull request #1463 from Security-Onion-Solutions/feature/so-elasticsearch-pipelines-list
Add so-elasticsearch-pipelines-list and fix common script perms
2020-10-06 13:04:24 -04:00
Wes Lambert 4a5d50cf80 Add so-elasticsearch-pipelines-list and fix common script perms 2020-10-06 17:01:58 +00:00
Josh Patterson 1b3eca80d7 Merge pull request #1462 from Security-Onion-Solutions/issue/1371
handle install locations of files copied
2020-10-06 11:41:37 -04:00
m0duspwnens 5eada1cdd5 handle install locations of files copied 2020-10-06 11:39:34 -04:00
Josh Patterson 4b1a8d7512 Merge pull request #1461 from Security-Onion-Solutions/issue/1371
Issue/1371
2020-10-06 11:22:58 -04:00
m0duspwnens a5f4c96db0 qol user interaction improvements to analyst install 2020-10-06 11:19:43 -04:00
m0duspwnens 4eea0a464c include remaining log functions from so-functions 2020-10-06 10:57:43 -04:00
m0duspwnens 7840002d18 update log file in title func 2020-10-06 10:51:31 -04:00
m0duspwnens 85168e9318 add title function 2020-10-06 10:49:38 -04:00
m0duspwnens 2420cd5db1 add some system characteristics to log like normal install does 2020-10-06 10:46:11 -04:00
Doug Burks a686704d37 remove rule.uuid now that underlying issue has been resolved 2020-10-06 09:39:57 -04:00
weslambert 706c81daca Merge pull request #1459 from Security-Onion-Solutions/feature/strelka_yara_alert
Add Strelka YARA matches as alerts
2020-10-06 08:23:16 -04:00
Wes Lambert 019bec992d Add Strelka YARA matches as alerts 2020-10-06 12:19:44 +00:00
Josh Patterson e2a787095c Merge pull request #1458 from Security-Onion-Solutions/issue/1290
change for network miner 2.6 - https://github.com/Security-Onion-Solu…
2020-10-05 18:38:14 -04:00
m0duspwnens acabcd27a7 change for network miner 2.6 - https://github.com/Security-Onion-Solutions/securityonion/issues/1290 2020-10-05 18:17:24 -04:00
Josh Patterson 24ff34ee81 Merge pull request #1457 from Security-Onion-Solutions/issue/1371
Issue/1371
2020-10-05 15:51:35 -04:00
Josh Brower 2e012432b4 Merge pull request #1455 from Security-Onion-Solutions/feature/training-req
Write out nested json
2020-10-05 15:34:43 -04:00
Josh Brower de9ace62d4 Write out nested json 2020-10-05 15:34:02 -04:00
Josh Patterson faf5e7a643 Merge pull request #1454 from Security-Onion-Solutions/issue/1444
logstash changes per https://github.com/Security-Onion-Solutions/secu…
2020-10-05 14:12:05 -04:00
m0duspwnens 748dc5ba91 logstash changes per https://github.com/Security-Onion-Solutions/securityonion/issues/1444 2020-10-05 14:10:05 -04:00
William Wernert 5dfd11a018 [feat] Add wazuh archive cleanup + fix indentation 2020-10-05 13:58:49 -04:00
William Wernert e6cb75ce7e [feat] Add common logrotate cron+config 2020-10-05 13:57:36 -04:00
Josh Patterson f7daa391c7 Merge pull request #1453 from Security-Onion-Solutions/issue/1441
enable suricata threshold-file and point to proper file
2020-10-05 12:56:39 -04:00
Doug Burks a45aa43f41 Add trailing comma to "thehive" stanza 2020-10-05 12:35:33 -04:00
m0duspwnens 63884b73e1 enable suricata threshold-file and point to proper file - https://github.com/Security-Onion-Solutions/securityonion/issues/1441 2020-10-05 12:10:52 -04:00
weslambert 9f4cb42c4f Merge pull request #1452 from Security-Onion-Solutions/fix/kibana_case_create
Change alert to case
2020-10-05 11:46:14 -04:00
Wes Lambert 575da0f9d3 Change alert to case 2020-10-05 15:45:10 +00:00
weslambert f4fcc052ca Merge pull request #1451 from Security-Onion-Solutions/fix/wazuh_rule_cat
Put back rule.category for Wazuh alerts
2020-10-05 11:35:20 -04:00
weslambert bc31e19e37 Put back rule.category for Wazuh alerts 2020-10-05 11:34:29 -04:00
weslambert 6e2319f6da Merge pull request #1449 from Security-Onion-Solutions/fix/wazuh_logging
Adjust Wazuh logging so we don't log alerts to a separate file and so…
2020-10-05 10:04:01 -04:00
weslambert 968dce0aee Adjust Wazuh logging so we don't log alerts to a separate file and so we don't write a separate log file for non-JSON for archives 2020-10-05 10:03:40 -04:00
Jason Ertel 1ebe970876 Disable escalate button if thehive is not enabled 2020-10-05 09:54:18 -04:00
weslambert 6b292ea62b Merge pull request #1448 from Security-Onion-Solutions/fix/so_elastic_clear
Fix/so elastic clear
2020-10-05 09:40:04 -04:00
Wes Lambert da8957b4f4 Use Elasticsearch pillar vs manager IP for so-elastic-clear 2020-10-05 13:37:06 +00:00
Wes Lambert 1970d95d5f Make Filebeat registry persistent to avoid re-reading old data 2020-10-05 13:30:04 +00:00
Doug Burks e7cba6ba1d Change SOC Alerts eventFetchLimit from 5000 to 500 #1447 2020-10-05 09:29:01 -04:00
Doug Burks 948e0c4c61 Add rule.name to Hunt Wazuh Alerts query #1442 2020-10-05 09:26:13 -04:00
Jason Ertel cf5b1245ea Add configurable flags to enable/disable dismiss and escalate buttons 2020-10-05 09:16:17 -04:00
weslambert 771d091d6e Merge pull request #1446 from Security-Onion-Solutions/feature/wazuh_severity
Add event.severity and event.severity_label config for Wazuh alerts
2020-10-05 08:52:20 -04:00
Wes Lambert 77d31cb289 Add event.severity and event.severity_label config for Wazuh alerts 2020-10-05 12:50:29 +00:00
weslambert 203e84d2cf Update comma verbiage for HOME_NET in whiptail menu 2020-10-05 08:08:22 -04:00
Josh Brower 7b05cf4266 Merge pull request #1443 from Security-Onion-Solutions/feature/training-req
Feature/training req
2020-10-04 21:37:03 -04:00
Josh Brower 8a78485906 Config Playbook SOC Alerts 2020-10-04 21:35:42 -04:00
Josh Brower c80b6ce104 Add so-allow-view and playbook event.sev.label 2020-10-04 20:39:21 -04:00
m0duspwnens 467e5b34cc analyst node changes 2020-10-02 16:40:25 -04:00
m0duspwnens 20307b703e analyst node changes 2020-10-02 16:21:31 -04:00
m0duspwnens 6a0f04d24a analyst node changes 2020-10-02 16:14:15 -04:00
m0duspwnens 5a5007c07d analyst node changes 2020-10-02 15:50:49 -04:00
m0duspwnens fde6f128ab analyst node changes 2020-10-02 15:26:13 -04:00
m0duspwnens 1be3323265 analyst node changes 2020-10-02 15:25:42 -04:00
m0duspwnens 47762816a7 analyst node changes 2020-10-02 14:57:22 -04:00
m0duspwnens 40647ce54c analyst node changes 2020-10-02 14:40:15 -04:00
William Wernert 8310559273 Merge pull request #1440 from Security-Onion-Solutions/feature/generate-playbook-api-key
Feature/generate playbook api key
2020-10-02 14:37:58 -04:00
William Wernert 2a100c0dcc Add OLD_ prefix + only update rules if playbook enabled 2020-10-02 14:34:30 -04:00
William Wernert d0c267ca90 Fix sed command to not delete lines after match 2020-10-02 14:31:16 -04:00
William Wernert 54da2b869c Add OLD_ db init files for soup compatibility 2020-10-02 14:12:23 -04:00
William Wernert ab662e9b81 Merge branch 'dev' into feature/generate-playbook-api-key
# Conflicts:
#	salt/common/tools/sbin/soup
2020-10-02 13:48:52 -04:00
William Wernert db12b6f3c6 Remove salt call to automation_user_create 2020-10-02 13:17:57 -04:00
William Wernert 96d32fda51 Add old api key to pillar during soup 2020-10-02 13:16:58 -04:00
Mike Reeves 15f0c98281 Fix Formatting 2020-10-02 13:06:03 -04:00
m0duspwnens d0da7ade6a analyst node changes 2020-10-02 12:15:00 -04:00
m0duspwnens c4e0fa0939 analyst node changes 2020-10-02 12:12:28 -04:00
m0duspwnens e11717c4d0 analyst node changes 2020-10-02 11:28:53 -04:00
m0duspwnens 76a13e99da new wallpaper 2020-10-02 10:12:36 -04:00
William Wernert 20fd757847 Run playbook-ruleupdate after soctopus is running 2020-10-02 10:05:10 -04:00
William Wernert 39e14b3910 Merge branch 'dev' into feature/generate-playbook-api-key 2020-10-02 08:39:09 -04:00
Mike Reeves c7fcdc8084 Merge pull request #1438 from Security-Onion-Solutions/socyaml
Socyaml
2020-10-01 18:08:33 -04:00
Mike Reeves 4991ea8de3 Jason made me rename json 2020-10-01 18:07:06 -04:00
Mike Reeves 36ccece724 commas gone crazy 2020-10-01 18:02:06 -04:00
Mike Reeves a0432e97b0 Python print ftl 2020-10-01 17:57:56 -04:00
m0duspwnens 733b1376c5 analyst node changes 2020-10-01 17:53:20 -04:00
Mike Reeves 490278a4c3 Add alert events filed 2020-10-01 17:49:17 -04:00
Mike Reeves bd5efbabd9 Fix Mode 2020-10-01 17:43:43 -04:00
Mike Reeves 8fa426f265 Cleanup sync 2020-10-01 17:41:55 -04:00
Mike Reeves 9d9d3aac53 Switch to JSON from yaml 2020-10-01 17:37:57 -04:00
Mike Reeves 744a8bca73 More json for soc 2020-10-01 17:30:23 -04:00
Mike Reeves 8a41636e7f More json for soc 2020-10-01 17:28:45 -04:00
Mike Reeves dc79dca7fe More json for soc 2020-10-01 17:25:51 -04:00
Mike Reeves 1c55f738ec More json for soc 2020-10-01 17:23:29 -04:00
William Wernert e98012ae2c Fix jinja and change state orrder in setup 2020-10-01 17:16:26 -04:00
Mike Reeves 92fa33159e More json for soc 2020-10-01 17:12:08 -04:00
m0duspwnens 72c6fe2184 analyst node changes 2020-10-01 17:05:59 -04:00
Mike Reeves 5730c85988 More json for soc 2020-10-01 17:04:15 -04:00
Mike Reeves 63be0734c9 More json for soc 2020-10-01 17:00:25 -04:00
Mike Reeves 5653828154 More json for soc 2020-10-01 16:57:04 -04:00
weslambert 2d2f4de337 Merge pull request #1437 from Security-Onion-Solutions/fix/kib_scripted_thehive
Update scripted field for TheHive case
2020-10-01 16:54:02 -04:00
Wes Lambert 8a81a5148b Update scripted field for TheHive case 2020-10-01 20:52:57 +00:00
weslambert 98bef8fb9d Merge pull request #1436 from Security-Onion-Solutions/fix/kibana_soc_thehive_case
Add SOC url for api integration
2020-10-01 16:47:11 -04:00
Wes Lambert eced18c3cc Add SOC url for api integration 2020-10-01 20:29:28 +00:00
Jason Ertel 8e15ed56d6 'Escalated' filter toggle will auto-enable 'acknowledged' filter toggle 2020-10-01 16:23:47 -04:00
m0duspwnens 76c98200f3 analyst node changes 2020-10-01 16:21:51 -04:00
Mike Reeves cc2f2de5b5 soc.json stuff 2020-10-01 15:23:07 -04:00
Mike Reeves b423e8d22a soc.json stuff 2020-10-01 15:20:13 -04:00
Mike Reeves 1a561f6b12 soc.json stuff 2020-10-01 15:18:34 -04:00
William Wernert a5bf4bbb35 Fix test for key in global.sls 2020-10-01 14:47:18 -04:00
m0duspwnens 964bad4657 analyst node changes 2020-10-01 13:53:38 -04:00
Doug Burks e836f96c65 move rule.uuid after rule.name 2020-10-01 12:09:52 -04:00
Doug Burks 4851069a10 remove rule.gid from Alerts groupby since Wazuh and Playbook may not have that field 2020-10-01 11:51:40 -04:00
William Wernert 040730e8f5 Rename script for consistent naming 2020-10-01 11:22:11 -04:00
William Wernert afb777fc8f Add automation user creation to soup when resetting playbook db 2020-10-01 11:13:24 -04:00
m0duspwnens 75d49845f2 changes to analyst setup script 2020-10-01 10:43:33 -04:00
Doug Burks bc19cce4c2 Acknowledging an alert may acknowledge more alerts than intended #1426 2020-10-01 10:00:54 -04:00
Doug Burks 26781de244 Add Strelka query to Hunt #1433 2020-10-01 06:59:36 -04:00
William Wernert 2264b6e51c Add comments to shell code explaining curl statements 2020-09-30 19:54:34 -04:00
William Wernert 03b97cce75 Fix comment in new state + remove useless sleep command 2020-09-30 19:49:13 -04:00
William Wernert 11ae904100 Quiet script output + fix pillar value 2020-09-30 19:46:18 -04:00
weslambert 6818de9e64 Merge pull request #1431 from Security-Onion-Solutions/fix/elastlert_rules
Remove rule sync, since we don't have any rules to sync
2020-09-30 18:36:11 -04:00
weslambert 887937a75d Remove rule sync, since we don't have any rules to sync 2020-09-30 18:35:35 -04:00
William Wernert 596f2d31e4 Automation -> automation 2020-09-30 17:04:24 -04:00
William Wernert 3ec255ecee Remove old api token from sql 2020-09-30 17:03:35 -04:00
William Wernert 6361c790e9 Move automation user create to separate script to run after playbook state 2020-09-30 17:02:02 -04:00
William Wernert 8e80b41ca9 Remove Automation user from sql, gen user + store api key 2020-09-30 16:32:43 -04:00
Jason Ertel 1454201505 Disable thehivealerter 2020-09-30 15:26:29 -04:00
Jason Ertel 3af6e9e1fe Remove mount point for SOCtopus generated playbook rules to avoid them activating and sending alerts to TheHive 2020-09-30 15:14:45 -04:00
Mike Reeves 8b5ff31351 Merge pull request #1430 from Security-Onion-Solutions/redis
Add Redis pillar and fix idstools
2020-09-30 15:09:59 -04:00
Mike Reeves 7314e2dea8 Add Redis pillar and fix idstools 2020-09-30 15:08:44 -04:00
Jason Ertel ff04bb507a Remove default Elastalert rules to stop automated alerts from being sent to thehive 2020-09-30 15:06:54 -04:00
weslambert 5b16a65422 Merge pull request #1429 from Security-Onion-Solutions/fix/zeek_server_ip
Fix issue with null Zeek server IP
2020-09-30 13:54:50 -04:00
Wes Lambert 02d2e5e2c6 Fix isue with null Zeek server IP 2020-09-30 17:53:30 +00:00
William Wernert f3b8da1f9d Fix Engrish (can causing -> can cause) 2020-09-30 13:40:57 -04:00
William Wernert 25d4bde33b Merge pull request #1428 from Security-Onion-Solutions/feature/warn-dhcp
Add warning about IP address changing for network/DHCP iso installs
2020-09-30 13:13:40 -04:00
William Wernert 1ff20f7e27 Add warning about IP address changing for network/DHCP iso installs 2020-09-30 13:11:33 -04:00
weslambert defe832121 Merge pull request #1427 from Security-Onion-Solutions/fix/wazuh_filebeat
Fix Filebeat config for Wazuh
2020-09-30 10:59:01 -04:00
Wes Lambert d8f70397f7 Fix Filebeat config for Wazuh 2020-09-30 14:57:56 +00:00
weslambert dac2ad5dbf Merge pull request #1425 from Security-Onion-Solutions/feature/soctopus_pillar
Add initial implementation of SOCtopus pillar
2020-09-30 10:25:26 -04:00
Wes Lambert c62acf5e4e Add initial implmentation of SOCtopus pillar 2020-09-30 14:24:15 +00:00
Josh Patterson 10f4e09b70 Merge pull request #1424 from Security-Onion-Solutions/issue/1070
Issue/1070
2020-09-30 10:11:37 -04:00
William Wernert 00785c6ba5 Merge pull request #1418 from Security-Onion-Solutions/feature/replace-hardcoded-pass
Feature/replace hardcoded pass
2020-09-30 08:56:35 -04:00
Doug Burks 0a995f4a7a Update README.md 2020-09-30 07:43:20 -04:00
m0duspwnens 85969dc16d add quotes and remove quotes 2020-09-29 16:29:05 -04:00
m0duspwnens bf99bab6c0 add quotes and remove quotes 2020-09-29 16:26:45 -04:00
weslambert 401764437f Merge pull request #1421 from Security-Onion-Solutions/fix/ip_type
Ensure IPs are typed as IP and ports as integer
2020-09-29 14:21:25 -04:00
Wes Lambert 36019727b3 Ensure IPs are typed as IP and ports as integer 2020-09-29 18:20:15 +00:00
m0duspwnens 547c3ff52c single quote inputs to yaml files 2020-09-29 13:59:16 -04:00
William Wernert 7d43d48aca Remove bad line in playbook_db_init.sh 2020-09-29 11:13:09 -04:00
William Wernert 55058a11aa Generate passwords for Grafana + Playbook default users 2020-09-29 11:12:09 -04:00
William Wernert ebe00822f8 Merge pull request #1417 from Security-Onion-Solutions/bugfix/local_zeeklogs
Bugfix/local zeeklogs
2020-09-29 08:58:02 -04:00
Doug Burks 60134829d5 Alerts - Drilldown should display rule.uuid #1416 2020-09-29 07:51:45 -04:00
Doug Burks c7b43ac220 Update soc.json 2020-09-29 07:41:49 -04:00
Doug Burks a7f24b62e6 Hunt - improve NIDS query and eventFields #1415 2020-09-29 07:34:44 -04:00
Josh Patterson 9ca13ebccd Merge pull request #1414 from Security-Onion-Solutions/issue/1404
change so salt module to /usr/sbin/so-status
2020-09-28 18:31:26 -04:00
Mike Reeves c828a2ea75 Merge pull request #1413 from Security-Onion-Solutions/experimental
Airgap SOUP!
2020-09-28 17:47:38 -04:00
m0duspwnens 8741520263 change so salt module to /usr/sbin/so-status 2020-09-28 17:31:05 -04:00
Mike Reeves 6b8b0f1b26 Change add registry 2020-09-28 16:48:02 -04:00
William Wernert f77305e22f Generate zeeklogs sls earlier to avoid error 2020-09-28 16:45:06 -04:00
William Wernert f782299281 Remove preconfigured zeeklog + create it during setup 2020-09-28 15:12:36 -04:00
Josh Patterson fa6396b121 Merge pull request #1410 from Security-Onion-Solutions/fix/disable_auto_start
send to dev/null to prevent output
2020-09-28 15:07:40 -04:00
weslambert 3d6c956e02 Merge pull request #1409 from Security-Onion-Solutions/feature/wazuh_wel
Add initial parsing for Wazuh WEL/Sysmon
2020-09-28 15:07:15 -04:00
m0duspwnens 0bb1ba2853 send to dev/null to prevent output 2020-09-28 15:06:43 -04:00
Wes Lambert 869767d9d9 Add initial parsing for Wazuh WEL/Sysmon 2020-09-28 19:04:21 +00:00
Josh Patterson 0944cd1bcd Merge pull request #1408 from Security-Onion-Solutions/issue/1093
Issue/1093
2020-09-28 14:45:18 -04:00
m0duspwnens 3b709e7877 remove cleaning of webpasswd1 2020-09-28 14:44:14 -04:00
Doug Burks 6e9e4dc99c Hunt third magnifying glass should group output by event.module and event.dataset #1407 2020-09-28 14:19:55 -04:00
Mike Reeves 2cdf76473c Add Registry back from cleanup 2020-09-28 14:19:43 -04:00
m0duspwnens 053b19de11 Merge remote-tracking branch 'remotes/origin/dev' into issue/1093 2020-09-28 13:25:42 -04:00
m0duspwnens bda9078843 check for invalid characters in fleet user password 2020-09-28 13:25:23 -04:00
Doug Burks 0516a9ddd5 Alerts page "Hunt for this field" action should quote field and group output #1406 2020-09-28 12:35:08 -04:00
m0duspwnens 85e53c53af reject passwords with single or double quotes or backslashes 2020-09-28 11:51:19 -04:00
Mike Reeves 6a4d6f7a6d Additional logic 2020-09-28 10:12:52 -04:00
William Wernert 66b7678df8 Merge pull request #1405 from Security-Onion-Solutions/feature/setup-cleanup
Feature/setup cleanup
2020-09-28 09:47:52 -04:00
William Wernert 3b9de2b7ca Disable ipv6 earlier in setup 2020-09-28 09:14:45 -04:00
William Wernert a60bf11daa Make sure zeek log is only written on whiptail success 2020-09-28 09:11:50 -04:00
William Wernert 05729d216a Don't direct user to check log in so-zeek-log, none exists 2020-09-28 08:45:59 -04:00
Doug Burks 3904295137 Hunt - improve HTTP queries #1401 2020-09-27 08:04:28 -04:00
Doug Burks aa7f927ffd Hunt - improve x509 queries #1400 2020-09-27 07:17:46 -04:00
Jason Ertel 68f18da832 Add alert query toggle filters for ack'd and escalated alerts 2020-09-25 17:03:42 -04:00
William Wernert dc330a774e Exit so-zeek-logs if user cancels 2020-09-25 16:30:16 -04:00
William Wernert 9acf610262 Also disable ipv6 for install 2020-09-25 16:10:26 -04:00
William Wernert d76a4b1359 Show welcome screen on both iso and network installs 2020-09-25 14:59:27 -04:00
Doug Burks 11b200e9c0 Hunt - remove SMTP fields #1397 2020-09-25 14:17:14 -04:00
Doug Burks 20a56d0831 Hunt - add network.community_id column to Events table for more data types #1396 2020-09-25 13:18:28 -04:00
weslambert 6bfef773f2 Merge pull request #1392 from Security-Onion-Solutions/bugfix/config_dev_nullify
dev nullify so-config-backup cron job
2020-09-24 21:00:18 -04:00
weslambert b3f9ee3b34 dev nullify so-config-backup cron job 2020-09-24 20:59:42 -04:00
Jason Ertel c0be252f9f SOC config adjustments for alerting 2020-09-24 16:37:27 -04:00
Josh Patterson 04f2595fa1 Merge pull request #1389 from Security-Onion-Solutions/issue/1388
fix common salt package name for salt.master state for ubuntu
2020-09-24 12:36:26 -04:00
Mike Reeves e30958b9ec Airgap SOUP changes 2020-09-24 11:41:02 -04:00
m0duspwnens d9005c157d fix common salt package name for salt.master state for ubuntu - https://github.com/Security-Onion-Solutions/securityonion/issues/1388 2020-09-24 11:26:58 -04:00
Doug Burks 62dbe425a6 Hunt - fix x509 eventFields #1387 2020-09-24 07:52:46 -04:00
Doug Burks 2b8b8e2f40 Hunt - fix file eventFields #1386 2020-09-24 07:44:28 -04:00
Doug Burks 60daacd6dc Hunt - fix DHCP eventFields #1385 2020-09-24 07:34:29 -04:00
weslambert a09002edae Merge pull request #1384 from Security-Onion-Solutions/bugfix/config_backup
Add back missing # sign
2020-09-23 21:34:52 -04:00
weslambert 5b93c40ce4 Add back missing # sign 2020-09-23 21:34:10 -04:00
m0duspwnens 3ba8f47d9c Merge remote-tracking branch 'remotes/origin/dev' into issue/1093 2020-09-23 15:01:48 -04:00
m0duspwnens 6f7dbee36e remove single quotes from secrets pillar 2020-09-23 14:57:26 -04:00
Mike Reeves fd302c6363 make autocomplete with sudo work 2020-09-23 13:19:37 -04:00
m0duspwnens 70f98e2eea take care single quotes if they are in the WEBPASSWD 2020-09-23 13:00:18 -04:00
m0duspwnens b32bc8b542 Merge remote-tracking branch 'remotes/origin/dev' into issue/1093 2020-09-23 12:07:12 -04:00
Mike Reeves aca98e01f3 Set the path 2020-09-23 12:00:25 -04:00
Jason Ertel 2f7c0c34e6 Support backslashes in SOC passwords 2020-09-23 10:09:21 -04:00
weslambert 4f228c1b7c Merge pull request #1379 from Security-Onion-Solutions/feature/config_backup
Feature/config backup
2020-09-23 09:58:05 -04:00
Wes Lambert 71734ddc0a Add cron job to common state for daily config backup 2020-09-23 13:55:32 +00:00
Wes Lambert 57732b360e Add config backup script 2020-09-23 13:47:14 +00:00
Wes Lambert 4d42d04cc3 Fix backup pillar definition 2020-09-23 13:45:42 +00:00
Wes Lambert d02c440934 Add backup params to global.sls 2020-09-22 21:05:57 +00:00
m0duspwnens 77a9bf2697 test single quotes in secrets pillar 2020-09-22 13:16:20 -04:00
Josh Brower 18a881ccab Merge pull request #1377 from Security-Onion-Solutions/bugfix/docker_cleanup
fix docker_clean syntax
2020-09-21 19:42:11 -04:00
Josh Brower 8bb527b4f1 fix docker_clean syntax 2020-09-21 19:41:39 -04:00
Jason Ertel 694635a38f Add pivot to hunt as a new alerts quick action 2020-09-21 17:10:03 -04:00
Mike Reeves 0f1b92cea9 Update so-rule-update 2020-09-21 15:40:38 -04:00
Mike Reeves 48b17ee51a Merge pull request #1375 from Security-Onion-Solutions/gaupgrade
Upgrade to GA including Docker Cleanup
2020-09-21 13:14:49 -04:00
Mike Reeves d56a9e1f86 Upgrade to GA including Docker Cleanup 2020-09-21 13:14:06 -04:00
Josh Brower ffdf7e1db4 Merge pull request #1374 from Security-Onion-Solutions/feature/so-user-list
Add so-user-list
2020-09-21 10:03:02 -04:00
Josh Brower 3cd11807cd Add so-user-list 2020-09-21 10:02:10 -04:00
Jason Ertel 8f4a6df53a Add event.module to default alert query 2020-09-21 09:06:56 -04:00
Jason Ertel fc51c2aef4 Group by community ID on second alert quick query 2020-09-19 08:39:01 -04:00
Jason Ertel 5b38acb64b Add alerting configuration for soc container 2020-09-18 13:51:23 -04:00
Josh Patterson 2b155b5581 Merge pull request #1368 from Security-Onion-Solutions/issue/1367
add so-fleet so standalone fleet gets the redis pki
2020-09-18 13:41:43 -04:00
m0duspwnens 40f6fed2a5 add so-fleet so standalone fleet gets the redis pki 2020-09-18 13:40:27 -04:00
Jason Ertel 1610445b4e Validate password before creating user 2020-09-18 08:29:30 -04:00
Jason Ertel 0c12025599 Do not restart mysql after setup when running automated tests 2020-09-18 08:22:28 -04:00
Mike Reeves 33e381ad15 Update VERSION 2020-09-17 15:08:36 -04:00
Mike Reeves bafb13fd6d Merge pull request #1363 from Security-Onion-Solutions/dev
RC3
2020-09-17 15:05:33 -04:00
Mike Reeves 56e9f09c20 Update VERIFY_ISO.md 2020-09-17 11:02:16 -04:00
Mike Reeves 6cd30ce52f Update Sig 2020-09-17 10:56:29 -04:00
Mike Reeves 3fb98bfd4d Update VERIFY_ISO.md 2020-09-17 10:54:18 -04:00
Mike Reeves 4701091f76 Update VERIFY_ISO.md 2020-09-17 10:54:01 -04:00
Doug Burks 57e45308af Fix pivot from TheHive to Kibana #1362 2020-09-17 08:05:55 -04:00
Doug Burks c9c1245d1e change from 2.1 RC2 to 2.2 RC3 2020-09-17 08:01:10 -04:00
Mike Reeves 7415c7fe81 Fix dashboard script 2020-09-16 14:55:32 -04:00
Mike Reeves eac58f8f34 Merge pull request #1346 from Security-Onion-Solutions/rc3upgrade
Rc3upgrade
2020-09-16 14:29:53 -04:00
Mike Reeves 52072e0484 Update soup 2020-09-16 14:08:48 -04:00
doug 840b54d73c make so-analyst executable 2020-09-16 13:11:49 -04:00
Mike Reeves 5910fe642c Fix Update XML 2020-09-16 13:08:21 -04:00
Mike Reeves a0f64440e0 Update changes.json 2020-09-16 13:06:26 -04:00
weslambert 74e4adda11 Merge pull request #1357 from Security-Onion-Solutions/feature/dashboard_updates_2
Add All Logs for Connections dashboard
2020-09-16 11:56:38 -04:00
Wes Lambert 44ef935d65 Add All Logs for Connections dashboard 2020-09-16 15:55:28 +00:00
Mike Reeves 3e0e41be32 Update changes.json 2020-09-16 11:41:21 -04:00
Mike Reeves 1801361cf8 Update changes.json 2020-09-16 11:40:05 -04:00
weslambert 6325b30a21 Merge pull request #1356 from Security-Onion-Solutions/feature/dashboard_updates
Kibana dashboard updates
2020-09-16 11:19:27 -04:00
Wes Lambert bd8d2fc271 Kibana dashboard updates 2020-09-16 15:17:26 +00:00
Josh Patterson 6e0806a587 Merge pull request #1353 from Security-Onion-Solutions/fix/strelkaconfig
fix sensor mainip logic for strelka yaml files
2020-09-16 10:32:58 -04:00
m0duspwnens 4ee3e1ed01 fix sensor mainip logic for strelka yaml files 2020-09-16 10:29:23 -04:00
Josh Patterson b7e41b53cb Merge pull request #1352 from Security-Onion-Solutions/fix/es_templates
fix MYIP
2020-09-16 10:12:27 -04:00
m0duspwnens 3fe276dbb5 fix MYIP 2020-09-16 10:11:39 -04:00
Josh Patterson 66f21c4568 Merge pull request #1350 from Security-Onion-Solutions/fix/es_templates
change how we determine the ip. run script on search and import nodes as well
2020-09-16 09:54:16 -04:00
Josh Brower d5fd15962c Merge pull request #1351 from Security-Onion-Solutions/bugfix/tcpreplay
Fix so-test
2020-09-16 09:52:08 -04:00
Josh Brower dd2d736bc1 Fix so-test 2020-09-16 09:51:38 -04:00
m0duspwnens dd56d7d2d1 change how we determine the ip. run script on search and import nodes as well 2020-09-16 09:48:38 -04:00
weslambert 6806bd2461 Merge pull request #1348 from Security-Onion-Solutions/bugfix/es_template_load
Ensure templates are loaded for heavy nodes
2020-09-15 17:15:56 -04:00
weslambert fbf037f460 Ensure templates are loaded for heavy nodes 2020-09-15 17:14:06 -04:00
Josh Brower 46a1369e81 Merge pull request #1347 from Security-Onion-Solutions/bugfix/tcpreplay
Add so-test
2020-09-15 13:20:56 -04:00
Josh Brower 2516429834 Add so-test 2020-09-15 13:14:00 -04:00
Mike Reeves fc8ffd2080 Made the version update more reliable 2020-09-15 11:09:01 -04:00
Mike Reeves ee4b35f2e4 Rename zeekversion.map.jinja to mdengine.map.jinja 2020-09-14 22:30:10 -04:00
Mike Reeves c31d998061 Disk Space Check Final Final Final 2020-09-14 20:17:28 -04:00
Mike Reeves 62a8e676d9 Disk Space Check Final Final 2020-09-14 20:11:04 -04:00
Mike Reeves 9ef2b93586 Disk Space Check Final Final 2020-09-14 20:09:53 -04:00
Mike Reeves eafb4e81a5 Disk Space Check Final Final 2020-09-14 20:01:53 -04:00
Mike Reeves 6eb3333af4 Disk Space Check Final 2020-09-14 19:46:16 -04:00
Mike Reeves 07e536df98 Disk Space Check 2020-09-14 19:42:58 -04:00
Mike Reeves e8d2a6fdc2 Disk Space Check 2020-09-14 19:32:14 -04:00
Mike Reeves 1bc5e33007 Rotate Mysql Container Log 2020-09-14 16:27:32 -04:00
Mike Reeves e2ecfca4c1 Merge pull request #1343 from Security-Onion-Solutions/rc3upgrade
Upgrade Fun
2020-09-14 14:54:37 -04:00
Mike Reeves 0a0e00866c Upgrade Fun 2020-09-14 14:50:22 -04:00
Mike Reeves 38266f7db8 Merge pull request #1342 from Security-Onion-Solutions/experimental
Fix ruleupdate setting
2020-09-14 14:26:31 -04:00
Mike Reeves 9957fdec0f Fix ruleupdate setting 2020-09-14 14:17:55 -04:00
Josh Patterson 32632864eb Merge pull request #1341 from Security-Onion-Solutions/issue/1066
change how we determine how to run so-status
2020-09-14 12:43:05 -04:00
m0duspwnens b559e5dd32 change how we determine how to run so-status 2020-09-14 12:40:39 -04:00
Jason Ertel f86780a0db Open PCAPs in same tab, but open external sites in new tabs 2020-09-14 10:41:39 -04:00
Mike Reeves 1958fef4ad Merge pull request #1338 from Security-Onion-Solutions/experimental
Fix strelka rules
2020-09-14 09:58:34 -04:00
Mike Reeves ee1317adf1 Merge branch 'experimental' of https://github.com/Security-Onion-Solutions/securityonion into experimental 2020-09-14 09:57:14 -04:00
Mike Reeves d1836fb3a3 Fix Salt issue with script 2020-09-14 09:57:08 -04:00
Josh Patterson 67c1ece0bb Merge pull request #1337 from Security-Onion-Solutions/issue/1066
Issue/1066
2020-09-14 09:38:15 -04:00
m0duspwnens b93d149631 fix so-status 2020-09-14 09:36:26 -04:00
m0duspwnens 46cbcfa330 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into issue/1066 2020-09-14 08:45:54 -04:00
Mike Reeves 841db1b4b9 Merge pull request #1336 from Security-Onion-Solutions/experimental
Get Rules onto the install for airgap
2020-09-13 14:58:36 -04:00
Mike Reeves 112a0b426e Merge branch 'dev' into experimental 2020-09-13 14:54:00 -04:00
Doug Burks 18dc7a915a Hunt: Fix Tunnel query #1335 2020-09-13 08:26:33 -04:00
Jason Ertel 89c38541ee Force all SOC quick actions to open in new tab 2020-09-13 02:52:25 -04:00
Mike Reeves d6d22fb0e0 Fix Strelka 2020-09-12 23:07:35 -04:00
Mike Reeves bb936c5bee Fix Strelka 2020-09-12 23:07:15 -04:00
Mike Reeves 259df2ed6b Fix Strelka 2020-09-12 23:06:06 -04:00
Doug Burks 311d67b934 Hunt: fix RFB groupby #1332 2020-09-12 06:14:58 -04:00
Josh Patterson f03b128924 Merge pull request #1331 from Security-Onion-Solutions/fix/top
add redis to eval if playbook enabled
2020-09-11 18:31:19 -04:00
m0duspwnens 5f567368be add redis to eval if playbook enabled 2020-09-11 18:30:21 -04:00
m0duspwnens 77911acfb4 so-status module 2020-09-11 18:28:53 -04:00
Mike Reeves 48d1d0c168 Strelkas Rules Update 2020-09-11 18:24:56 -04:00
Josh Patterson 2d508d9e57 Merge pull request #1328 from Security-Onion-Solutions/issue/1281
Issue/1281
2020-09-11 15:02:30 -04:00
m0duspwnens 15563f2ee6 add nginx to top for sensor 2020-09-11 12:28:42 -04:00
m0duspwnens bb0e686444 add elasticsearch to top for nodes missing it 2020-09-11 11:35:17 -04:00
Mike Reeves 46866f40b3 Merge pull request #1325 from Security-Onion-Solutions/experimental
Update Script
2020-09-11 11:02:57 -04:00
Mike Reeves 6e0cdf7be4 Update Script help 2020-09-11 11:01:56 -04:00
m0duspwnens 5f7c270984 only allow strelka to run on nodes that are sensors 2020-09-11 10:22:12 -04:00
Mike Reeves af9a19b6e8 Merge pull request #1321 from Security-Onion-Solutions/experimental
IDS Tools now with Airgap support
2020-09-10 19:05:16 -04:00
Mike Reeves 53319738c4 Fix Nginx state 2020-09-10 16:56:48 -04:00
Mike Reeves ef46094b0c Update all nginx configs 2020-09-10 13:55:56 -04:00
Josh Patterson 53ff87b0ee Merge pull request #1312 from Security-Onion-Solutions/issue/1281
add elasticsearch state to top for manager node
2020-09-10 12:47:05 -04:00
m0duspwnens bc420d4a02 add 2020-09-10 11:57:15 -04:00
Josh Patterson ca26548b2c Merge pull request #1310 from Security-Onion-Solutions/issue/1281
Issue/1281
2020-09-10 10:08:25 -04:00
m0duspwnens 0ed9c65646 remove logic from fleet state to only run if in top 2020-09-10 10:07:05 -04:00
Doug Burks 8c280221da Hunt: Fix Intel groupby #1131 2020-09-10 07:00:54 -04:00
Doug Burks 24c325e9a1 Fix Elasticsearch parsing for Zeek Intel Indicator #1309 2020-09-10 06:41:19 -04:00
Josh Brower 56587f0df5 Merge pull request #1308 from Security-Onion-Solutions/feature/wel-ingest
Add event.category to WEL
2020-09-10 06:16:56 -04:00
Josh Brower c3b2d98ffb Add event.category to WEL 2020-09-10 06:15:30 -04:00
Doug Burks 7161a662aa improve Wazuh support in Hunt 2020-09-10 06:03:33 -04:00
Mike Reeves 5d4e8925a3 Add Firewall Logic 2020-09-09 21:16:40 -04:00
Mike Reeves 45b11b2321 Fix Rulecat 2020-09-09 18:38:07 -04:00
Doug Burks d18c498574 Update so-features-enable 2020-09-09 17:32:42 -04:00
m0duspwnens 09cc8ae1fb fail the state if it isnt in top 2020-09-09 16:48:50 -04:00
m0duspwnens 01c9f7b2ae merge with dev and resolve conflicts 2020-09-09 16:23:36 -04:00
Mike Reeves 7ebf93fcb5 IDSTools Overhaul 2020-09-09 15:53:32 -04:00
Josh Patterson 1e32b32659 Merge pull request #1302 from Security-Onion-Solutions/fix/sostatus
Fix/sostatus
2020-09-09 15:07:12 -04:00
m0duspwnens 39f200f565 fix whitespace 2020-09-09 14:59:21 -04:00
Mike Reeves a77532c1d8 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-09-09 14:57:17 -04:00
Mike Reeves 04f4539385 Fix Airgap Repo Name 2020-09-09 14:57:10 -04:00
m0duspwnens b0c526364f handle strelka 2020-09-09 14:55:54 -04:00
m0duspwnens 921262b9a5 prevent duplicate containers for so-stauts 2020-09-09 14:07:38 -04:00
Jason Ertel a5b87850df Remove user sync between SOC and Cortex due to the unnecesary complexities involved with this style of integration 2020-09-09 14:07:36 -04:00
m0duspwnens 05d736d2df handle strelka 2020-09-09 14:00:58 -04:00
m0duspwnens 918d9cf00f handle strelka 2020-09-09 13:57:53 -04:00
m0duspwnens 3433b90029 fix so-status for strelka and wazuh 2020-09-09 13:53:10 -04:00
Doug Burks 82b582540e Add period 2020-09-09 12:56:19 -04:00
Doug Burks 90ba1be978 Improve formatting of NIDS selection screen 2020-09-09 12:55:14 -04:00
m0duspwnens e84507c386 Merge remote-tracking branch 'remotes/origin/dev' into fix/sostatus 2020-09-09 12:51:01 -04:00
m0duspwnens 9ee9a199b1 predefine each component as 0 to fix issues with it being unset 2020-09-09 12:50:22 -04:00
Jason Ertel fc4ad1d556 Add Google search quick action to Hunt; Change VirusTotal quick action to be applicable to all field values 2020-09-09 12:22:38 -04:00
Jason Ertel 9babc445ce Add Google search quick action to Hunt; Change VirusTotal quick action to be applicable to all field values 2020-09-09 12:07:23 -04:00
Mike Reeves 90feb503ce Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-09-09 10:54:53 -04:00
Mike Reeves 426257443a Final airgap tweaks 2020-09-09 10:54:47 -04:00
Doug Burks eaf3281ab7 Remove Suricata version numbers from Setup screens #1300
https://github.com/Security-Onion-Solutions/securityonion/issues/1300
2020-09-09 10:43:41 -04:00
Josh Patterson c2398f966b Merge pull request #1295 from Security-Onion-Solutions/fix/salt-ca-ssl
Fix/salt ca ssl
2020-09-09 10:36:54 -04:00
m0duspwnens 7facff2b7d change from cmd.run to cp.get_file_str 2020-09-09 10:34:53 -04:00
Jason Ertel ad05e75ce7 Add new quick actions to SOC config template 2020-09-09 00:46:23 -04:00
Mike Reeves 7d524a0723 Add Firewall Rule for yum and airgap 2020-09-08 18:51:14 -04:00
Josh Patterson d7016b4557 Merge pull request #1298 from Security-Onion-Solutions/issue/1291
Issue/1291
2020-09-08 17:40:33 -04:00
m0duspwnens da34222931 makedirs 2020-09-08 17:36:27 -04:00
m0duspwnens eeb6c3128b add salt.master state to manager nodes 2020-09-08 17:27:13 -04:00
m0duspwnens da3d0948b4 creating engine to watch the health of the salt mine 2020-09-08 16:49:38 -04:00
Jason Ertel 710a2be422 Add new so-user-enable script and change so-user-disable to call 'so-user disable' instead of deleting the SOC user 2020-09-08 16:24:18 -04:00
Mike Reeves 7c41c31359 Fix airgap statement 2020-09-08 14:48:37 -04:00
Mike Reeves 7371f9236e Update top.sls 2020-09-08 14:18:56 -04:00
Mike Reeves 1aea3f4f85 Merge pull request #1297 from Security-Onion-Solutions/experimental
Add Airgap code
2020-09-08 09:26:41 -04:00
Doug Burks f8ebed43d7 fix spacing 2020-09-07 04:45:26 -04:00
Doug Burks f5916e26a2 read ca.crt from filesystem when possible 2020-09-07 04:42:11 -04:00
weslambert b6b52671e2 Merge pull request #1294 from Security-Onion-Solutions/fix/wazuh_agent_name
Fix typo
2020-09-05 08:17:09 -04:00
Wes Lambert f9884606df Fix typo 2020-09-05 12:15:55 +00:00
Jason Ertel f27e5164d0 Update to latest kratos; add support for a custom status trait to represent whether a user is locked or not; refactor so-user to use new enable/disable capabilities in SOC; remove 'delete' option from so-user usage to avoid having user lists out of sync across SOC and external apps 2020-09-04 17:01:52 -04:00
Josh Brower 351e7761ef Merge pull request #1292 from Security-Onion-Solutions/bugfix/playbook-rulesets
Update SOCtopus.conf
2020-09-04 14:15:18 -04:00
Josh Brower 39cc7151a5 Update SOCtopus.conf 2020-09-04 14:14:53 -04:00
Doug Burks f8e68c82e4 downgrade to Mono 4.2.1.102 and NetworkMiner 2.4 2020-09-04 10:12:28 -04:00
Doug Burks c050003b5a Install file-roller for opening zip files 2020-09-04 07:14:01 -04:00
Doug Burks a2265fac4f NetworkMiner has a compatibility issue with Mono 6 right now 2020-09-04 06:50:22 -04:00
Doug Burks 1fc64d3eef so-analyst should install gedit 2020-09-03 16:46:14 -04:00
Josh Patterson c71a154e81 Merge pull request #1288 from Security-Onion-Solutions/quickfix/standalonetop
add elasticsearch to standalone top
2020-09-03 15:55:43 -04:00
m0duspwnens 05b8b71af2 add elasticsearch to standalone top 2020-09-03 15:54:24 -04:00
Mike Reeves b2ee757db2 Airgap Time 2020-09-03 10:35:12 -04:00
weslambert b10dd40376 Merge pull request #1287 from Security-Onion-Solutions/fix/suri_home_net
Change HOME_NET and EXTERNAL_NET defaults
2020-09-03 08:15:51 -04:00
weslambert 8db8dcb71a Change HOME_NET and EXTERNAL_NET defaults 2020-09-03 08:15:14 -04:00
m0duspwnens 770cd6eafc add endif 2020-09-02 16:19:58 -04:00
Mike Reeves 9745191f19 Add Airgap State 2020-09-02 16:17:44 -04:00
m0duspwnens a229ae82ce only allow state to run if it is in top for the node 2020-09-02 16:15:52 -04:00
weslambert 870e042c4c Merge pull request #1285 from Security-Onion-Solutions/fix/so_stop_start_restart
Require at least one arg for start/stop/restart scripts
2020-09-02 14:58:19 -04:00
Wes Lambert 770aaf415c Require at least on arg for start/stop/restart scripts 2020-09-02 18:55:59 +00:00
Jason Ertel 0142f43493 Add so-user-disable script which deletes the SOC user and disables the users in Fleet, TheHive, and Cortex 2020-09-02 13:54:50 -04:00
m0duspwnens 9d85b3223f fix note about localrules 2020-09-02 11:46:48 -04:00
Josh Patterson 066c795e71 Merge pull request #1279 from Security-Onion-Solutions/fix/redhat
move redhat with centos
2020-09-02 09:12:44 -04:00
m0duspwnens 1f8f197066 move redhat with centos 2020-09-02 09:12:05 -04:00
weslambert d35cca7fc5 Merge pull request #1278 from Security-Onion-Solutions/fix/elastalert_extra_hosts
Add manager to hosts file
2020-09-02 07:44:49 -04:00
weslambert 5d920885e0 Add manager to hosts file 2020-09-02 07:43:55 -04:00
Josh Patterson 7fa083069d Merge pull request #1277 from Security-Onion-Solutions/issue/968
Issue/968
2020-09-01 15:43:22 -04:00
m0duspwnens 08ca2055dc fix telegraf file input for zeek log 2020-09-01 15:34:06 -04:00
m0duspwnens 93f30a2064 fix telegraf config 2020-09-01 15:29:29 -04:00
m0duspwnens b13b07eddf add newline to end 2020-09-01 15:10:56 -04:00
m0duspwnens 01777c64d9 fix influxtime 2020-09-01 14:58:48 -04:00
m0duspwnens b6d66bddfc add redis to proper node types. grafana dahsboard changes. change zeek_restart to not use telegraf socket but read from file instead 2020-09-01 14:38:10 -04:00
Josh Brower 6cd0d16b91 Merge pull request #1276 from Security-Onion-Solutions/feature/import-wel
Initial support for evtx import
2020-09-01 13:48:12 -04:00
Josh Brower a79d0319cd Initial support for evtx import 2020-09-01 13:47:27 -04:00
Mike Reeves 951fe2ac69 Create repo 2020-09-01 11:26:33 -04:00
Mike Reeves 9cff7c1427 Enable airgap functions 2020-09-01 11:24:22 -04:00
Mike Reeves 643dab12d0 Enable airgap 2020-09-01 11:09:33 -04:00
Josh Patterson 67766745a4 Merge pull request #1275 from Security-Onion-Solutions/fix/redhat
resolve issue with salt state if os is redhat
2020-09-01 10:44:59 -04:00
m0duspwnens 2fee151bff resolve issue with salt state if os is redhat 2020-09-01 10:43:21 -04:00
m0duspwnens ada1c81ab7 manager and standalone dashboard changes 2020-09-01 10:40:20 -04:00
Jason Ertel ff5d1cd815 Expand nginx body size limit to 2.5GB to handle 2G PCAPs from sensors 2020-09-01 10:07:28 -04:00
Doug Burks 45c0a7ac77 Kernel messages can overwrite whiptail screen #812
Kernel messages can overwrite whiptail screen #812
2020-09-01 08:55:34 -04:00
m0duspwnens a1a7b36319 merge with dev and resolve conflict 2020-08-31 16:05:34 -04:00
m0duspwnens 31f25eca57 fix grafana related issues. add redis to standalone 2020-08-31 15:56:58 -04:00
weslambert 011958a2f3 Merge pull request #1274 from Security-Onion-Solutions/fix/zeek_syslog
Ensure Zeek syslog log is enabled for Import node
2020-08-31 13:08:44 -04:00
Wes Lambert ae3fe9e892 Ensure Zeek syslog log is enabled for Import node 2020-08-31 17:07:16 +00:00
weslambert 96f25914db Merge pull request #1273 from Security-Onion-Solutions/fix/zeek_syslog_default
Fix/zeek syslog default
2020-08-31 12:32:52 -04:00
Wes Lambert 5ed5e6603d Fix space 2020-08-31 16:32:12 +00:00
Wes Lambert 26ffc44fd1 Only enable syslog log by default in Eval mode 2020-08-31 16:30:32 +00:00
Jason Ertel dc3b065a41 Set exec bit on new user-add scripts 2020-08-31 10:57:23 -04:00
weslambert 6350c83e05 Merge pull request #1272 from Security-Onion-Solutions/feature/wazuh_mgmt_wrappers
Add Wazuh mgmt wrappers for manage_agents and upgrade
2020-08-31 10:55:25 -04:00
Wes Lambert 46e7e121e3 Add Wazuh mgmt wrappers for manage_agents and upgrade 2020-08-31 14:54:24 +00:00
weslambert 5db70cbd59 Merge pull request #1271 from Security-Onion-Solutions/fix/remove_minio
Remove minio for now
2020-08-31 10:29:30 -04:00
Wes Lambert 6d14f2af96 Remove minio for now 2020-08-31 14:07:47 +00:00
weslambert 42bd75a1cc Merge pull request #1270 from Security-Onion-Solutions/fix/elastalert_startup
Wait for Elasticsearch indices to be queryable before starting Elasta…
2020-08-31 09:56:18 -04:00
Wes Lambert 9abbda8e04 Wait for Elasticsearch indices to be queryable before starting Elastalert container 2020-08-31 13:54:49 +00:00
Jason Ertel 189c02648d Move container status check to so-common 2020-08-31 09:52:06 -04:00
Jason Ertel 8e06f0453e Only add users to aux systems if those systems are currently running 2020-08-31 09:41:06 -04:00
Doug Burks 9680270b20 Set default monospace font to Liberation 2020-08-30 16:42:44 -04:00
Doug Burks 2f09156a02 quote filename when spawning NetworkMiner 2020-08-30 16:10:47 -04:00
Doug Burks 77b3ebdabe Hunt Events table should show ssl.server_name when searching for ssl
Hunt Events table should show ssl.server_name when searching for ssl #1267
2020-08-30 06:56:15 -04:00
Doug Burks 13ce439678 Update README 2020-08-29 06:52:26 -04:00
Doug Burks df5ef7c956 Update so-analyst 2020-08-29 06:07:58 -04:00
Doug Burks 1e1212bf41 Update so-analyst 2020-08-29 05:59:21 -04:00
Doug Burks c20f47ffd6 make chaosreader executable 2020-08-29 04:52:21 -04:00
Doug Burks c21b347549 Update README 2020-08-29 04:46:00 -04:00
Doug Burks f6f990ca9f Update README 2020-08-28 16:44:41 -04:00
Doug Burks 8344e38d91 Add files via upload 2020-08-28 16:43:28 -04:00
Josh Brower 764ba4a0e9 Merge pull request #1266 from Security-Onion-Solutions/bugfix/event.code-parsing
Set event.code to string for WEL
2020-08-28 13:49:01 -04:00
Josh Brower b7dd14b8f0 Set event.code to string for WEL 2020-08-28 13:40:04 -04:00
Jason Ertel 3877706f20 Remove auto-start regardless of how setup was started 2020-08-28 09:10:35 -04:00
Jason Ertel 4e3e83820f Correct pillar key for thehive 2020-08-28 08:17:42 -04:00
Josh Patterson f4dc67e32a Merge pull request #1264 from Security-Onion-Solutions/issue/1063
fix inbound for monitor traffic on standalone graphana dashboard
2020-08-27 18:25:26 -04:00
m0duspwnens b1e7ffc173 fix inbound for monitor traffic on standalone graphana dashboard 2020-08-27 18:24:26 -04:00
Jason Ertel a3e34bfaca Add users to Fleet, TheHive, and Cortex when adding a user to SO via so-user-add command 2020-08-27 16:58:02 -04:00
Josh Patterson 9d30b58247 Merge pull request #1262 from Security-Onion-Solutions/issue/643
remove space
2020-08-27 15:09:05 -04:00
m0duspwnens aa60ec8e5a remove space 2020-08-27 15:07:45 -04:00
Josh Patterson 2559f740f1 Merge pull request #1260 from Security-Onion-Solutions/issue/643
Issue/643
2020-08-27 14:35:39 -04:00
m0duspwnens dbb1390c42 move README to / 2020-08-27 14:32:51 -04:00
Mike Reeves 2b0b695ee4 Fix duplicate docker 2020-08-27 10:15:22 -04:00
Mike Reeves dc6c0cc71c Merge pull request #1259 from Security-Onion-Solutions/issue/286
Issue/286
2020-08-27 10:13:17 -04:00
m0duspwnens e9b7538ee8 fix a couple things, add another package 2020-08-26 17:58:27 -04:00
m0duspwnens 16c3b9539b fix a couple things, add another package 2020-08-26 17:51:04 -04:00
m0duspwnens cc88c4c35f adding so-analyst script to create analyst workstatin 2020-08-26 17:39:11 -04:00
weslambert 509985ed07 Merge pull request #1254 from Security-Onion-Solutions/fix/sensor_clean
Cron updates
2020-08-26 11:03:03 -04:00
weslambert 000c2abb33 Update timing for so-yara-update 2020-08-26 11:02:33 -04:00
Mike Reeves 19130b563d Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into issue/286 2020-08-26 11:01:01 -04:00
Mike Reeves e1a52a4921 Update core counts if heavy node or SA 2020-08-26 11:00:23 -04:00
Mike Reeves 86584d90d7 Merge pull request #1253 from Security-Onion-Solutions/issue/1078
Issue/1078 Update Docker
2020-08-26 10:36:34 -04:00
Mike Reeves e993397173 Update docker to latest version 2020-08-26 10:35:17 -04:00
Josh Brower c38f4ad4ae Merge pull request #1251 from Security-Onion-Solutions/feature/fleet3.1
Upgraded to Fleet 3.1
2020-08-26 06:14:34 -04:00
Josh Brower 67e0a219e6 Upgraded to Fleet 3.1 2020-08-26 06:13:45 -04:00
Josh Brower b6ebcf6551 Merge pull request #1250 from Security-Onion-Solutions/feature/es-security-field
Adds new .security analyzed subfield
2020-08-26 05:12:23 -04:00
Josh Brower 1cf7301db4 Adds new .security analyzed subfield 2020-08-26 05:11:42 -04:00
Jason Ertel 3122280bd5 Update version to 2.2.0-rc.3 2020-08-25 15:16:09 -04:00
weslambert ce49e050bc Update timing for sensor clean cron 2020-08-25 12:14:43 -04:00
weslambert 61cc5b9712 Merge pull request #1246 from Security-Onion-Solutions/fix/sensor_clean_log
Fix/sensor clean log
2020-08-25 11:36:10 -04:00
Wes Lambert c03812f7ab Add rotation for sensor_clean log 2020-08-25 15:34:30 +00:00
weslambert a8f727ad40 Don't write to log if not past CRIT_DISK_USAGE 2020-08-25 11:19:36 -04:00
Mike Reeves 6c5f8f7d53 Merge pull request #1240 from Security-Onion-Solutions/issue/1225
Remove duplicate IDSTools entries
2020-08-24 10:41:18 -04:00
Mike Reeves 52602f527e Merge pull request #1238 from Security-Onion-Solutions/issue/796
Add /usr/sbin to the path
2020-08-24 10:39:29 -04:00
Mike Reeves bc6eb74af2 Merge pull request #1230 from Security-Onion-Solutions/dev
2.1.0
2020-08-24 10:25:28 -04:00
Doug Burks b627f565c9 Update VERIFY_ISO.md 2020-08-24 10:03:28 -04:00
Doug Burks a0281830f8 Update VERIFY_ISO.md 2020-08-24 06:09:30 -04:00
Mike Reeves aa3e3c3cec Update Sig 2020-08-23 20:25:06 -04:00
Mike Reeves e8568dbeb0 Update VERIFY_ISO.md 2020-08-23 20:23:49 -04:00
Mike Reeves a97ca94354 Rotate suri stats log hourly 2020-08-23 16:08:17 -04:00
Mike Reeves ebd8105cb5 Rotate suri stats log hourly 2020-08-23 16:03:37 -04:00
Mike Reeves 02712e7f46 Add /usr/sbin to the path 2020-08-22 11:07:00 -04:00
Mike Reeves 093819b0c7 Remove duplicate IDSTools entries 2020-08-22 10:32:11 -04:00
Doug Burks daaa2d3579 Update README.md 2020-08-21 16:24:09 -04:00
Mike Reeves 3ea5bd0c53 Update MD5 and gpg info for new iso 2020-08-21 14:44:12 -04:00
Mike Reeves 64d34e46bf Update ISO signature 2020-08-21 14:31:04 -04:00
Jason Ertel 9c6cc81f70 Remove improper suricata logging filter - this re-enables logging output for the suricata process itself 2020-08-21 12:44:28 -04:00
Mike Reeves bdb8f616e4 Update VERIFY_ISO.md 2020-08-21 09:08:44 -04:00
Mike Reeves 60fbe357c5 Merge branch 'master' into dev 2020-08-20 21:10:59 -04:00
Mike Reeves d0eae47047 Update ISO download details and signature 2020-08-20 21:08:17 -04:00
Mike Reeves 05d727e599 Final changes.json update 2020-08-20 19:18:39 -04:00
Mike Reeves 2b88f22eb2 Make HUP for rotate more reliable 2020-08-20 17:57:36 -04:00
Mike Reeves 69b3de43b9 Merge pull request #1229 from Security-Onion-Solutions/fix/statslog
add logrotate
2020-08-20 16:53:23 -04:00
Mike Reeves b7da768dc7 add logrotate 2020-08-20 16:46:32 -04:00
Josh Patterson 44093e7484 Merge pull request #1228 from Security-Onion-Solutions/quickfix/importnode
remove bonding for import node
2020-08-20 14:23:21 -04:00
m0duspwnens a7a0520cfe remove bonding for import node 2020-08-20 14:20:09 -04:00
Jason Ertel d1e5649a68 Corrected JSON typo and improved formatting 2020-08-20 13:46:20 -04:00
Mike Reeves b7d1fd54c7 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-08-20 13:26:22 -04:00
Mike Reeves 3eea2c6b10 2.1.0 Release notes in changes.json 2020-08-20 13:26:14 -04:00
Jason Ertel 377c841c31 Switch back to direct command for removing setup from bash_profile due to how sed is interpreting the quoted expression 2020-08-20 13:11:57 -04:00
Mike Reeves 073a175939 Merge pull request #1224 from Security-Onion-Solutions/fix/mkrssl
Point logstash to use intca.crt
2020-08-20 10:52:28 -04:00
Mike Reeves df95baa835 Point logstash to use intca.crt 2020-08-20 10:45:48 -04:00
weslambert 12a9d26231 Merge pull request #1223 from Security-Onion-Solutions/fix/aws_fwd_defaults
Add defaults file for fwdnode
2020-08-20 10:17:21 -04:00
Wes Lambert 3f04e566f2 Add defaults file for fwdnode 2020-08-20 14:16:05 +00:00
Jason Ertel 896bf6b78c Update doc links to 2.1 2020-08-20 10:08:10 -04:00
Jason Ertel 22c9180386 Improve redirection of setup command output to log file, including stderr 2020-08-20 10:04:01 -04:00
Josh Patterson 014a0054c2 Merge pull request #1221 from Security-Onion-Solutions/quickfix/managersearch
remove monint from managersearch since they dont have a monint
2020-08-20 09:06:30 -04:00
m0duspwnens 43f4ebbcf1 remove monint from managersearch since they dont have a monint 2020-08-20 09:05:38 -04:00
Mike Reeves 2fce138d95 Change it to grains.host instead of grains.id 2020-08-19 21:26:27 -04:00
Mike Reeves ccc2ed4478 don't create symlinks if a heavy node 2020-08-19 21:18:57 -04:00
Mike Reeves f9e5ea8ba7 Fix SSL for filebeat 2020-08-19 21:12:41 -04:00
Mike Reeves f7d3dca322 Fix duplicate state 2020-08-19 21:00:28 -04:00
Mike Reeves d969b1e1b7 Update init.sls 2020-08-19 20:56:08 -04:00
Mike Reeves 507a3e852c Update init.sls 2020-08-19 20:02:38 -04:00
Mike Reeves 5f41d9fc25 fix filebeat certs 2020-08-19 19:51:57 -04:00
Mike Reeves 8312221c82 Update soup 2020-08-19 18:51:32 -04:00
Mike Reeves 0439cf3205 Update soup 2020-08-19 18:47:36 -04:00
Jason Ertel 2325940789 Ensure strelka manager connects to local redis on heavy nodes 2020-08-19 16:24:28 -04:00
Josh Patterson 9fce1fc47d Merge pull request #1220 from Security-Onion-Solutions/issue/1188
Issue/1188
2020-08-19 16:15:43 -04:00
Jason Ertel 5ff0058a65 Ensure strelka backend, frontend, and filestream are connecting to redis locally, on heavy node instances 2020-08-19 16:13:18 -04:00
m0duspwnens 961cc67e3f add nginx state to heavynode 2020-08-19 16:05:40 -04:00
Mike Reeves 51a52228ac Update init.sls 2020-08-19 16:01:58 -04:00
Mike Reeves 4527758e87 Update init.sls 2020-08-19 16:00:04 -04:00
m0duspwnens 826254bc3d give redis key to heavy node too 2020-08-19 15:59:48 -04:00
Mike Reeves ac2cf8c6d8 Merge pull request #1219 from Security-Onion-Solutions/feature/mkrsoup
Feature/mkrsoup
2020-08-19 15:47:53 -04:00
Mike Reeves db2cc5f7a7 Update init.sls 2020-08-19 15:43:51 -04:00
weslambert d80156505c Merge pull request #1217 from Security-Onion-Solutions/fix/aws_automation
Add defaults file for search node
2020-08-19 15:09:00 -04:00
Wes Lambert ed1e346789 Add defaults file for search node 2020-08-19 19:07:24 +00:00
Mike Reeves 4c246dc30d remove airgap install option until rc3 2020-08-19 14:40:31 -04:00
weslambert d25afe4aa5 Merge pull request #1216 from Security-Onion-Solutions/fix/logstash_hosts
Add manager IP to container hosts file
2020-08-19 14:39:04 -04:00
weslambert b5dd868d1b Add manager IP to container hosts file 2020-08-19 14:34:28 -04:00
Mike Reeves 6edf1c14f8 Fix filebeat certs 2020-08-19 13:35:58 -04:00
Mike Reeves bf84822d36 fix if logic 2020-08-19 13:04:10 -04:00
Mike Reeves 3d48c1f99b Add playbook updates 2020-08-19 12:14:11 -04:00
Mike Reeves 9280dbb9d9 Update soup 2020-08-19 12:00:25 -04:00
m0duspwnens 2f0ffffca4 lock and unlock master during soup 2020-08-19 11:46:29 -04:00
Mike Reeves f57e0fbc56 Salt ACL 2020-08-19 10:33:26 -04:00
Mike Reeves 95f006db7d Salt ACL 2020-08-19 10:08:11 -04:00
Mike Reeves 968e481ebe Add cross cluster for SSL 2020-08-18 17:45:14 -04:00
Mike Reeves 348e802fb7 Add cross cluster for SSL 2020-08-18 17:38:35 -04:00
Mike Reeves afa87374ad Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into feature/mkrsoup 2020-08-18 17:33:25 -04:00
Mike Reeves 294a197cbf Add cross cluster for SSL 2020-08-18 16:57:38 -04:00
Josh Brower ad0f54fc40 Merge pull request #1209 from Security-Onion-Solutions/bugfix/osquery-parsing
Osquery Parsing fix
2020-08-18 15:54:47 -04:00
Josh Brower d4f7a07f85 Osquery Parsing fix 2020-08-18 15:54:11 -04:00
weslambert ca84ae43ef Merge pull request #1208 from Security-Onion-Solutions/fix/remove_pillar_from_setup
Don't echo pillar to setup log
2020-08-18 15:44:20 -04:00
weslambert a4e986ea37 Don't echo pillar to setup log 2020-08-18 15:43:43 -04:00
Josh Patterson be8483c580 Merge pull request #1207 from Security-Onion-Solutions/issue/1188
remove monint from nodestab grafana dashboard since search nodes dont…
2020-08-18 15:37:56 -04:00
m0duspwnens 65d9afd8d5 remove monint from nodestab grafana dashboard since search nodes dont have monint 2020-08-18 15:37:17 -04:00
Mike Reeves 59aa55f9bc Add playsecrets 2020-08-18 15:29:41 -04:00
Jason Ertel 47ad3f65ef Only fail setup when the root mailbox is not empty for ISO installations, since network installations can't be sure if the error came from setup or something unrelated 2020-08-18 15:26:30 -04:00
Josh Patterson 1bf4b86d07 Merge pull request #1206 from Security-Onion-Solutions/issue/1188
remove monint from manager since it doesnt have a monint
2020-08-18 15:10:40 -04:00
m0duspwnens 5a3d95d9a1 remove monint from manager since it doesnt have a monint 2020-08-18 15:09:21 -04:00
Mike Reeves 44fcd999fd Address #1205 2020-08-18 15:08:24 -04:00
weslambert 82bfa567d0 Merge pull request #1204 from Security-Onion-Solutions/fix/enable_strelka_default
Enable YARA rules by default
2020-08-18 14:54:46 -04:00
weslambert eaad0487b5 Enable YARA rules by default 2020-08-18 14:54:11 -04:00
Josh Patterson 54c43634a3 Merge pull request #1203 from Security-Onion-Solutions/issue/1188
add strelka to heavynode if strelka is enabled
2020-08-18 14:29:07 -04:00
m0duspwnens c8dfc2495c add strelka to heavynode if strelka is enabled - https://github.com/Security-Onion-Solutions/securityonion/issues/1188 2020-08-18 14:21:23 -04:00
Jason Ertel 45d957566d Only show 'Waiting for TheHive to start up' status if setup is actually installing thehive 2020-08-18 11:36:29 -04:00
Josh Patterson b214b20e58 Merge pull request #1201 from Security-Onion-Solutions/issue/1063
fix monint for several node types for grafana
2020-08-18 10:53:30 -04:00
m0duspwnens 9f8f59f4df fix monint for several node types for grafana 2020-08-18 10:48:52 -04:00
Mike Reeves ba192d6c32 Update addtotab.sh 2020-08-17 17:23:25 -04:00
Josh Brower 9c1c4b1a98 Merge pull request #1198 from Security-Onion-Solutions/feature/playbook-tweaks
Playbook schema update - RC2
2020-08-17 14:10:26 -04:00
Josh Brower a8aa97edd2 Playbook schema update - RC2 2020-08-17 14:09:17 -04:00
Josh Patterson 1d02fbdd0b Merge pull request #1197 from Security-Onion-Solutions/feature/soup
add sls extension
2020-08-17 12:27:34 -04:00
m0duspwnens eb1272c127 add sls extension 2020-08-17 12:26:44 -04:00
Josh Patterson 5581cf6721 Merge pull request #1196 from Security-Onion-Solutions/feature/soup
Feature/soup
2020-08-17 10:57:32 -04:00
m0duspwnens a82c4c24fb move url_base from manager to global in when running soup 2020-08-17 10:55:07 -04:00
Mike Reeves dcb110b31f Add rc1 conditional logic 2020-08-17 09:57:00 -04:00
Jason Ertel d8833abf73 Use load instead of import on the registry image itself 2020-08-15 09:42:56 -04:00
Josh Patterson 2c9c328a40 Merge pull request #1193 from Security-Onion-Solutions/issue/1039
Issue/1039
2020-08-14 18:45:12 -04:00
m0duspwnens e6da423dc3 change reference from manager:url_base to global:url_base - https://github.com/Security-Onion-Solutions/securityonion/issues/1039 2020-08-14 17:55:30 -04:00
m0duspwnens 4946bb54d8 Merge remote-tracking branch 'remotes/origin/dev' into issue/1039 2020-08-14 17:25:13 -04:00
Josh Patterson 5663edfaee Merge pull request #1192 from Security-Onion-Solutions/quickfix/importnoderonicheckin
set checking interval for sensoroni on import node
2020-08-14 17:11:35 -04:00
m0duspwnens 387c26f052 set checking interval for sensoroni on import node 2020-08-14 17:10:36 -04:00
Josh Patterson e4b80ff183 Merge pull request #1190 from Security-Onion-Solutions/quickfix/setuplogging
send service status to /dev/null to prevent FP on install failure
2020-08-14 16:47:55 -04:00
m0duspwnens 43f6f5c27a send service status to /dev/null to prevent FP on install failure 2020-08-14 16:45:28 -04:00
Josh Patterson 51cbccad09 Merge pull request #1189 from Security-Onion-Solutions/quickfix/modulerun
use new module.run style
2020-08-14 16:39:17 -04:00
m0duspwnens 5220b5ae0c use new module.run style 2020-08-14 16:37:45 -04:00
Josh Patterson 6b6f39edde Merge pull request #1187 from Security-Onion-Solutions/quickfix/heavyfw
heavynode firewall rules
2020-08-14 16:01:56 -04:00
m0duspwnens 47faee48a6 heavynode firewall rules 2020-08-14 15:58:59 -04:00
Mike Reeves eb6b2f6ca0 Merge pull request #1186 from Security-Onion-Solutions/feature/airgap
Airgap round 1
2020-08-14 15:41:36 -04:00
Mike Reeves bac58abf3e Airgap round 1 2020-08-14 15:32:33 -04:00
m0duspwnens d963222f31 provide proper url for so-import-pcap based on redirect strategy chosen during setup - https://github.com/Security-Onion-Solutions/securityonion/issues/1039 2020-08-14 15:28:47 -04:00
Jason Ertel 11ebc6b8b2 Do not cancel setup if user choose not to run so-allow during setup 2020-08-14 15:28:42 -04:00
Josh Patterson 0ba0c16c38 Merge pull request #1185 from Security-Onion-Solutions/issue/1049
Issue/1049
2020-08-14 14:55:14 -04:00
m0duspwnens 35027e32b3 dont constantly run steno or suricata containers for import node 2020-08-14 14:43:37 -04:00
weslambert 945bc5c6de Merge pull request #1184 from Security-Onion-Solutions/fix/automate_ssh
Don't copy SSH key if automated install
2020-08-14 14:42:44 -04:00
weslambert c9d6293f8f Don't copy SSH key if automated install 2020-08-14 14:41:35 -04:00
Jason Ertel 7fa5e17935 Correct if logic for determining when to show web interface URL 2020-08-14 14:40:12 -04:00
m0duspwnens f9a6b8d231 remove zeek and suricata from so-status for import node 2020-08-14 14:39:02 -04:00
m0duspwnens 3836f00309 allow sensori port for import node 2020-08-14 14:32:34 -04:00
Jason Ertel 04340728ff Improve title spacing among standard log lines 2020-08-14 14:28:52 -04:00
m0duspwnens ff84640aad add pcap to import node, test not starting zeek docker by default 2020-08-14 13:59:23 -04:00
Josh Patterson fbbec71165 Merge pull request #1183 from Security-Onion-Solutions/issue/1170
Issue/1170
2020-08-14 12:56:57 -04:00
m0duspwnens b7bfa6f9a9 move functions up 2020-08-14 12:55:54 -04:00
m0duspwnens 6602ad3286 sleep for 5 seconds 2020-08-14 12:53:24 -04:00
m0duspwnens 4bb23a089e add some parens 2020-08-14 12:48:52 -04:00
m0duspwnens 4b21c1b492 logic change 2020-08-14 12:45:50 -04:00
Mike Reeves 2a8e4e4eb2 Merge pull request #1182 from Security-Onion-Solutions/feature/airgap
Feature/airgap
2020-08-14 12:32:26 -04:00
m0duspwnens 9d59fc23dd logic changes 2020-08-14 12:24:15 -04:00
Mike Reeves c64faacdbc Install registry if the image is local 2020-08-14 12:15:56 -04:00
Mike Reeves 18f37e3ef8 Install registry if the image is local 2020-08-14 11:49:18 -04:00
m0duspwnens e229cb49bc logic changes 2020-08-14 11:40:21 -04:00
Wes Lambert 7686a05f42 Set Strelka rules enabled by default for Eval Mode 2020-08-14 15:33:38 +00:00
m0duspwnens 69fd803759 change while 2020-08-14 11:30:10 -04:00
m0duspwnens 683e8a2a39 remove quotes 2020-08-14 11:24:46 -04:00
weslambert b662f9354f Merge pull request #1180 from Security-Onion-Solutions/fix/thehive_global
Only copy TheHive details to global pillar if enabled
2020-08-14 11:23:16 -04:00
Wes Lambert ab4285aaaf Only copy TheHive details to global pillar if enabled 2020-08-14 15:21:56 +00:00
m0duspwnens aa2b0699d5 move parens 2020-08-14 11:20:18 -04:00
m0duspwnens 876c6c7cb0 logic changes 2020-08-14 11:16:56 -04:00
m0duspwnens ea5116700d stop both service then start both 2020-08-14 11:01:26 -04:00
m0duspwnens cd1169b68d logging changes 2020-08-14 10:53:42 -04:00
m0duspwnens e2fbe59b7c additional logging 2020-08-14 10:30:01 -04:00
m0duspwnens 0eb0551b68 add check if salt minion is returning jobs 2020-08-14 10:15:54 -04:00
Mike Reeves 283f91459a Fix rule update cron 2020-08-14 10:05:56 -04:00
Mike Reeves 7309767829 Merge pull request #1178 from Security-Onion-Solutions/fix/elasticwatch
Add watch statements
2020-08-14 09:58:40 -04:00
Mike Reeves a3d8b7d0d3 Add watch statements 2020-08-14 09:40:38 -04:00
Jason Ertel 78bceeb9e5 Only show the web interface link when the redirect URL is available, such as on manager nodes 2020-08-14 09:17:25 -04:00
Jason Ertel ee62faae72 Only show the web interface link when the redirect URL is available, such as on manager nodes 2020-08-14 09:10:28 -04:00
Jason Ertel e6830e9cba Avoid reusing header function from so-common 2020-08-14 01:09:47 -04:00
m0duspwnens 42c1e817fe more logging and debugging 2020-08-13 18:09:57 -04:00
m0duspwnens f9f2744d3f logic changes 2020-08-13 17:49:05 -04:00
Jason Ertel 3c113a7a89 Add system information at beginning of installation; provide logging functions to be used instead of echo commands 2020-08-13 17:29:50 -04:00
Josh Brower 34d8261669 Merge pull request #1176 from Security-Onion-Solutions/feature/playbook
Elastalert/Playbook Stability updates
2020-08-13 17:19:01 -04:00
Josh Brower 7400bbd6c1 Elastalert Stability Fixes 2020-08-13 17:14:53 -04:00
m0duspwnens 829490da19 fix errors 2020-08-13 17:05:50 -04:00
m0duspwnens 6cf623e133 some logic changes 2020-08-13 16:52:39 -04:00
Doug Burks ed4bee0d0b so-allow has no usage function #1133 2020-08-13 16:42:50 -04:00
m0duspwnens 3d20cc0341 some debugging 2020-08-13 16:34:18 -04:00
m0duspwnens 1b4029f74b fix syntax errors 2020-08-13 16:18:02 -04:00
m0duspwnens 07ef464375 https://github.com/Security-Onion-Solutions/securityonion/issues/1170 2020-08-13 16:01:53 -04:00
Jason Ertel 40b5b96e17 Respond with 403 status code to unauthorized sensor requests 2020-08-13 15:00:49 -04:00
Josh Patterson 078f87d6c7 Merge pull request #1169 from Security-Onion-Solutions/issue/1049
remove so-registry from docker see for import node as it doesnt even …
2020-08-13 10:49:14 -04:00
m0duspwnens 8ab1cd32f0 remove so-registry from docker see for import node as it doesnt even exist 2020-08-13 10:47:57 -04:00
Josh Patterson ae66ec5f43 Merge pull request #1168 from Security-Onion-Solutions/issue/1049
Issue/1049
2020-08-13 10:12:47 -04:00
m0duspwnens 9fafd5f721 update trusted containers for soup to minimize downloaded containers 2020-08-13 08:32:51 -04:00
m0duspwnens 3387114389 Merge remote-tracking branch 'remotes/origin/dev' into issue/1049 2020-08-13 08:21:43 -04:00
Mike Reeves 5a53194313 Update sotls.yml 2020-08-12 21:12:48 -04:00
Mike Reeves 59ddac57bf Rename sotls.yaml to sotls.yml 2020-08-12 17:48:37 -04:00
m0duspwnens a746d597bb rename to .yml 2020-08-12 17:42:45 -04:00
m0duspwnens dbe14fcbdb Merge remote-tracking branch 'remotes/origin/dev' into issue/1049 2020-08-12 16:46:03 -04:00
Doug Burks 5640faef13 Kernel consoleblank is causing whiptail progress screen to appear to hang #1084 2020-08-12 16:34:59 -04:00
m0duspwnens f59b8683ae allow soup to run on import node 2020-08-12 15:48:34 -04:00
m0duspwnens 5d5fcecdca set the cluster for import node 2020-08-12 15:46:34 -04:00
Mike Reeves 0129519d0c Merge pull request #1165 from Security-Onion-Solutions/feature/esssl
TLS Transport Encryption
2020-08-12 15:39:17 -04:00
Mike Reeves 9980d02844 Elastic Transport TLSgit add . 2020-08-12 15:38:19 -04:00
Mike Reeves 7e3e4d0f54 Convert ES cert to p12 2020-08-12 15:16:12 -04:00
Mike Reeves 82821fbb25 Convert ES cert to p12 2020-08-12 15:09:52 -04:00
Mike Reeves daaffd5185 Convert ES cert to p12 2020-08-12 15:05:33 -04:00
Mike Reeves 683799d077 Convert ES cert to p12 2020-08-12 15:02:54 -04:00
m0duspwnens ddf3e6f943 remove logstash from docker registry seed 2020-08-12 14:05:28 -04:00
Mike Reeves c02a363e92 Merge pull request #1163 from Security-Onion-Solutions/feature/esssl
Feature/esssl
2020-08-12 14:02:27 -04:00
Mike Reeves 69e7285e30 Fix a bug where minio passwrods cause issues 2020-08-12 12:44:55 -04:00
m0duspwnens 68f5c1c3c5 create web user during setup for import node 2020-08-12 12:01:25 -04:00
m0duspwnens dcd5e95b38 add so-pcaptools to registry for import node 2020-08-12 11:57:13 -04:00
m0duspwnens c166bc84f3 add zeek to import node top 2020-08-12 11:48:22 -04:00
m0duspwnens 41afe0ab2e remove tab 2020-08-12 11:33:10 -04:00
m0duspwnens b5c9d44d91 nginx config for import node 2020-08-12 11:15:14 -04:00
Mike Reeves 32083132e5 Back out some ES settings 2020-08-12 11:10:36 -04:00
m0duspwnens dfd3a1de6a set monitor interface to bond0 for import node 2020-08-12 10:42:07 -04:00
m0duspwnens 0f53b4d703 set esheapsize and filebeat config for import node 2020-08-12 10:39:31 -04:00
m0duspwnens 5a0df27193 rename importpcap node to import 2020-08-12 10:27:15 -04:00
m0duspwnens 6260a0aeaa add idstools to docker registry for importpcap node 2020-08-11 16:29:35 -04:00
m0duspwnens 53b4a73bb9 add idstools to importpcap node 2020-08-11 15:59:08 -04:00
m0duspwnens de05403237 ensure nids rules dir exists 2020-08-11 15:52:15 -04:00
Mike Reeves 0f7074a499 SSL intraca 2020-08-11 15:49:04 -04:00
Mike Reeves 65d535d893 SSL intraca 2020-08-11 15:45:17 -04:00
Mike Reeves f862133323 SSL intraca 2020-08-11 15:37:55 -04:00
Mike Reeves 5a0aae5fe7 SSL intraca 2020-08-11 15:34:07 -04:00
Mike Reeves a817465318 SSL intraca 2020-08-11 15:25:09 -04:00
Mike Reeves e8b61a3828 SSL intraca 2020-08-11 15:14:29 -04:00
Mike Reeves 5f30c947c9 SSL intraca 2020-08-11 15:12:23 -04:00
Josh Brower b724d40376 Playbook Stability Fixes 2020-08-11 15:07:16 -04:00
m0duspwnens a81d14463c add logstash to registry for importpcap, change PATCHSCHEDULENAME=auto 2020-08-11 15:01:20 -04:00
Mike Reeves 42c9653669 anon user hack 2020-08-11 14:45:55 -04:00
Mike Reeves f553a8e27a anon user hack 2020-08-11 14:40:34 -04:00
Mike Reeves 8daf11f085 Fix logstash outputs 2020-08-11 13:58:28 -04:00
m0duspwnens 40006752a1 Merge remote-tracking branch 'remotes/origin/dev' into issue/1049 2020-08-11 13:30:48 -04:00
m0duspwnens ee91450424 fix patch schedule name for importpcap node 2020-08-11 13:30:41 -04:00
weslambert 796551d71b Merge pull request #1161 from Security-Onion-Solutions/fix/redisconf
Update Redis maxmemory settings
2020-08-11 13:27:28 -04:00
Mike Reeves 362749ca85 Make hostnames default in cross cluster 2020-08-11 13:00:42 -04:00
weslambert b95f8a9314 Update Redis maxmemory settings 2020-08-11 12:57:57 -04:00
m0duspwnens ec62668eb7 firewall rules for importpcap node 2020-08-11 12:31:37 -04:00
m0duspwnens f6a85ac852 top and seed registry for importpcap node 2020-08-11 12:27:21 -04:00
Mike Reeves 94bb9e0d6c Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into feature/esssl 2020-08-11 12:20:00 -04:00
Mike Reeves 95367f8d23 Fix cross cluster 2020-08-11 12:00:58 -04:00
Mike Reeves 348f7f39cc strip node suffix 2020-08-11 11:37:53 -04:00
Mike Reeves 05a05b5e9b use hostname for cross cluster 2020-08-11 11:15:57 -04:00
Mike Reeves cbba473c2d fix ssl certs for SN 2020-08-11 11:10:27 -04:00
Mike Reeves 32c407231f fix ssl certs for SN 2020-08-11 11:08:49 -04:00
Mike Reeves a5131da5c9 fix ssl certs for SN 2020-08-11 11:07:34 -04:00
Mike Reeves 7e0249c377 ES cleanup 2020-08-11 10:28:21 -04:00
Mike Reeves b84d7d818f Fix for loop 2020-08-11 10:20:02 -04:00
Mike Reeves d941209479 Walk nodes tab 2020-08-11 10:17:28 -04:00
Mike Reeves 32f8ea3158 Removes https from rest port 2020-08-11 10:02:00 -04:00
Jason Ertel 854cc487f7 Always disable screen blanking, to simplify logic 2020-08-11 09:21:06 -04:00
Mike Reeves 59292425c0 Add transport hostname 2020-08-10 23:03:54 -04:00
Mike Reeves ac3f490299 Add transport hostname 2020-08-10 23:02:03 -04:00
Mike Reeves 730e389aae Add transport hostname 2020-08-10 22:57:49 -04:00
Mike Reeves 52cc56bebb Add transport hostname 2020-08-10 22:56:15 -04:00
Mike Reeves c3d8c599cc Turn off user auth 2020-08-10 22:13:17 -04:00
Mike Reeves 6007a6c4d8 Things like this are why I hate Java 2020-08-10 22:10:03 -04:00
Mike Reeves d00231af06 Things like this are why I hate Java 2020-08-10 22:05:46 -04:00
Mike Reeves 31ab1e8ed8 Things like this are why I hate Java 2020-08-10 22:03:24 -04:00
Mike Reeves 6d2be9af7e Things like this are why I hate Java 2020-08-10 21:58:44 -04:00
Mike Reeves cdda46ce58 ca typeo 2020-08-10 21:54:36 -04:00
Mike Reeves 811da5732a Elastic logic fix 2020-08-10 21:51:29 -04:00
Mike Reeves 08d544e527 Fix SSL perms 2020-08-10 21:44:45 -04:00
Mike Reeves cf5c29d01c Change certs path on elstic 2020-08-10 21:30:53 -04:00
Mike Reeves e28619604c Change certs path on elstic 2020-08-10 21:26:00 -04:00
Mike Reeves e7cd527d49 Enable SSL in elastic 2020-08-10 21:18:03 -04:00
Mike Reeves 92cc176b6d Fix features logic in all states that use it 2020-08-10 20:59:41 -04:00
Mike Reeves 28806513d9 Logstash logic fix 2020-08-10 20:53:56 -04:00
m0duspwnens 11433b87e6 Merge remote-tracking branch 'remotes/origin/dev' into issue/1049 2020-08-10 16:36:49 -04:00
Mike Reeves 788864310c Fix ssl state 2020-08-10 14:52:20 -04:00
Mike Reeves 523e42bec8 Fix ssl state 2020-08-10 14:40:11 -04:00
Mike Reeves 9d2d8d372f Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into feature/esssl 2020-08-10 14:27:08 -04:00
Mike Reeves e659af3466 ES basic SSL 2020-08-10 14:26:56 -04:00
Josh Patterson 6bb84f8513 Merge pull request #1160 from Security-Onion-Solutions/quickfix/saltinstall
add replace: False to get rid of warning, eventhough it doesntt. bug …
2020-08-10 13:06:15 -04:00
m0duspwnens 1f3ceb50da add replace: False to get rid of warning, eventhough it doesntt. bug report submitted on saltstack gh. 2020-08-10 13:04:19 -04:00
Josh Patterson b0aa40737b Merge pull request #1159 from Security-Onion-Solutions/quickfix/saltinstall
fix --exclude, add salt-minion-3001.1 where missed
2020-08-10 12:23:48 -04:00
m0duspwnens 8146930b80 fix --exclude, add salt-minion-3001.1 where missed 2020-08-10 12:22:42 -04:00
Josh Patterson b6740ef360 Merge pull request #1158 from Security-Onion-Solutions/quickfix/saltinstall
upgrading to salt 3001.1
2020-08-10 10:21:55 -04:00
m0duspwnens ab7014d70a upgrading to salt 3001.1 2020-08-10 10:19:25 -04:00
Mike Reeves 29aaa84a6f Merge pull request #1157 from Security-Onion-Solutions/feature/esssl
Feature/esssl
2020-08-08 22:20:55 -04:00
Mike Reeves 32fe3ed961 fix ports 2020-08-08 20:59:13 -04:00
Mike Reeves 63031a965a fix ports 2020-08-08 20:48:46 -04:00
Mike Reeves bc09a89a01 output plugin to normal port 2020-08-08 20:36:28 -04:00
Mike Reeves 9248896a20 fix redis ports 2020-08-08 20:24:30 -04:00
Mike Reeves 112dba4549 Upodate SSL 2020-08-08 20:12:17 -04:00
Mike Reeves f154d2fa78 Upodate SSL 2020-08-08 20:04:19 -04:00
Mike Reeves 9708b02387 update pipeline 2020-08-08 18:32:36 -04:00
Mike Reeves 86fd38a347 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into feature/esssl 2020-08-08 17:32:29 -04:00
Mike Reeves f840c85a46 make script run 2020-08-08 17:31:59 -04:00
Mike Reeves 26a095a89c redis binds 2020-08-08 00:20:46 -04:00
Mike Reeves 8a50768e16 redis binds 2020-08-08 00:19:55 -04:00
Mike Reeves dc12cacee0 generate redis key 2020-08-08 00:16:38 -04:00
Mike Reeves d1c4e3d021 generate redis key 2020-08-08 00:15:36 -04:00
Mike Reeves 20dba6eaac jruby ssl fun 2020-08-07 23:56:09 -04:00
Mike Reeves ec1065462c jruby ssl fun 2020-08-07 23:50:26 -04:00
Jason Ertel 5e3d21c43c Wrap minio keys with quotes to ensure YAML parsing 2020-08-07 23:50:18 -04:00
Mike Reeves d171adb9c9 jruby ssl fun 2020-08-07 23:39:13 -04:00
Mike Reeves 64af6f99e9 jruby ssl fun 2020-08-07 23:34:55 -04:00
Mike Reeves 2705cbbf45 jruby ssl fun 2020-08-07 23:33:02 -04:00
Mike Reeves 5525e235d1 jruby ssl fun 2020-08-07 23:28:58 -04:00
Mike Reeves 62a6f29c96 bucket stuff 2020-08-07 22:51:52 -04:00
Mike Reeves 321122cc87 update logstash 2020-08-07 22:43:34 -04:00
Mike Reeves 0d66e32305 sync cacerts 2020-08-07 22:39:29 -04:00
Mike Reeves 952234446f fix logic 2020-08-07 22:18:58 -04:00
Mike Reeves cca0dd9344 enable jinja 2020-08-07 22:14:33 -04:00
Mike Reeves 1b0f90b7e4 sync script 2020-08-07 22:12:47 -04:00
Mike Reeves d15d53bcdc Add script to extract cacerts 2020-08-07 22:04:30 -04:00
Josh Brower 4b99f55e0a Merge pull request #1155 from Security-Onion-Solutions/feature/playbook-fixes2
Playbook/Nav Fixes - Issue #1064
2020-08-07 17:03:32 -04:00
Josh Brower 928e5ed832 Playbook/Nav Fixes - Issue #1064 2020-08-07 17:02:48 -04:00
m0duspwnens 30e0abf326 Merge remote-tracking branch 'remotes/origin/dev' into issue/1049 2020-08-07 16:43:02 -04:00
m0duspwnens 0c2ea53f25 revert back to local_salt_dir 2020-08-07 16:42:46 -04:00
m0duspwnens b02332d84a fix global pillar location for setup 2020-08-07 16:18:11 -04:00
m0duspwnens 7933bafd55 more fixes for importpcap node 2020-08-07 15:46:45 -04:00
m0duspwnens d7b55c1109 add so-status map for importpcap 2020-08-07 15:21:07 -04:00
m0duspwnens 86b118ba1a add importpcap to local assigned hostgroups yaml 2020-08-07 15:00:32 -04:00
m0duspwnens 9649994f73 add importpcap to pillar/top 2020-08-07 14:40:02 -04:00
m0duspwnens a8147d7d3b add importpcap to salt_checkin for setup ssl/ca 2020-08-07 14:19:58 -04:00
Jason Ertel 847939e9b2 Fixed extra space that causes global.sls file to be empty 2020-08-07 14:11:28 -04:00
m0duspwnens fadd81c9f3 so-importpcap to ssl state 2020-08-07 13:58:29 -04:00
m0duspwnens 7c3070655b copy_minion_tmp_files for IMPORTPCAP too 2020-08-07 13:39:17 -04:00
Josh Brower ff209cfd65 Merge pull request #1149 from Security-Onion-Solutions/feature/wlb-parsing
Ingest Parsing Update for Sysmon/WEL
2020-08-07 13:37:22 -04:00
Josh Brower 3ec1b1db71 Merge pull request #1154 from Security-Onion-Solutions/feature/playbook-fixes
More Playbook Fixes - Issue #1064
2020-08-07 13:36:38 -04:00
Josh Brower a8b980b6a7 More Playbook Fixes - Issue #1064 2020-08-07 13:35:43 -04:00
m0duspwnens 2d7aefed0d add IMPORTPCAP node to set_hostname 2020-08-07 11:42:48 -04:00
m0duspwnens 7d11fc345f dont ask for patch schedule for importpcap node 2020-08-07 11:19:31 -04:00
m0duspwnens 24b77fa855 enlarge whiptail for install type selection 2020-08-07 11:16:52 -04:00
m0duspwnens 2c6a20fee9 enlarge whiptail for install type selection 2020-08-07 11:11:21 -04:00
m0duspwnens d668b85033 copy_ssh_key for is_importpcap also 2020-08-07 11:09:12 -04:00
m0duspwnens fce22c1cc4 Merge remote-tracking branch 'remotes/origin/dev' into issue/1049 2020-08-07 10:27:11 -04:00
Mike Reeves b534d2b975 Update so-functions 2020-08-07 10:05:47 -04:00
Mike Reeves d3e6657b45 Fix Spacing 2020-08-07 10:01:40 -04:00
Mike Reeves 80550b0d76 Merge pull request #1151 from Security-Onion-Solutions/feature/minio
Feature/minio
2020-08-06 15:45:27 -04:00
Josh Brower c3da302353 Merge pull request #1150 from Security-Onion-Solutions/feature/playbook-fixes
Simplify elastalert rules
2020-08-06 15:45:06 -04:00
Josh Brower ddd099233a Playbook Fixes - Issue #1064 2020-08-06 15:43:45 -04:00
Mike Reeves bbdaee28ed Add upload queue thread 2020-08-06 15:41:10 -04:00
Mike Reeves 16d0c02113 Fix cert dev null 2020-08-06 15:39:02 -04:00
Mike Reeves 63e31bd6b9 Add upload queue thread 2020-08-06 15:33:48 -04:00
Jason Ertel 31fd0b6407 Update the Hunt event fields lookups to reflect the latest ingest configs 2020-08-06 14:59:39 -04:00
Josh Brower 4f9ef89098 Simplify elastalert rules 2020-08-06 14:30:44 -04:00
Josh Brower 15efe77e06 Ingest Parsing Update for Sysmon/WEL 2020-08-06 13:11:47 -04:00
Mike Reeves 4936da9b5d Merge pull request #1146 from Security-Onion-Solutions/feature/minio
Feature/minio
2020-08-05 23:01:58 -04:00
Mike Reeves e7225349a6 Ability to toggle between redis and minio 2020-08-05 22:56:41 -04:00
Mike Reeves 4e40615e51 Add tuneable to the global pillar 2020-08-05 22:47:12 -04:00
Mike Reeves d9b1127308 Switch to gzip encoding 2020-08-05 22:36:23 -04:00
m0duspwnens d7801acea5 add mode 1 2020-08-05 17:09:41 -04:00
Mike Reeves 633c100ace final logstash tweaks 2020-08-05 16:40:21 -04:00
Jason Ertel 30ff6d2b93 Update event fields to reflect new ECS terms - WIP 2020-08-05 16:28:36 -04:00
William Wernert 64c366971f [fix] Redirect ca state apply in setup to /dev/null
Redirect ca state apply line in accept_salt_key_remote to /dev/null to avoid generating error in setup log
2020-08-05 16:13:25 -04:00
m0duspwnens 8079dc54fc add stuff for /etc/salt/minion to get populated for importpcap node 2020-08-05 15:42:22 -04:00
m0duspwnens 83dc35c720 add importpcap mode to whiptail 2020-08-05 15:24:11 -04:00
m0duspwnens 66ca7b266c first commit of importpcap node mode code, kek 2020-08-05 14:44:23 -04:00
Mike Reeves cd766753eb Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into feature/minio 2020-08-05 14:34:22 -04:00
Mike Reeves 95cae2f17a SSL path for logstash 2020-08-05 14:14:35 -04:00
Mike Reeves e30746c5ca Final minio fix 2020-08-05 14:12:06 -04:00
Mike Reeves 734f2979d2 add ca.crt to lgostash docker bind 2020-08-04 23:20:51 -04:00
Mike Reeves 1855eeaa13 fix cert name 2020-08-04 23:09:08 -04:00
Mike Reeves 970ee195a1 use hostname so TLS will work 2020-08-04 23:08:33 -04:00
Mike Reeves 58872c9b48 enable ssl logstash 2020-08-04 22:40:59 -04:00
Mike Reeves a765790d6c fix minio container name 2020-08-04 22:37:04 -04:00
Mike Reeves a733dceb18 enable ssl minio 2020-08-04 22:33:40 -04:00
Mike Reeves 5d4a0c53b5 add ssl cert for minio 2020-08-04 21:29:07 -04:00
Mike Reeves 61ff944087 add tmp to survive restarts 2020-08-04 18:18:06 -04:00
Mike Reeves a2e5dca065 Fix output pillar for minio 2020-08-04 18:02:54 -04:00
Mike Reeves 38d0f519ce Fix output pillar for minio 2020-08-04 18:00:05 -04:00
Mike Reeves 9c5a969c2e Fix minio init 2020-08-04 17:18:09 -04:00
Mike Reeves fd039b3008 Fix top file for minio 2020-08-04 17:11:20 -04:00
Mike Reeves c56ead08e9 add so minio docker 2020-08-04 16:28:50 -04:00
Mike Reeves 407160b729 Update changes.json 2020-08-04 16:23:03 -04:00
Mike Reeves 24ed92c9dc minio and change to global 2020-08-04 15:54:03 -04:00
Mike Reeves 549bf7ba19 Activate minio 2020-08-04 10:17:43 -04:00
weslambert e9af032c28 Merge pull request #1143 from Security-Onion-Solutions/feature/aws_mgr_defaults
Add AWS defaults file for manager
2020-08-04 10:13:07 -04:00
Wes Lambert 46f70c254c Add AWS defaults file for manager 2020-08-04 14:11:50 +00:00
weslambert f7425b14e3 Merge pull request #1142 from Security-Onion-Solutions/feature/aws_eval_defaults
AWS defaults modifications
2020-08-03 23:51:32 -04:00
Wes Lambert 2290c28a07 AWS defaults modifications 2020-08-04 03:49:59 +00:00
Mike Reeves 7c1120e47d Fix grafana monitor interface. 2020-08-03 18:48:01 -04:00
Jason Ertel d1641aa0d8 chown /var/ossec dir to match the needful user/group ownership for ossec-agentd 2020-08-03 15:49:21 -04:00
Josh Patterson 51934d6e5f Merge pull request #1137 from Security-Onion-Solutions/issue/1091
iunstall saltstack 3001 during setup
2020-08-03 11:39:44 -04:00
m0duspwnens fb887f7d9e iunstall saltstack 3001 during setup 2020-08-03 10:47:24 -04:00
weslambert 12f53ce9d9 Merge pull request #1134 from Security-Onion-Solutions/fix/aws_auto_reboot
Reboot after finished with setup
2020-08-03 10:31:24 -04:00
weslambert 7e2917fc99 Reboot after finished with setup 2020-08-03 10:31:03 -04:00
Jason Ertel f47128824e Before finishing setup, rescan the log file and root mailbox for errors 2020-08-02 09:04:29 -04:00
weslambert 9255e77263 Merge pull request #1129 from Security-Onion-Solutions/feature/aws_standalone_defaults
Add AWS Standalone Defaults
2020-07-31 16:15:12 -04:00
Wes Lambert ecafbc6014 Add AWS Standalone Defaults 2020-07-31 20:12:25 +00:00
Josh Brower f99413c84d Merge pull request #1128 from Security-Onion-Solutions/feature/launcher-update
Osquery & WLB Parsing Update for WEL & Sysmon
2020-07-31 16:07:41 -04:00
Josh Brower 4d66d37ac5 Merge branch 'dev' into feature/launcher-update 2020-07-31 16:07:33 -04:00
Josh Brower d971d07720 Osquery & WLB Parsing Update for WEL & Sysmon 2020-07-31 16:06:15 -04:00
Josh Patterson 40272b2ed0 Merge pull request #1126 from Security-Onion-Solutions/issue/1091
Issue/1091
2020-07-31 13:53:28 -04:00
m0duspwnens b3b67ff2a5 Merge remote-tracking branch 'remotes/origin/dev' into issue/1091 2020-07-31 13:50:11 -04:00
m0duspwnens d16d2b6551 full path to salt bootstrap 2020-07-31 13:42:06 -04:00
m0duspwnens e3581bb76e change to salt-common 2020-07-31 13:36:21 -04:00
m0duspwnens 13c9fa3089 test minion upgrade at end 2020-07-31 13:32:12 -04:00
m0duspwnens 1e1d6a395d cant get grains.filter_by to work for some reason 2020-07-31 13:25:37 -04:00
m0duspwnens d7ad2fbfd7 move include 2020-07-31 13:17:56 -04:00
m0duspwnens dd865f6a68 change map 2020-07-31 13:10:37 -04:00
m0duspwnens 173f945fc0 remove comma 2020-07-31 13:01:37 -04:00
m0duspwnens d6f89cb09a fix ubuntu salt-common package name 2020-07-31 12:37:19 -04:00
m0duspwnens 7287f5f935 wordsmithing 2020-07-30 17:01:17 -04:00
m0duspwnens da9dc42a47 more logging 2020-07-30 16:47:40 -04:00
m0duspwnens 2ad17dfd06 dont append 2020-07-30 16:42:59 -04:00
m0duspwnens 8d044084e1 try to log soup 2020-07-30 16:41:21 -04:00
Josh Brower ed8d443fe5 Merge pull request #1125 from Security-Onion-Solutions/feature/launcher-update
Fleet - Update osquery config for 4.4 windows_events
2020-07-30 16:35:42 -04:00
Josh Brower 4e01ef2795 Fleet - Update osquery config for 4.4 windows_events 2020-07-30 16:34:48 -04:00
m0duspwnens de7f67ff2f fix UPGRADECOMMAND 2020-07-30 16:31:37 -04:00
m0duspwnens f209deac98 call detect_os function 2020-07-30 16:25:45 -04:00
m0duspwnens 914d890a51 fix UPGRADECOMMAND 2020-07-30 16:21:01 -04:00
m0duspwnens 8180f2cd93 remove quotes 2020-07-30 16:13:38 -04:00
m0duspwnens cc48b55acf change state name 2020-07-30 16:06:01 -04:00
m0duspwnens 1492d132ca add ability to upgrade salt minion and master for ubuntu 2020-07-30 16:00:50 -04:00
m0duspwnens a4fc2cbd42 caps 2020-07-30 13:50:22 -04:00
m0duspwnens 4bf4634762 ensure yum versionlock with a state rather than cmd.run state 2020-07-30 13:47:21 -04:00
m0duspwnens 6812d3f5c5 change output wording, add periods 2020-07-30 13:35:09 -04:00
m0duspwnens a562d70fe2 stop salt minion first then salt master 2020-07-30 13:18:59 -04:00
m0duspwnens 8a8705f469 move when we check for salt minion update in setup 2020-07-30 12:41:09 -04:00
m0duspwnens 9570efbf8e fix opt check 2020-07-30 12:15:09 -04:00
m0duspwnens c099f3c5ec change if for optargs 2020-07-30 11:49:34 -04:00
m0duspwnens de0b34a66b change if for optargs 2020-07-30 11:43:18 -04:00
m0duspwnens 1c5e6fa10f change if for optargs 2020-07-30 11:39:58 -04:00
m0duspwnens e9d889f719 fix regex 2020-07-30 11:33:19 -04:00
m0duspwnens 2222bce77b update regex 2020-07-30 11:22:12 -04:00
m0duspwnens 728afdcaaf exit soup if batch size invalid 2020-07-30 11:18:27 -04:00
m0duspwnens 3d4a96fae0 update ssl state unless , check and upgrade salt minion if needed during install 2020-07-30 11:16:37 -04:00
weslambert 00ba4ca6c0 Merge pull request #1121 from Security-Onion-Solutions/fix/thehive_static
Fix/thehive static
2020-07-30 10:27:43 -04:00
weslambert 4282930f08 Update cortex-application.conf 2020-07-30 10:26:49 -04:00
weslambert c58ee8a37d Add Cortex play secret 2020-07-30 10:25:53 -04:00
weslambert b6a053070f Change TheHive play secret 2020-07-30 10:25:07 -04:00
weslambert 2fab00458b Add randomized play secrets for Cortex + TheHive 2020-07-30 10:23:00 -04:00
Mike Reeves 55053748df Merge pull request #1119 from Security-Onion-Solutions/fix/2.0.3
2.0.3
2020-07-30 09:52:04 -04:00
m0duspwnens 14584b28e1 include salt state in salt.minion, manager salt-minion service in salt.minion state; 2020-07-29 16:04:47 -04:00
m0duspwnens 3e78c88114 update salt top to run salt.minion state if defined version not installed. only apply other states if proper version installed 2020-07-29 15:52:48 -04:00
Mike Reeves 1e15786430 Update VERIFY_ISO.md 2020-07-29 15:48:37 -04:00
Mike Reeves c73d4aa690 Update sig file for 2.0.3 2020-07-29 15:40:02 -04:00
m0duspwnens 22b757f112 dont install new minion if already installed 2020-07-29 15:36:35 -04:00
m0duspwnens 03144446c8 revert branch to original code 2020-07-29 14:59:00 -04:00
m0duspwnens 5a814f8312 change condidtional statement 2020-07-29 14:41:58 -04:00
m0duspwnens 8c466f548b update wording 2020-07-29 14:38:42 -04:00
m0duspwnens 171aa1178a fix vars and if statement 2020-07-29 14:36:42 -04:00
m0duspwnens 8a44d4752b fix var def 2020-07-29 14:26:57 -04:00
m0duspwnens c949845218 only try to upgrade salt on grid if salt upgraded on manager 2020-07-29 14:20:17 -04:00
m0duspwnens b8c0653818 soup upgrade salt on minions - add batch size option 2020-07-29 14:18:11 -04:00
weslambert 646bf1cb4d Merge pull request #1118 from Security-Onion-Solutions/fix/wazuh_register_to
Fix/wazuh registration timeout
2020-07-29 13:53:45 -04:00
weslambert c48ba8abaf Re-arrange config 2020-07-29 13:52:12 -04:00
weslambert 9db390023b Increase timeout from 10s to 30s 2020-07-29 13:51:46 -04:00
m0duspwnens 0de6e86cdb dont run booststrap-salt if the proper version is installed 2020-07-29 13:39:55 -04:00
m0duspwnens b9d0bd86ca fbkeylink and fbcertlink owned by socore:socore 2020-07-29 13:27:06 -04:00
m0duspwnens 9b29dff04f only generate p8 files if the key used for genetation changes 2020-07-29 11:40:45 -04:00
m0duspwnens dca3855f81 remove always update if branch specified 2020-07-29 10:50:11 -04:00
m0duspwnens b67e3507d3 always update and clean dockers 2020-07-29 10:13:30 -04:00
Mike Reeves e3da326fcb Remove non used pillar items 2020-07-29 09:27:18 -04:00
weslambert 4b36c4a809 Merge pull request #1115 from Security-Onion-Solutions/fix/remove_ls_syslog
Remove LS syslog port binding
2020-07-29 08:35:41 -04:00
weslambert 7d432091e2 Remove LS syslog port binding 2020-07-29 08:35:07 -04:00
Josh Brower e7b9e001e1 mysql init.sls - change startup time from 2 min to 15min
Closes https://github.com/Security-Onion-Solutions/securityonion/issues/1106
2020-07-28 22:08:00 -04:00
m0duspwnens f056a0a17b use import_yaml 2020-07-28 17:09:53 -04:00
m0duspwnens 8905869db2 move salt pillars to defaults 2020-07-28 16:58:44 -04:00
m0duspwnens bfae439c90 salt state distribute bootstrap script 2020-07-28 16:37:14 -04:00
Doug Burks cf63e891b5 Update changes.json 2020-07-28 16:29:03 -04:00
m0duspwnens 4d5c8e5c2b add salt minion state to install/upgrade salt-minion 2020-07-28 16:22:42 -04:00
Mike Reeves b46b7ae1a0 Update changes.json 2020-07-28 16:19:16 -04:00
Mike Reeves db89089291 Update README.md 2020-07-28 16:15:59 -04:00
Mike Reeves 1ff440b7b0 Update VERSION 2020-07-28 16:15:23 -04:00
Josh Brower b1c09a9b72 Typo fix - ingest parser - win.eventlogs 2020-07-28 15:23:17 -04:00
m0duspwnens c00b452f8d change module.run for ca state 2020-07-28 15:10:16 -04:00
m0duspwnens 73830123b6 Merge remote-tracking branch 'remotes/origin/dev' into issue/1091 2020-07-28 14:32:07 -04:00
m0duspwnens 307945e260 dont state salt-minion service, allow salt state to start it during highstate 2020-07-28 13:51:28 -04:00
m0duspwnens 2067cc118f remove broken logging 2020-07-28 13:25:43 -04:00
m0duspwnens 77acb8f348 change ot /opt/so/log 2020-07-28 13:20:01 -04:00
m0duspwnens d8375cce14 touch soup log 2020-07-28 13:15:47 -04:00
m0duspwnens 73a1a05404 change back sed delimiters, last highstate log level to info 2020-07-28 13:11:38 -04:00
Josh Brower fe76f1c87c Merge pull request #1111 from Security-Onion-Solutions/feature/refactor-sysmon-parsing
initial refactor - beats/sysmon parsing
2020-07-28 11:04:13 -04:00
Josh Brower 55e60cb749 initial refactor - beats/sysmon parsing 2020-07-28 11:03:33 -04:00
m0duspwnens fb453a0d9c change sed delimiters in soup 2020-07-28 08:13:03 -04:00
m0duspwnens 254dcdb2f0 prevent dockers from redownloading if we are updating soup to a branch 2020-07-27 18:19:26 -04:00
m0duspwnens f42a39ca69 allow soup to continue update if branch is specified 2020-07-27 18:08:27 -04:00
m0duspwnens e811718ebc change to salt 3001.1, fix dupe state name, add git branch option to soup 2020-07-27 17:53:02 -04:00
m0duspwnens 7606cc0ad0 changes to ssl state for salt 3001 2020-07-27 15:51:31 -04:00
weslambert 0f6ecdf38a Merge pull request #1104 from Security-Onion-Solutions/feature/cortex_orguser
Create default orguser if empty
2020-07-27 09:50:23 -04:00
Wes Lambert e81fd7464b Create default orguser if empty 2020-07-27 13:49:17 +00:00
weslambert ced51761fa Merge pull request #1103 from Security-Onion-Solutions/feature/wazuh_version
Bump Wazuh version
2020-07-27 09:46:27 -04:00
Wes Lambert ac5aeb4801 Bump Wazuh version 2020-07-27 13:45:34 +00:00
weslambert 88ffd0c17c Merge pull request #1101 from Security-Onion-Solutions/feature/wazuh_symlinks
Add Wazuh Wazuh symlinks for config/rules
2020-07-27 08:15:58 -04:00
Wes Lambert 51e27cadc8 Add Wazuh Wazuh symlinks for cpnfig/rules 2020-07-27 12:14:43 +00:00
weslambert 2d2bebdd9c Merge pull request #1100 from Security-Onion-Solutions/feature/wazuh_nsm
Move Wazuh from /opt/so/ to /nsm/wazuh
2020-07-27 07:59:39 -04:00
Wes Lambert 958ee25f6d Move Wazuh from /opt/so/ to /nsm/wazuh 2020-07-27 11:58:12 +00:00
weslambert 2d096ddd66 Merge pull request #1096 from Security-Onion-Solutions/fix/elastalert_thehive
Make sure we are searching all clusters when running rules
2020-07-24 18:05:46 -04:00
Wes Lambert 3ac9f1800b Make sure we are searching all clusters when running rules 2020-07-24 22:04:30 +00:00
m0duspwnens 78491e1fc5 soup update salt on manager for centos - https://github.com/Security-Onion-Solutions/securityonion/issues/1091 2020-07-24 15:06:06 -04:00
William Wernert 6c9c60b8dd Merge branch 'master' into dev
# Conflicts:
#	VERSION
2020-07-24 11:50:34 -04:00
Doug Burks 25f6ec861a Merge pull request #1090 from Security-Onion-Solutions/fix/2.0.2
Fix/2.0.2
2020-07-24 11:47:19 -04:00
Mike Reeves 2cabcd4239 Update sig file and hashes 2020-07-24 10:19:38 -04:00
Mike Reeves 91e7a474d5 Update VERIFY_ISO.md 2020-07-24 10:18:09 -04:00
Mike Reeves 79c45156c2 Update changes.json 2020-07-23 22:13:02 -04:00
Mike Reeves 31daad1e5b Update VERIFY_ISO.md
still needs MD5s etc
2020-07-23 22:11:22 -04:00
Mike Reeves 650c983a2e Update README.md 2020-07-23 22:09:05 -04:00
Mike Reeves 95bb1147ca Update VERSION 2020-07-23 22:08:23 -04:00
Jason Ertel ec09c064d0 If SENSOR_CHECKIN_INTERVAL_MS is still not set when using in a template, fallback to 10s 2020-07-23 21:19:45 -04:00
Jason Ertel 39426afffd Ensure SENSOR_CHECKIN_INTERVAL_MS var is non-null before saving static pillar 2020-07-23 21:00:10 -04:00
Jason Ertel 9eeb527ea7 Include UTC parameter when providing a hyperlink to Hunt from so-import-pcap output 2020-07-23 17:18:42 -04:00
Mike Reeves bb6871a54a Merge pull request #1087 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update VERIFY_ISO.md
2020-07-23 15:29:32 -04:00
Mike Reeves 261310ce92 Update VERIFY_ISO.md 2020-07-23 15:28:37 -04:00
Mike Reeves 5417b31a10 Merge pull request #1086 from Security-Onion-Solutions/TOoSmOotH-patch-2
Update VERIFY_ISO.md
2020-07-23 15:27:27 -04:00
Mike Reeves 11932366cd Update VERIFY_ISO.md 2020-07-23 15:25:53 -04:00
Doug Burks 2f73dcc6f6 Merge pull request #1085 from Security-Onion-Solutions/fix/2.0.1sig
Update Signature and hashes
2020-07-23 15:23:58 -04:00
Mike Reeves acf20bf2e8 Update Signature and hashes 2020-07-23 15:20:22 -04:00
Mike Reeves 4d84b840e4 Update Signature and hashes 2020-07-23 15:16:39 -04:00
Mike Reeves c112dfa098 Merge pull request #1074 from Security-Onion-Solutions/fix/2.0.1sig
Update Signature and Download Links
2020-07-23 13:36:30 -04:00
Mike Reeves 3dd8e1998d Update Signature and Download Links 2020-07-23 13:33:12 -04:00
Mike Reeves d66f424e5e Merge pull request #1072 from Security-Onion-Solutions/fix/2.0.1-pcap-interval
Fix/2.0.1 Update Readme and changes.json
2020-07-23 12:12:13 -04:00
Mike Reeves 4b127010ee Update changes.json 2020-07-23 11:59:20 -04:00
Mike Reeves 75477fe9bf Update changes.json 2020-07-23 11:56:14 -04:00
Mike Reeves 30fa9872f9 Update README.md 2020-07-23 10:38:26 -04:00
Jason Ertel 1e993da31d Merge master into dev to pull in 2.0.1-rc.1 patch 2020-07-23 09:56:42 -04:00
Mike Reeves 42390eb8a2 Merge pull request #1069 from Security-Onion-Solutions/fix/2.0.1-pcap-interval
Fix/2.0.1 pcap interval and security fixes
2020-07-23 09:53:56 -04:00
Mike Reeves ff77abfdc8 Update soup
Remove strelka that isn't an image. Fix formatting
2020-07-23 09:51:52 -04:00
Mike Reeves 74faab92ab Remove variables.txt 2020-07-23 09:21:05 -04:00
Mike Reeves 201efd285a Fix passwords from conflicting with yaml 2020-07-22 16:34:50 -04:00
Mike Reeves 6d6ba04dcd Fix version replace 2020-07-22 16:15:32 -04:00
Mike Reeves b24c82d49c Fix Docker List 2020-07-22 16:09:28 -04:00
Mike Reeves b9e6ddf7df Clean up static.sls passwords 2020-07-22 15:50:56 -04:00
Jason Ertel 46e7d29f12 Add support for custom branches in soup 2020-07-22 14:35:50 -04:00
Jason Ertel cb46ca4832 Ensure distributed installations have the check-in interval correctly set 2020-07-22 14:26:55 -04:00
William Wernert f3c24f1f01 [fix] Add check for $TESTING 2020-07-21 16:43:21 -04:00
William Wernert c70bb9e58f Merge pull request #1053 from Security-Onion-Solutions/feature/storage-calculation
Feature/storage calculation
2020-07-21 16:41:12 -04:00
William Wernert 752d1bceb4 [fix] Remove old storage space check 2020-07-21 16:36:37 -04:00
William Wernert ddf0a5055e [fix] Exit on NO 2020-07-21 16:34:08 -04:00
William Wernert 003271127a [feat] Only check storage during setup on a network install 2020-07-21 16:32:28 -04:00
William Wernert c531395452 Merge branch 'dev' into feature/storage-calculation 2020-07-21 16:24:28 -04:00
William Wernert e43829b22c [fix] Add then to if statement 2020-07-21 16:24:13 -04:00
William Wernert d6f7dcb630 [refactor] Changes to storage requirements
See #1047
2020-07-21 15:35:13 -04:00
Jason Ertel d2df405cf0 so-import-pcap improvements: Ensure PCAP filenames with spaces are handled properly; Provide link directly to the imported logs, filtered by import ID; Require sudo access to run so-import-pcap 2020-07-21 11:07:09 -04:00
Mike Reeves abc68c2efb Update VERIFY_ISO.md 2020-07-21 08:51:46 -04:00
Mike Reeves f5665ad700 Merge pull request #1045 from Security-Onion-Solutions/TOoSmOotH-patch-1
Update VERIFY_ISO.md
2020-07-21 08:49:53 -04:00
Mike Reeves 3141e2eca1 Update VERIFY_ISO.md 2020-07-21 08:46:38 -04:00
Jason Ertel 3281467994 When running in automated mode, cat all piped in input to setup log 2020-07-20 20:26:35 -04:00
Jason Ertel e881f4c92b Increment VERSION for dev to 2.1.0-rc.2; Add more logging to troubleshoot automated setup not initiating post-installation steps 2020-07-20 17:37:53 -04:00
Mike Reeves 6c49addbec Merge pull request #1040 from Security-Onion-Solutions/dev
Update ISO Signature
2020-07-20 17:01:02 -04:00
Mike Reeves a891fed1be Create VERIFY_ISO.md 2020-07-20 16:58:32 -04:00
Mike Reeves bbd1e9ba74 Create KEYS 2020-07-20 16:36:23 -04:00
Doug Burks da3b055428 Update README.md 2020-07-20 16:33:39 -04:00
Doug Burks a7fdd21284 Update README.md 2020-07-20 16:30:25 -04:00
Mike Reeves 1b02ad0d46 Upload ISO sig 2020-07-20 16:13:07 -04:00
Josh Brower 6d1ad3f2e0 Merge pull request #1038 from Security-Onion-Solutions/dev
Fix for telegraf
2020-07-20 14:38:12 -04:00
Josh Patterson 666464c7f2 Merge pull request #1037 from Security-Onion-Solutions/quickfix/grafana
ensure telegraf hostname is lowercase
2020-07-20 14:36:49 -04:00
m0duspwnens fc14f4d8d8 ensure telegraf hostname is lowercase 2020-07-20 14:35:47 -04:00
Doug Burks 095e637dfa Merge pull request #1036 from Security-Onion-Solutions/dev
2.0.0.rc.1
2020-07-20 14:35:16 -04:00
William Wernert edcf834635 Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev
# Conflicts:
#	salt/common/tools/sbin/so-elastic-clear
2020-07-20 14:23:23 -04:00
William Wernert 9be4756a90 [fix] Resolve merge commits 2020-07-20 14:22:55 -04:00
bryant-treacle 9ff3ffc401 Issue #885: so-elastic-clear not removing so-* indices 2020-07-20 14:21:17 -04:00
Mike Reeves a642ea0e98 Merge branch 'master' into dev 2020-07-20 13:27:44 -04:00
William Wernert 6f73d62400 Merge branch 'dev' into feature/nginx-update 2020-07-20 13:13:32 -04:00
Mike Reeves 0b0543045b Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into dev 2020-07-20 10:15:53 -04:00
Mike Reeves 9565050b82 Fix Features script 2020-07-20 10:15:47 -04:00
Jason Ertel beda859207 Update changes.json sub-bullets to improve communication of the content 2020-07-20 08:47:39 -04:00
Jason Ertel bd70fdbb33 Corrected JSON syntax to avoid a blank Overview screen in SOC; Applied HTML formatting of changes.json summaries for better markup handling. 2020-07-19 08:11:57 -04:00
Jason Ertel 053f27eb35 Run setterm, to blank terminal, only for non-automated installations 2020-07-19 06:58:28 -04:00
Mike Reeves 514df1211e Soup Update 2020-07-18 23:34:45 -04:00
Mike Reeves 28a954db82 Soup Update 2020-07-18 23:24:22 -04:00
Mike Reeves 0302d2b6ac Soup Update 2020-07-18 23:19:52 -04:00
Mike Reeves 74e6846e84 Soup Update 2020-07-18 23:19:14 -04:00
Mike Reeves 954c12acfb Soup Update 2020-07-18 23:16:39 -04:00
Mike Reeves 872f849204 Soup Update 2020-07-18 23:12:53 -04:00
Mike Reeves 5bab5ae7d1 Soup Update 2020-07-18 23:10:37 -04:00
Mike Reeves 27568f0047 Soup Update 2020-07-18 23:09:18 -04:00
Mike Reeves 095a87dc46 Soup Update 2020-07-18 23:06:31 -04:00
Mike Reeves 847a9d76e0 Soup Update 2020-07-18 23:02:28 -04:00
Mike Reeves fbc8a90083 Soup Update 2020-07-18 22:58:15 -04:00
Mike Reeves 7b1ca5f361 Fix common tools permissions 2020-07-18 22:50:08 -04:00
Mike Reeves 1bcbcb1f98 Fix idstools jinja 2020-07-18 22:46:57 -04:00
Mike Reeves 517edf1938 Update Release Notes 2020-07-18 17:55:35 -04:00
Mike Reeves 64bd70bb48 Update Release Notes 2020-07-18 17:50:25 -04:00
Mike Reeves f4c23fcc2e Merge pull request #1033 from Security-Onion-Solutions/fix/idstools
Fix/idstools
2020-07-18 17:33:54 -04:00
Mike Reeves 16906b8361 Merge branch 'dev' into fix/idstools 2020-07-18 17:32:54 -04:00
Mike Reeves 3de2afe618 Fix final bugs 2020-07-18 17:29:11 -04:00
Jason Ertel 23420ace56 Prevent nmcli, setterm, and echo output from leaking to console and crontab output 2020-07-18 08:38:09 -04:00
Mike Reeves 1d24d7bc7f Misc pillars 2020-07-17 17:38:10 -04:00
Mike Reeves b75487dc74 Update so-functions 2020-07-17 17:36:13 -04:00
Mike Reeves aaca5c7ff2 Update rulecat.conf 2020-07-17 17:35:16 -04:00
Mike Reeves 2e2bcfb3b7 Fix functions so pillars are correct 2020-07-17 17:33:36 -04:00
Mike Reeves e78a14e2c7 Merge pull request #1032 from Security-Onion-Solutions/fix/idstools
IDSTOOLS Pillar Items
2020-07-17 16:00:59 -04:00
Mike Reeves 693a101d34 IDSTOOLS Pillar Items 2020-07-17 15:59:58 -04:00
William Wernert 3c855ed793 [fix] Set $percentage since it only exists in previous subshell 2020-07-17 15:38:14 -04:00
Mike Reeves d3529686cc Merge pull request #1031 from Security-Onion-Solutions/quickfix/bro2zeeklogs
change reference from bro to zeek
2020-07-17 14:53:47 -04:00
m0duspwnens 7176fdf7a1 rename from bro to zeek 2020-07-17 14:53:01 -04:00
m0duspwnens e3efaee864 change reference from bro to zeek 2020-07-17 14:41:44 -04:00
Mike Reeves 74f6f2abee Update soup 2020-07-17 13:38:55 -04:00
Josh Patterson 0d737b8f41 Merge pull request #1030 from Security-Onion-Solutions/quickfix/schedulesetup
remove quotes
2020-07-17 13:30:43 -04:00
William Wernert 5570c778ad [feat] Add hostname formatting check for manager hostname 2020-07-17 13:30:08 -04:00
m0duspwnens 6ba342c084 remove quotes 2020-07-17 13:30:05 -04:00
William Wernert 1309e0c7ad Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-07-17 13:09:21 -04:00
William Wernert 446817353d [refactor] | tee ... >> to > ... 2>> to show errors in log 2020-07-17 13:09:18 -04:00
Josh Brower 3c6ae08d4d Merge pull request #1029 from Security-Onion-Solutions/bugfix/fleet-eval
Kibana Fleet Pivot Fix
2020-07-17 13:01:08 -04:00
Josh Brower da155b5dea Kibana Fleet Pivot Fix 2020-07-17 13:00:03 -04:00
William Wernert 1abf324654 [fix] Set py_ver_url_path for all install types 2020-07-17 12:59:17 -04:00
William Wernert d88e15ecb4 [fix] Use | tee instead of redirect when already redirecting to setup log 2020-07-17 12:33:25 -04:00
William Wernert 9cbc7ad8f5 [fix] guage -> gauge 2020-07-17 12:08:16 -04:00
William Wernert 1bd154760d Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-07-17 11:09:11 -04:00
William Wernert ede250d9e4 [feat] Merge access method dialogs together 2020-07-17 11:09:08 -04:00
William Wernert d97271cca3 [fix] Don't drop to shell while running so-allow 2020-07-17 11:08:31 -04:00
Mike Reeves 17e3bde2f8 Create home dir for adduser function 2020-07-17 10:55:30 -04:00
Josh Brower 083e43b26b Merge pull request #1028 from Security-Onion-Solutions/bugfix/fleet-eval
Eval Ubuntu Fleet fix
2020-07-17 10:27:51 -04:00
Josh Brower 6e4eb76393 Eval Ubuntu Fleet fix 2020-07-17 10:25:48 -04:00
Josh Patterson 5633eed6a4 Merge pull request #1027 from Security-Onion-Solutions/quickfix/schedulesetup
dont try to copy schedules if the directory is empty
2020-07-17 10:24:50 -04:00
m0duspwnens 2541f4d8e8 dont try to copy schedules if the directory is empty 2020-07-17 10:23:51 -04:00
Josh Patterson e6b795e8b3 Merge pull request #1026 from Security-Onion-Solutions/quickfix/schedulesetup
dont try to copy schedules if the directory is empty
2020-07-17 10:07:17 -04:00
m0duspwnens 6f077e66e6 dont try to copy schedules if the directory is empty 2020-07-17 10:05:54 -04:00
weslambert 2341d9592e Merge pull request #1025 from Security-Onion-Solutions/fix/wazuh_cleanup
Change verbiage
2020-07-17 09:39:21 -04:00
weslambert e91aa751a7 Change verbiage 2020-07-17 09:38:43 -04:00
William Wernert 958d614bef [fix] Only show motd ip message on manager node 2020-07-17 09:21:47 -04:00
Josh Brower 442e870c16 Merge pull request #1024 from Security-Onion-Solutions/bugfix/kibana-dashboard-updates
Kibana dashboard updates
2020-07-17 08:15:33 -04:00
Josh Brower 32a6f825c2 Kibana dashboard updates 2020-07-17 08:14:37 -04:00
Josh Patterson 06c4924b70 Merge pull request #1023 from Security-Onion-Solutions/quickfix/yum
change from manager to master for salt config.get
2020-07-16 21:06:35 -04:00
m0duspwnens cc77a50d8d change from manager to master for salt config.get 2020-07-16 21:05:44 -04:00
Mike Reeves 2d68d5419b fix adtotab perms 2020-07-16 19:47:15 -04:00
Mike Reeves 258d9d3bfc change salt perms 2020-07-16 17:07:04 -04:00
Mike Reeves 03ff592aa4 Merge pull request #1022 from Security-Onion-Solutions/fix/telegrafperms
Fix salt refresh script
2020-07-16 16:38:40 -04:00
Mike Reeves 21f09a9cd5 Fix salt refresh script 2020-07-16 16:37:48 -04:00
Josh Brower 4fd1daeca1 Merge pull request #1021 from Security-Onion-Solutions/bugfix/fleet-packages-urlbase
Osquery packages hostname fix
2020-07-16 16:36:30 -04:00
Josh Brower 51beb52bb8 Osquery packages hostname fix 2020-07-16 16:35:51 -04:00
Mike Reeves 20446ed3aa Merge pull request #1020 from Security-Onion-Solutions/fix/telegrafperms
Fix/telegrafperms
2020-07-16 16:34:04 -04:00
Mike Reeves d31ce4aa48 Fix soup issues 2020-07-16 16:32:38 -04:00
Mike Reeves 07626905c5 Fix telegraf script perms 2020-07-16 15:20:11 -04:00
Josh Patterson 5634446fcb Merge pull request #1019 from Security-Onion-Solutions/quickfix/lstoes
fix the container watch for logstash container state
2020-07-16 15:06:29 -04:00
m0duspwnens c61a52cc5e fix the container watch for logstash container state 2020-07-16 15:05:54 -04:00
William Wernert 25dbcfaebe [refactor] Add check for "Result: False" in setup 2020-07-16 14:08:56 -04:00
Josh Patterson f1d8548913 Merge pull request #1017 from Security-Onion-Solutions/quickfix/lstoes
dont run templates script if there arent templates
2020-07-16 13:37:15 -04:00
m0duspwnens 9606d86e84 dont run templates script if there arent templates 2020-07-16 13:36:44 -04:00
William Wernert 8f62cd8f82 Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-07-16 11:33:20 -04:00
William Wernert a041be5c21 [fix] Don't force YARA Strelka rules during setup 2020-07-16 11:33:11 -04:00
phil1090 5d2c6d330f Update README.md 2020-07-16 10:15:40 -04:00
Josh Patterson 582edd7aac Merge pull request #1016 from Security-Onion-Solutions/quickfix/lstoes
including elasticsearch in logstash state
2020-07-16 10:13:18 -04:00
m0duspwnens f10f47ad4e including elasticsearch in logstash state 2020-07-16 10:12:10 -04:00
weslambert f8bb094546 Merge pull request #1014 from Security-Onion-Solutions/fix/strelka_standalone
Fix module eval
2020-07-16 09:32:06 -04:00
Wes Lambert 8275f458a1 Fix module eval 2020-07-16 13:30:38 +00:00
William Wernert 5190e5d434 Update README.md 2020-07-16 09:20:20 -04:00
weslambert 7fecfdab32 Update README.md 2020-07-16 08:14:47 -04:00
weslambert f7d527bb90 Update README.md 2020-07-16 08:14:23 -04:00
Josh Brower 350d2fbeda Update README.md 2020-07-15 19:07:25 -04:00
Josh Brower 29c28fcb5e Update README.md 2020-07-15 19:06:36 -04:00
Josh Brower 48c9244a81 Update README.md 2020-07-15 19:05:49 -04:00
Mike Reeves a4672dedee Update README.md 2020-07-15 18:17:05 -04:00
Mike Reeves 473606371a Fix Features Download 2020-07-15 17:49:13 -04:00
Mike Reeves d71dc89b13 New SOUP 2020-07-15 17:46:33 -04:00
Jason Ertel 9781d8d0e7 Ensure permissions are consistently applied to all imported PCAP files 2020-07-15 13:53:28 -04:00
Jason Ertel 0a976861f3 Dynamically set sensor checkin interval; allow overrides if var is preset 2020-07-15 13:22:14 -04:00
Josh Brower 80e081e828 Merge pull request #1010 from Security-Onion-Solutions/bugfix/playbook-anonymous-perms
Playbook anonymous perms fix
2020-07-15 12:40:47 -04:00
Josh Brower d11ef08961 Playbook anonymous perms fix 2020-07-15 12:37:04 -04:00
Jason Ertel 3c42f50e99 Ensure whiptail success/summary screen is final step before reboot 2020-07-15 11:12:48 -04:00
Josh Patterson 83428d4785 Merge pull request #1009 from Security-Onion-Solutions/quickfix/lstoes
load templates for es for eval
2020-07-15 08:32:50 -04:00
m0duspwnens e4fff05dbc load templates for es for eval 2020-07-15 08:30:43 -04:00
Jason Ertel 9dc1151347 Imported logs are sent to so-import index on eval installations 2020-07-14 22:59:42 -04:00
Jason Ertel b53ce392ef Improve grammer of summary screen in whiptail 2020-07-14 22:45:38 -04:00
Jason Ertel c0960e58e8 Improve grammer of so-allow input prompt 2020-07-14 19:42:53 -04:00
Josh Patterson 549916306c Merge pull request #1008 from Security-Onion-Solutions/quickfix/lstoes
Quickfix/lstoes
2020-07-14 17:37:19 -04:00
m0duspwnens 5cf71596b2 add curlys 2020-07-14 17:36:52 -04:00
Jason Ertel acb800d1c9 Using static UID for Grafana overview dashboard to allow SOC to directly link to those dashboards 2020-07-14 17:36:30 -04:00
Jason Ertel 9bbbaa485c Switch PM to AM since we want to span midnight to midnight 2020-07-14 17:36:30 -04:00
m0duspwnens acaec6c125 remove recurse causing issues 2020-07-14 17:12:29 -04:00
Josh Brower e7e1982862 Merge pull request #1007 from Security-Onion-Solutions/bugfix/ingest-parsing
Parsing & Hunt query updates
2020-07-14 17:00:04 -04:00
Josh Brower 8647944ae6 Parsing & Hunt query updates 2020-07-14 16:59:06 -04:00
Mike Reeves 55056f3193 Merge pull request #1006 from Security-Onion-Solutions/fix/perms
Change opt/so perms
2020-07-14 16:19:02 -04:00
m0duspwnens 57bf23d83c move templates from logstash to elasticsearch 2020-07-14 16:07:46 -04:00
Doug Burks a1e6a85a68 explicitly set Suricata timestamp timezone to UTC 2020-07-14 15:49:46 -04:00
weslambert 7a36803e2c Merge pull request #1002 from Security-Onion-Solutions/fix/strelka_observer
Add observer name for Strelka events
2020-07-14 13:39:52 -04:00
Wes Lambert f9df39977b Add observer name for Strelka events 2020-07-14 17:38:43 +00:00
weslambert 7ed902c0ae Merge pull request #1001 from Security-Onion-Solutions/fix/suricata_timestamp
Convert message timestamp to @timestamp
2020-07-14 13:34:58 -04:00
Josh Brower 47388fa98d Merge pull request #998 from Security-Onion-Solutions/bugfix/fleet-soimage-fix
Fleet reactor fix
2020-07-14 13:06:52 -04:00
Josh Brower ba8395fc11 Fleet reactor fix 2020-07-14 13:04:29 -04:00
William Wernert 3df5904269 Merge pull request #979 from Security-Onion-Solutions/feature/setup
Feature/setup
2020-07-14 11:17:03 -04:00
William Wernert caf9e3f75a [fix] Redirect hive_init output to log 2020-07-14 11:13:50 -04:00
William Wernert ad3c4c4950 [fix] master -> manager 2020-07-14 11:09:12 -04:00
Mike Reeves 57cd2cdbeb Change opt/so perms 2020-07-14 10:37:49 -04:00
William Wernert 4ab90a9a30 [fix] Move redirect var to function after $MAINIP has been set 2020-07-14 10:12:51 -04:00
Mike Reeves f2d9abf1a5 Merge pull request #996 from Security-Onion-Solutions/fix/curator
Add all actions to cron
2020-07-14 10:05:27 -04:00
Mike Reeves e404a41d8a Add all actions to cron 2020-07-14 10:04:15 -04:00
Mike Reeves 15be31af6d Merge pull request #995 from Security-Onion-Solutions/fix/curator
Fix spelling error in actions
2020-07-14 09:43:41 -04:00
Jason Ertel 67f2edce28 Resolve merge conflict that reverted import URL back to Kibana 2020-07-14 09:40:16 -04:00
Mike Reeves d4e6189f6e Fix spelling error in actions 2020-07-14 09:39:56 -04:00
Wes Lambert d6afde90b0 Convert message timestamp to @timestamp 2020-07-14 13:37:00 +00:00
Josh Brower 0c9c66f6e1 Merge pull request #993 from Security-Onion-Solutions/bugfix/playbook-init
Bugfix/playbook init
2020-07-14 09:14:56 -04:00
Josh Brower 2c72940010 Playbook db init fix 2020-07-14 09:09:55 -04:00
Josh Brower b884e09e7a Playbook db init fix 2020-07-14 09:09:47 -04:00
William Wernert 178ac79da8 [refactor] Set $REDIRECTIT outside of subshell 2020-07-14 09:05:09 -04:00
Jason Ertel 09c460dbe9 Switch to final image repository prefix 'securityonion' for RC1 2020-07-14 00:45:20 -04:00
Jason Ertel d75d64c8ed Mount imported pcap dirs into sensoroni container for imported PCAP pivots 2020-07-13 21:03:47 -04:00
Jason Ertel 8f66a27f07 Refactor image repository to a single variable 2020-07-13 18:26:43 -04:00
Jason Ertel f67f0679ae Add new so-pcaptools image to docker list for network install 2020-07-13 16:02:22 -04:00
William Wernert aa4d435020 [fix] Don't run so-allow before setup complete menu 2020-07-13 15:21:05 -04:00
William Wernert 81c8185cb5 [refactor] Delete check for network install since we check /nsm now 2020-07-13 14:53:47 -04:00
William Wernert 1cf0732991 Merge branch 'dev' into feature/setup
# Conflicts:
#	setup/so-setup
2020-07-13 14:35:24 -04:00
William Wernert 00f178197c [fix] Evaluate $success early to avoid checking against other output 2020-07-13 14:34:11 -04:00
Mike Reeves 98811c147d Merge pull request #989 from Security-Onion-Solutions/feature/isosetup
Fix username so install works properly from ISO
2020-07-13 14:27:20 -04:00
Mike Reeves 55869c4f81 Fix username so install works properly from ISO 2020-07-13 14:25:10 -04:00
William Wernert c585713122 [style] Change SO_ERROR check to non-empty check 2020-07-13 13:28:54 -04:00
Josh Patterson 8dc63a1f52 Merge pull request #987 from Security-Onion-Solutions/quickfix/patchschedule
Quickfix/patchschedule
2020-07-13 11:35:00 -04:00
m0duspwnens 59c00057b1 fix patch pillar, select patch hours on 1 screen 2020-07-13 11:34:30 -04:00
m0duspwnens ef3c5d1fe0 fix patch pillar, select patch hours on 1 screen 2020-07-13 11:31:37 -04:00
William Wernert 06aa63dd14 Merge branch 'dev' into feature/setup 2020-07-13 11:24:04 -04:00
Mike Reeves 3bc492ebde Merge pull request #986 from Security-Onion-Solutions/feature/isosetup
Removes create admin user from setup
2020-07-13 11:13:10 -04:00
Mike Reeves dc0aa270d9 Fix ISO rsync 2020-07-13 11:12:11 -04:00
Mike Reeves 14faa3b898 Clean up bash profile 2020-07-13 11:08:04 -04:00
Mike Reeves a6cceef986 Removes create admin user from setup 2020-07-13 10:55:55 -04:00
Josh Patterson db80675609 Merge pull request #985 from Security-Onion-Solutions/quickfix/elasticpillar
prevent elasticsearch pillar being added twice for managers and helix
2020-07-13 09:48:44 -04:00
m0duspwnens 242e17b329 prevent elasticsearch pillar being added twice for managers and helix 2020-07-13 09:45:11 -04:00
William Wernert c31c24ccd8 [fix] Check /nsm instead of / for free space 2020-07-13 09:12:24 -04:00
Josh Brower e62381e998 Merge pull request #982 from Security-Onion-Solutions/bugfix/alerting
Misc fixes
2020-07-10 19:50:27 -04:00
Josh Brower 65062d93f4 Misc fixes 2020-07-10 19:43:43 -04:00
William Wernert 99dc16d644 Merge pull request #981 from Security-Onion-Solutions/bugfix/disk-space-network-only
[fix] Only check for disk space on a network install
2020-07-10 18:52:48 -04:00
William Wernert 605daaf66b [fix] Only check for disk space on a network install 2020-07-10 18:45:34 -04:00
William Wernert 056b3a0629 Merge branch 'dev' into feature/setup
# Conflicts:
#	setup/so-setup
2020-07-10 18:41:24 -04:00
William Wernert f9c8f8cdca [fix] Set SKIP_REBOOT on any failure during setup 2020-07-10 18:40:39 -04:00
William Wernert aee304e5d5 [fix] master -> manager 2020-07-10 18:13:20 -04:00
William Wernert 4cfecae3b2 [ix] Remove grafanapassword pillar key 2020-07-10 17:59:51 -04:00
William Wernert ce7373501b [fix] Add fallback for hive + cortex users 2020-07-10 17:58:47 -04:00
William Wernert a5c790c31e [fix] managerr -> manager 2020-07-10 17:50:53 -04:00
William Wernert 8b146aac32 Merge branch 'dev' into feature/nginx-update
# Conflicts:
#	salt/nginx/etc/nginx.conf
#	salt/nginx/etc/nginx.conf.so-eval
#	salt/nginx/etc/nginx.conf.so-manager
#	salt/nginx/etc/nginx.conf.so-managersearch
#	salt/nginx/etc/nginx.conf.so-mastersearch
#	salt/nginx/etc/nginx.conf.so-standalone
2020-07-10 17:49:34 -04:00
William Wernert 81006ebbd0 [fix] Reflect new manager syntax 2020-07-10 17:46:15 -04:00
William Wernert 571e97cdf7 Merge branch 'dev' into feature/setup
# Conflicts:
#	salt/thehive/scripts/cortex_init
#	salt/thehive/scripts/hive_init
#	setup/so-functions
#	setup/so-whiptail
2020-07-10 17:42:56 -04:00
William Wernert 547298fce0 [refactor] Hide output for cortex and thehive init scripts 2020-07-10 17:34:33 -04:00
weslambert ef64048fc6 Merge pull request #978 from Security-Onion-Solutions/fix/sensor-clean
Fix value
2020-07-10 17:17:57 -04:00
weslambert eb2dc0be4c Fix value 2020-07-10 17:17:33 -04:00
Josh Patterson 69023cdb31 Merge pull request #976 from Security-Onion-Solutions/issue/404
Issue/404
2020-07-10 16:28:28 -04:00
m0duspwnens 13af4cacb0 merge with dev and resolve conflicts 2020-07-10 16:27:10 -04:00
Mike Reeves 755f47da2d Merge pull request #975 from Security-Onion-Solutions/fix/lstemplate
Fix/lstemplate
2020-07-10 15:55:50 -04:00
Mike Reeves 46d572fa8c Fix Filebeat spacing 2020-07-10 15:51:12 -04:00
weslambert 9b079df9f5 Merge pull request #974 from Security-Onion-Solutions/fix/sensor_clean
Fix/sensor clean
2020-07-10 15:35:57 -04:00
Wes Lambert d7f7fb801c Set role 2020-07-10 19:35:27 +00:00
Wes Lambert 37ab252e01 Add sensor proc eval 2020-07-10 19:30:08 +00:00
William Wernert f56811e745 [feat] Use setup user+pass for TheHive, Cortex, and Fleet as well 2020-07-10 14:40:04 -04:00
William Wernert 67c8836cd6 [fix] Use 100GB min space for standalone also 2020-07-10 14:39:02 -04:00
William Wernert 72aa91b763 [feat] Add message in setup and motd on where to access SOC 2020-07-10 14:38:21 -04:00
m0duspwnens 9730c4561d add elasticsearch pillar to manager 2020-07-10 14:08:39 -04:00
Jason Ertel 358ef78cd9 Do not stop curator since imported data will now be placed into a longer term so-import index 2020-07-10 13:58:52 -04:00
Jason Ertel 811bbb4cb0 Require sudo to run an import 2020-07-10 13:58:52 -04:00
weslambert 33375a0809 Merge pull request #973 from Security-Onion-Solutions/fix/curator_logsizelimit
Move zeek_clean to so-sensor-clean
2020-07-10 13:57:58 -04:00
Wes Lambert 6e99ca600f Move zeek_clean to so-sensor-clean 2020-07-10 17:56:40 +00:00
Mike Reeves 5eb33d5ac7 Logstash Import and Template Assignment 2020-07-10 13:53:55 -04:00
m0duspwnens 24b8f81e38 merge with dev and resolve conflicts 2020-07-10 12:20:14 -04:00
Mike Reeves bbef7955b2 Update eval.sls 2020-07-10 11:36:46 -04:00
Mike Reeves 9da4dd0ac9 Merge pull request #971 from Security-Onion-Solutions/feature/espillarz
Feature/espillarz
2020-07-10 11:35:24 -04:00
Mike Reeves c656bec9c0 Merge branch 'dev' into feature/espillarz 2020-07-10 11:35:12 -04:00
m0duspwnens 0a1b5f29eb merge with dev and resolv conflicts 2020-07-10 10:48:49 -04:00
m0duspwnens 1f48dc765e merge with dev and resolv conflicts 2020-07-10 10:36:48 -04:00
Mike Reeves 3706aa76d8 Add jinja extension 2020-07-10 10:35:31 -04:00
Doug Burks 2ce254dfb0 add new DPD query to Hunt 2020-07-10 06:00:36 -04:00
Doug Burks f5114c034d change Log Type query in Hunt to include event.dataset in the groupby 2020-07-10 05:52:10 -04:00
Mike Reeves 1a6c4c12b4 Fix elasticsearch yaml 2020-07-09 21:56:32 -04:00
Jason Ertel 6bfd777d25 Enabled elastalert log 2020-07-09 21:34:35 -04:00
Mike Reeves 8ef18f9044 Fiz pillar 2020-07-09 18:51:59 -04:00
m0duspwnens b2e7a4221c master to manager for ssl signing policy 2020-07-09 17:19:17 -04:00
Mike Reeves 9a7035326d Update Logstash pillar 2020-07-09 17:09:20 -04:00
m0duspwnens 9c2dcd2318 fix reference to master grain 2020-07-09 17:06:44 -04:00
Mike Reeves ad6c9e7fe9 recurse actions for curator 2020-07-09 16:58:35 -04:00
Mike Reeves 6094d19b0b Make hot default 2020-07-09 16:54:31 -04:00
Mike Reeves 3c6465bb7f ES Jinja the config 2020-07-09 16:42:39 -04:00
Jason Ertel 33179141a1 Enable PCAP pivots from imports 2020-07-09 16:11:38 -04:00
m0duspwnens 5ca3ecf4bd fix reference to master grain 2020-07-09 15:42:39 -04:00
Josh Brower 7b91704894 Merge pull request #970 from Security-Onion-Solutions/defensivedepth-patch-2-host-pillar
Update so-setup
2020-07-09 15:32:38 -04:00
Josh Brower 58d290aa57 Update so-setup 2020-07-09 15:32:19 -04:00
William Wernert c5eff1d89e [feat][WIP] Add option to run so-allow -a <ip/cidr> during setup 2020-07-09 14:47:55 -04:00
Josh Brower 206bdc60f3 Merge pull request #967 from Security-Onion-Solutions/feature/low-level-alerts
Feature - low level alerts
2020-07-09 13:56:31 -04:00
m0duspwnens bdd0f64462 add period 2020-07-09 13:54:48 -04:00
Josh Brower 52f7111e1d Feature - low level alerts 2020-07-09 13:53:55 -04:00
m0duspwnens aea3099df6 change wording 2020-07-09 13:52:31 -04:00
m0duspwnens 823ee42120 https://github.com/Security-Onion-Solutions/securityonion/issues/404 2020-07-09 13:45:24 -04:00
Mike Reeves 7c6677916a Curator actions 2020-07-09 12:56:29 -04:00
Mike Reeves 357efac873 Add index specific curator settings 2020-07-09 12:10:53 -04:00
Mike Reeves ca20279a09 Add curator to static pillar 2020-07-09 12:00:07 -04:00
Mike Reeves 96bcf9d9f3 Add temaplte files per index 2020-07-09 11:51:55 -04:00
m0duspwnens 3cf31e2460 https://github.com/Security-Onion-Solutions/securityonion/issues/404 2020-07-09 11:27:06 -04:00
Mike Reeves 9c2f7d574d Add ES settings to pillar 2020-07-09 11:19:02 -04:00
Mike Reeves 2c32c24bf0 Fix logstash logic 2020-07-09 09:16:48 -04:00
Josh Patterson 2bfdb09674 Merge pull request #966 from Security-Onion-Solutions/issue/959
fix typo
2020-07-09 08:52:30 -04:00
m0duspwnens d539f1ddf8 fix typo 2020-07-09 08:51:53 -04:00
Doug Burks 8dfafffef0 remove duplicate line for message2.conn_uids 2020-07-09 06:44:08 -04:00
weslambert 818f7f56b2 Merge pull request #965 from Security-Onion-Solutions/feature/add_gcp_check
Add GCP and make cloud check more generic
2020-07-08 23:31:37 -04:00
weslambert c01047fad2 Add /dev/null 2020-07-08 23:30:50 -04:00
weslambert 889ba67d85 Move EC2 to more generic cloud verbiage 2020-07-08 23:27:46 -04:00
weslambert ce00d829e1 Move EC2 to more generic cloud verbiage and check for GCP 2020-07-08 23:26:48 -04:00
William Wernert 49e5cb311e [fix][WIP] set ssl cert for redirect 443 server block 2020-07-08 16:05:48 -04:00
William Wernert 533ed395e7 [fix][WIP] Remove ssl and http2 from redirect server block 2020-07-08 15:59:31 -04:00
William Wernert a0ffe26334 [fix] Only one default_server is allowed per port 2020-07-08 15:56:36 -04:00
weslambert 67fb46f519 Merge pull request #963 from Security-Onion-Solutions/fix/curator_logsizelimit
Add standalone evaluation for log_size_limit
2020-07-08 15:40:54 -04:00
Josh Patterson 99ce77e9bd Merge pull request #962 from Security-Onion-Solutions/issue/959
pillarize yum.conf installonly_limit and proxy
2020-07-08 15:39:22 -04:00
Wes Lambert f2cea273b6 Add standalone evaluation for log_size_limit 2020-07-08 19:39:14 +00:00
m0duspwnens 59061926f0 pillarize yum.conf installonly_limit and proxy 2020-07-08 15:37:20 -04:00
William Wernert 0c3e35c55e [fix] correct jinja template syntax 2020-07-08 14:30:27 -04:00
William Wernert cfd1b82e00 [refactor] Redirect to correct url_base + combine configs 2020-07-08 13:49:33 -04:00
weslambert beda67d2a9 Merge pull request #955 from Security-Onion-Solutions/fix/strelka_message_drop
Drop message field and original exiftool keys
2020-07-08 10:56:06 -04:00
weslambert 4cf31e1ee7 Drop message field and original exiftool keys 2020-07-08 10:55:40 -04:00
Doug Burks fef803a86c Add ignore_failure to geoip processor calls #942 2020-07-08 10:41:14 -04:00
Josh Patterson 3352eb77e9 Merge pull request #954 from Security-Onion-Solutions/issue/825
add pillar example for filebeat inputs/output
2020-07-08 09:53:18 -04:00
m0duspwnens 5f68542241 add pillar example for filebeat inputs/output 2020-07-08 09:52:25 -04:00
weslambert 9c11de5455 Merge pull request #953 from Security-Onion-Solutions/fix/zeek_files_uid
Rename uids to uid
2020-07-08 09:40:04 -04:00
weslambert b25a3b6986 Rename uids to uid 2020-07-08 09:39:37 -04:00
weslambert 88b7a31195 Merge pull request #952 from Security-Onion-Solutions/fix/wazuh_authdport
Add Wazuh Authd Port
2020-07-08 09:26:28 -04:00
weslambert 987acaeb7b Add Wazuh Authd Port 2020-07-08 09:26:04 -04:00
Josh Brower 10cbc96f48 Merge pull request #948 from Security-Onion-Solutions/fix/fleet
Fleet setup bugfix
2020-07-07 20:56:43 -04:00
Josh Brower b4b122dbd9 Fleet setup bugfix 2020-07-07 20:55:47 -04:00
William Wernert 4231fb1d1a Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-07-07 17:38:30 -04:00
William Wernert 72a98b33a7 [fix] Change test to check value of $SO_ERROR 2020-07-07 17:38:23 -04:00
Mike Reeves cdce804c9f Update 9700_output_strelka.conf.jinja 2020-07-07 17:36:49 -04:00
weslambert 2992938596 Merge pull request #947 from Security-Onion-Solutions/fix/strelka_exiftool
Add fields for exiftool keys
2020-07-07 17:13:57 -04:00
Mike Reeves fc377cd3c1 Merge pull request #945 from Security-Onion-Solutions/issue/929
SSL Lockdown
2020-07-07 16:31:33 -04:00
Mike Reeves 1954a389b0 Update so-functions 2020-07-07 16:12:07 -04:00
Mike Reeves 9576151993 Merge pull request #944 from Security-Onion-Solutions/issue/937
Issue/937
2020-07-07 16:07:47 -04:00
Wes Lambert 3b50ce032a Add fields for exiftool keys 2020-07-07 20:02:09 +00:00
Josh Patterson 07cc89e4d6 Merge pull request #943 from Security-Onion-Solutions/issue/825
Pillarize filebeat inputs and output
2020-07-07 15:51:08 -04:00
m0duspwnens fff713db85 changes for https://github.com/Security-Onion-Solutions/securityonion/issues/825 2020-07-07 15:48:47 -04:00
Mike Reeves eccfaf94fb Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion into issue/937 2020-07-07 15:10:12 -04:00
Jason Ertel f4f189cc50 correct capitalization of true 2020-07-07 14:28:11 -04:00
William Wernert 640cfee3e1 Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-07-07 13:13:28 -04:00
William Wernert 3815f7e58e [refactor] Edit logic around setup failure/completion
* Always run `install_cleanup` and `so-allow`
* Change if statement to check whether `$success != 0` or if `$SO_ERROR` was set
* Set `$IP` only for `so-allow` instead of exporting it
2020-07-07 13:12:46 -04:00
William Wernert 1d47cec928 [refactor] Move install_cleanup outside of whiptail functions 2020-07-07 13:02:58 -04:00
William Wernert 0b995533ea [refactor] Only notify user of error found during setup 2020-07-07 13:01:29 -04:00
Mike Reeves ec89ab39ac Update 9999_output_redis.conf.jinja 2020-07-07 11:56:45 -04:00
weslambert 34e06ecde1 Merge pull request #940 from Security-Onion-Solutions/feature/strelka_fuid
Add Zeek FUID for Strelka records
2020-07-07 11:01:09 -04:00
Wes Lambert e0570e1db7 Add Zeek FUID for Strelka records 2020-07-07 15:00:01 +00:00
Mike Reeves c59096d9bd rename node pillar to elasticsearch 2020-07-07 10:42:12 -04:00
Jason Ertel 62cc02301e Do not attempt to install a plugin or bc command if already exists 2020-07-07 10:28:15 -04:00
weslambert d334d5ab83 Merge pull request #938 from Security-Onion-Solutions/fix/strelka_filebeat
Fix pillar reference for Strelka/FB
2020-07-07 09:48:19 -04:00
Wes Lambert 2fdd5fd77b Fix pillar reference for Strelka/FB 2020-07-07 13:46:57 +00:00
William Wernert e2c9184b29 [fix][refactor] Don't use relative path in so-setup-network 2020-07-07 08:45:28 -04:00
Mike Reeves 291ac3c597 Fix SSL Perms 2020-07-06 17:24:04 -04:00
Mike Reeves be5f4b04c6 Fix SSL Perms 2020-07-06 17:21:23 -04:00
Mike Reeves cc6d0c1cb5 Merge pull request #935 from Security-Onion-Solutions/issue/929
Change grafana to use anon auth
2020-07-06 16:45:19 -04:00
Mike Reeves 3b452ab597 Change grafana to use anon auth 2020-07-06 16:39:43 -04:00
Mike Reeves cc2f023840 Merge pull request #934 from Security-Onion-Solutions/issue/142
Issue/142
2020-07-06 16:12:48 -04:00
Mike Reeves f05e366d49 Fix salt upgrade script 2020-07-06 15:56:55 -04:00
Mike Reeves be3390a796 Fix Logstash state 2020-07-06 15:53:21 -04:00
Josh Patterson da0a0ae6ae Merge pull request #933 from Security-Onion-Solutions/quickfix/firewall
add elasticsearch_rest to assigned hostgroups where missing
2020-07-06 15:20:00 -04:00
m0duspwnens b4e556496b add elasticsearch_rest to assigned hostgroups where missing 2020-07-06 15:18:47 -04:00
Mike Reeves 623c37f1f5 Merge remote-tracking branch 'remotes/origin/dev' into issue/142 2020-07-06 14:35:46 -04:00
Mike Reeves 1016315196 Change Logic for logstash 2020-07-06 13:58:38 -04:00
Mike Reeves 087080d583 Add logix for logstash_settings 2020-07-06 13:16:40 -04:00
William Wernert 57bbb02c65 [refactor][fix] Move nmcli status list gen to a function
nmcli is only assured to be installed after detect_os is run so move this command to a function so it can run after detect_os
2020-07-02 17:18:56 -04:00
William Wernert 99d490bc06 [fix][refactor] Move detect_ec2 and add echo statement 2020-07-02 17:15:46 -04:00
bryant-treacle cfeb95a718 Merge pull request #924 from Security-Onion-Solutions/feature/so-container-scripts
Additional so-container scripts Issue # 701
2020-07-02 14:42:49 -04:00
William Wernert b9a176201f Merge pull request #913 from Security-Onion-Solutions/feature/setup-changes
Feature/setup changes
2020-07-02 14:01:46 -04:00
William Wernert d2ba25e784 Merge branch 'dev' into feature/setup-changes
# Conflicts:
#	setup/so-setup
2020-07-02 14:00:10 -04:00
weslambert 0bfa3d486e Merge pull request #923 from Security-Onion-Solutions/fix/es-allow
Fix my typo
2020-07-02 13:32:45 -04:00
weslambert bbc752b6d9 Fix my typo 2020-07-02 13:32:19 -04:00
Josh Brower 518c8db3de Merge pull request #922 from Security-Onion-Solutions/feature/low-level-alerts
Initial commit - Low Level Alerts
2020-07-02 12:18:03 -04:00
Josh Brower 69ace6fbfa Initial commit - Low Level Alerts 2020-07-02 12:16:56 -04:00
Jason Ertel cf6a229f51 Import now requires execution on a sensor node due to the need for zeek and suricata; Automatically stop curator if curator is installed 2020-07-02 12:07:30 -04:00
Mike Reeves 541de278c9 Merge pull request #918 from Security-Onion-Solutions/versionfix
Versionfix
2020-07-02 10:39:15 -04:00
Mike Reeves 5df88f6f2d Update so-functions 2020-07-02 10:36:28 -04:00
Mike Reeves 86a2650fbf Update VERSION 2020-07-02 10:34:50 -04:00
Mike Reeves c895503fe6 Merge pull request #917 from Security-Onion-Solutions/updateversion
Update VERSION
2020-07-02 10:06:23 -04:00
Mike Reeves 63ef3a1e07 Update VERSION 2020-07-02 10:05:12 -04:00
William Wernert c7a3cc9c17 [fix][revert] Change source in so-allow to correct path 2020-07-02 08:58:14 -04:00
Jason Ertel 4cedacf8fd Improve curator verbiage in so-import-pcap 2020-07-02 06:01:17 -04:00
Josh Brower 07d13b7ad0 Merge pull request #916 from Security-Onion-Solutions/defensivedepth-patch-1
Delete playbook_db_init.sql.backup
2020-07-02 05:32:45 -04:00
Josh Brower 7811ea5d4c Delete playbook_db_init.sql.backup 2020-07-02 05:32:35 -04:00
Josh Brower 0f915ec85e Merge pull request #915 from Security-Onion-Solutions/feature/playbook-updates
Feature/playbook updates
2020-07-02 05:31:30 -04:00
Josh Brower 3c93f9fd45 Playbook setup fix 2020-07-02 05:30:30 -04:00
bryant-treacle 0b10b775c5 Additional so-container scripts 2020-07-02 07:02:35 +00:00
Jason Ertel ac01b8de4b Stop curator when directed on PCAP imports 2020-07-01 22:04:07 -04:00
Doug Burks 98cfba18e9 fix zeek.ftp description 2020-07-01 20:27:40 -04:00
Doug Burks f6adf4ed56 fix zeek.smb_mapping description 2020-07-01 20:26:51 -04:00
Doug Burks 2cbd5ffe61 fix zeek.ssh description 2020-07-01 20:26:06 -04:00
Jason Ertel e3126064e8 Improve usage instructions for so-import-pcap 2020-07-01 17:58:02 -04:00
William Wernert aeda3fde74 [revert] Remove regex from setup log grep 2020-07-01 17:39:04 -04:00
William Wernert 408b5ee32d [ix] Fix if conditions 2020-07-01 17:25:26 -04:00
Jason Ertel 96e93b012d Adjust imports for filebeat configuration to ensure import data is placed into ES 2020-07-01 17:18:01 -04:00
Josh Brower d893aa0032 Playbook Updates 2020-07-01 16:48:07 -04:00
William Wernert b671f28562 [fix] Rename function whiptail_bond_nics to whiptail_sensor_nics 2020-07-01 16:32:33 -04:00
William Wernert 85a3f3c277 Merge branch 'dev' into feature/setup-changes 2020-07-01 16:24:55 -04:00
William Wernert b4f9fe5f54 [fix] Remove quotes 2020-07-01 16:24:41 -04:00
William Wernert b75cb36058 Merge branch 'feature/ec2_setup' into feature/setup-changes 2020-07-01 16:23:48 -04:00
William Wernert 54c3327240 [refactor] Simplify ec2 detection + handling 2020-07-01 16:23:38 -04:00
Jason Ertel d6feafb12a Correct indentation in filebeat.yaml 2020-07-01 15:39:23 -04:00
Mike Reeves ab42126d8e Add logstash_settings pillar 2020-07-01 15:25:35 -04:00
Mike Reeves 5580f05daf Add logstash pillar 2020-07-01 15:07:00 -04:00
Mike Reeves f580da5d56 Update 9999_output_redis.conf.jinja 2020-07-01 14:45:54 -04:00
Mike Reeves 70e4ce3e98 Add batch to output 2020-07-01 14:38:51 -04:00
William Wernert 4b5571a8d6 [refactor][fix] Remove unnecessary variable 2020-07-01 13:56:15 -04:00
William Wernert 44890edc79 [refactor] Use regex in error check for setup log 2020-07-01 13:51:54 -04:00
Josh Patterson 549fd93cba Merge pull request #912 from Security-Onion-Solutions/issue/642
Issue/642
2020-07-01 13:44:49 -04:00
m0duspwnens f98c497d79 change setup and whiptail back to bro 2020-07-01 13:43:37 -04:00
Wes Lambert 26b0daf2da Add other setup-related items for EC2 interface 2020-07-01 17:42:51 +00:00
m0duspwnens fd939a06b9 whitespace cleanup 2020-07-01 13:40:40 -04:00
Wes Lambert 3cf79995a2 Modify Whiptail menu for EC2 NIC 2020-07-01 17:32:43 +00:00
m0duspwnens 38db512eda fix spacing 2020-07-01 13:29:19 -04:00
m0duspwnens 4e7e19af54 pillarize zeek node.cfg. change reference from bro to zeek. 2020-07-01 13:26:27 -04:00
William Wernert db764902c7 [fix] Change if condition when checking nmcli status 2020-07-01 13:05:11 -04:00
William Wernert 19b997ece0 Merge branch 'dev' into feature/setup-changes 2020-07-01 12:56:57 -04:00
William Wernert 7bb97f2b2d [fix] Remove "Panel Title" from Kibana CPU graph
Resolves #874
2020-07-01 11:12:21 -04:00
William Wernert 90f4b8e043 [feat] Add welcome/instruction wording to initial menu 2020-07-01 11:03:18 -04:00
William Wernert c97798b57d [feat] Add check to see if bond nics are managed by Network Manager 2020-07-01 09:43:39 -04:00
William Wernert 3a9d252af3 [fix] Correct indent in create_local_directories() 2020-07-01 09:42:07 -04:00
William Wernert de620c88a1 Merge pull request #910 from Security-Onion-Solutions/version-correction
Remove HH prefix to ensure compatibility with updated build system
2020-06-30 15:57:30 -04:00
Jason Ertel a49532d15c Remove HH prefix to ensure compatibility with updated build system 2020-06-30 15:54:56 -04:00
Jason Ertel a3deb868ad Improve filebeat config indentation 2020-06-30 14:57:34 -04:00
Jason Ertel 930f15eea5 Introduce so-import-pcap tool - WIP 2020-06-30 14:56:08 -04:00
William Wernert 8dedd60da8 Merge branch 'feature/fast-fail' into feature/setup-changes 2020-06-30 14:27:04 -04:00
William Wernert ce8a59243c [feat] Add grep for "Error" to fail if nmcli fails 2020-06-30 14:26:48 -04:00
William Wernert 8d624e6ade [fix] Move navigatordefaultlayer file.managed state to nginx sls 2020-06-30 10:53:10 -04:00
William Wernert cab232ae9f [feat] Add check for disk space during setup 2020-06-30 10:11:02 -04:00
Mike Reeves ba81b7275a Merge pull request #909 from Security-Onion-Solutions/fix/1.4.1
Update to 1.4.1
2020-06-30 09:55:10 -04:00
Mike Reeves a1791f1e2e Update to 1.4.1 2020-06-30 09:47:20 -04:00
Mike Reeves a74d52a986 Merge pull request #908 from Security-Onion-Solutions/bugfix/hostname-regex
[fix] Apply regex filter to hostname input
2020-06-30 09:14:20 -04:00
William Wernert 1022bf5b99 [fix] Apply regex filter to hostname input 2020-06-30 09:08:55 -04:00
William Wernert 9f39875192 [fix] Apply regex filter to hostname input 2020-06-30 09:01:19 -04:00
Josh Brower 376a6e5fd5 Merge pull request #907 from Security-Onion-Solutions/feature/spacing-so-allow
so-allow spacing fix
2020-06-30 08:13:38 -04:00
Josh Brower 1c0443458c so-allow spacing fix 2020-06-30 08:13:00 -04:00
weslambert 0b7026a11e Merge pull request #906 from Security-Onion-Solutions/fix/ingest_parsing
Fix/ingest parsing
2020-06-29 23:07:22 -04:00
Wes Lambert 84e2965fef Addl krb fix 2020-06-30 03:06:01 +00:00
Wes Lambert bf8798f1d1 Fix krb client/server cert subject parsing 2020-06-30 03:04:01 +00:00
Wes Lambert 8f5da66335 Add null safe operator for query name 2020-06-30 03:02:38 +00:00
Josh Patterson 46d58acdd9 Merge pull request #905 from Security-Onion-Solutions/issue/878
add sensoroni to so-status output for sensors
2020-06-29 16:24:41 -04:00
m0duspwnens 0f9d8024f8 add sensoroni to so-status output for sensors - https://github.com/Security-Onion-Solutions/securityonion/issues/878 2020-06-29 16:23:04 -04:00
Josh Patterson c73071c95e Merge pull request #904 from Security-Onion-Solutions/issue/583
Issue/583
2020-06-29 16:17:22 -04:00
m0duspwnens efaf41107c update description in localrules/local.rules for idstools 2020-06-29 16:14:36 -04:00
m0duspwnens 67f2eedad1 cleanup whitespace in idstools enable/disable.conf 2020-06-29 16:11:30 -04:00
m0duspwnens fe8df22063 cleanup whitespace in idstools enable/disable.conf 2020-06-29 16:03:14 -04:00
William Wernert fdaab8da9f Merge branch 'dev' into feature/setup-changes 2020-06-29 15:54:36 -04:00
William Wernert 23c0363899 [fix] Reference correct directory in nginx sls and remove navigator sls 2020-06-29 15:54:17 -04:00
William Wernert b97ecd2d7a Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-06-29 15:53:29 -04:00
William Wernert 0a97328acc [fix] Apply regex filter to hostname input 2020-06-29 15:53:21 -04:00
Josh Patterson 6bc7f023ff Merge pull request #903 from Security-Onion-Solutions/quickfix/suricata
fix suricata state if suripins or suri procs arent set
2020-06-29 15:39:40 -04:00
m0duspwnens d7580fe6a0 fix suricata state if suripins or suri procs arent set 2020-06-29 15:38:05 -04:00
William Wernert 53c3b1579b [feat] Reformat install type menu 2020-06-29 15:20:17 -04:00
William Wernert 8e15f858dd Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev
# Conflicts:
#	salt/common/tools/sbin/so-allow
2020-06-29 15:14:12 -04:00
Mike Reeves abe063602b Update whiptail snort
Update the user to let them know Snort 3.x won't work.
2020-06-29 14:57:42 -04:00
weslambert b398d58dc9 Merge pull request #902 from Security-Onion-Solutions/feature/es_allow
Add ES REST API option for so-allow
2020-06-29 14:51:09 -04:00
Wes Lambert ed60d48c81 Add ES REST API option for so-allow 2020-06-29 18:49:16 +00:00
William Wernert 8cbccb656d [fix] Apply shellcheck fixes 2020-06-29 11:32:25 -04:00
William Wernert b01bdf35f9 [fix] Remove port binding from telegraf docker state 2020-06-29 11:31:44 -04:00
m0duspwnens 8ee2142de4 pillarize idstools - https://github.com/Security-Onion-Solutions/securityonion/issues/583 2020-06-29 11:21:47 -04:00
Mike Reeves 378ad97e7b Disabled socket listener 2020-06-29 11:16:19 -04:00
weslambert b99b19ce58 Merge pull request #898 from Security-Onion-Solutions/feature/strelka_scripts
Add Strelka mgmt scripts
2020-06-29 09:11:16 -04:00
Wes Lambert 9ac85cf674 Add Stelka mgmt scripts 2020-06-29 13:09:14 +00:00
weslambert 6f6e8a8853 Merge pull request #897 from Security-Onion-Solutions/fix/strelka_rules
Fix/strelka rules
2020-06-26 16:43:21 -04:00
weslambert c421bd464a Remove Strelka function (in favor of direct script execution in so-setup) 2020-06-26 16:42:44 -04:00
William Wernert 22eb81128a Merge pull request #891 from Security-Onion-Solutions/feature/navigator-to-nginx
Feature/navigator to nginx
2020-06-26 15:48:46 -04:00
weslambert 8c47723bc9 Run YARA update script after applying state 2020-06-26 15:45:52 -04:00
Josh Patterson 9c388cd6aa Merge pull request #896 from Security-Onion-Solutions/feature/suripillar
Feature/suripillar
2020-06-26 14:44:36 -04:00
m0duspwnens 0b1a258a4b change sensor homenet map 2020-06-26 14:43:27 -04:00
weslambert 813c243d3d Update so-yara-update 2020-06-26 13:26:08 -04:00
m0duspwnens 2079eba0ad Merge remote-tracking branch 'remotes/origin/dev' into feature/suripillar 2020-06-26 13:09:15 -04:00
m0duspwnens 052c65c05e add the things to pillarize suricata - https://github.com/Security-Onion-Solutions/securityonion/issues/584 2020-06-26 13:07:41 -04:00
William Wernert cf7e5f1b6f [fix] Change permissions on so-yara-update + fix indents 2020-06-26 09:59:44 -04:00
Josh Brower b895d6fa4f Merge pull request #894 from Security-Onion-Solutions/feature/playbook-unit-testing
Playbook - Initial Support for Unit Testing
2020-06-26 06:33:05 -04:00
Josh Brower 7f0eacd342 Playbook - Initial Support for Unit Testing 2020-06-26 06:24:09 -04:00
Mike Reeves 1e4c967afc Fix math for suri loss calulcations 2020-06-25 14:02:02 -04:00
Mike Reeves 1e6fab4e6e Fix math for suri loss calulcations 2020-06-25 13:54:01 -04:00
Mike Reeves 65687fd28e Update saltstack update to point to correct github 2020-06-25 13:02:17 -04:00
Mike Reeves 57d0603e4c Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-06-25 12:56:38 -04:00
Mike Reeves 30ac5f9764 ADding Suricata log compression 2020-06-25 12:56:26 -04:00
weslambert 5e41bba6db Merge pull request #892 from Security-Onion-Solutions/feature/more_strelka_rules
Feature/more strelka rules
2020-06-25 12:33:36 -04:00
Wes Lambert a24402de99 More Strelka rule config 2020-06-25 16:31:04 +00:00
Wes Lambert 63c45be388 Update Strelka init for rules 2020-06-25 15:49:58 +00:00
Wes Lambert 6487fdf5e6 Add Strelka YARA function 2020-06-25 15:46:37 +00:00
William Wernert a45fbb6f5c Revert "[fix] discovery.zen.minimum_master_nodes is deprecated, update the key"
This reverts commit 8bd6c067aa.
2020-06-25 10:53:26 -04:00
bryant-treacle 00713312c6 Merge pull request #890 from Security-Onion-Solutions/fix/so-elastic-clear
updated so-elastic-clear with new so-* indices - #885
2020-06-24 15:09:37 -04:00
bryant-treacle 443332d584 Update so-elastic-clear 2020-06-24 15:03:25 -04:00
bryant-treacle ffc9567278 Delete test.test 2020-06-24 15:01:30 -04:00
bryant-treacle 08220e3330 Issue #885: so-elastic-clear not removing so-* indices 2020-06-24 18:40:11 +00:00
weslambert 83ed21314a Merge pull request #888 from Security-Onion-Solutions/feature/strelka_rules
Feature/strelka rules
2020-06-24 13:28:52 -04:00
Wes Lambert f5bb831edf Fix comment 2020-06-24 17:27:59 +00:00
Wes Lambert a01339039a Update Setup for Strelka rules 2020-06-24 17:22:55 +00:00
bryant-treacle 0849014b24 Issue #885: so-elastic-clear not removing so-* indices 2020-06-24 17:21:58 +00:00
Wes Lambert 8bfbd77367 Update whiptail for Strelka 2020-06-24 17:18:05 +00:00
William Wernert 8bd6c067aa [fix] discovery.zen.minimum_master_nodes is deprecated, update the key 2020-06-24 13:10:18 -04:00
Wes Lambert 52a0ace1b8 Use Strelka rules if enabled 2020-06-24 17:08:58 +00:00
William Wernert bd36749959 [feat] Remove navigator container references 2020-06-24 12:38:32 -04:00
William Wernert 4404a4f312 Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-06-23 17:57:19 -04:00
William Wernert 0a0fe5914a [fix][feat] Move navigator entries to static files + fix indent 2020-06-23 17:57:14 -04:00
weslambert c3651f1b45 Merge pull request #884 from Security-Onion-Solutions/feature/strelka_client
Add FW config for Strelka frontend
2020-06-23 14:57:06 -04:00
Wes Lambert f7eacc2b05 Add FW config for Strelka frontend 2020-06-23 18:47:23 +00:00
weslambert 685e3048ac Merge pull request #883 from Security-Onion-Solutions/fix/hunt_files_rename
Update file dataset name for hunt queries
2020-06-23 13:49:52 -04:00
Wes Lambert c0428ce79d Update file dataset name for hunt queries 2020-06-23 17:48:12 +00:00
weslambert 13df2e6312 Merge pull request #882 from Security-Onion-Solutions/fix/files_rename
Move dataset from files to file
2020-06-23 13:44:26 -04:00
Wes Lambert af451573eb Move dataset from files to file 2020-06-23 17:43:28 +00:00
m0duspwnens 36a329214a merge eve-log in outputs for suricata meta data generation or zeek/default - https://github.com/Security-Onion-Solutions/securityonion/issues/584 2020-06-22 16:56:03 -04:00
m0duspwnens f1bcd35734 Merge remote-tracking branch 'remotes/origin/dev' into feature/suripillar 2020-06-22 09:13:29 -04:00
Jason Ertel d7693f9b55 Expose pcap dir to sensoroni for epoch discovery 2020-06-22 08:27:43 -04:00
Jason Ertel 1ee3625f61 Ensure certs dir is group readable by socore since Sensoroni process will need to read the client key 2020-06-21 15:46:36 -04:00
Jason Ertel 81ed656ba0 Bind both steno and sensoroni processes to host network 2020-06-21 10:50:10 -04:00
Jason Ertel 76e3118bd3 Split Sensoroni and Stenographer executables into separate images 2020-06-21 08:33:09 -04:00
m0duspwnens 57fa2c5abe Merge remote-tracking branch 'remotes/origin/dev' into feature/suripillar 2020-06-18 13:49:07 -04:00
Mike Reeves 6dbe83a77f Update so-docker-refresh 2020-06-18 12:38:07 -04:00
Jason Ertel 2f3a99cfb0 fix: indentation is incorrect 2020-06-17 17:46:49 -04:00
weslambert fb9ac58ed6 Merge pull request #869 from Security-Onion-Solutions/feature/elastic_indices_rw
Basic index read-only attr removal script
2020-06-17 15:00:23 -04:00
Wes Lambert 6d25151ab8 Basic index read-only attr removal script 2020-06-17 18:59:13 +00:00
Josh Brower 6794cabf9c Merge pull request #868 from Security-Onion-Solutions/bugfix/fleet-custom-hostname
Fleet custom hostname regex fix
2020-06-17 14:46:07 -04:00
weslambert 569fc4ac4d Merge pull request #867 from Security-Onion-Solutions/feature/zeek_custom_policy
Feature/zeek custom policy
2020-06-17 13:12:38 -04:00
Wes Lambert 90c278096c Add custom Zeek script dir 2020-06-17 17:11:27 +00:00
Josh Brower 3418f5748c Fleet custom hostname regex fix 2020-06-17 13:08:47 -04:00
Jason Ertel 6bf8f0af08 Eliminate multiple version definitions in this repo 2020-06-17 10:46:07 -04:00
Jason Ertel 3451f74b63 Update version to 2.0.0-rc.1 2020-06-17 10:32:39 -04:00
weslambert b489420002 Merge pull request #865 from Security-Onion-Solutions/feature/cortex_custom
Feature/cortex custom
2020-06-17 09:22:42 -04:00
Wes Lambert 1beff65cc9 fix typo 2020-06-17 13:20:32 +00:00
Wes Lambert cbfe375407 Custom analyzer and responder dirs 2020-06-17 13:16:52 +00:00
Mike Reeves ada0d7b8cd Merge pull request #862 from Security-Onion-Solutions/dev
1.4.0
2020-06-16 14:47:08 -04:00
Mike Reeves 6410087994 1.4.0 2020-06-16 13:52:37 -04:00
Josh Brower 2986926ce9 Merge pull request #861 from Security-Onion-Solutions/bugfix/fleet-kibana
Beta3 Kibana dashboard updates
2020-06-16 10:17:26 -04:00
Josh Brower a9df5d75b0 Beta3 Kibana dashboard updates 2020-06-16 10:16:31 -04:00
William Wernert 0c9c7002dc [fix] Simplify if statements and apply mine.update during setup 2020-06-16 08:38:50 -04:00
Mike Reeves 0961fe7091 Merge pull request #857 from Security-Onion-Solutions/feature/metasuri
Feature/metasuri
2020-06-15 21:52:41 -04:00
Mike Reeves 4573b346f8 Merge remote-tracking branch 'remotes/origin/dev' into feature/metasuri 2020-06-15 21:46:07 -04:00
Mike Reeves 3681f91c37 Suricata Conn 2020-06-15 21:46:04 -04:00
Jason Ertel 97d127218a fix: stop updating salt mine - this is an attempt to sort out why the CA intermittently disappears from the mine 2020-06-15 17:40:58 -04:00
Josh Patterson 9340b633e2 Merge pull request #855 from Security-Onion-Solutions/quickfix/searchnode2node
fix so-status for searchnode
2020-06-15 17:01:50 -04:00
m0duspwnens fe39179ba1 fix so-status for searchnode 2020-06-15 17:01:23 -04:00
Josh Patterson 3b920b2cd8 Merge pull request #854 from Security-Onion-Solutions/quickfix/searchnode2node
place searchnode role with node where referenced
2020-06-15 16:59:55 -04:00
m0duspwnens 91a50c0915 place searchnode role with node where referenced 2020-06-15 16:58:30 -04:00
Josh Patterson 578e2b5d1d Merge pull request #853 from Security-Onion-Solutions/quickfix/playbook
fix for master not having a node:mainip pillar - playbook
2020-06-15 15:15:23 -04:00
m0duspwnens b396c39352 fix for master not having a node:mainip pillar - playbook 2020-06-15 15:13:29 -04:00
Mike Reeves a91dbf0d1d Fix wording for Suricata meta data in whiptail 2020-06-15 15:10:16 -04:00
Josh Patterson 1a6fc3ef6c Merge pull request #852 from Security-Onion-Solutions/quickfix/fleetfwsetup
add firewall rules for fleet standalone
2020-06-15 13:51:39 -04:00
m0duspwnens 51e500f521 add firewall rules for fleet standalone 2020-06-15 13:50:37 -04:00
weslambert 91c32725fb Merge pull request #851 from Security-Onion-Solutions/fix/es_field_fixes
Fix/es field fixes
2020-06-15 12:59:01 -04:00
Wes Lambert f3c9f2e5ea update templates 2020-06-15 16:57:46 +00:00
Wes Lambert 206261fbe6 rename id to log.id.fuid for X509 2020-06-15 16:55:14 +00:00
Wes Lambert 18547e8ea8 enforce field types 2020-06-15 16:54:33 +00:00
Josh Patterson 8403d72b8e Merge pull request #849 from Security-Onion-Solutions/quickfix/fleetfwsetup
add another pillar default to self hostgroup
2020-06-15 10:40:03 -04:00
m0duspwnens dc56c449b7 add another pillar default to self hostgroup 2020-06-15 10:38:58 -04:00
Josh Patterson 896f081f70 Merge pull request #847 from Security-Onion-Solutions/quickfix/fleetfwsetup
set firewall during setup for fleet standalone
2020-06-15 09:43:35 -04:00
m0duspwnens aaa6cf816a set firewall during setup for fleet standalone 2020-06-15 09:42:06 -04:00
Jason Ertel 87514e7da3 revert: Use consistent casing for package names 2020-06-14 09:47:59 -04:00
Jason Ertel 8b64f5b499 Use consistent casing for package names 2020-06-13 10:19:24 -04:00
m0duspwnens ce5d678ed9 change portgroup assignment for dockernet on searchnode 2020-06-12 17:09:08 -04:00
Josh Patterson f8b5593bca Merge pull request #845 from Security-Onion-Solutions/bugfix/standalonessl
fix issue with ssl state that prevented other node types being adding…
2020-06-12 16:25:43 -04:00
m0duspwnens a125a94808 fix issue with ssl state that prevented other node types being adding to a standalone node 2020-06-12 16:24:46 -04:00
m0duspwnens e25560bf6b add missing roles fire firewall 2020-06-12 15:37:43 -04:00
Josh Patterson 1f305352a0 Merge pull request #844 from Security-Onion-Solutions/quickfix/addfwrules
Quickfix/addfwrules
2020-06-12 15:04:04 -04:00
Doug Burks befc793a96 Improve files query #804 2020-06-12 14:25:38 -04:00
Doug Burks d157c0da00 Improve DNS queries #804 2020-06-12 14:21:36 -04:00
Josh Patterson bfee999688 Merge pull request #843 from Security-Onion-Solutions/quickfix/firewallsetup
apply switch for so-firewall to apply firewall state on master for distributed install
2020-06-12 13:55:28 -04:00
Jason Ertel b3d2ce0e18 support applying the firewall state directly from so-firewall 2020-06-12 13:52:24 -04:00
Mike Reeves cd90889b4c Merge pull request #842 from Security-Onion-Solutions/feature/metasuri
Feature/metasuri
2020-06-12 12:32:04 -04:00
m0duspwnens 285468c059 user apply switch for so-firewall to apply firewall state on master for distributed install 2020-06-12 12:31:29 -04:00
Mike Reeves 03e410df68 Merge remote-tracking branch 'remotes/origin/dev' into feature/metasuri 2020-06-12 12:30:52 -04:00
Mike Reeves 6058d438bf Fix Protocol 2020-06-12 12:28:29 -04:00
Mike Reeves 42938a4e67 Add the makor Suricata parsers 2020-06-12 12:14:48 -04:00
m0duspwnens 3c0caa4112 Merge remote-tracking branch 'remotes/origin/dev' into quickfix/addfwrules 2020-06-12 11:40:34 -04:00
Doug Burks 0b2dd5d0a4 add event.dataset to default hunt output view #841 2020-06-12 11:37:55 -04:00
m0duspwnens 1f0509cfd6 update so-allow for wazuh and syslog 2020-06-12 11:35:18 -04:00
m0duspwnens d02bff22ac adding fw rules to master nodes for wazuh and syslog 2020-06-12 11:27:28 -04:00
Doug Burks 3cc936a0a8 add event.dataset to default hunt output view #841 2020-06-12 11:13:56 -04:00
Mike Reeves 0559e2d16b Merge remote-tracking branch 'remotes/origin/dev' into feature/metasuri 2020-06-12 08:54:17 -04:00
Jason Ertel d146e65412 Remove pre-creation of dirs in favor of having docker image use correct permissions 2020-06-12 01:24:13 -04:00
Jason Ertel 322bb665a1 fix: chgrp all wazuh subdirs accept for api due to Salt symlink issues 2020-06-11 22:34:08 -04:00
Josh Patterson 5fa1b038ed Merge pull request #838 from Security-Onion-Solutions/issue/739
Issue/739
2020-06-11 17:23:16 -04:00
m0duspwnens 729a6998a2 Merge remote-tracking branch 'remotes/origin/dev' into issue/739 2020-06-11 16:26:23 -04:00
m0duspwnens 56a821a9be update standalone grafana dashboard 2020-06-11 16:24:52 -04:00
m0duspwnens b6fa01aafe fix monint for standalone grafana dashboard - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/739 2020-06-11 16:21:33 -04:00
m0duspwnens 253ffad853 add monint to tab for standalone - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/739 2020-06-11 16:09:30 -04:00
Mike Reeves 6f3fd407dd Merge remote-tracking branch 'remotes/origin/dev' into feature/metasuri 2020-06-11 16:00:38 -04:00
m0duspwnens f8b6a80d99 adding standalone grafana dashboard 2020-06-11 15:57:35 -04:00
m0duspwnens 101673dc98 fix telegraf for standalone - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/739 2020-06-11 15:35:06 -04:00
m0duspwnens bf8278dccf add telegraf elasticsearch input for standalone - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/739 2020-06-11 15:08:42 -04:00
m0duspwnens 73bb375662 have telegraf get data for standalone - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/739 2020-06-11 14:48:03 -04:00
Josh Patterson c3a2c2321d Merge pull request #837 from Security-Onion-Solutions/issue/641
Issue/641
2020-06-11 14:22:28 -04:00
Jason Ertel 57a6e4af41 fix: pre-create directory for ossec-analysisd 2020-06-11 13:36:28 -04:00
Jason Ertel 1a85f26cf8 fix: pre-create directory for ossec-analysisd 2020-06-11 13:35:16 -04:00
Mike Reeves 032c8ca4e9 Fix Conflicts 2020-06-11 13:14:11 -04:00
Mike Reeves 9bed02934b Merge branch 'issue/641' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into issue/641 2020-06-11 13:03:31 -04:00
Mike Reeves a37faff850 New so-allow 2020-06-11 13:03:21 -04:00
Josh Patterson 16592fcc1e makedirs if it doesn't exist 2020-06-11 12:55:30 -04:00
Josh Brower 1c86ae4e14 Merge pull request #836 from Security-Onion-Solutions/bugfix/misc
Fleet gen packages hostname fix2
2020-06-11 11:45:30 -04:00
Josh Brower ab143b3216 Fleet gen packages hostname fix2 2020-06-11 11:44:56 -04:00
m0duspwnens 985c55dd62 fix state name duplicate conflict - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/739 2020-06-11 10:39:30 -04:00
m0duspwnens 32b4a2ff08 adding grafana dashboard for standalone - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/739 2020-06-11 10:28:29 -04:00
m0duspwnens 55e597d302 run firewall state after adding ips during setup - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-11 09:45:31 -04:00
Jason Ertel b26a7541cd fix: Force ossec group on /opt/so/wazuh dir tree to eliminate permission failures 2020-06-11 09:25:09 -04:00
William Wernert ce86dbfac0 [feat] Add message about root mail spool growing 2020-06-11 09:24:23 -04:00
m0duspwnens 9466cc5439 remove firewall pillar from top, add roles to hosts during setup - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-11 08:49:52 -04:00
Josh Brower 496696ed80 Merge pull request #834 from Security-Onion-Solutions/bugfix/misc
Bugfix/misc
2020-06-11 07:57:58 -04:00
Josh Brower 05d890901f Fleet gen packages hostname fix 2020-06-11 07:56:20 -04:00
m0duspwnens 5317ee8b5a add localhost to the same hostgroups as in currently in dev - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-10 17:41:22 -04:00
m0duspwnens 03c43da6f2 create iptables file if it doesnt exist - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-10 17:19:03 -04:00
m0duspwnens f92ad7d671 handle undefined local values - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-10 16:34:37 -04:00
m0duspwnens 119ce2d93f remove from writing to firewall pillar - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-10 15:37:18 -04:00
m0duspwnens 39734b6983 Merge branch 'issue/641' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into issue/641 2020-06-10 15:35:21 -04:00
m0duspwnens 7c5343ebe1 copy local firewall yaml files during setup - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-10 15:35:15 -04:00
William Wernert 07b2f2885c [fix] Always exit on early failure 2020-06-10 15:32:46 -04:00
William Wernert 7de02752e5 [fix] Reboot on early failure too, better if statements 2020-06-10 15:29:54 -04:00
Jason Ertel 23be399a68 Ensure host doesn't exist in both include and exclude lists; add support for port management; add support for removing host from exclude list 2020-06-10 15:19:36 -04:00
m0duspwnens fcb26bdaed change how ips are added during setup - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-10 15:03:34 -04:00
William Wernert 379a5445e8 [feat] Also exit with non-zero status for automated installs 2020-06-10 14:27:18 -04:00
William Wernert 9695b9326b Merge branch 'dev' into feature/fast-fail 2020-06-10 14:19:44 -04:00
William Wernert 33105c10aa [feat] Make automated webuser pass follow requirements 2020-06-10 14:19:24 -04:00
William Wernert 03dfece9af [feat] Fail setup early if "ERROR" is found in setup log 2020-06-10 14:18:25 -04:00
m0duspwnens 4df8a973cf Merge branch 'issue/641' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into issue/641 2020-06-10 14:05:34 -04:00
m0duspwnens f89baff3d7 adding ability to assign hostgroup to single minion - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-10 14:05:19 -04:00
Jason Ertel 1933c26797 Additional diagnostic logging for the curious case of the disappearing certificate 2020-06-10 09:51:56 -04:00
Jason Ertel c072905717 Initial firewall management script 2020-06-10 01:18:39 -04:00
m0duspwnens 15fd4de669 remove yamlized rules, update assigned hostgroups - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-09 13:44:10 -04:00
Mike Reeves c0d24d942c Merge remote-tracking branch 'remotes/origin/dev' into feature/metasuri 2020-06-09 13:31:31 -04:00
m0duspwnens accb3d536d add chain to iptables state - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-09 13:30:24 -04:00
Jason Ertel d09e2b6468 Dump salt mine to log after applying SSL/CA salt states 2020-06-09 13:16:03 -04:00
Josh Brower 910c809aa2 Merge pull request #833 from Security-Onion-Solutions/bugfix/misc
thehive setup fix
2020-06-09 12:19:02 -04:00
Josh Brower e5a23c22fd thehive setup fix 2020-06-09 12:16:39 -04:00
m0duspwnens 721f2682ac changes for firewall - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/641 2020-06-09 09:40:38 -04:00
Josh Brower 189d0f5f36 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-06-08 13:28:46 -04:00
Josh Brower 913c1a89bf Fleet setup fixes 2020-06-08 13:28:27 -04:00
William Wernert 941ad5acf6 Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-06-08 12:12:29 -04:00
William Wernert e2c3fe3342 [fix] Add X-Forwarded-Proto to nginx configs 2020-06-08 12:12:25 -04:00
Mike Reeves 4b6af0cd81 Suricata DHCP 2020-06-08 08:58:35 -04:00
Josh Brower 35bc5f9133 Merge pull request #831 from Security-Onion-Solutions/feature/fleet-setup
Feature/fleet setup
2020-06-08 08:49:35 -04:00
Josh Brower 51f97f5ae5 Fleet setup - final fixes 2020-06-08 08:47:06 -04:00
Josh Brower 3f3990ac83 Merge remote-tracking branch 'remotes/origin/dev' into feature/fleet-setup 2020-06-08 08:30:37 -04:00
Josh Brower 950d4077f6 Update so-setup 2020-06-08 08:12:14 -04:00
Josh Brower ab6e36e00a Fleet syntax error fix 2020-06-06 13:15:44 -04:00
Josh Brower 33f21c05f7 Fleet standaline custom fqdn fixes 2020-06-06 10:03:25 -04:00
Josh Brower 88219c4827 Merge pull request #827 from Security-Onion-Solutions/feature/wlb5
Initial support - external beats
2020-06-05 10:47:56 -04:00
Josh Brower 4e4eeedb41 Initial support - external beats 2020-06-04 22:41:35 -04:00
Mike Reeves 33712a3409 Suricata HTTP parser 2020-06-04 16:19:22 -04:00
Mike Reeves 5c62fedd12 Suricata DNS parser 2020-06-04 15:42:51 -04:00
Mike Reeves b264548a4f Merge remote-tracking branch 'remotes/origin/dev' into feature/metasuri 2020-06-04 10:58:03 -04:00
Jason Ertel 7edf9a67c3 Ensure standalone mode supports the settings flow 2020-06-04 10:46:27 -04:00
Mike Reeves 79adf2012a Fix log rotate on Suricata 2020-06-04 10:43:24 -04:00
m0duspwnens 5f9f86caa5 merge with dev and fix conflicts 2020-06-04 09:59:12 -04:00
m0duspwnens f8193cb914 beginning to pillarize suricata 2020-06-04 09:40:38 -04:00
Mike Reeves 7043bbae9d Merge remote-tracking branch 'remotes/origin/dev' into feature/metasuri 2020-06-04 09:10:54 -04:00
Josh Brower 0890171527 Fixes 2020-06-04 07:51:05 -04:00
TOoSmOotH c8730db7b4 Fix top so zeek doest run when disabled 2020-06-03 21:26:22 -04:00
TOoSmOotH f6b71e3941 Fix top so zeek doest run when disabled 2020-06-03 21:20:58 -04:00
TOoSmOotH 9b6822f325 DNS Suricata parser 2020-06-03 20:40:57 -04:00
TOoSmOotH 702a14e90c DNS Suricata parser 2020-06-03 20:40:10 -04:00
Mike Reeves 5a9030883a Rename Bro to Zeek in some whiptail menus 2020-06-03 16:44:52 -04:00
Mike Reeves f3fabcd93c Enable git 2020-06-03 16:21:45 -04:00
Josh Brower a09991d770 Fleet standalone - custom hostnames 2020-06-03 15:56:59 -04:00
Josh Brower 3d92145bb9 Fleet standalone - custom hostnames 2020-06-03 15:52:18 -04:00
Mike Reeves 3211a8a5e0 SMTP from fix 2020-06-03 11:52:24 -04:00
Mike Reeves c5d6381933 SMTP for suricata 2020-06-03 11:16:43 -04:00
Mike Reeves 126d1598ee SNMP for suricata 2020-06-03 11:03:23 -04:00
Jason Ertel 970368c74e Avoid logs leaking to stdout/stderr during cron jobs 2020-06-03 09:42:44 -04:00
Jason Ertel 9f0e48e337 Send stderr to /dev/null as well, since it's already been decided this output is unsuited for the logfile based on the comment 2020-06-03 08:55:06 -04:00
Josh Brower eaacb7b71e Fleet cleanup 2020-06-03 05:54:35 -04:00
Jason Ertel e6fcf75181 Re-ordered wazuh setup to avoid agent-service failures due to missing client.keys file; Prepare for user profile settings screen support in reverse proxy 2020-06-02 17:31:51 -04:00
weslambert 014274930a Merge pull request #815 from Security-Onion-Solutions/fix/syslog_cleanup
Clean up some stuff
2020-06-02 15:32:32 -04:00
weslambert c91bc0e681 Clean up some stuff 2020-06-02 15:31:48 -04:00
Mike Reeves 25aae21cf6 Trying to get decoded packet 2020-06-02 15:06:39 -04:00
Mike Reeves b507b87871 Trying to get decoded packet 2020-06-02 14:49:07 -04:00
Mike Reeves fb68506418 Add mor suricata ingest parser types 2020-06-02 14:42:15 -04:00
Mike Reeves 3096d8d988 Add mor suricata ingest parser types 2020-06-02 14:34:38 -04:00
Mike Reeves 0ea2252b5b Add Suricata Flow pipeline 2020-06-02 13:40:46 -04:00
weslambert 98e0f0d7d8 Merge pull request #814 from Security-Onion-Solutions/feature/syslog
Feature/syslog
2020-06-02 13:39:23 -04:00
Wes Lambert 8cac30728b update Logstash config 2020-06-02 17:36:36 +00:00
Wes Lambert 91673a5d70 Update FB config 2020-06-02 17:33:42 +00:00
Josh Brower 782c669835 Fleet standalone fixes - req 2020-06-02 12:42:14 -04:00
Mike Reeves 617f60d472 Fix Syntax 2020-06-02 12:01:26 -04:00
Mike Reeves e63f39a9c4 Rename dataset 2020-06-02 11:58:14 -04:00
Mike Reeves d47acd1d80 Change suricata to hit suricata.common 2020-06-02 11:41:13 -04:00
Josh Brower 77df87880c Fleet standalone fixes - fleet sa req 2020-06-02 10:20:29 -04:00
Josh Brower b5cc653179 Fleet standalone fixes - mainip 2020-06-02 09:39:42 -04:00
Jason Ertel 42683ddb67 always restart acng and registry containers when docker restarts 2020-06-02 09:12:25 -04:00
Jason Ertel 07c0075fc0 Upgrade containerd.io and docker-ce to match ISO rpms 2020-06-02 08:43:06 -04:00
Josh Brower b695b7f245 Fleet standalone fixes - firewall 2020-06-02 08:05:48 -04:00
Jason Ertel 9d5f4049b5 Avoid filtering NIC when it's an empty string 2020-06-02 05:52:03 -04:00
Mike Reeves 69f940fe8c Merge pull request #811 from Security-Onion-Solutions/feature/updatetool
Couple of QOL scripts
2020-06-01 20:49:42 -04:00
Mike Reeves 307cbe4b77 Couple of QOL scripts 2020-06-01 20:48:25 -04:00
Josh Brower 4b14ecf1d9 Fleet standalone fixes 2020-06-01 16:36:32 -04:00
Mike Reeves 45d17c5148 Pillarize Suricata Round 1 2020-06-01 14:53:04 -04:00
Josh Patterson cc6a323f45 Merge pull request #810 from Security-Onion-Solutions/issue/749
Issue/749
2020-06-01 12:20:28 -04:00
m0duspwnens f5c8091fd6 remove unneeded INITIALSETUP var from addtotab 2020-06-01 12:17:52 -04:00
m0duspwnens 1737b46abb Merge remote-tracking branch 'remotes/origin/dev' into issue/749 2020-06-01 12:15:00 -04:00
Doug Burks 80d1814f10 remove event.module:zeek to make queries more generic 2020-06-01 12:00:33 -04:00
Mike Reeves b091fe07c9 Merge pull request #809 from Security-Onion-Solutions/feature/metasuri
Suricata 5 Meta Data
2020-06-01 11:05:38 -04:00
Mike Reeves 03f34404b1 Suricata 5 Meta Data 2020-06-01 11:03:43 -04:00
weslambert 551c663046 Merge pull request #808 from Security-Onion-Solutions/fix/tunnel_parents
Rename tunnel_parents
2020-06-01 09:52:55 -04:00
Wes Lambert 51f5d64ef6 Rename tunnel_parents 2020-06-01 13:51:32 +00:00
weslambert fa8b88b090 Merge pull request #806 from Security-Onion-Solutions/feature/vxlan_tunnel_id
fix naming of uid field for tunnel
2020-06-01 08:54:12 -04:00
Wes Lambert d7ce3d4719 fix naming of uid field for tunnel 2020-06-01 12:52:57 +00:00
Doug Burks f559621f00 add x509 issuer and subject groupby queries 2020-06-01 07:48:50 -04:00
Doug Burks 46dc5f42e9 combine two http queries into one with multiple groupby 2020-06-01 07:30:08 -04:00
m0duspwnens 5ddfb7ccce fix merge conflicts 2020-05-29 17:31:07 -04:00
Josh Patterson 0eeafa292e Merge pull request #802 from Security-Onion-Solutions/quickfix/wazuh/whitelistmanager
change how whitelist script determines if wazuh is enabled
2020-05-29 17:26:10 -04:00
m0duspwnens 4dfb58a98c change how whitelist script determines if wazuh is enabled 2020-05-29 17:22:39 -04:00
Josh Patterson 5f4e480b4c Merge pull request #801 from Security-Onion-Solutions/quickfix/search/nginx
add nginx state to searchnode in salt/top
2020-05-29 17:02:49 -04:00
m0duspwnens 17879ad88c add nginx state to searchnode in salt/top 2020-05-29 17:01:43 -04:00
m0duspwnens a84203be7c Merge remote-tracking branch 'remotes/origin/dev' into issue/749 2020-05-29 16:38:10 -04:00
Josh Patterson 828f8a0df8 Merge pull request #800 from Security-Onion-Solutions/quickfix/node
fix minion_type for *NODE install_type
2020-05-29 16:37:04 -04:00
m0duspwnens d7e904e1ab fix minion_type for *NODE install_type 2020-05-29 16:35:39 -04:00
m0duspwnens 9ae68b52ef Merge remote-tracking branch 'remotes/origin/dev' into issue/749 2020-05-29 16:22:00 -04:00
Josh Patterson 16d6e4ae2e Merge pull request #799 from Security-Onion-Solutions/quickfix/distrib_install_firewall
Quickfix/distrib install firewall
2020-05-29 15:36:53 -04:00
m0duspwnens 52954d8e5d set_intial_firewall policy sooner in install process so packages can be installed if masterupdates are enabled 2020-05-29 15:34:18 -04:00
m0duspwnens 15fc97e516 adding suricata.master state to mastersearch - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-29 13:11:55 -04:00
m0duspwnens 6db8470de7 Merge remote-tracking branch 'remotes/origin/dev' into issue/749 2020-05-29 13:09:49 -04:00
m0duspwnens 42ea39ee35 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-29 13:09:26 -04:00
Josh Patterson aa24dacb86 Merge pull request #798 from Security-Onion-Solutions/quickfix/master_navigator
add navigator to master if enabled
2020-05-29 13:08:43 -04:00
m0duspwnens 3143643692 add navigator to master if enabled 2020-05-29 13:05:26 -04:00
m0duspwnens 30641d0fa9 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-29 13:01:08 -04:00
m0duspwnens 2db2054cce update instructions in logstash customer pipelines and templates - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-29 10:58:53 -04:00
m0duspwnens 7957b51409 change master roots priority to local 2020-05-29 10:57:43 -04:00
weslambert 2601ffe902 Merge pull request #797 from Security-Onion-Solutions/fix/radius_parsing
fix framed_addr field
2020-05-29 07:56:22 -04:00
Wes Lambert 4059121dd6 fix framed_addr field 2020-05-29 11:55:18 +00:00
Josh Brower 046bca626e Fleet pw check fix 2020-05-28 16:51:37 -04:00
Josh Brower e8e48a4beb Fleet standalone bugfixes 2020-05-28 16:40:12 -04:00
Josh Brower 0d8c0e1fa6 Fleet standalone fixes 2020-05-28 16:27:18 -04:00
m0duspwnens 40fa5293bf move fileserve update to suricata.master 2020-05-28 15:54:11 -04:00
Jason Ertel 3952faba85 Add missing semi-colons to break out of the case block 2020-05-28 15:27:14 -04:00
weslambert f5300d3d5a Merge pull request #794 from Security-Onion-Solutions/feature/zeek-stats
Add basic Zeek stats script
2020-05-28 13:55:43 -04:00
Wes Lambert 7f75050682 Add basic Zeek stats script 2020-05-28 17:54:15 +00:00
Josh Brower aeb71bb8f0 Simplified setup script 2020-05-28 13:21:25 -04:00
m0duspwnens 71d381aeae apply suricata.master state during setup - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-28 13:19:38 -04:00
weslambert 7c232318ad Merge pull request #793 from Security-Onion-Solutions/fix/so-stop-exact-match
Update for exact match (ex. thehive, thehive-es, thehive-cortex)
2020-05-28 13:17:56 -04:00
weslambert b835c2e27e Update for exact match (ex. thehive, thehive-es, thehive-cortex) 2020-05-28 13:17:31 -04:00
weslambert ae6f028666 Merge pull request #792 from Security-Onion-Solutions/fix/suricata_config_nsm
Move eve.json to /nsm
2020-05-28 13:00:15 -04:00
weslambert 12f426d4f4 Move eve.json to /nsm 2020-05-28 12:59:41 -04:00
weslambert 8291de40cf Merge pull request #791 from Security-Onion-Solutions/fix/socto-ip-hostname
add master to SOCtopus hosts file
2020-05-28 12:46:57 -04:00
Wes Lambert 869bfb947d add master to SOCtopus hosts file 2020-05-28 16:45:48 +00:00
weslambert 9de1a25703 Merge pull request #789 from Security-Onion-Solutions/fix/filebeat_init
Fix filebeat init
2020-05-28 12:11:39 -04:00
weslambert d2263db0ff Update init.sls 2020-05-28 12:11:08 -04:00
m0duspwnens 4f15de8b77 refresh salt fileserver if suricata rule symlink is created 2020-05-28 12:00:22 -04:00
Josh Brower e53e891bd6 Fleet reactor - Typo fix 2020-05-28 11:36:38 -04:00
Jason Ertel 6c4946f4e2 Provide option to skip reboot after setup completes 2020-05-28 10:20:44 -04:00
weslambert c775e583dd Merge pull request #788 from Security-Onion-Solutions/feature/filebeat-syslog-fw
allow syslog
2020-05-28 09:58:15 -04:00
Wes Lambert b7d7747f65 allow syslog 2020-05-28 13:56:02 +00:00
Mike Reeves 2b4cfe2b02 Merge pull request #786 from Security-Onion-Solutions/feature/suri5
Feature/suri5
2020-05-28 09:41:41 -04:00
Mike Reeves 8304d91b0b Merge branch 'dev' into feature/suri5 2020-05-28 09:41:28 -04:00
m0duspwnens 091cc8b789 fix how local salt and pillar dirs are created - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-28 08:57:07 -04:00
weslambert 3883c8bfe0 Merge pull request #784 from Security-Onion-Solutions/feature/filebeat-syslog
Feature/filebeat syslog
2020-05-28 08:39:11 -04:00
Wes Lambert d2b93d531e Basic syslog config 2020-05-28 12:36:29 +00:00
Wes Lambert 5afc05feb2 Update FB init for syslog 2020-05-28 12:35:22 +00:00
Wes Lambert b9bdca509e update Filebeat config for syslog 2020-05-28 12:33:41 +00:00
Doug Burks f3efafc9ca combine two notice queries into one query with multiple groupby 2020-05-28 08:01:33 -04:00
Doug Burks 60cc3e9675 remove address from DHCP leases query 2020-05-28 07:50:52 -04:00
Jason Ertel 2a21d7403f Open firewall from all networks for automated testing 2020-05-28 00:47:46 -04:00
Jason Ertel a75301cd0e Ensure IP is available to child process executing so-allow 2020-05-27 22:00:58 -04:00
Jason Ertel 1e5d5397a4 Support multiple command line options for setup, along with dynamic values per option 2020-05-27 19:42:48 -04:00
m0duspwnens 8b83799253 create local dirs sooner - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-27 18:16:02 -04:00
m0duspwnens 63e0a1e8a2 create local salt and pillar dirs - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-27 17:18:17 -04:00
m0duspwnens 59cc927878 Merge remote-tracking branch 'remotes/origin/dev' into issue/749 2020-05-27 15:56:38 -04:00
William Wernert 3712eb0acb [fix] Redirect so-allow output to log 2020-05-27 15:49:41 -04:00
weslambert 04800277c2 Merge pull request #783 from Security-Onion-Solutions/fix/hive_rename_bug
Hive to TheHive
2020-05-27 15:44:22 -04:00
weslambert 6a935b5452 Hive to TheHive 2020-05-27 15:43:41 -04:00
Josh Brower 11c641fd1b Initial support - integrated Fleet setup 2020-05-27 15:34:14 -04:00
m0duspwnens 6e5aa0f71b Merge remote-tracking branch 'remotes/origin/dev' into issue/749 2020-05-27 15:08:11 -04:00
m0duspwnens 16c6b2b202 dont allow addtotab to run grafana and utility states if it is initial setup - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-27 15:07:49 -04:00
m0duspwnens 12a6da928f create /opt/so/saltstack/local/salt/suricata - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-27 15:00:11 -04:00
m0duspwnens d018648bc0 create addtotab templates sooner in setup - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-27 14:53:40 -04:00
William Wernert 769f5674eb [fix] Always call set_default_log_size 2020-05-27 14:08:27 -04:00
m0duspwnens 40f04ef6d0 merge with dev and fix conflicts 2020-05-27 13:54:08 -04:00
m0duspwnens b197869a23 remove logic for if states should run or not - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-27 13:46:30 -04:00
weslambert 9595d63c01 Merge pull request #782 from Security-Onion-Solutions/feature/thehive-start-stop-restart
Add Hive/ES/Cortex scripts
2020-05-27 13:46:18 -04:00
m0duspwnens 21f1b423f3 move where in the process addtotab template and data directory are created - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-27 13:43:55 -04:00
Wes Lambert b80eb5f73b Add Hive/ES/Cortex scripts 2020-05-27 17:43:17 +00:00
William Wernert 66c65490b9 Merge pull request #781 from Security-Onion-Solutions/feature/setup-allow
[feat] Add flag to run so-allow automatically post-setup
2020-05-27 13:26:27 -04:00
William Wernert 1952246c85 [feat] Add flag to run so-allow automatically post-setup 2020-05-27 13:23:37 -04:00
weslambert f07d6dfb30 Merge pull request #780 from Security-Onion-Solutions/fix/thehive_path
Rename Hive to TheHive in several places
2020-05-27 13:22:57 -04:00
Wes Lambert b26f6826dd Rename Hive to TheHive in several places 2020-05-27 17:17:55 +00:00
weslambert 58f4cce4f3 Merge pull request #779 from Security-Onion-Solutions/fix/suricata_log_path
Fix/suricata log path
2020-05-27 13:03:10 -04:00
Wes Lambert d56bc4c167 fix path 2020-05-27 17:01:05 +00:00
Wes Lambert 3684cdf1c6 Update FB and LS 2020-05-27 17:00:09 +00:00
Wes Lambert e78a3f3278 update Suricata config 2020-05-27 16:59:26 +00:00
Wes Lambert b7a0f79038 Update Suricata init 2020-05-27 16:58:31 +00:00
m0duspwnens 23e9ee46b8 Merge remote-tracking branch 'remotes/origin/dev' into issue/749 2020-05-27 12:30:40 -04:00
m0duspwnens 693000afa8 remove addtotab templates and move surirulelink - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-27 12:30:12 -04:00
m0duspwnens f35c59e6ce apply firewall state before we addtotab 2020-05-27 12:22:21 -04:00
Jason Ertel 9cc2614cc8 Automated setup will now output progress data to sosetup.log 2020-05-27 11:47:22 -04:00
William Wernert dde66a664c Merge branch 'dev' of github.com:Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-27 10:11:57 -04:00
William Wernert c614e0a880 [feat] Add prompt about master needing internet access
When package updates go through the master node, that master needs internet access.
Therefore, prompt the user about this requirement.

Resolves #146
2020-05-27 10:11:54 -04:00
m0duspwnens 446e0f6f4c Merge remote-tracking branch 'remotes/origin/dev' into issue/749 2020-05-27 10:09:36 -04:00
m0duspwnens 7eb02d2af3 move suri rule symlink 2020-05-27 10:09:23 -04:00
weslambert 042618cd8f Merge pull request #777 from Security-Onion-Solutions/fix/strelka_init
Wrap with quotes
2020-05-27 09:03:06 -04:00
weslambert f3809cb93d Wrap with quotes 2020-05-27 08:31:14 -04:00
Jason Ertel 65431e0fcc Do not expect network access to be available prior to the NIC being configured for DHCP/Static 2020-05-26 22:39:18 -04:00
Jason Ertel 5d0a7f99e9 Improve logging of automated setup 2020-05-26 18:45:33 -04:00
Mike Reeves 68dd333fbe Remove stats from eve.json 2020-05-26 17:49:11 -04:00
Mike Reeves 1259338e6c Remvoe old Suricata.yml 2020-05-26 17:44:19 -04:00
Mike Reeves 8e95115a7c Update Suricata.yml 2020-05-26 17:43:32 -04:00
m0duspwnens 2467f5636b only have addtotab.sh run grafana or utility state if masterfw.sls exists 2020-05-26 17:12:47 -04:00
m0duspwnens 1eb6142f11 remove dir creation - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-26 17:00:29 -04:00
William Wernert 377d8e6336 [fix] Don't run tr on a string again 2020-05-26 16:54:51 -04:00
William Wernert 00681649bd [fix] Don't run tr on a string again 2020-05-26 16:41:41 -04:00
William Wernert 8d684a0341 Merge pull request #775 from Security-Onion-Solutions/feature/turbo-proxy
Feature/turbo proxy
2020-05-26 16:37:58 -04:00
William Wernert 17970beebc Merge branch 'dev' into feature/turbo-proxy
# Conflicts:
#	setup/so-functions
2020-05-26 16:37:08 -04:00
William Wernert ec0ec79470 [fix] Test install type after it has been set 2020-05-26 16:23:06 -04:00
Jason Ertel 8e1bd32f4d Improve automated installs and remove sleep during progress updates 2020-05-26 16:11:35 -04:00
William Wernert 001f7c6694 [fix] export TURBO var so it can be used from so-setup 2020-05-26 16:01:44 -04:00
Mike Reeves 8c6928d95a Merge remote-tracking branch 'remotes/origin/dev' into feature/suri5 2020-05-26 15:50:09 -04:00
Mike Reeves 4049df8cb4 Merge pull request #774 from Security-Onion-Solutions/feature/packages
Feature/packages
2020-05-26 15:40:30 -04:00
William Wernert 9e1ed6983f [fix] Parse options at beginning of setup 2020-05-26 15:25:30 -04:00
m0duspwnens 3d3d63173e addtotab should apply grafana instead of common state 2020-05-26 15:24:39 -04:00
m0duspwnens 13c2c4fa4c create and move files if they dont exist for addtotab.sh - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-26 15:20:12 -04:00
William Wernert 84e3ce508e [fix] Only check for proxy-user & proxy-pass when needed 2020-05-26 15:19:37 -04:00
Mike Reeves b748a86694 Suricata 5 initial commit 2020-05-26 15:12:00 -04:00
William Wernert 92c6a52496 [feat][WIP] Add functionality to run setup through a proxy 2020-05-26 14:49:22 -04:00
m0duspwnens e27facc843 ensure /opt/so/saltstack/local/salt/suricata/rules is created 2020-05-26 14:47:16 -04:00
m0duspwnens 413f08f1b9 change mkdirs to makedirs in ssl state 2020-05-26 14:43:15 -04:00
Mike Reeves 21cd66d109 add ntpdate/ntp 2020-05-26 14:05:47 -04:00
Mike Reeves 41935996d4 add ntpdate/ntp 2020-05-26 13:48:36 -04:00
Mike Reeves d260224dfe Update reboot language 2020-05-26 13:39:36 -04:00
Josh Brower 894bfd47f4 Merge pull request #771 from Security-Onion-Solutions/feature/communityid-hive-pivot
Elasticsearch Ingest fixes
2020-05-26 13:08:40 -04:00
Josh Brower 8723f8785e osquery pipeline fix and fail state if errors 2020-05-26 13:05:56 -04:00
Doug Burks 7a657d1229 add Community ID to default fields in bottom data table in Hunt 2020-05-26 12:58:01 -04:00
Josh Brower 3274ec0721 Merge pull request #769 from Security-Onion-Solutions/feature/communityid-hive-pivot
Add TheHive communityid link
2020-05-26 12:02:33 -04:00
Josh Brower 2cb7464086 Add TheHive communityid link 2020-05-26 12:01:58 -04:00
m0duspwnens fafb469b5c change from default to local - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-26 11:59:00 -04:00
Mike Reeves 87407c9ace rework common init.sls 2020-05-26 11:21:59 -04:00
weslambert 0b200d15fd Merge pull request #768 from Security-Onion-Solutions/fix/es_watermark
Update ES watermark settings
2020-05-26 10:19:57 -04:00
Wes Lambert 0e51ab41cf Update ES watermark settings 2020-05-26 14:18:58 +00:00
weslambert 8aa2cab680 Merge pull request #767 from Security-Onion-Solutions/fix/so_index_transition
Fix/so index transition
2020-05-26 10:08:20 -04:00
Wes Lambert 97306d3acd rename indices 2020-05-26 14:05:33 +00:00
Wes Lambert 3eb62287ac update Curator config for index transition 2020-05-26 14:00:16 +00:00
Jason Ertel c28936d9e4 temporarily abort automated installation 2020-05-26 09:40:43 -04:00
weslambert 956926d870 Merge pull request #766 from Security-Onion-Solutions/fix/soctopus_host
update SOCtopus config for hostname/ip
2020-05-26 09:20:43 -04:00
Wes Lambert 330de46249 update SOCtopus config for hostname/ip 2020-05-26 13:19:15 +00:00
weslambert b5bd6e6144 Merge pull request #765 from Security-Onion-Solutions/fix/strelka_cron
update Strelka cron
2020-05-26 09:01:24 -04:00
Wes Lambert e09027e795 update Strelka cron 2020-05-26 13:00:03 +00:00
Jason Ertel ad97092589 When automating setup installation wait for network availability 2020-05-24 21:38:44 -04:00
Mike Reeves 31b3563fb3 Fix package versions 2020-05-24 10:56:30 -04:00
Mike Reeves 1c207afb31 Define packages in the common state 2020-05-23 12:00:24 -04:00
Josh Brower 35f3498ffa Merge pull request #760 from Security-Onion-Solutions/feature/ingest-communityid
Ingest pipeline commid fix for conn logs
2020-05-22 17:11:38 -04:00
Josh Brower 56f5fbdf6b Ingest pipeline commid fix for conn logs 2020-05-22 17:11:08 -04:00
William Wernert 13423bed18 [fix] Add indent in proxy.conf 2020-05-22 16:35:16 -04:00
William Wernert 9a1e122c19 Merge pull request #759 from Security-Onion-Solutions/feature/turbo-proxy
Feature/turbo proxy
2020-05-22 16:31:20 -04:00
William Wernert 29726e957f [fix] Redirect parse_options output to setup log 2020-05-22 15:16:57 -04:00
William Wernert d9feb0d95c [fix] Don't repeat protocol in daemon.json 2020-05-22 15:09:04 -04:00
William Wernert ad96baab55 [feat] Trim quotes from arguments 2020-05-22 14:50:58 -04:00
William Wernert 08564ed6d4 [feat] Trim quotes from arguments 2020-05-22 14:50:42 -04:00
William Wernert 862631b93a [fix] Add space in daemon.json 2020-05-22 14:47:00 -04:00
Jason Ertel 19cd57bce0 Support automated setup 2020-05-22 14:44:57 -04:00
William Wernert 579b622935 [fix] Don't overwrite daemon.json, and only accept turbo mode on correct install types 2020-05-22 14:36:55 -04:00
William Wernert 78f6261fcc [fix] acng should be port 3142 not 3412 2020-05-22 14:00:01 -04:00
William Wernert 4b505827b1 [fix] Use correct ports for acng and docker registry 2020-05-22 13:31:58 -04:00
William Wernert c790b3827d [fix] yum.conf proxy should not contain quotes 2020-05-22 13:25:17 -04:00
William Wernert b029d9aca6 [feat] Initial work for running setup through proxy 2020-05-22 11:40:16 -04:00
William Wernert 967148890c [fix] Only prompt user about network install on network install 2020-05-22 11:39:32 -04:00
m0duspwnens b24654002b rename salt custom directory to local 2020-05-21 14:53:25 -04:00
Josh Brower 767eda6d60 Merge pull request #754 from Security-Onion-Solutions/feature/ingest-communityid
Feature/ingest communityid
2020-05-21 14:36:08 -04:00
Josh Brower bff86ea802 zeek.common ingest parser fix 2020-05-21 14:35:25 -04:00
Josh Brower c74ace89ba Initial support - Ingest community_id 2020-05-21 14:34:00 -04:00
m0duspwnens d0242c1da6 update references of /opt/so/saltstack to /opt/so/saltstack/default. use var default_salt_dir where appropriate - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749 2020-05-21 10:54:47 -04:00
m0duspwnens bd4fdaaa00 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-21 09:51:31 -04:00
Josh Patterson 9aff026569 Merge pull request #748 from Security-Onion-Solutions/issue/706
Issue/706 and issue/747
2020-05-21 09:25:36 -04:00
m0duspwnens 0a6f0efdc5 Sort so-status output alphabetically - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/747 2020-05-21 09:21:28 -04:00
m0duspwnens 9f5a38c26f add so-filebeat to so-status for eval - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/706 2020-05-21 09:19:24 -04:00
m0duspwnens ba9ff34cff Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-21 09:09:12 -04:00
m0duspwnens b3ccba4c7e Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-19 16:35:52 -04:00
m0duspwnens d27b18009f Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-19 15:24:40 -04:00
m0duspwnens 7977c47fda Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-19 09:48:07 -04:00
m0duspwnens 6b8f2e4683 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-18 17:05:56 -04:00
m0duspwnens 3f8b6402e6 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-18 16:34:19 -04:00
m0duspwnens 7a4928e1e0 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-18 13:54:07 -04:00
m0duspwnens 3b17bf14c1 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-18 13:08:46 -04:00
m0duspwnens f693968853 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-18 10:20:14 -04:00
m0duspwnens a97594135a Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-14 14:55:47 -04:00
m0duspwnens a51e590d24 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-14 14:04:42 -04:00
m0duspwnens fc582c7bf6 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-14 13:24:11 -04:00
m0duspwnens 8c090b180b Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-13 15:02:55 -04:00
m0duspwnens d1a1e6e265 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-12 16:54:57 -04:00
m0duspwnens 3d643f88fd Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-12 15:32:39 -04:00
m0duspwnens 66e48e3294 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-11 13:50:00 -04:00
m0duspwnens 0f5ca7b62e Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-08 17:15:37 -04:00
Mike Reeves fc2564e7be Update ip lists 2020-05-08 12:07:16 -04:00
Mike Reeves 85708b77c6 Update aliases 2020-05-08 11:47:35 -04:00
Mike Reeves 470046dda9 Update setup for new format 2020-05-08 11:16:26 -04:00
Mike Reeves 986df0c573 Update ports.yml 2020-05-08 11:13:23 -04:00
m0duspwnens 1945c57b0d starting new fw format - issue/641 2020-05-07 18:22:23 -04:00
m0duspwnens c393cc6594 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-07 11:39:12 -04:00
Mike Reeves dd8627f9dd Initial Firewall State Simplification 2020-05-07 11:36:38 -04:00
m0duspwnens cdd985cc57 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-06 16:51:16 -04:00
m0duspwnens 7b0c385920 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-06 15:39:42 -04:00
m0duspwnens 7f2785770f Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-05 17:25:51 -04:00
m0duspwnens be23a85bf0 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-05 10:52:28 -04:00
m0duspwnens 07df3c90ab Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-04 16:01:22 -04:00
m0duspwnens 81ce7b915a Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-05-04 11:05:31 -04:00
m0duspwnens 19eec6e1f4 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-29 16:10:52 -04:00
m0duspwnens e95842deef Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-29 09:49:07 -04:00
m0duspwnens 3b5736f983 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-27 16:48:14 -04:00
m0duspwnens 95ddb80612 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-21 08:40:16 -04:00
m0duspwnens 703319f66b Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-16 16:11:02 -04:00
m0duspwnens 5b0158a6c9 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-16 15:54:29 -04:00
m0duspwnens 615eecbd5a Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-16 15:47:10 -04:00
m0duspwnens a874807bda Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-16 14:10:52 -04:00
m0duspwnens 2da3165019 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-16 10:55:49 -04:00
m0duspwnens 78b0b5ad18 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-16 00:17:51 -04:00
m0duspwnens c840f81fe6 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-15 16:20:41 -04:00
m0duspwnens 29b5e769d6 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-15 16:03:42 -04:00
m0duspwnens 445f44d847 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-15 15:08:52 -04:00
m0duspwnens 3ec37b7646 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-15 14:55:39 -04:00
m0duspwnens 8c36a732a6 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-15 12:00:22 -04:00
m0duspwnens 69d9507758 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-10 14:50:58 -04:00
m0duspwnens d824b91c42 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-09 15:08:52 -04:00
m0duspwnens 2b05ae6c08 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-09 11:59:25 -04:00
m0duspwnens 48240498f9 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-09 08:28:55 -04:00
m0duspwnens 3ec57eace8 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-08 17:27:44 -04:00
m0duspwnens 638bf7e50b merge 2020-04-08 16:22:49 -04:00
m0duspwnens cd1caa5568 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-07 17:00:10 -04:00
m0duspwnens ed392ac4c2 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-06 13:41:18 -04:00
m0duspwnens 304e43e2ae Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-04-02 20:44:38 -04:00
m0duspwnens 1095f01c4f Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-03-23 09:34:53 -04:00
m0duspwnens 88acbc4d4d Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-03-18 10:45:53 -04:00
m0duspwnens 4aba09c44e Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-03-17 11:28:43 -04:00
m0duspwnens 632aad2787 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-03-17 08:59:19 -04:00
m0duspwnens 417e3ee19f Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-03-13 12:44:06 -04:00
m0duspwnens 70fd326041 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-03-13 08:14:27 -04:00
m0duspwnens f40d6d8ba9 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-03-13 07:56:39 -04:00
m0duspwnens 1222f2cf0e Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-03-10 12:10:06 -04:00
m0duspwnens 2c21ade950 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-03-04 12:26:01 -05:00
m0duspwnens 035a0a4ee2 Merge branch 'dev' of https://github.com/Security-Onion-Solutions/securityonion-saltstack into dev 2020-02-27 11:08:52 -05:00
m0duspwnens a5f5eba9fb Merge branch 'issue/326' into dev 2020-02-20 16:51:06 -05:00
1160 changed files with 493817 additions and 43093 deletions
+12
View File
@@ -0,0 +1,12 @@
PLEASE STOP AND READ THIS INFORMATION!
If you are creating an issue just to ask a question, you will likely get faster and better responses by posting to our discussions forum instead:
https://securityonion.net/discuss
If you think you have found a possible bug or are observing a behavior that you weren't expecting, use the discussion forum to start a conversation about it instead of creating an issue.
If you are very familiar with the latest version of the product and are confident you have found a bug in Security Onion, you can continue with creating an issue here, but please make sure you have done the following:
- duplicated the issue on a fresh installation of the latest version
- provide information about your system and how you installed Security Onion
- include relevant log files
- include reproduction steps
+15
View File
@@ -0,0 +1,15 @@
name: leak-test
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '0'
- name: Gitleaks
uses: zricethezav/gitleaks-action@master
+46
View File
@@ -0,0 +1,46 @@
# Contributing to Security Onion
### Questions, suggestions, and general comments
* Security Onion uses GitHub's [Discussions](https://github.com/Security-Onion-Solutions/securityonion/discussions) to provide a forum where the community and developers can interact as well as ask and answer questions.
### Reporting a bug
* The primary place to report unexpected behavior or possible bugs is the repo's [Discussions forum](https://github.com/Security-Onion-Solutions/securityonion/discussions).
* **If you are familiar with the current version of Security Onion and are confident you've discovered a bug**, first ensure there is not already an issue present by searching the open [issues](https://github.com/Security-Onion-Solutions/securityonion/issues). If there is, a thumbs up :+1: is a great way to show this bug is affecting you too.
* If an issue doesn't exist, [open a new one](https://github.com/Security-Onion-Solutions/securityonion/issues/new), following the directions in the issue template. This means including:
* **System information** and how Security Onion was installed
* **Log files** relevant to the bug report
* **Reproduction steps**
### Contributing code
* **All commits must be signed** with a valid key that has been added to your GitHub account. Each commit should have the "**Verified**" tag when viewed on GitHub as shown below:
<img src="./assets/images/verified-commit-1.png" width="450">
* If an issue does not already exist for the bug or feature for which you are submitting a pull request, [create one](https://github.com/Security-Onion-Solutions/securityonion/issues/new) with the relevant prefix. (**`FIX:`** for bug fixes, **`FEATURE:`** for new features.)
* Link the PR to the related issue, either using [keywords](https://docs.github.com/en/issues/tracking-your-work-with-issues/creating-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) in the PR description, or [manually](https://docs.github.com/en/issues/tracking-your-work-with-issues/creating-issues/linking-a-pull-request-to-an-issue#manually-linking-a-pull-request-to-an-issue).
* **Pull requests should be opened against the `dev` branch of this repo**, and should clearly describe the problem and solution.
* Be sure you have tested your changes and are confident they will not break other parts of the product.
* See this document's [code styling and conventions section](#code-style-and-conventions) below to be sure your PR fits our code requirements prior to submitting.
* Change behavior (fix a bug, add a new feature) separately from refactoring code. Refactor pull requests are welcome, but ensure your new code behaves exactly the same as the old.
* **Do not refactor code for non-functional reasons**. If you are submitting a pull request that refactors code, ensure the refactor is improving the functionality of the code you're refactoring (e.g. decreasing complexity, removing reliance on 3rd party tools, improving performance).
* Before submitting a PR with significant changes to the project, [start a discussion](https://github.com/Security-Onion-Solutions/securityonion/discussions/new) explaining what you hope to acheive. The project maintainers will provide feedback and determine whether your goal aligns with the project.
### Code style and conventions
* **Keep code [DRY](https://en.wikipedia.org/wiki/Don%27t_repeat_yourself)**. For example, Bash code used by multiple scripts will likely best be added to <span style="white-space: nowrap;">[`so-common`](salt/common/tools/sbin/so-common)</span>.
* All new Bash code should pass [ShellCheck](https://www.shellcheck.net/) analysis. Where errors can be *safely* [ignored](https://github.com/koalaman/shellcheck/wiki/Ignore), the relevant disable directive should be accompanied by a brief explanation as to why the error is being ignored.
* **Ensure all YAML (this includes Salt states and pillars) is properly formatted**. The spec for YAML v1.2 can be found [here](https://yaml.org/spec/1.2/spec.html), however there are numerous online resources with simpler descriptions of its formatting rules.
* **All code of any language should match the style of other code of that same language within the project.** Be sure that any changes you make do not break from the pre-existing style of Security Onion code.
+1
View File
@@ -0,0 +1 @@
04012022
+52
View File
@@ -0,0 +1,52 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQINBF7rzwEBEADBg87uJhnC3Ls7s60hbHGaywGrPtbz2WuYA/ev3YS3X7WS75p8
PGlzTWUCujx0pEHbK2vYfExl3zksZ8ZmLyZ9VB3oSLiWBzJgKAeB7YCFEo8te+eE
P2Z+8c+kX4eOV+2waxZyewA2TipSkhWgStSI4Ow8SyVUcUWA3hCw7mo2duNVi7KO
C3vvI3wzirH+8/XIGo+lWTg6yYlSxdf+0xWzYvV2QCMpwzJfARw6GGXtfCZw/zoO
o4+YPsiyztQdyI1y+g3Fbesl65E36DelbyP+lYd2VecX8ELEv0wlKCgHYlk6lc+n
qnOotVjWbsyXuFfo06PHUd6O9n3nmo0drC6kmXGw1e8hu0t8VcGfMTKS/hszwVUY
bHS6kbfsOoAb6LXPWKfqxk/BdreLXmcHHz88DimS3OS0JufkcmkjxEzSFRL0kb2h
QVb1SATrbx+v2RWQXvi9sLCjT2fdOiwi1Tgc84orc7A1C3Jwu353YaX9cV+n5uyG
OZ2AULZ5z2h13sVuiZAwfyyFs/O0CJ783hFA2TNPnyNGAgw/kaIo7nNRnggtndBo
oQzVS+BHiFx98IF4zDqmF2r2+jOCjxSrw8KnZBe4bgXFtl89DmjoejGvWDnu2MVM
pZDEs1DcOxHBQmTCWMIYLyNKG0xW6diyWBxEIaa7YgrP6kA+RaDfZ/xXPwARAQAB
tD9TZWN1cml0eSBPbmlvbiBTb2x1dGlvbnMsIExMQyA8aW5mb0BzZWN1cml0eW9u
aW9uc29sdXRpb25zLmNvbT6JAlQEEwEKAD4WIQTIBKk9Nr4Mcz6hlkR8EGC3/lBw
EwUCXuvPAQIbAwUJEswDAAULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRB8EGC3
/lBwExB1D/42xIDGU2XFNFyTU+ZqzDA8qNC9hEKjLeizbeM8RIm3xO+3p7SdqbuJ
7pA8gk0RiHuILb+Ba1xiSh/w/W2bOxQhsXuWHih2z3W1tI+hu6RQhIm4e6CIHHf7
Vzj4RSvHOVS0AzITUwkHjv0x0Z8zVBPJfEHKkK2x03BqP1o12rd7n2ZMrSfN6sED
fUwOJLDjthShtyLSPBVG8j7T5cfSCPSLhfVOKPQVcI1sSir7RLeyxt1v1kzjQdaA
+znxO8EgfZJN93wzfBrAGcVT8KmpmgwR6p46m20wJXyZC9DZxJ0o1y3toVWTC+kP
Qj1ROPivySVn10rBoOJk8HteyhW07gTcydq+noKHV7SqJ1899xRAYP7rDCfI9iMW
Nn22ZDLnAkIcbNR7JLJCHwsZH/Umo9KO/dIccIqVQel3UCCYZcWTZW0VkcjqVKRa
eK+JQGaJPrBAoxIG5/sMlbk2sINSubNWlcbH6kM0V8NVwdPiOO9xLmp2hI4ICxE3
M+O2HCNX4QYzVizzTFxEvW3ieLa4nePQ8J6lvMI2oLkFP7xHoFluvZnuwfNvoEy0
RnlHExN1UQTUvcbCxIbzjaJ4HJXilWHjgmGaVQO1S7AYskWnNWQ7uJvxnuZBNNwm
pIvwYEZp23fYaWl/xKqnmPMy2ADjROBKlCm7L+Ntq1r7ELGW5ZCTobkCDQRe688B
ARAA22GzdkSAo+mwJ2S1RbJ1G20tFnLsG/NC8iMN3lEh/PSmyPdB7mBtjZ+HPDzF
VSznXZdr3LItBBQOli2hVIj1lZBY7+s2ZufV3TFFwselUwT3b1g1KMkopD95Ckf8
WhLbSz2yqgrvcEvbB0HFX/ZEsHGqIz2kLacixjwXXLWOMQ2LNbeW1f5zQkBnaNNQ
/4njzTj68OxnvfplNYNJqi2pZGb2UqarYX04FqKNuocN8E7AC9FQdBXylmVctw9T
pQVwfCI76bTe6vPWb+keb6UNN1jyXVnhIQ3Fv5sFBsmgXf/hO8tqCotrKjEiK2/i
RkvFeqsGMXreCgYg9zW4k+DcJtVa+Q8juGOjElrubY3Ua9mCusx3vY4QYSWxQ5Ih
k1lXiUcM5Rt38lfpKHRJ5Pd4Y5xlWSQfZ7nmzbf/GzJQz+rWrA0X6Oc6cDOPLNXK
w1dAygre4f2bsp5kHQt6NMefxeNTDmi+4R62K0tb40f5q0Vxz8qdyD48bBsbULNx
kb6mjOAD+FNkfNXcGeuTq9oRnjx8i93mhYsIP5LFNDXS/zSP1nv0ZUFeIlGQGjV9
1wOvT454qkI9sKiVFtd4FrNKZJbKszxxDm+DPfB5j+hRC4oeEJ7w+sVyh3EawtfM
V7Mwj8i+7c3YUCravXBhSwG7SCTggFUgA8lMr8oWVgCATYsAEQEAAYkCPAQYAQoA
JhYhBMgEqT02vgxzPqGWRHwQYLf+UHATBQJe688BAhsMBQkSzAMAAAoJEHwQYLf+
UHATTtwQAJiztPW68ykifpFdwYFp1VC7c+uGLhWBqjDY9NSUKNC9caR7bV0cnNu8
07UG6j18gCB2GSkukXjOR/oTj6rNcW/WouPYfQOrw7+M2Ya8M8iq+E/HOXaXB3b4
FeCcB0UuwfcHHd2KbXrRHA+9GNpmuOcfTCdsPpIr41Xg4QltATDEt/FrzuKspXg4
vUKDXgfnbj7y0JcJM2FfcwWGlnAG5MMRyjJQAleGdiidX/9WxgJ4Mweq4qJM0jr3
Qsrc9VuzxsLr85no3Hn5UYVgT7bBZ59HUbQoi775m78MxN3mWUSdcyLQKovI+YXr
tshTxWIf/2Ovdzt6Wq1WWXOGGuK1qgdPJTFWrlh3amFdb70zR1p6A/Lthd7Zty+n
QjRZRQo5jBSnYtjhMrZP6rxM3QqnQ0frEKK9HfDYONk1Bw18CUtdwFGb9OMregLR
IjvNLp9coSh5yYAepZyUGEPRET0GsmVw2trQF0uyMSkQfiq2zjPto6WWbsmrrbLr
cfZ/wnBw1FoNEd51U54euo9yvOgOVtJGvqLgHNwB8574FhQhoWAMhyizqdgeEt26
m3FXecUNKL/AK71/l04vor+/WsXe8uhDg3O84qeYa9wgd8LZZVmGZJDosSwqYjtb
LdNNm+v60Zo6rFWSREegqi/nRTTDdxdW99ybjlh+mpbq3xavyFXF
=bhkm
-----END PGP PUBLIC KEY BLOCK-----
+18 -73
View File
@@ -1,90 +1,35 @@
## Hybrid Hunter Beta 1.3.0 - Beta 2
## Security Onion 2.3.110
### Changes:
Security Onion 2.3.110 is here!
- New Feature: Codename: "Onion Hunt". Select Hunt from the menu and start hunting down your adversaries!
- Improved ECS support.
- Complete refactor of the setup to make it easier to follow.
- Improved setup script logging to better assist on any issues.
- Setup now checks for minimal requirements during install.
- Updated Cyberchef to version 9.20.3.
- Updated Elastalert to version 0.2.4 and switched to alpine to reduce container size.
- Updated Redis to 5.0.9 and switched to alpine to reduce container size.
- Updated Salt to 2019.2.5
- Updated Grafana to 6.7.3.
- Zeek 3.0.6
- Suricata 4.1.8
- Fixes so-status to now display correct containers and status.
- local.zeek is now controlled by a pillar instead of modifying the file directly.
- Renamed so-core to so-nginx and switched to alpine to reduce container size.
- Playbook now uses MySQL instead of SQLite.
- Sigma rules have all been updated.
- Kibana dashboard improvements for ECS.
- Fixed an issue where geoip was not properly parsed.
- ATT&CK Navigator is now it's own state.
- Standlone mode is now supported.
- Mastersearch previously used the same Grafana dashboard as a Search node. It now has its own dashboard that incorporates panels from the Master node and Search node dashboards.
### Known Issues:
## Screenshots
- The Hunt feature is currently considered "Preview" and although very useful in its current state, not everything works. We wanted to get this out as soon as possible to get the feedback from you! Let us know what you want to see! Let us know what you think we should call it!
- You cannot pivot to PCAP from Suricata alerts in Kibana or Hunt.
- Updating users via the SOC ui is known to fail. To change a user, delete the user and re-add them.
- Due to the move to ECS, the current Playbook plays may not alert correctly at this time.
- The osquery MacOS package does not install correctly.
Alerts
![Alerts](./assets/images/screenshots/alerts-1.png)
### Warnings and Disclaimers
Hunt
![Hunt](./assets/images/screenshots/hunt-1.png)
- 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.
- 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!
- Use of this script may result in nausea, vomiting, or a burning sensation.
### Release Notes
https://docs.securityonion.net/en/2.3/release-notes.html
### Requirements
Evaluation Mode:
https://docs.securityonion.net/en/2.3/hardware.html
- ISO or a Single VM running Ubuntu 18.04 or CentOS 7
- Minimum 12GB of RAM
- Minimum 4 CPU cores
- Minimum 2 NICs
### Download
Distributed:
- 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
https://docs.securityonion.net/en/2.3/download.html
### Installation
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
```
Follow the prompts and reboot if asked to do so.
Then proceed to the [Hybrid Hunter Quick Start Guide](https://github.com/Security-Onion-Solutions/securityonion-saltstack/wiki/Hybrid-Hunter-Quick-Start-Guide).
https://docs.securityonion.net/en/2.3/installation.html
### FAQ
See the [FAQ](https://github.com/Security-Onion-Solutions/securityonion-saltstack/wiki/FAQ) on the Hybrid Hunter wiki.
https://docs.securityonion.net/en/2.3/faq.html
### Feedback
If you have questions, problems, or other feedback regarding Hybrid Hunter, please post to our subreddit and prefix the title with **[Hybrid Hunter]**:<br>
https://www.reddit.com/r/securityonion/
https://docs.securityonion.net/en/2.3/community-support.html
+21
View File
@@ -0,0 +1,21 @@
# Security Policy
## Supported Versions
| Version | Supported |
| ------- | ------------------ |
| 2.x.x | :white_check_mark: |
| 16.04.x | :x: |
Security Onion 16.04 has reached End Of Life and is no longer supported.
## Reporting a Vulnerability
If you have any security concerns regarding Security Onion or believe you have uncovered a vulnerability, please follow these steps:
- send an email to security@securityonion.net
- include a description of the issue and steps to reproduce
- please use plain text format (no Word documents or PDF files)
- please do not disclose publicly until we have had sufficient time to resolve the issue
This security address should be used only for undisclosed vulnerabilities. Dealing with fixed issues or general questions on how to use Security Onion should be handled via the normal support channels.
+52
View File
@@ -0,0 +1,52 @@
### 2.3.110-20220401 ISO image built on 2022/04/04
### Download and Verify
2.3.110-20220401 ISO image:
https://download.securityonion.net/file/securityonion/securityonion-2.3.110-20220401.iso
MD5: 17625039D4ED23EC217589A1681C4FDA
SHA1: 8244A7BE12F27E71721ADC699950BB27C5C03BF2
SHA256: 76C135C3FDA8A28C13A142B944BE72E67192AC7C4BC85838230EFF45E8978BD1
Signature for ISO image:
https://github.com/Security-Onion-Solutions/securityonion/raw/master/sigs/securityonion-2.3.110-20220401.iso.sig
Signing key:
https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion/master/KEYS
For example, here are the steps you can use on most Linux distributions to download and verify our Security Onion ISO image.
Download and import the signing key:
```
wget https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion/master/KEYS -O - | gpg --import -
```
Download the signature file for the ISO:
```
wget https://github.com/Security-Onion-Solutions/securityonion/raw/master/sigs/securityonion-2.3.110-20220401.iso.sig
```
Download the ISO image:
```
wget https://download.securityonion.net/file/securityonion/securityonion-2.3.110-20220401.iso
```
Verify the downloaded ISO image using the signature file:
```
gpg --verify securityonion-2.3.110-20220401.iso.sig securityonion-2.3.110-20220401.iso
```
The output should show "Good signature" and the Primary key fingerprint should match what's shown below:
```
gpg: Signature made Mon 04 Apr 2022 02:08:59 PM EDT using RSA key ID FE507013
gpg: Good signature from "Security Onion Solutions, LLC <info@securityonionsolutions.com>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg: There is no indication that the signature belongs to the owner.
Primary key fingerprint: C804 A93D 36BE 0C73 3EA1 9644 7C10 60B7 FE50 7013
```
Once you've verified the ISO image, you're ready to proceed to our Installation guide:
https://docs.securityonion.net/en/2.3/installation.html
+1 -1
View File
@@ -1 +1 @@
1.3.0
2.3.110
Binary file not shown.

After

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 168 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

@@ -0,0 +1,23 @@
{% import_yaml 'firewall/portgroups.yaml' as default_portgroups %}
{% set default_portgroups = default_portgroups.firewall.aliases.ports %}
{% import_yaml 'firewall/portgroups.local.yaml' as local_portgroups %}
{% if local_portgroups.firewall.aliases.ports %}
{% set local_portgroups = local_portgroups.firewall.aliases.ports %}
{% else %}
{% set local_portgroups = {} %}
{% endif %}
{% set portgroups = salt['defaults.merge'](default_portgroups, local_portgroups, in_place=False) %}
role:
eval:
fleet:
heavynode:
helixsensor:
idh:
import:
manager:
managersearch:
receiver:
standalone:
searchnode:
sensor:
+82
View File
@@ -0,0 +1,82 @@
firewall:
hostgroups:
analyst:
ips:
delete:
insert:
beats_endpoint:
ips:
delete:
insert:
beats_endpoint_ssl:
ips:
delete:
insert:
elasticsearch_rest:
ips:
delete:
insert:
endgame:
ips:
delete:
insert:
fleet:
ips:
delete:
insert:
heavy_node:
ips:
delete:
insert:
idh:
ips:
delete:
insert:
manager:
ips:
delete:
insert:
minion:
ips:
delete:
insert:
node:
ips:
delete:
insert:
osquery_endpoint:
ips:
delete:
insert:
receiver:
ips:
delete:
insert:
search_node:
ips:
delete:
insert:
sensor:
ips:
delete:
insert:
strelka_frontend:
ips:
delete:
insert:
syslog:
ips:
delete:
insert:
wazuh_agent:
ips:
delete:
insert:
wazuh_api:
ips:
delete:
insert:
wazuh_authd:
ips:
delete:
insert:
+3
View File
@@ -0,0 +1,3 @@
firewall:
aliases:
ports:
+11 -2
View File
@@ -13,6 +13,8 @@
# user: socore
log_file: /opt/so/log/salt/master
log_level_logfile: info
log_level: info
##### File Server settings #####
##########################################
@@ -37,7 +39,9 @@ log_file: /opt/so/log/salt/master
#
file_roots:
base:
- /opt/so/saltstack/salt
- /opt/so/saltstack/local/salt
- /opt/so/saltstack/default/salt
# The master_roots setting configures a master-only copy of the file_roots dictionary,
# used by the state compiler.
@@ -53,7 +57,8 @@ file_roots:
pillar_roots:
base:
- /opt/so/saltstack/pillar
- /opt/so/saltstack/local/pillar
- /opt/so/saltstack/default/pillar
peer:
.*:
@@ -62,3 +67,7 @@ peer:
reactor:
- 'so/fleet':
- salt://reactor/fleet.sls
- 'salt/beacon/*/watch_sqlite_db//opt/so/conf/kratos/db/sqlite.db':
- salt://reactor/kratos.sls
+14
View File
@@ -0,0 +1,14 @@
[Unit]
Description=The Salt Master Server
Documentation=man:salt-master(1) file:///usr/share/doc/salt/html/contents.html https://docs.saltstack.com/en/latest/contents.html
After=network.target
[Service]
LimitNOFILE=100000
Type=notify
NotifyAccess=all
ExecStart=/usr/bin/salt-master
Restart=always
[Install]
WantedBy=multi-user.target
-42
View File
@@ -1,42 +0,0 @@
brologs:
enabled:
- conn
- dce_rpc
- dhcp
- dhcpv6
- dnp3
- dns
- dpd
- files
- ftp
- http
- intel
- irc
- kerberos
- modbus
- mqtt
- notice
- ntlm
- openvpn
- pe
- radius
- rfb
- rdp
- signatures
- sip
- smb_files
- smb_mapping
- smtp
- snmp
- software
- ssh
- ssl
- syslog
- telnet
- tunnel
- weird
- mysql
- socks
- x509
disabled:
+25 -21
View File
@@ -1,7 +1,8 @@
#!/usr/bin/env bash
# This script adds sensors/nodes/etc to the nodes tab
default_salt_dir=/opt/so/saltstack/default
local_salt_dir=/opt/so/saltstack/local
TYPE=$1
NAME=$2
IPADDRESS=$3
@@ -15,7 +16,7 @@ MONINT=$9
#HOTNAME=$11
echo "Seeing if this host is already in here. If so delete it"
if grep -q $NAME "/opt/so/saltstack/pillar/data/$TYPE.sls"; then
if grep -q $NAME "$local_salt_dir/pillar/data/$TYPE.sls"; then
echo "Node Already Present - Let's re-add it"
awk -v blah=" $NAME:" 'BEGIN{ print_flag=1 }
{
@@ -31,27 +32,30 @@ if grep -q $NAME "/opt/so/saltstack/pillar/data/$TYPE.sls"; then
if ( print_flag == 1 )
print $0
} ' /opt/so/saltstack/pillar/data/$TYPE.sls > /opt/so/saltstack/pillar/data/tmp.$TYPE.sls
mv /opt/so/saltstack/pillar/data/tmp.$TYPE.sls /opt/so/saltstack/pillar/data/$TYPE.sls
} ' $local_salt_dir/pillar/data/$TYPE.sls > $local_salt_dir/pillar/data/tmp.$TYPE.sls
mv $local_salt_dir/pillar/data/tmp.$TYPE.sls $local_salt_dir/pillar/data/$TYPE.sls
echo "Deleted $NAME from the tab. Now adding it in again with updated info"
fi
echo " $NAME:" >> /opt/so/saltstack/pillar/data/$TYPE.sls
echo " ip: $IPADDRESS" >> /opt/so/saltstack/pillar/data/$TYPE.sls
echo " manint: $MANINT" >> /opt/so/saltstack/pillar/data/$TYPE.sls
echo " totalcpus: $CPUS" >> /opt/so/saltstack/pillar/data/$TYPE.sls
echo " guid: $GUID" >> /opt/so/saltstack/pillar/data/$TYPE.sls
echo " rootfs: $ROOTFS" >> /opt/so/saltstack/pillar/data/$TYPE.sls
echo " nsmfs: $NSM" >> /opt/so/saltstack/pillar/data/$TYPE.sls
echo " $NAME:" >> $local_salt_dir/pillar/data/$TYPE.sls
echo " ip: $IPADDRESS" >> $local_salt_dir/pillar/data/$TYPE.sls
echo " manint: $MANINT" >> $local_salt_dir/pillar/data/$TYPE.sls
echo " totalcpus: $CPUS" >> $local_salt_dir/pillar/data/$TYPE.sls
echo " guid: $GUID" >> $local_salt_dir/pillar/data/$TYPE.sls
echo " rootfs: $ROOTFS" >> $local_salt_dir/pillar/data/$TYPE.sls
echo " nsmfs: $NSM" >> $local_salt_dir/pillar/data/$TYPE.sls
if [ $TYPE == 'sensorstab' ]; then
echo " monint: $MONINT" >> /opt/so/saltstack/pillar/data/$TYPE.sls
salt-call state.apply common queue=True
echo " monint: bond0" >> $local_salt_dir/pillar/data/$TYPE.sls
salt-call state.apply grafana queue=True
fi
if [ $TYPE == 'evaltab' ]; then
echo " monint: $MONINT" >> /opt/so/saltstack/pillar/data/$TYPE.sls
salt-call state.apply common queue=True
salt-call state.apply utility queue=True
if [ $TYPE == 'evaltab' ] || [ $TYPE == 'standalonetab' ]; then
echo " monint: bond0" >> $local_salt_dir/pillar/data/$TYPE.sls
if [ ! $10 ]; then
salt-call state.apply grafana queue=True
salt-call state.apply utility queue=True
fi
fi
if [ $TYPE == 'nodestab' ]; then
salt-call state.apply elasticsearch queue=True
# echo " nodetype: $NODETYPE" >> $local_salt_dir/pillar/data/$TYPE.sls
# echo " hotname: $HOTNAME" >> $local_salt_dir/pillar/data/$TYPE.sls
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
View File
@@ -1 +0,0 @@
evaltab:
-1
View File
@@ -1 +0,0 @@
mastersearchtab:
-1
View File
@@ -1 +0,0 @@
mastertab:
-1
View File
@@ -1 +0,0 @@
nodestab:
-1
View File
@@ -1 +0,0 @@
sensorstab:
-211
View File
@@ -1,211 +0,0 @@
{%- set FLEETMASTER = salt['pillar.get']('static:fleet_master', False) -%}
{%- set FLEETNODE = salt['pillar.get']('static:fleet_node', False) -%}
{% set WAZUH = salt['pillar.get']('master:wazuh', '0') %}
{% set THEHIVE = salt['pillar.get']('master:thehive', '0') %}
{% set PLAYBOOK = salt['pillar.get']('master:playbook', '0') %}
{% set FREQSERVER = salt['pillar.get']('master:freq', '0') %}
{% set DOMAINSTATS = salt['pillar.get']('master:domainstats', '0') %}
{% set BROVER = salt['pillar.get']('static:broversion', 'COMMUNITY') %}
{% set GRAFANA = salt['pillar.get']('master:grafana', '0') %}
eval:
containers:
- so-nginx
- so-telegraf
{% if GRAFANA == '1' %}
- so-influxdb
- so-grafana
{% endif %}
- so-dockerregistry
- so-soc
- so-kratos
- so-idstools
{% if FLEETMASTER %}
- so-mysql
- so-fleet
- so-redis
{% endif %}
- so-elasticsearch
- so-logstash
- so-kibana
- so-steno
- so-suricata
- so-zeek
- so-curator
- so-elastalert
{% if WAZUH != '0' %}
- so-wazuh
{% endif %}
- so-soctopus
{% if THEHIVE != '0' %}
- so-thehive
- so-thehive-es
- so-cortex
{% endif %}
{% if PLAYBOOK != '0' %}
- so-playbook
- so-navigator
{% endif %}
{% if FREQSERVER != '0' %}
- so-freqserver
{% endif %}
{% if DOMAINSTATS != '0' %}
- so-domainstats
{% endif %}
heavy_node:
containers:
- so-nginx
- so-telegraf
- so-redis
- so-logstash
- so-elasticsearch
- so-curator
- so-steno
- so-suricata
- so-wazuh
- so-filebeat
{% if BROVER != 'SURICATA' %}
- so-zeek
{% endif %}
helix:
containers:
- so-nginx
- so-telegraf
- so-idstools
- so-steno
- so-zeek
- so-redis
- so-logstash
- so-filebeat
hot_node:
containers:
- so-nginx
- so-telegraf
- so-logstash
- so-elasticsearch
- so-curator
master_search:
containers:
- so-nginx
- so-telegraf
- so-soc
- so-kratos
- so-acng
- so-idstools
- so-redis
- so-logstash
- so-elasticsearch
- so-curator
- so-kibana
- so-elastalert
- so-filebeat
- so-soctopus
{% if FLEETMASTER %}
- so-mysql
- so-fleet
- so-redis
{% endif %}
{% if WAZUH != '0' %}
- so-wazuh
{% endif %}
- so-soctopus
{% if THEHIVE != '0' %}
- so-thehive
- so-thehive-es
- so-cortex
{% endif %}
{% if PLAYBOOK != '0' %}
- so-playbook
- so-navigator
{% endif %}
{% if FREQSERVER != '0' %}
- so-freqserver
{% endif %}
{% if DOMAINSTATS != '0' %}
- so-domainstats
{% endif %}
master:
containers:
- so-dockerregistry
- so-nginx
- so-telegraf
{% if GRAFANA == '1' %}
- so-influxdb
- so-grafana
{% endif %}
- so-soc
- so-kratos
- so-acng
- so-idstools
- so-redis
- so-elasticsearch
- so-logstash
- so-kibana
- so-elastalert
- so-filebeat
{% if FLEETMASTER %}
- so-mysql
- so-fleet
- so-redis
{% endif %}
{% if WAZUH != '0' %}
- so-wazuh
{% endif %}
- so-soctopus
{% if THEHIVE != '0' %}
- so-thehive
- so-thehive-es
- so-cortex
{% endif %}
{% if PLAYBOOK != '0' %}
- so-playbook
- so-navigator
{% endif %}
{% if FREQSERVER != '0' %}
- so-freqserver
{% endif %}
{% if DOMAINSTATS != '0' %}
- so-domainstats
{% endif %}
parser_node:
containers:
- so-nginx
- so-telegraf
- so-logstash
search_node:
containers:
- so-nginx
- so-telegraf
- so-logstash
- so-elasticsearch
- so-curator
- so-filebeat
{% if WAZUH != '0' %}
- so-wazuh
{% endif %}
sensor:
containers:
- so-nginx
- so-telegraf
- so-steno
- so-suricata
{% if BROVER != 'SURICATA' %}
- so-zeek
{% endif %}
- so-wazuh
- so-filebeat
warm_node:
containers:
- so-nginx
- so-telegraf
- so-elasticsearch
fleet:
containers:
{% if FLEETNODE %}
- so-mysql
- so-fleet
- so-redis
- so-filebeat
- so-nginx
- so-telegraf
{% endif %}
+2
View File
@@ -0,0 +1,2 @@
elasticsearch:
templates:
+2
View File
@@ -0,0 +1,2 @@
elasticsearch:
templates:
+2
View File
@@ -0,0 +1,2 @@
elasticsearch:
templates:
+4 -4
View File
@@ -1,13 +1,13 @@
#!/usr/bin/env bash
# This script adds ip addresses to specific rule sets defined by the user
local_salt_dir=/opt/so/saltstack/local
POLICY=$1
IPADDRESS=$2
if grep -q $2 "/opt/so/saltstack/pillar/firewall/$1.sls"; then
if grep -q $2 "$local_salt_dir/pillar/firewall/$1.sls"; then
echo "Firewall Rule Already There"
else
echo " - $2" >> /opt/so/saltstack/pillar/firewall/$1.sls
echo " - $2" >> $local_salt_dir/pillar/firewall/$1.sls
salt-call state.apply firewall queue=True
fi
fi
+13
View File
@@ -0,0 +1,13 @@
logrotate:
conf: |
daily
rotate 14
missingok
copytruncate
compress
create
extension .log
dateext
dateyesterday
group_conf: |
su root socore
-21
View File
@@ -1,21 +0,0 @@
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
+1 -1
View File
@@ -1,7 +1,7 @@
logstash:
docker_options:
port_bindings:
- 0.0.0.0:514:514
- 0.0.0.0:3765:3765
- 0.0.0.0:5044:5044
- 0.0.0.0:5644:5644
- 0.0.0.0:6050:6050
@@ -1,6 +1,9 @@
logstash:
pipelines:
master:
manager:
config:
- so/0009_input_beats.conf
- so/0010_input_hhbeats.conf
- so/0011_input_endgame.conf
- so/9999_output_redis.conf.jinja
+31
View File
@@ -0,0 +1,31 @@
{% set node_types = {} %}
{% set cached_grains = salt.saltutil.runner('cache.grains', tgt='*') %}
{% for minionid, ip in salt.saltutil.runner(
'mine.get',
tgt='G@role:so-manager or G@role:so-managersearch or G@role:so-standalone or G@role:so-node or G@role:so-heavynode or G@role:so-receiver or G@role:so-helix ',
fun='network.ip_addrs',
tgt_type='compound') | dictsort()
%}
{% set hostname = cached_grains[minionid]['host'] %}
{% set node_type = minionid.split('_')[1] %}
{% if node_type not in node_types.keys() %}
{% do node_types.update({node_type: {hostname: ip[0]}}) %}
{% else %}
{% if hostname not in node_types[node_type] %}
{% do node_types[node_type].update({hostname: ip[0]}) %}
{% else %}
{% do node_types[node_type][hostname].update(ip[0]) %}
{% endif %}
{% endif %}
{% endfor %}
logstash:
nodes:
{% for node_type, values in node_types.items() %}
{{node_type}}:
{% for hostname, ip in values.items() %}
{{hostname}}:
ip: {{ip}}
{% endfor %}
{% endfor %}
+9
View File
@@ -0,0 +1,9 @@
logstash:
pipelines:
receiver:
config:
- so/0009_input_beats.conf
- so/0010_input_hhbeats.conf
- so/0011_input_endgame.conf
- so/9999_output_redis.conf.jinja
+5 -5
View File
@@ -5,12 +5,12 @@ logstash:
- 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/9034_output_syslog.conf.jinja
- so/9050_output_filebeatmodules.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
- so/9800_output_logscan.conf.jinja
- so/9900_output_endgame.conf.jinja
+33
View File
@@ -0,0 +1,33 @@
{% set node_types = {} %}
{% set manage_alived = salt.saltutil.runner('manage.alived', show_ip=True) %}
{% set manager = grains.master %}
{% set manager_type = manager.split('_')|last %}
{% for minionid, ip in salt.saltutil.runner('mine.get', tgt='*', fun='network.ip_addrs', tgt_type='glob') | dictsort() %}
{% set hostname = minionid.split('_')[0] %}
{% set node_type = minionid.split('_')[1] %}
{% set is_alive = False %}
{% if minionid in manage_alived.keys() %}
{% if ip[0] == manage_alived[minionid] %}
{% set is_alive = True %}
{% endif %}
{% endif %}
{% if node_type not in node_types.keys() %}
{% do node_types.update({node_type: {hostname: {'ip':ip[0], 'alive':is_alive }}}) %}
{% else %}
{% if hostname not in node_types[node_type] %}
{% do node_types[node_type].update({hostname: {'ip':ip[0], 'alive':is_alive}}) %}
{% else %}
{% do node_types[node_type][hostname].update({'ip':ip[0], 'alive':is_alive}) %}
{% endif %}
{% endif %}
{% endfor %}
node_data:
{% for node_type, host_values in node_types.items() %}
{{node_type}}:
{% for hostname, details in host_values.items() %}
{{hostname}}:
ip: {{details.ip}}
alive: {{ details.alive }}
{% endfor %}
{% endfor %}
+84 -38
View File
@@ -1,87 +1,133 @@
base:
'*':
- patch.needs_restarting
- logrotate
'*_eval or *_helix or *_heavynode or *_sensor or *_standalone':
'* and not *_eval and not *_import':
- logstash.nodes
'*_eval or *_helixsensor or *_heavynode or *_sensor or *_standalone or *_import':
- match: compound
- zeek
'*_mastersearch or *_heavynode':
'*_managersearch or *_heavynode':
- match: compound
- logstash
- logstash.master
- logstash.manager
- logstash.search
- elasticsearch.search
'*_manager':
- logstash
- logstash.manager
- elasticsearch.manager
'*_manager or *_managersearch':
- match: compound
- data.*
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
- elasticsearch.auth
{% endif %}
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/kibana/secrets.sls') %}
- kibana.secrets
{% endif %}
- secrets
- global
- minions.{{ grains.id }}
'*_sensor':
- static
- firewall.*
- brologs
- zeeklogs
- healthcheck.sensor
- global
- minions.{{ grains.id }}
'*_master or *_mastersearch':
- match: compound
- static
- firewall.*
- data.*
- secrets
- minions.{{ grains.id }}
'*_master':
- logstash
- logstash.master
'*_eval':
- static
- firewall.*
- data.*
- brologs
- zeeklogs
- secrets
- healthcheck.eval
- elasticsearch.eval
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
- elasticsearch.auth
{% endif %}
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/kibana/secrets.sls') %}
- kibana.secrets
{% endif %}
- global
- minions.{{ grains.id }}
'*_standalone':
- logstash
- logstash.master
- logstash.manager
- logstash.search
- firewall.*
- elasticsearch.search
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
- elasticsearch.auth
{% endif %}
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/kibana/secrets.sls') %}
- kibana.secrets
{% endif %}
- data.*
- brologs
- zeeklogs
- secrets
- healthcheck.standalone
- static
- global
- minions.{{ grains.id }}
'*_node':
- static
- firewall.*
- global
- minions.{{ grains.id }}
'*_heavynode':
- static
- firewall.*
- brologs
- zeeklogs
- elasticsearch.auth
- global
- minions.{{ grains.id }}
'*_helix':
- static
- firewall.*
'*_helixsensor':
- fireeye
- brologs
- zeeklogs
- logstash
- logstash.helix
- global
- minions.{{ grains.id }}
'*_fleet':
- static
- firewall.*
- data.*
- secrets
- global
- minions.{{ grains.id }}
'*_idh':
- data.*
- global
- minions.{{ grains.id }}
'*_searchnode':
- static
- firewall.*
- logstash
- logstash.search
- elasticsearch.search
- elasticsearch.auth
- global
- minions.{{ grains.id }}
- data.nodestab
'*_receiver':
- logstash
- logstash.receiver
- elasticsearch.auth
- global
- minions.{{ grains.id }}
'*_import':
- zeeklogs
- secrets
- elasticsearch.eval
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/elasticsearch/auth.sls') %}
- elasticsearch.auth
{% endif %}
{% if salt['file.file_exists']('/opt/so/saltstack/local/pillar/kibana/secrets.sls') %}
- kibana.secrets
{% endif %}
- global
- minions.{{ grains.id }}
+1 -1
View File
@@ -52,4 +52,4 @@ zeek:
- frameworks/signatures/detect-windows-shells
redef:
- LogAscii::use_json = T;
- LogAscii::json_timestamps = JSON::TS_ISO8601;
- CaptureLoss::watch_interval = 5 mins;
+17 -2
View File
@@ -2,6 +2,8 @@
import logging
import sys
from time import time
from os.path import getsize
allowed_functions = ['is_enabled', 'zeek']
states_to_apply = []
@@ -85,8 +87,21 @@ def zeek():
else:
zeek_restart = 0
__salt__['telegraf.send']('healthcheck zeek_restart=%i' % zeek_restart)
#__salt__['telegraf.send']('healthcheck zeek_restart=%i' % zeek_restart)
# write out to file in /nsm/zeek/logs/ for telegraf to read for zeek restart
try:
if getsize("/nsm/zeek/logs/zeek_restart.log") >= 1000000:
openmethod = "w"
else:
openmethod = "a"
except FileNotFoundError:
openmethod = "a"
influxtime = int(time() * 1000000000)
with open("/nsm/zeek/logs/zeek_restart.log", openmethod) as f:
f.write('healthcheck zeek_restart=%i %i\n' % (zeek_restart, influxtime))
if calling_func == 'execute' and zeek_restart:
apply_states()
+64
View File
@@ -0,0 +1,64 @@
#!py
import logging
def status():
return __salt__['cmd.run']('/usr/sbin/so-status')
def mysql_conn(retry):
log = logging.getLogger(__name__)
from time import sleep
try:
from MySQLdb import _mysql
except ImportError as e:
log.error(e)
return False
mainint = __salt__['pillar.get']('host:mainint')
ip_arr = __salt__['grains.get']('ip4_interfaces').get(mainint)
mysql_up = False
if len(ip_arr) == 1:
mainip = ip_arr[0]
if not(retry >= 1):
log.debug('`retry` set to value below 1, resetting it to 1 to prevent errors.')
retry = 1
for i in range(0, retry):
log.debug(f'Connection attempt {i+1}')
try:
db = _mysql.connect(
host=mainip,
user='root',
passwd=__salt__['pillar.get']('secrets:mysql')
)
log.debug(f'Connected to MySQL server on {mainip} after {i+1} attempts.')
db.query("""SELECT 1;""")
log.debug(f'Successfully completed query against MySQL server on {mainip}')
db.close()
mysql_up = True
break
except _mysql.OperationalError as e:
log.debug(e)
except Exception as e:
log.error('Unexpected error occured.')
log.error(e)
break
sleep(1)
if not mysql_up:
log.error(f'Could not connect to MySQL server on {mainip} after {retry} attempts.')
else:
log.error(f'Main interface {mainint} has more than one IP address assigned to it, which is not supported.')
log.debug(f'{mainint}:')
for addr in ip_arr:
log.debug(f' - {addr}')
return mysql_up
+1 -1
View File
@@ -6,7 +6,7 @@ import socket
def send(data):
mainint = __salt__['pillar.get']('sensor:mainint', __salt__['pillar.get']('master:mainint'))
mainint = __salt__['pillar.get']('sensor:mainint', __salt__['pillar.get']('manager:mainint'))
mainip = __salt__['grains.get']('ip_interfaces').get(mainint)[0]
dstport = 8094
+327
View File
@@ -0,0 +1,327 @@
{% set ZEEKVER = salt['pillar.get']('global:mdengine', '') %}
{% set WAZUH = salt['pillar.get']('global:wazuh', '0') %}
{% set THEHIVE = salt['pillar.get']('manager:thehive', '0') %}
{% set PLAYBOOK = salt['pillar.get']('manager:playbook', '0') %}
{% set FREQSERVER = salt['pillar.get']('manager:freq', '0') %}
{% set DOMAINSTATS = salt['pillar.get']('manager:domainstats', '0') %}
{% set FLEETMANAGER = salt['pillar.get']('global:fleet_manager', False) %}
{% set FLEETNODE = salt['pillar.get']('global:fleet_node', False) %}
{% set ELASTALERT = salt['pillar.get']('elastalert:enabled', True) %}
{% set ELASTICSEARCH = salt['pillar.get']('elasticsearch:enabled', True) %}
{% set FILEBEAT = salt['pillar.get']('filebeat:enabled', True) %}
{% set KIBANA = salt['pillar.get']('kibana:enabled', True) %}
{% set LOGSTASH = salt['pillar.get']('logstash:enabled', True) %}
{% set CURATOR = salt['pillar.get']('curator:enabled', True) %}
{% set REDIS = salt['pillar.get']('redis:enabled', True) %}
{% set STRELKA = salt['pillar.get']('strelka:enabled', '0') %}
{% set ISAIRGAP = salt['pillar.get']('global:airgap', False) %}
{% import_yaml 'salt/minion.defaults.yaml' as saltversion %}
{% set saltversion = saltversion.salt.minion.version %}
{# this is the list we are returning from this map file, it gets built below #}
{% set allowed_states= [] %}
{% if grains.saltversion | string == saltversion | string %}
{% set allowed_states= salt['grains.filter_by']({
'so-eval': [
'salt.master',
'ca',
'ssl',
'registry',
'manager',
'nginx',
'telegraf',
'influxdb',
'grafana',
'soc',
'kratos',
'firewall',
'idstools',
'suricata.manager',
'healthcheck',
'pcap',
'suricata',
'utility',
'schedule',
'soctopus',
'tcpreplay',
'docker_clean',
'learn'
],
'so-heavynode': [
'ssl',
'nginx',
'telegraf',
'firewall',
'pcap',
'suricata',
'healthcheck',
'schedule',
'tcpreplay',
'docker_clean'
],
'so-helixsensor': [
'salt.master',
'ca',
'ssl',
'registry',
'telegraf',
'firewall',
'idstools',
'suricata.manager',
'zeek',
'redis',
'elasticsearch',
'logstash',
'schedule',
'tcpreplay',
'docker_clean'
],
'so-fleet': [
'ssl',
'nginx',
'telegraf',
'firewall',
'mysql',
'redis',
'fleet',
'fleet.install_package',
'filebeat',
'schedule',
'docker_clean'
],
'so-idh': [
'ssl',
'telegraf',
'firewall',
'fleet.install_package',
'filebeat',
'idh',
'schedule',
'docker_clean'
],
'so-import': [
'salt.master',
'ca',
'ssl',
'registry',
'manager',
'nginx',
'soc',
'kratos',
'firewall',
'idstools',
'suricata.manager',
'pcap',
'utility',
'suricata',
'zeek',
'schedule',
'tcpreplay',
'docker_clean',
'learn'
],
'so-manager': [
'salt.master',
'ca',
'ssl',
'registry',
'manager',
'nginx',
'telegraf',
'influxdb',
'grafana',
'soc',
'kratos',
'firewall',
'idstools',
'suricata.manager',
'utility',
'schedule',
'soctopus',
'docker_clean',
'learn'
],
'so-managersearch': [
'salt.master',
'ca',
'ssl',
'registry',
'nginx',
'telegraf',
'influxdb',
'grafana',
'soc',
'kratos',
'firewall',
'manager',
'idstools',
'suricata.manager',
'utility',
'schedule',
'soctopus',
'docker_clean',
'learn'
],
'so-node': [
'ssl',
'nginx',
'telegraf',
'firewall',
'schedule',
'docker_clean'
],
'so-standalone': [
'salt.master',
'ca',
'ssl',
'registry',
'manager',
'nginx',
'telegraf',
'influxdb',
'grafana',
'soc',
'kratos',
'firewall',
'idstools',
'suricata.manager',
'pcap',
'suricata',
'healthcheck',
'utility',
'schedule',
'soctopus',
'tcpreplay',
'docker_clean',
'learn'
],
'so-sensor': [
'ssl',
'telegraf',
'firewall',
'nginx',
'pcap',
'suricata',
'healthcheck',
'wazuh',
'filebeat',
'schedule',
'tcpreplay',
'docker_clean'
],
'so-receiver': [
'ssl',
'telegraf',
'firewall',
'schedule',
'docker_clean'
],
}, grain='role') %}
{% if FILEBEAT and grains.role in ['so-helixsensor', 'so-eval', 'so-manager', 'so-standalone', 'so-node', 'so-managersearch', 'so-heavynode', 'so-import', 'so-receiver'] %}
{% do allowed_states.append('filebeat') %}
{% endif %}
{% if ((FLEETMANAGER or FLEETNODE) or PLAYBOOK != 0) and grains.role in ['so-eval', 'so-manager', 'so-managersearch', 'so-standalone'] %}
{% do allowed_states.append('mysql') %}
{% endif %}
{% if (FLEETMANAGER or FLEETNODE) and grains.role in ['so-sensor', 'so-eval', 'so-manager', 'so-standalone', 'so-node', 'so-managersearch', 'so-heavynode', 'so-receiver'] %}
{% do allowed_states.append('fleet.install_package') %}
{% endif %}
{% if (FLEETMANAGER or FLEETNODE) and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch', 'so-heavynode'] %}
{% do allowed_states.append('fleet') %}
{% endif %}
{% if (FLEETMANAGER or FLEETNODE) and grains.role in ['so-eval'] %}
{% do allowed_states.append('redis') %}
{% endif %}
{%- if ZEEKVER != 'SURICATA' and grains.role in ['so-sensor', 'so-eval', 'so-standalone', 'so-heavynode'] %}
{% do allowed_states.append('zeek') %}
{%- endif %}
{% if STRELKA and grains.role in ['so-sensor', 'so-eval', 'so-standalone', 'so-heavynode'] %}
{% do allowed_states.append('strelka') %}
{% endif %}
{% if WAZUH and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-node', 'so-managersearch', 'so-heavynode', 'so-receiver','so-idh']%}
{% do allowed_states.append('wazuh') %}
{% endif %}
{% if ELASTICSEARCH and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-node', 'so-managersearch', 'so-heavynode', 'so-import'] %}
{% do allowed_states.append('elasticsearch') %}
{% endif %}
{% if ELASTICSEARCH and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch', 'so-import'] %}
{% do allowed_states.append('elasticsearch.auth') %}
{% endif %}
{% if KIBANA and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch', 'so-import'] %}
{% do allowed_states.append('kibana') %}
{% do allowed_states.append('kibana.secrets') %}
{% endif %}
{% if grains.role in ['so-eval', 'so-standalone', 'so-node', 'so-managersearch', 'so-heavynode', 'so-manager'] %}
{% do allowed_states.append('curator') %}
{% endif %}
{% if ELASTALERT and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch'] %}
{% do allowed_states.append('elastalert') %}
{% endif %}
{% if (THEHIVE != 0) and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch'] %}
{% do allowed_states.append('thehive') %}
{% endif %}
{% if (PLAYBOOK !=0) and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch'] %}
{% do allowed_states.append('playbook') %}
{% endif %}
{% if (PLAYBOOK !=0) and grains.role in ['so-eval'] %}
{% do allowed_states.append('redis') %}
{% endif %}
{% if (FREQSERVER !=0) and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch'] %}
{% do allowed_states.append('freqserver') %}
{% endif %}
{% if (DOMAINSTATS !=0) and grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch'] %}
{% do allowed_states.append('domainstats') %}
{% endif %}
{% if LOGSTASH and grains.role in ['so-helixsensor', 'so-manager', 'so-standalone', 'so-node', 'so-managersearch', 'so-heavynode', 'so-receiver'] %}
{% do allowed_states.append('logstash') %}
{% endif %}
{% if REDIS and grains.role in ['so-manager', 'so-standalone', 'so-managersearch', 'so-heavynode', 'so-receiver'] %}
{% do allowed_states.append('redis') %}
{% endif %}
{% if grains.os == 'CentOS' %}
{% if not ISAIRGAP %}
{% do allowed_states.append('yum') %}
{% endif %}
{% do allowed_states.append('yum.packages') %}
{% endif %}
{# all nodes on the right salt version can run the following states #}
{% do allowed_states.append('common') %}
{% do allowed_states.append('patch.os.schedule') %}
{% do allowed_states.append('motd') %}
{% do allowed_states.append('salt.minion-check') %}
{% do allowed_states.append('sensoroni') %}
{% do allowed_states.append('salt.lasthighstate') %}
{% endif %}
{% if ISAIRGAP %}
{% do allowed_states.append('airgap') %}
{% endif %}
{# all nodes can always run salt.minion state #}
{% do allowed_states.append('salt.minion') %}
+4
View File
@@ -0,0 +1,4 @@
pki_issued_certs:
file.directory:
- name: /etc/pki/issued_certs
- makedirs: True
+4 -1
View File
@@ -1,3 +1,6 @@
mine_functions:
x509.get_pem_entries: [/etc/pki/ca.crt]
x509_signing_policies:
filebeat:
- minions: '*'
@@ -26,7 +29,7 @@ x509_signing_policies:
- extendedKeyUsage: serverAuth
- days_valid: 820
- copypath: /etc/pki/issued_certs/
masterssl:
managerssl:
- minions: '*'
- signing_private_key: /etc/pki/ca.key
- signing_cert: /etc/pki/ca.crt
+40 -27
View File
@@ -1,26 +1,31 @@
{% set master = salt['grains.get']('master') %}
{% from 'allowed_states.map.jinja' import allowed_states %}
{% if sls in allowed_states %}
include:
- ca.dirs
{% set manager = salt['grains.get']('master') %}
/etc/salt/minion.d/signing_policies.conf:
file.managed:
- source: salt://ca/files/signing_policies.conf
/etc/pki:
file.directory: []
/etc/pki/issued_certs:
file.directory: []
pki_private_key:
x509.private_key_managed:
- name: /etc/pki/ca.key
- bits: 4096
- passphrase:
- cipher: aes_256_cbc
- backup: True
x509.private_key_managed:
- name: /etc/pki/ca.key
- bits: 4096
- passphrase:
- cipher: aes_256_cbc
- backup: True
{% if salt['file.file_exists']('/etc/pki/ca.key') -%}
- prereq:
- x509: /etc/pki/ca.crt
{%- endif %}
/etc/pki/ca.crt:
pki_public_ca_crt:
x509.certificate_managed:
- name: /etc/pki/ca.crt
- signing_private_key: /etc/pki/ca.key
- CN: {{ master }}
- CN: {{ manager }}
- C: US
- ST: Utah
- L: Salt Lake City
@@ -32,17 +37,25 @@ pki_private_key:
- days_valid: 3650
- days_remaining: 0
- backup: True
- managed_private_key:
name: /etc/pki/ca.key
bits: 4096
backup: True
- replace: False
- require:
- file: /etc/pki
- sls: ca.dirs
- timeout: 30
- retry:
attempts: 5
interval: 30
send_x509_pem_entries_to_mine:
module.run:
- mine.send:
- func: x509.get_pem_entries
- glob_path: /etc/pki/ca.crt
- onchanges:
- x509: /etc/pki/ca.crt
cakeyperms:
file.managed:
- replace: False
- name: /etc/pki/ca.key
- mode: 640
- group: 939
{% else %}
{{sls}}_state_not_allowed:
test.fail_without_changes:
- name: {{sls}}_state_not_allowed
{% endif %}
+7
View File
@@ -0,0 +1,7 @@
pki_private_key:
file.absent:
- name: /etc/pki/ca.key
pki_public_ca_crt:
file.absent:
- name: /etc/pki/ca.crt
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
/usr/sbin/logrotate -f /opt/so/conf/log-rotate.conf > /dev/null 2>&1
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
/usr/sbin/logrotate -f /opt/so/conf/sensor-rotate.conf > /dev/null 2>&1
+1
View File
@@ -0,0 +1 @@
net.ipv4.ip_local_reserved_ports=55000,57314,47760-47860
+79
View File
@@ -0,0 +1,79 @@
The following GUI tools are available on the analyst workstation:
chromium
url: https://www.chromium.org/Home
To run chromium, click Applications > Internet > Chromium Web Browser
Wireshark
url: https://www.wireshark.org/
To run Wireshark, click Applications > Internet > Wireshark Network Analyzer
NetworkMiner
url: https://www.netresec.com
To run NetworkMiner, click Applications > Internet > NetworkMiner
The following CLI tools are available on the analyst workstation:
bit-twist
url: http://bittwist.sourceforge.net
To run bit-twist, open a terminal and type: bittwist -h
chaosreader
url: http://chaosreader.sourceforge.net
To run chaosreader, open a terminal and type: chaosreader -h
dnsiff
url: https://www.monkey.org/~dugsong/dsniff/
To run dsniff, open a terminal and type: dsniff -h
foremost
url: http://foremost.sourceforge.net
To run foremost, open a terminal and type: foremost -h
hping3
url: http://www.hping.org/hping3.html
To run hping3, open a terminal and type: hping3 -h
netsed
url: http://silicone.homelinux.org/projects/netsed/
To run netsed, open a terminal and type: netsed -h
ngrep
url: https://github.com/jpr5/ngrep
To run ngrep, open a terminal and type: ngrep -h
scapy
url: http://www.secdev.org/projects/scapy/
To run scapy, open a terminal and type: scapy
ssldump
url: http://www.rtfm.com/ssldump/
To run ssldump, open a terminal and type: ssldump -h
sslsplit
url: https://github.com/droe/sslsplit
To run sslsplit, open a terminal and type: sslsplit -h
tcpdump
url: http://www.tcpdump.org
To run tcpdump, open a terminal and type: tcpdump -h
tcpflow
url: https://github.com/simsong/tcpflow
To run tcpflow, open a terminal and type: tcpflow -h
tcpstat
url: https://frenchfries.net/paul/tcpstat/
To run tcpstat, open a terminal and type: tcpstat -h
tcptrace
url: http://www.tcptrace.org
To run tcptrace, open a terminal and type: tcptrace -h
tcpxtract
url: http://tcpxtract.sourceforge.net/
To run tcpxtract, open a terminal and type: tcpxtract -h
whois
url: http://www.linux.it/~md/software/
To run whois, open a terminal and type: whois -h
Binary file not shown.

After

Width:  |  Height:  |  Size: 269 KiB

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 87.86 105.22"><defs><style>.cls-1{fill:#fff;}.cls-2{fill:#1976d2;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><g id="Onion"><path id="Flesh" class="cls-1" d="M43.37,71.34a1.27,1.27,0,0,0,.44-.51,4.74,4.74,0,0,0,.61-2.39c-.12-6.79-.22-12.88-4-14.46-4.05-1.72-9.38,3.14-10.71,4.35a19.84,19.84,0,0,0-6.17,12.34c-.1,1-.76,9.34,5.46,15.41s15.45,6.06,21.72,3.53A22.25,22.25,0,0,0,61.88,79.16c5.31-10,1.61-20.31.85-22.3C57.78,44,43.35,36.11,29.88,36.78c-2.17.11-15.82,1-24.16,12.42A30.55,30.55,0,0,0,0,67.36c.15,16.14,13.38,29.51,26.23,34.7,12.61,5.1,24,2.76,28.78,1.65s17.12-4,25.53-15.08a34.47,34.47,0,0,0,7.24-18.46,34.79,34.79,0,0,0-3.42-17.32c-1.11-2.3-6.16-12.09-17-17C57,31.21,48.52,34.37,45.65,29.12a8.46,8.46,0,0,1-.41-6.21,1,1,0,0,0-1.05-1.28l-1.6,0a1.07,1.07,0,0,0-1,.8c-.66,2.51-1.12,6,.51,9.17C46,39.08,56.87,35.31,67.56,42.78c8.29,5.79,14.14,16.69,13.21,27.29a28.06,28.06,0,0,1-6,14.65c-7,9-17,11.29-21.82,12.38-4,.9-13.19,2.87-23.54-.93-2.65-1-20.33-8.29-22.38-25C5.72,60.55,13,48.9,24.21,44.93c13-4.6,27.26,2.75,32.09,13.26.58,1.25,4.85,10.93-.59,18.72-4.05,5.79-13.07,9.94-19.77,6A13.48,13.48,0,0,1,30,68.25c1.42-5,6.37-8.72,8.13-7.84s2.94,6.14,3,9.85A1.39,1.39,0,0,0,43.37,71.34Z"/><path id="Stem" class="cls-2" d="M30,27.14l-4.17,1.27a1.16,1.16,0,0,1-1.49-.93l-.11-.72a26.93,26.93,0,0,0-4.53-11.09A1.13,1.13,0,0,1,20.06,14l1.06-.63a1.15,1.15,0,0,1,1.52.32c.41.58.82,1.17,1.23,1.78l1.48,2.2C28.42,7.27,37.14.12,46.21,0,58.09-.16,65.59,10.67,68,17.63a23.37,23.37,0,0,1,.94,3.64.91.91,0,0,1-1.14,1l-2.66-.73a1.47,1.47,0,0,1-1-1.08,19.71,19.71,0,0,0-1.9-4.8c-3-5.44-9.67-11.21-16.55-10.59-7.74.7-15.22,9.46-14.85,20.91A1.14,1.14,0,0,1,30,27.14Z"/></g></g></g></svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 87.86 105.22"><defs><style>.cls-1{fill:#1976d2;}</style></defs><g id="Layer_2" data-name="Layer 2"><g id="Layer_1-2" data-name="Layer 1"><g id="Onion"><path id="Flesh" d="M43.37,71.34a1.27,1.27,0,0,0,.44-.51,4.74,4.74,0,0,0,.61-2.39c-.12-6.79-.22-12.88-4-14.46-4.05-1.72-9.38,3.14-10.71,4.35a19.84,19.84,0,0,0-6.17,12.34c-.1,1-.76,9.34,5.46,15.41s15.45,6.06,21.72,3.53A22.25,22.25,0,0,0,61.88,79.16c5.31-10,1.61-20.31.85-22.3C57.78,44,43.35,36.11,29.88,36.78c-2.17.11-15.82,1-24.16,12.42A30.55,30.55,0,0,0,0,67.36c.15,16.14,13.38,29.51,26.23,34.7,12.61,5.1,24,2.76,28.78,1.65s17.12-4,25.53-15.08a34.47,34.47,0,0,0,7.24-18.46,34.79,34.79,0,0,0-3.42-17.32c-1.11-2.3-6.16-12.09-17-17C57,31.21,48.52,34.37,45.65,29.12a8.46,8.46,0,0,1-.41-6.21,1,1,0,0,0-1.05-1.28l-1.6,0a1.07,1.07,0,0,0-1,.8c-.66,2.51-1.12,6,.51,9.17C46,39.08,56.87,35.31,67.56,42.78c8.29,5.79,14.14,16.69,13.21,27.29a28.06,28.06,0,0,1-6,14.65c-7,9-17,11.29-21.82,12.38-4,.9-13.19,2.87-23.54-.93-2.65-1-20.33-8.29-22.38-25C5.72,60.55,13,48.9,24.21,44.93c13-4.6,27.26,2.75,32.09,13.26.58,1.25,4.85,10.93-.59,18.72-4.05,5.79-13.07,9.94-19.77,6A13.48,13.48,0,0,1,30,68.25c1.42-5,6.37-8.72,8.13-7.84s2.94,6.14,3,9.85A1.39,1.39,0,0,0,43.37,71.34Z"/><path id="Stem" class="cls-1" d="M30,27.14l-4.17,1.27a1.16,1.16,0,0,1-1.49-.93l-.11-.72a26.93,26.93,0,0,0-4.53-11.09A1.13,1.13,0,0,1,20.06,14l1.06-.63a1.15,1.15,0,0,1,1.52.32c.41.58.82,1.17,1.23,1.78l1.48,2.2C28.42,7.27,37.14.12,46.21,0,58.09-.16,65.59,10.67,68,17.63a23.37,23.37,0,0,1,.94,3.64.91.91,0,0,1-1.14,1l-2.66-.73a1.47,1.47,0,0,1-1-1.08,19.71,19.71,0,0,0-1.9-4.8c-3-5.44-9.67-11.21-16.55-10.59-7.74.7-15.22,9.46-14.85,20.91A1.14,1.14,0,0,1,30,27.14Z"/></g></g></g></svg>

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 319 KiB

+12
View File
@@ -0,0 +1,12 @@
{%- set DOCKERRANGE = salt['pillar.get']('docker:range', '172.17.0.0/24') %}
{%- set DOCKERBIND = salt['pillar.get']('docker:bip', '172.17.0.1/24') %}
{
"registry-mirrors": [ "https://:5000" ],
"bip": "{{ DOCKERBIND }}",
"default-address-pools": [
{
"base" : "{{ DOCKERRANGE }}",
"size" : 24
}
]
}
+37
View File
@@ -0,0 +1,37 @@
{%- set logrotate_conf = salt['pillar.get']('logrotate:conf') %}
{%- set group_conf = salt['pillar.get']('logrotate:group_conf') %}
/opt/so/log/aptcacher-ng/*.log
/opt/so/log/idstools/*.log
/opt/so/log/nginx/*.log
/opt/so/log/soc/*.log
/opt/so/log/kratos/*.log
/opt/so/log/kibana/*.log
/opt/so/log/influxdb/*.log
/opt/so/log/elastalert/*.log
/opt/so/log/soctopus/*.log
/opt/so/log/curator/*.log
/opt/so/log/fleet/*.log
/opt/so/log/suricata/*.log
/opt/so/log/mysql/*.log
/opt/so/log/telegraf/*.log
/opt/so/log/redis/*.log
/opt/so/log/sensoroni/*.log
/opt/so/log/stenographer/*.log
/opt/so/log/salt/so-salt-minion-check
/opt/so/log/salt/minion
/opt/so/log/salt/master
/opt/so/log/logscan/*.log
/nsm/idh/*.log
{
{{ logrotate_conf | indent(width=4) }}
}
# Playbook's log directory needs additional configuration
# because Playbook requires a more permissive directory
/opt/so/log/playbook/*.log
{
{{ logrotate_conf | indent(width=4) }}
{{ group_conf | indent(width=4) }}
}
+22
View File
@@ -0,0 +1,22 @@
/opt/so/log/sensor_clean.log
{
daily
rotate 2
missingok
nocompress
create
sharedscripts
}
/nsm/strelka/log/strelka.log
{
daily
rotate 14
missingok
copytruncate
compress
create
extension .log
dateext
dateyesterday
}
+2
View File
@@ -0,0 +1,2 @@
{%- set VERSION = salt['pillar.get']('global:soversion') -%}
{{ VERSION }}
+6
View File
@@ -0,0 +1,6 @@
" Activates filetype detection
filetype plugin indent on
" Sets .sls files to use YAML syntax highlighting
autocmd BufNewFile,BufRead *.sls set syntax=yaml
set number
+331 -11
View File
@@ -1,3 +1,25 @@
{% from 'allowed_states.map.jinja' import allowed_states %}
{% if sls in allowed_states %}
{% set role = grains.id.split('_') | last %}
{% from 'elasticsearch/auth.map.jinja' import ELASTICAUTH with context %}
include:
- common.soup_scripts
{% if grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch', 'so-import'] %}
- manager.elasticsearch # needed for elastic_curl_config state
{% endif %}
# Remove variables.txt from /tmp - This is temp
rmvariablesfile:
file.absent:
- name: /tmp/variables.txt
dockergroup:
group.present:
- name: docker
- gid: 920
# Add socore Group
socoregroup:
group.present:
@@ -13,6 +35,37 @@ socore:
- createhome: True
- shell: /bin/bash
soconfperms:
file.directory:
- name: /opt/so/conf
- uid: 939
- gid: 939
- dir_mode: 770
sostatusconf:
file.directory:
- name: /opt/so/conf/so-status
- uid: 939
- gid: 939
- dir_mode: 770
so-status.conf:
file.touch:
- name: /opt/so/conf/so-status/so-status.conf
- unless: ls /opt/so/conf/so-status/so-status.conf
sosaltstackperms:
file.directory:
- name: /opt/so/saltstack
- uid: 939
- gid: 939
- dir_mode: 770
so_log_perms:
file.directory:
- name: /opt/so/log
- dir_mode: 755
# Create a state directory
statedir:
file.directory:
@@ -28,20 +81,98 @@ salttmp:
- group: 939
- makedirs: True
# Install packages needed for the sensor
sensorpkgs:
# VIM config
vimconfig:
file.managed:
- name: /root/.vimrc
- source: salt://common/files/vimrc
- replace: False
# Install common packages
{% if grains['os'] != 'CentOS' %}
commonpkgs:
pkg.installed:
- skip_suggestions: False
- skip_suggestions: True
- pkgs:
- apache2-utils
- wget
- ntpdate
- jq
- python3-docker
- curl
- ca-certificates
- software-properties-common
- apt-transport-https
- openssl
- netcat
- python3-mysqldb
- sqlite3
- libssl-dev
- python3-dateutil
- python3-m2crypto
- python3-mysqldb
- python3-packaging
- python3-lxml
- git
- vim
heldpackages:
pkg.installed:
- pkgs:
{% if grains['oscodename'] == 'bionic' %}
- containerd.io: 1.4.4-1
- docker-ce: 5:20.10.5~3-0~ubuntu-bionic
- docker-ce-cli: 5:20.10.5~3-0~ubuntu-bionic
- docker-ce-rootless-extras: 5:20.10.5~3-0~ubuntu-bionic
{% elif grains['oscodename'] == 'focal' %}
- containerd.io: 1.4.9-1
- docker-ce: 5:20.10.8~3-0~ubuntu-focal
- docker-ce-cli: 5:20.10.5~3-0~ubuntu-focal
- docker-ce-rootless-extras: 5:20.10.5~3-0~ubuntu-focal
{% endif %}
- hold: True
- update_holds: True
{% else %}
commonpkgs:
pkg.installed:
- skip_suggestions: True
- pkgs:
- wget
- ntpdate
- bind-utils
- jq
{% if grains['os'] != 'CentOS' %}
- apache2-utils
{% else %}
- net-tools
- tcpdump
- httpd-tools
{% endif %}
- net-tools
- curl
- sqlite
- mariadb-devel
- nmap-ncat
- python3
- python36-docker
- python36-dateutil
- python36-m2crypto
- python36-mysql
- python36-packaging
- python36-lxml
- yum-utils
- device-mapper-persistent-data
- lvm2
- openssl
- git
- vim-enhanced
heldpackages:
pkg.installed:
- pkgs:
- containerd.io: 1.4.4-3.1.el7
- docker-ce: 3:20.10.5-3.el7
- docker-ce-cli: 1:20.10.5-3.el7
- docker-ce-rootless-extras: 20.10.5-3.el7
- hold: True
- update_holds: True
{% endif %}
# Always keep these packages up to date
@@ -57,12 +188,201 @@ alwaysupdated:
Etc/UTC:
timezone.system
{% if salt['pillar.get']('elasticsearch:auth:enabled', False) %}
elastic_curl_config:
file.managed:
- name: /opt/so/conf/elasticsearch/curl.config
- source: salt://elasticsearch/curl.config
- mode: 600
- show_changes: False
- makedirs: True
{% if grains.role in ['so-eval', 'so-manager', 'so-standalone', 'so-managersearch', 'so-import'] %}
- require:
- file: elastic_curl_config_distributed
{% endif %}
{% endif %}
# Sync some Utilities
utilsyncscripts:
file.recurse:
- name: /usr/sbin
- user: 0
- group: 0
- user: root
- group: root
- file_mode: 755
- template: jinja
- source: salt://common/tools/sbin
- source: salt://common/tools/sbin
- defaults:
ELASTICCURL: 'curl'
- context:
ELASTICCURL: {{ ELASTICAUTH.elasticcurl }}
- exclude_pat:
- so-common
- so-firewall
- so-image-common
- soup
{% if role in ['eval', 'standalone', 'sensor', 'heavynode'] %}
# Add sensor cleanup
/usr/sbin/so-sensor-clean:
cron.present:
- user: root
- minute: '*'
- hour: '*'
- daymonth: '*'
- month: '*'
- dayweek: '*'
sensorrotatescript:
file.managed:
- name: /usr/local/bin/sensor-rotate
- source: salt://common/cron/sensor-rotate
- mode: 755
sensorrotateconf:
file.managed:
- name: /opt/so/conf/sensor-rotate.conf
- source: salt://common/files/sensor-rotate.conf
- mode: 644
/usr/local/bin/sensor-rotate:
cron.present:
- user: root
- minute: '1'
- hour: '0'
- daymonth: '*'
- month: '*'
- dayweek: '*'
{% endif %}
commonlogrotatescript:
file.managed:
- name: /usr/local/bin/common-rotate
- source: salt://common/cron/common-rotate
- mode: 755
commonlogrotateconf:
file.managed:
- name: /opt/so/conf/log-rotate.conf
- source: salt://common/files/log-rotate.conf
- template: jinja
- mode: 644
/usr/local/bin/common-rotate:
cron.present:
- user: root
- minute: '1'
- hour: '0'
- daymonth: '*'
- month: '*'
- dayweek: '*'
# Create the status directory
sostatusdir:
file.directory:
- name: /opt/so/log/sostatus
- user: 0
- group: 0
- makedirs: True
sostatus_log:
file.managed:
- name: /opt/so/log/sostatus/status.log
- mode: 644
# Install sostatus check cron
'/usr/sbin/so-status -q; echo $? > /opt/so/log/sostatus/status.log 2>&1':
cron.present:
- user: root
- minute: '*/1'
- hour: '*'
- daymonth: '*'
- month: '*'
- dayweek: '*'
{% if role in ['eval', 'manager', 'managersearch', 'standalone'] %}
# Lock permissions on the backup directory
backupdir:
file.directory:
- name: /nsm/backup
- user: 0
- group: 0
- makedirs: True
- mode: 700
# Add config backup
/usr/sbin/so-config-backup > /dev/null 2>&1:
cron.present:
- user: root
- minute: '1'
- hour: '0'
- daymonth: '*'
- month: '*'
- dayweek: '*'
{% else %}
soversionfile:
file.managed:
- name: /etc/soversion
- source: salt://common/files/soversion
- mode: 644
- template: jinja
{% endif %}
# Manager daemon.json
docker_daemon:
file.managed:
- source: salt://common/files/daemon.json
- name: /etc/docker/daemon.json
- template: jinja
# Make sure Docker is always running
docker:
service.running:
- enable: True
- watch:
- file: docker_daemon
# Reserve OS ports for Docker proxy in case boot settings are not already applied/present
# 55000 = Wazuh, 57314 = Strelka, 47760-47860 = Zeek
dockerapplyports:
cmd.run:
- name: if [ ! -s /etc/sysctl.d/99-reserved-ports.conf ]; then sysctl -w net.ipv4.ip_local_reserved_ports="55000,57314,47760-47860"; fi
# Reserve OS ports for Docker proxy
dockerreserveports:
file.managed:
- source: salt://common/files/99-reserved-ports.conf
- name: /etc/sysctl.d/99-reserved-ports.conf
{% if salt['grains.get']('sosmodel', '') %}
{% if grains['os'] == 'CentOS' %}
# Install Raid tools
raidpkgs:
pkg.installed:
- skip_suggestions: True
- pkgs:
- securityonion-raidtools
- securityonion-megactl
{% endif %}
# Install raid check cron
/usr/sbin/so-raid-status > /dev/null 2>&1:
cron.present:
- user: root
- minute: '*/15'
- hour: '*'
- daymonth: '*'
- month: '*'
- dayweek: '*'
{% endif %}
{% else %}
{{sls}}_state_not_allowed:
test.fail_without_changes:
- name: {{sls}}_state_not_allowed
{% endif %}
-5
View File
@@ -1,5 +0,0 @@
{% set docker = {
'containers': [
'so-zeek'
]
} %}
-5
View File
@@ -1,5 +0,0 @@
{% set docker = {
'containers': [
'so-domainstats'
]
} %}
-18
View File
@@ -1,18 +0,0 @@
{% set docker = {
'containers': [
'so-nginx',
'so-telegraf',
'so-dockerregistry',
'so-soc',
'so-kratos',
'so-idstools',
'so-elasticsearch',
'so-kibana',
'so-steno',
'so-suricata',
'so-zeek',
'so-curator',
'so-elastalert',
'so-soctopus'
]
} %}
-10
View File
@@ -1,10 +0,0 @@
{% set docker = {
'containers': [
'so-mysql',
'so-fleet',
'so-redis',
'so-filebeat',
'so-nginx',
'so-telegraf'
]
} %}
-7
View File
@@ -1,7 +0,0 @@
{% set docker = {
'containers': [
'so-mysql',
'so-fleet',
'so-redis'
]
} %}
-5
View File
@@ -1,5 +0,0 @@
{% set docker = {
'containers': [
'so-freqserver'
]
} %}
-6
View File
@@ -1,6 +0,0 @@
{% set docker = {
'containers': [
'so-influxdb',
'so-grafana'
]
} %}
-14
View File
@@ -1,14 +0,0 @@
{% set docker = {
'containers': [
'so-nginx',
'so-telegraf',
'so-redis',
'so-logstash',
'so-elasticsearch',
'so-curator',
'so-steno',
'so-suricata',
'so-wazuh',
'so-filebeat
]
} %}
-12
View File
@@ -1,12 +0,0 @@
{% set docker = {
'containers': [
'so-nginx',
'so-telegraf',
'so-idstools',
'so-steno',
'so-zeek',
'so-redis',
'so-logstash',
'so-filebeat
]
} %}
-9
View File
@@ -1,9 +0,0 @@
{% set docker = {
'containers': [
'so-nginx',
'so-telegraf',
'so-logstash',
'so-elasticsearch',
'so-curator',
]
} %}
-18
View File
@@ -1,18 +0,0 @@
{% set docker = {
'containers': [
'so-dockerregistry',
'so-nginx',
'so-telegraf',
'so-soc',
'so-kratos',
'so-aptcacherng',
'so-idstools',
'so-redis',
'so-elasticsearch',
'so-logstash',
'so-kibana',
'so-elastalert',
'so-filebeat',
'so-soctopus'
]
} %}
-18
View File
@@ -1,18 +0,0 @@
{% set docker = {
'containers': [
'so-nginx',
'so-telegraf',
'so-soc',
'so-kratos',
'so-aptcacherng',
'so-idstools',
'so-redis',
'so-logstash',
'so-elasticsearch',
'so-curator',
'so-kibana',
'so-elastalert',
'so-filebeat',
'so-soctopus'
]
} %}
-6
View File
@@ -1,6 +0,0 @@
{% set docker = {
'containers': [
'so-playbook',
'so-navigator'
]
} %}
-10
View File
@@ -1,10 +0,0 @@
{% set docker = {
'containers': [
'so-nginx',
'so-telegraf',
'so-logstash',
'so-elasticsearch',
'so-curator',
'so-filebeat'
]
} %}
-8
View File
@@ -1,8 +0,0 @@
{% set docker = {
'containers': [
'so-telegraf',
'so-steno',
'so-suricata',
'so-filebeat'
]
} %}
-45
View File
@@ -1,45 +0,0 @@
{% set role = grains.id.split('_') | last %}
{% from 'common/maps/'~ role ~'.map.jinja' import docker with context %}
# Check if the service is enabled and append it's required containers
# to the list predefined by the role / minion id affix
{% macro append_containers(pillar_name, k, compare )%}
{% if salt['pillar.get'](pillar_name~':'~k, {}) != compare %}
{% from 'common/maps/'~k~'.map.jinja' import docker as d with context %}
{% for li in d['containers'] %}
{{ docker['containers'].append(li) }}
{% endfor %}
{% endif %}
{% endmacro %}
{% set docker = salt['grains.filter_by']({
'*_'~role: {
'containers': docker['containers']
}
},grain='id', merge=salt['pillar.get']('docker')) %}
{% if role in ['eval', 'mastersearch', 'master', 'standalone'] %}
{{ append_containers('master', 'grafana', 0) }}
{{ append_containers('static', 'fleet_master', 0) }}
{{ append_containers('master', 'wazuh', 0) }}
{{ append_containers('master', 'thehive', 0) }}
{{ append_containers('master', 'playbook', 0) }}
{{ append_containers('master', 'freq', 0) }}
{{ append_containers('master', 'domainstats', 0) }}
{% endif %}
{% if role in ['eval', 'heavynode', 'sensor', 'standalone'] %}
{{ append_containers('static', 'strelka', 0) }}
{% endif %}
{% if role in ['heavynode', 'standalone'] %}
{{ append_containers('static', 'broversion', 'SURICATA') }}
{% endif %}
{% if role == 'searchnode' %}
{{ append_containers('master', 'wazuh', 0) }}
{% endif %}
{% if role == 'sensor' %}
{{ append_containers('static', 'broversion', 'SURICATA') }}
{% endif %}
-21
View File
@@ -1,21 +0,0 @@
{% set docker = {
'containers': [
'so-nginx',
'so-telegraf',
'so-soc',
'so-kratos',
'so-aptcacherng',
'so-idstools',
'so-redis',
'so-logstash',
'so-elasticsearch',
'so-curator',
'so-kibana',
'so-elastalert',
'so-filebeat',
'so-suricata',
'so-steno',
'so-dockerregistry',
'so-soctopus'
]
} %}
-9
View File
@@ -1,9 +0,0 @@
{% set docker = {
'containers': [
'so-strelka-coordinator',
'so-strelka-gatekeeper',
'so-strelka-manager',
'so-strelka-frontend',
'so-strelka-filestream'
]
} %}
-7
View File
@@ -1,7 +0,0 @@
{% set docker = {
'containers': [
'so-thehive',
'so-thehive-es',
'so-cortex'
]
} %}
-7
View File
@@ -1,7 +0,0 @@
{% set docker = {
'containers': [
'so-nginx',
'so-telegraf',
'so-elasticsearch'
]
} %}
-5
View File
@@ -1,5 +0,0 @@
{% set docker = {
'containers': [
'so-wazuh'
]
} %}
-8
View File
@@ -1,8 +0,0 @@
#!/bin/bash
if [ ! -f /opt/so/state/dockernet.state ]; then
docker network create -d bridge so-elastic-net
touch /opt/so/state/dockernet.state
else
exit
fi
+13
View File
@@ -0,0 +1,13 @@
# Sync some Utilities
soup_scripts:
file.recurse:
- name: /usr/sbin
- user: root
- group: root
- file_mode: 755
- source: salt://common/tools/sbin
- include_pat:
- so-common
- so-firewall
- so-image-common
- soup
+183 -77
View File
@@ -1,6 +1,6 @@
#!/bin/bash
#!/usr/bin/env python3
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
# Copyright 2014-2022 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
@@ -15,87 +15,193 @@
# 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
import ipaddress
import textwrap
import os
import subprocess
import sys
import argparse
import re
from lxml import etree as ET
from datetime import datetime as dt
from datetime import timezone as tz
SKIP=0
while getopts "abowi:" OPTION
do
case $OPTION in
LOCAL_SALT_DIR='/opt/so/saltstack/local'
WAZUH_CONF='/nsm/wazuh/etc/ossec.conf'
VALID_ROLES = {
'a': { 'role': 'analyst','desc': 'Analyst - 80/tcp, 443/tcp' },
'b': { 'role': 'beats_endpoint', 'desc': 'Logstash Beat - 5044/tcp' },
'e': { 'role': 'elasticsearch_rest', 'desc': 'Elasticsearch REST API - 9200/tcp' },
'f': { 'role': 'strelka_frontend', 'desc': 'Strelka frontend - 57314/tcp' },
'o': { 'role': 'osquery_endpoint', 'desc': 'Osquery endpoint - 8090/tcp' },
's': { 'role': 'syslog', 'desc': 'Syslog device - 514/tcp/udp' },
'w': { 'role': 'wazuh_agent', 'desc': 'Wazuh agent - 1514/tcp/udp' },
'p': { 'role': 'wazuh_api', 'desc': 'Wazuh API - 55000/tcp' },
'r': { 'role': 'wazuh_authd', 'desc': 'Wazuh registration service - 1515/tcp' }
}
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
def validate_ip_cidr(ip_cidr: str) -> bool:
try:
ipaddress.ip_address(ip_cidr)
except ValueError:
try:
ipaddress.ip_network(ip_cidr)
except ValueError:
return False
return True
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
def role_prompt() -> str:
print()
print('Choose the role for the IP or Range you would like to allow')
print()
for role in VALID_ROLES:
print(f'[{role}] - {VALID_ROLES[role]["desc"]}')
print()
role = input('Please enter your selection: ')
if role in VALID_ROLES.keys():
return VALID_ROLES[role]['role']
else:
print(f'Invalid role \'{role}\', please try again.', file=sys.stderr)
sys.exit(1)
fi
def ip_prompt() -> str:
ip = input('Enter a single ip address or range to allow (ex: 10.10.10.10 or 10.10.0.0/16): ')
if validate_ip_cidr(ip):
return ip
else:
print(f'Invalid IP address or CIDR block \'{ip}\', please try again.', file=sys.stderr)
sys.exit(1)
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
def wazuh_enabled() -> bool:
file = f'{LOCAL_SALT_DIR}/pillar/global.sls'
with open(file, 'r') as pillar:
if 'wazuh: 1' in pillar.read():
return True
return False
def root_to_str(root: ET.ElementTree) -> str:
return ET.tostring(root, encoding='unicode', method='xml', xml_declaration=False, pretty_print=True)
def add_wl(ip):
parser = ET.XMLParser(remove_blank_text=True)
with open(WAZUH_CONF, 'rb') as wazuh_conf:
tree = ET.parse(wazuh_conf, parser)
root = tree.getroot()
source_comment = ET.Comment(f'Address {ip} added by /usr/sbin/so-allow on {dt.utcnow().replace(tzinfo=tz.utc).strftime("%a %b %e %H:%M:%S %Z %Y")}')
new_global = ET.Element("global")
new_wl = ET.SubElement(new_global, 'white_list')
new_wl.text = ip
root.append(source_comment)
root.append(new_global)
with open(WAZUH_CONF, 'w') as add_out:
add_out.write(root_to_str(root))
def apply(role: str, ip: str) -> int:
firewall_cmd = ['so-firewall', 'includehost', role, ip]
salt_cmd = ['salt-call', 'state.apply', '-l', 'quiet', 'firewall', 'queue=True']
restart_wazuh_cmd = ['so-wazuh-restart']
print(f'Adding {ip} to the {role} role. This can take a few seconds...')
cmd = subprocess.run(firewall_cmd)
if cmd.returncode == 0:
cmd = subprocess.run(salt_cmd, stdout=subprocess.DEVNULL)
else:
return cmd.returncode
if cmd.returncode == 0:
if wazuh_enabled() and role=='analyst':
try:
add_wl(ip)
print(f'Added whitelist entry for {ip} from {WAZUH_CONF}', file=sys.stderr)
except Exception as e:
print(f'Failed to add whitelist entry for {ip} from {WAZUH_CONF}', file=sys.stderr)
print(e)
return 1
print('Restarting OSSEC Server...')
cmd = subprocess.run(restart_wazuh_cmd)
else:
return cmd.returncode
else:
print(f'Commmand \'{" ".join(salt_cmd)}\' failed.', file=sys.stderr)
return cmd.returncode
if cmd.returncode != 0:
print('Failed to restart OSSEC server.')
return cmd.returncode
def main():
if os.geteuid() != 0:
print('You must run this script as root', file=sys.stderr)
sys.exit(1)
main_parser = argparse.ArgumentParser(
formatter_class=argparse.RawDescriptionHelpFormatter,
epilog=textwrap.dedent(f'''\
additional information:
To use this script in interactive mode call it with no arguments
'''
))
group = main_parser.add_argument_group(title='roles')
group.add_argument('-a', dest='roles', action='append_const', const=VALID_ROLES['a']['role'], help="Analyst - 80/tcp, 443/tcp")
group.add_argument('-b', dest='roles', action='append_const', const=VALID_ROLES['b']['role'], help="Logstash Beat - 5044/tcp")
group.add_argument('-e', dest='roles', action='append_const', const=VALID_ROLES['e']['role'], help="Elasticsearch REST API - 9200/tcp")
group.add_argument('-f', dest='roles', action='append_const', const=VALID_ROLES['f']['role'], help="Strelka frontend - 57314/tcp")
group.add_argument('-o', dest='roles', action='append_const', const=VALID_ROLES['o']['role'], help="Osquery endpoint - 8090/tcp")
group.add_argument('-s', dest='roles', action='append_const', const=VALID_ROLES['s']['role'], help="Syslog device - 514/tcp/udp")
group.add_argument('-w', dest='roles', action='append_const', const=VALID_ROLES['w']['role'], help="Wazuh agent - 1514/tcp/udp")
group.add_argument('-p', dest='roles', action='append_const', const=VALID_ROLES['p']['role'], help="Wazuh API - 55000/tcp")
group.add_argument('-r', dest='roles', action='append_const', const=VALID_ROLES['r']['role'], help="Wazuh registration service - 1515/tcp")
ip_g = main_parser.add_argument_group(title='allow')
ip_g.add_argument('-i', help="IP or CIDR block to disallow connections from, requires at least one role argument", metavar='', dest='ip')
args = main_parser.parse_args(sys.argv[1:])
if args.roles is None:
role = role_prompt()
ip = ip_prompt()
try:
return_code = apply(role, ip)
except Exception as e:
print(f'Unexpected exception occurred: {e}', file=sys.stderr)
return_code = e.errno
sys.exit(return_code)
elif args.roles is not None and args.ip is None:
if os.environ.get('IP') is None:
main_parser.print_help()
sys.exit(1)
else:
args.ip = os.environ['IP']
if validate_ip_cidr(args.ip):
try:
for role in args.roles:
return_code = apply(role, args.ip)
if return_code > 0:
break
except Exception as e:
print(f'Unexpected exception occurred: {e}', file=sys.stderr)
return_code = e.errno
else:
print(f'Invalid IP address or CIDR block \'{args.ip}\', please try again.', file=sys.stderr)
return_code = 1
sys.exit(return_code)
if __name__ == '__main__':
try:
main()
except KeyboardInterrupt:
sys.exit(1)
+23
View File
@@ -0,0 +1,23 @@
#!/bin/bash
# Copyright 2014-2022 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
echo ""
echo "Hosts/Networks that have access to login to the Security Onion Console:"
so-firewall includedhosts analyst
+309
View File
@@ -0,0 +1,309 @@
#!/bin/bash
# Copyright 2014-2022 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/>.
if [ "$(id -u)" -ne 0 ]; then
echo "This script must be run using sudo!"
exit 1
fi
INSTALL_LOG=/root/so-analyst-install.log
exec &> >(tee -a "$INSTALL_LOG")
log() {
msg=$1
level=${2:-I}
now=$(TZ=GMT date +"%Y-%m-%dT%H:%M:%SZ")
echo -e "$now | $level | $msg" >> "$INSTALL_LOG" 2>&1
}
error() {
log "$1" "E"
}
info() {
log "$1" "I"
}
title() {
echo -e "\n-----------------------------\n $1\n-----------------------------\n" >> "$INSTALL_LOG" 2>&1
}
logCmd() {
cmd=$1
info "Executing command: $cmd"
$cmd >> "$INSTALL_LOG" 2>&1
}
analyze_system() {
title "System Characteristics"
logCmd "uptime"
logCmd "uname -a"
logCmd "free -h"
logCmd "lscpu"
logCmd "df -h"
logCmd "ip a"
}
analyze_system
OS=$(grep PRETTY_NAME /etc/os-release | grep 'CentOS Linux 7')
if [ $? -ne 0 ]; then
echo "This is an unsupported OS. Please use CentOS 7 to install the analyst node."
exit 1
fi
if [[ "$manufacturer" == "Security Onion Solutions" && "$family" == "Automated" ]]; then
INSTALL=yes
CURLCONTINUE=no
else
INSTALL=''
CURLCONTINUE=''
fi
FIRSTPASS=yes
while [[ $INSTALL != "yes" ]] && [[ $INSTALL != "no" ]]; do
if [[ "$FIRSTPASS" == "yes" ]]; then
clear
echo "###########################################"
echo "## ** W A R N I N G ** ##"
echo "## _______________________________ ##"
echo "## ##"
echo "## Installing the Security Onion ##"
echo "## analyst node on this device will ##"
echo "## make permanent changes to ##"
echo "## the system. ##"
echo "## ##"
echo "###########################################"
echo "Do you wish to continue? (Type the entire word 'yes' to proceed or 'no' to exit)"
FIRSTPASS=no
else
echo "Please type 'yes' to continue or 'no' to exit."
fi
read INSTALL
done
if [[ $INSTALL == "no" ]]; then
echo "Exiting analyst node installation."
exit 0
fi
echo "Testing for internet connection with curl https://securityonionsolutions.com/"
CANCURL=$(curl -sI https://securityonionsolutions.com/ | grep "200 OK")
if [ $? -ne 0 ]; then
FIRSTPASS=yes
while [[ $CURLCONTINUE != "yes" ]] && [[ $CURLCONTINUE != "no" ]]; do
if [[ "$FIRSTPASS" == "yes" ]]; then
echo "We could not access https://securityonionsolutions.com/."
echo "Since packages are downloaded from the internet, internet access is required."
echo "If you would like to ignore this warning and continue anyway, please type 'yes'."
echo "Otherwise, type 'no' to exit."
FIRSTPASS=no
else
echo "Please type 'yes' to continue or 'no' to exit."
fi
read CURLCONTINUE
done
if [[ "$CURLCONTINUE" == "no" ]]; then
echo "Exiting analyst node installation."
exit 0
fi
else
echo "We were able to curl https://securityonionsolutions.com/."
sleep 3
fi
# Install a GUI text editor
yum -y install gedit
# Install misc utils
yum -y install wget curl unzip epel-release yum-plugin-versionlock;
# Install xWindows
yum -y groupinstall "X Window System";
yum -y install gnome-classic-session gnome-terminal nautilus-open-terminal control-center liberation-mono-fonts;
unlink /etc/systemd/system/default.target;
ln -sf /lib/systemd/system/graphical.target /etc/systemd/system/default.target;
yum -y install file-roller
# Install Mono - prereq for NetworkMiner
yum -y install mono-core mono-basic mono-winforms expect
# Install NetworkMiner
yum -y install libcanberra-gtk2;
wget https://www.netresec.com/?download=NetworkMiner -O /tmp/nm.zip;
mkdir -p /opt/networkminer/
unzip /tmp/nm.zip -d /opt/networkminer/;
rm /tmp/nm.zip;
mv /opt/networkminer/NetworkMiner_*/* /opt/networkminer/
chmod +x /opt/networkminer/NetworkMiner.exe;
chmod -R go+w /opt/networkminer/AssembledFiles/;
chmod -R go+w /opt/networkminer/Captures/;
# Create networkminer shim
cat << EOF >> /bin/networkminer
#!/bin/bash
/bin/mono /opt/networkminer/NetworkMiner.exe --noupdatecheck "\$@"
EOF
chmod +x /bin/networkminer
# Convert networkminer ico file to png format
yum -y install ImageMagick
convert /opt/networkminer/networkminericon.ico /opt/networkminer/networkminericon.png
# Create menu entry
cat << EOF >> /usr/share/applications/networkminer.desktop
[Desktop Entry]
Name=NetworkMiner
Comment=NetworkMiner
Encoding=UTF-8
Exec=/bin/networkminer %f
Icon=/opt/networkminer/networkminericon-4.png
StartupNotify=true
Terminal=false
X-MultipleArgs=false
Type=Application
MimeType=application/x-pcap;
Categories=Network;
EOF
# Set default monospace font to Liberation
cat << EOF >> /etc/fonts/local.conf
<match target="pattern">
<test name="family" qual="any">
<string>monospace</string>
</test>
<edit binding="strong" mode="prepend" name="family">
<string>Liberation Mono</string>
</edit>
</match>
EOF
# Install Wireshark for Gnome
yum -y install wireshark-gnome;
# Install dnsiff
yum -y install dsniff;
# Install hping3
yum -y install hping3;
# Install netsed
yum -y install netsed;
# Install ngrep
yum -y install ngrep;
# Install scapy
yum -y install python36-scapy;
# Install ssldump
yum -y install ssldump;
# Install tcpdump
yum -y install tcpdump;
# Install tcpflow
yum -y install tcpflow;
# Install tcpxtract
yum -y install tcpxtract;
# Install whois
yum -y install whois;
# Install foremost
yum -y install https://forensics.cert.org/centos/cert/7/x86_64//foremost-1.5.7-13.1.el7.x86_64.rpm;
# Install chromium
yum -y install chromium;
# Install tcpstat
yum -y install https://github.com/Security-Onion-Solutions/securityonion-docker-rpm/releases/download/securityonion-tcpstat-1.5.0/securityonion-tcpstat-1.5.0.rpm;
# Install tcptrace
yum -y install https://github.com/Security-Onion-Solutions/securityonion-docker-rpm/releases/download/securityonion-tcptrace-6.6.7/securityonion-tcptrace-6.6.7.rpm;
# Install sslsplit
yum -y install libevent;
yum -y install sslsplit;
# Install Bit-Twist
yum -y install https://github.com/Security-Onion-Solutions/securityonion-docker-rpm/releases/download/securityonion-bittwist-2.0.0/securityonion-bittwist-2.0.0.rpm;
# Install chaosreader
yum -y install perl-IO-Compress perl-Net-DNS;
yum -y install https://github.com/Security-Onion-Solutions/securityonion-docker-rpm/releases/download/securityonion-chaosreader-0.95.10/securityonion-chaosreader-0.95.10.rpm;
chmod +x /bin/chaosreader;
if [ -f ../../files/analyst/README ]; then
cp ../../files/analyst/README /;
cp ../../files/analyst/so-wallpaper.jpg /usr/share/backgrounds/;
cp ../../files/analyst/so-lockscreen.jpg /usr/share/backgrounds/;
cp ../../files/analyst/so-login-logo-dark.svg /usr/share/pixmaps/;
else
cp /opt/so/saltstack/default/salt/common/files/analyst/README /;
cp /opt/so/saltstack/default/salt/common/files/analyst/so-wallpaper.jpg /usr/share/backgrounds/;
cp /opt/so/saltstack/default/salt/common/files/analyst/so-lockscreen.jpg /usr/share/backgrounds/;
cp /opt/so/saltstack/default/salt/common/files/analyst/so-login-logo-dark.svg /usr/share/pixmaps/;
fi
# Set background wallpaper
cat << EOF >> /etc/dconf/db/local.d/00-background
# Specify the dconf path
[org/gnome/desktop/background]
# Specify the path to the desktop background image file
picture-uri='file:///usr/share/backgrounds/so-wallpaper.jpg'
# Specify one of the rendering options for the background image:
# 'none', 'wallpaper', 'centered', 'scaled', 'stretched', 'zoom', 'spanned'
picture-options='zoom'
# Specify the left or top color when drawing gradients or the solid color
primary-color='000000'
# Specify the right or bottom color when drawing gradients
secondary-color='FFFFFF'
EOF
# Set lock screen
cat << EOF >> /etc/dconf/db/local.d/00-screensaver
[org/gnome/desktop/session]
idle-delay=uint32 180
[org/gnome/desktop/screensaver]
lock-enabled=true
lock-delay=uint32 120
picture-options='zoom'
picture-uri='file:///usr/share/backgrounds/so-lockscreen.jpg'
EOF
cat << EOF >> /etc/dconf/db/local.d/locks/screensaver
/org/gnome/desktop/session/idle-delay
/org/gnome/desktop/screensaver/lock-enabled
/org/gnome/desktop/screensaver/lock-delay
EOF
# Do not show the user list at login screen
cat << EOF >> /etc/dconf/db/local.d/00-login-screen
[org/gnome/login-screen]
logo='/usr/share/pixmaps/so-login-logo-dark.svg'
disable-user-list=true
EOF
dconf update;
echo
echo "Analyst workstation has been installed!"
echo "Press ENTER to reboot or Ctrl-C to cancel."
read pause
reboot;
+2 -2
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
# Copyright 2014-2022 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
@@ -17,4 +17,4 @@
. /usr/sbin/so-common
salt-call state.highstate
salt-call state.highstate -l info
+584 -6
View File
@@ -1,6 +1,6 @@
#!/bin/bash
#
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
# Copyright 2014-2022 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
@@ -15,16 +15,594 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
DEFAULT_SALT_DIR=/opt/so/saltstack/default
# Check for prerequisites
if [ "$(id -u)" -ne 0 ]; then
echo "This script must be run using sudo!"
exit 1
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"
add_interface_bond0() {
local BNIC=$1
if [[ -z $MTU ]]; then
local MTU
MTU=$(lookup_pillar "mtu" "sensor")
fi
local nic_error=0
# Check if specific offload features are able to be disabled
for string in "generic-segmentation-offload" "generic-receive-offload" "tcp-segmentation-offload"; do
if ethtool -k "$BNIC" | grep $string | grep -q "on [fixed]"; then
echo "The hardware or driver for interface ${BNIC} is not supported, packet capture may not work as expected."
((nic_error++))
break
fi
done
case "$2" in
-v|--verbose)
local verbose=true
;;
esac
for i in rx tx sg tso ufo gso gro lro; do
if [[ $verbose == true ]]; then
ethtool -K "$BNIC" $i off
else
ethtool -K "$BNIC" $i off &>/dev/null
fi
done
# Check if the bond slave connection has already been created
nmcli -f name,uuid -p con | grep -q "bond0-slave-$BNIC"
local found_int=$?
if [[ $found_int != 0 ]]; then
# Create the slave interface and assign it to the bond
nmcli con add type ethernet ifname "$BNIC" con-name "bond0-slave-$BNIC" master bond0 -- \
ethernet.mtu "$MTU" \
connection.autoconnect "yes"
else
local int_uuid
int_uuid=$(nmcli -f name,uuid -p con | sed -n "s/bond0-slave-$BNIC //p" | tr -d ' ')
nmcli con mod "$int_uuid" \
ethernet.mtu "$MTU" \
connection.autoconnect "yes"
fi
ip link set dev "$BNIC" arp off multicast off allmulticast off promisc on
# Bring the slave interface up
if [[ $verbose == true ]]; then
nmcli con up "bond0-slave-$BNIC"
else
nmcli con up "bond0-slave-$BNIC" &>/dev/null
fi
if [ "$nic_error" != 0 ]; then
return "$nic_error"
fi
}
check_container() {
docker ps | grep "$1:" > /dev/null 2>&1
return $?
}
check_password() {
local password=$1
echo "$password" | egrep -v "'|\"|\\$|\\\\" > /dev/null 2>&1
return $?
}
check_password_and_exit() {
local password=$1
if ! check_password "$password"; then
echo "Password is invalid. Do not include single quotes, double quotes, dollar signs, and backslashes in the password."
exit 2
fi
return 0
}
check_elastic_license() {
[ -n "$TESTING" ] && return
# See if the user has already accepted the license
if [ ! -f /opt/so/state/yeselastic.txt ]; then
elastic_license
else
echo "Elastic License has already been accepted"
fi
}
copy_new_files() {
# Copy new files over to the salt dir
cd $UPDATE_DIR
rsync -a salt $DEFAULT_SALT_DIR/
rsync -a pillar $DEFAULT_SALT_DIR/
chown -R socore:socore $DEFAULT_SALT_DIR/
chmod 755 $DEFAULT_SALT_DIR/pillar/firewall/addfirewall.sh
cd /tmp
}
disable_fastestmirror() {
sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
}
elastic_license() {
read -r -d '' message <<- EOM
\n
Starting in Elastic Stack version 7.11, the Elastic Stack binaries are only available under the Elastic License:
https://securityonion.net/elastic-license
Please review the Elastic License:
https://www.elastic.co/licensing/elastic-license
Do you agree to the terms of the Elastic License?
If so, type AGREE to accept the Elastic License and continue. Otherwise, press Enter to exit this program without making any changes.
EOM
AGREED=$(whiptail --title "$whiptail_title" --inputbox \
"$message" 20 75 3>&1 1>&2 2>&3)
if [ "${AGREED^^}" = 'AGREE' ]; then
mkdir -p /opt/so/state
touch /opt/so/state/yeselastic.txt
else
echo "Starting in 2.3.40 you must accept the Elastic license if you want to run Security Onion."
exit 1
fi
}
fail() {
msg=$1
echo "ERROR: $msg"
echo "Exiting."
exit 1
}
get_random_value() {
length=${1:-20}
head -c 5000 /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w $length | head -n 1
}
gpg_rpm_import() {
if [[ "$OS" == "centos" ]]; then
if [[ "$WHATWOULDYOUSAYYAHDOHERE" == "setup" ]]; then
local RPMKEYSLOC="../salt/repo/client/files/centos/keys"
else
local RPMKEYSLOC="$UPDATE_DIR/salt/repo/client/files/centos/keys"
fi
RPMKEYS=('RPM-GPG-KEY-EPEL-7' 'GPG-KEY-WAZUH' 'docker.pub' 'SALTSTACK-GPG-KEY.pub' 'securityonion.pub')
for RPMKEY in "${RPMKEYS[@]}"; do
rpm --import $RPMKEYSLOC/$RPMKEY
echo "Imported $RPMKEY"
done
fi
}
header() {
printf '%s\n' "" "$banner" " $*" "$banner"
}
init_monitor() {
MONITORNIC=$1
if [[ $MONITORNIC == "bond0" ]]; then
BIFACES=$(lookup_bond_interfaces)
else
BIFACES=$MONITORNIC
fi
for DEVICE_IFACE in $BIFACES; do
for i in rx tx sg tso ufo gso gro lro; do
ethtool -K "$DEVICE_IFACE" "$i" off;
done
ip link set dev "$DEVICE_IFACE" arp off multicast off allmulticast off promisc on
done
}
is_manager_node() {
# Check to see if this is a manager node
role=$(lookup_role)
is_single_node_grid && return 0
[ $role == 'manager' ] && return 0
[ $role == 'managersearch' ] && return 0
[ $role == 'helix' ] && return 0
return 1
}
is_sensor_node() {
# Check to see if this is a sensor (forward) node
role=$(lookup_role)
is_single_node_grid && return 0
[ $role == 'sensor' ] && return 0
[ $role == 'heavynode' ] && return 0
[ $role == 'helix' ] && return 0
return 1
}
is_single_node_grid() {
role=$(lookup_role)
[ $role == 'eval' ] && return 0
[ $role == 'standalone' ] && return 0
[ $role == 'import' ] && return 0
return 1
}
lookup_bond_interfaces() {
cat /proc/net/bonding/bond0 | grep "Slave Interface:" | sed -e "s/Slave Interface: //g"
}
lookup_salt_value() {
key=$1
group=$2
kind=$3
output=${4:-newline_values_only}
local=$5
if [ -z "$kind" ]; then
kind=pillar
fi
if [ -n "$group" ]; then
group=${group}:
fi
if [[ "$local" == "--local" ]] || [[ "$local" == "local" ]]; then
local="--local"
else
local=""
fi
salt-call --no-color ${kind}.get ${group}${key} --out=${output} ${local}
}
lookup_pillar() {
key=$1
pillar=$2
if [ -z "$pillar" ]; then
pillar=global
fi
lookup_salt_value "$key" "$pillar" "pillar"
}
lookup_pillar_secret() {
lookup_pillar "$1" "secrets"
}
lookup_grain() {
lookup_salt_value "$1" "" "grains"
}
lookup_role() {
id=$(lookup_grain id)
pieces=($(echo $id | tr '_' ' '))
echo ${pieces[1]}
}
require_manager() {
if is_manager_node; then
echo "This is a manager, so we can proceed."
else
echo "Please run this command on the manager; the manager controls the grid."
exit 1
fi
}
retry() {
maxAttempts=$1
sleepDelay=$2
cmd=$3
expectedOutput=$4
failedOutput=$5
attempt=0
local exitcode=0
while [[ $attempt -lt $maxAttempts ]]; do
attempt=$((attempt+1))
echo "Executing command with retry support: $cmd"
output=$(eval "$cmd")
exitcode=$?
echo "Results: $output ($exitcode)"
if [ -n "$expectedOutput" ]; then
if [[ "$output" =~ "$expectedOutput" ]]; then
return $exitcode
else
echo "Did not find expectedOutput: '$expectedOutput' in the output below from running the command: '$cmd'"
echo "<Start of output>"
echo "$output"
echo "<End of output>"
fi
elif [ -n "$failedOutput" ]; then
if [[ "$output" =~ "$failedOutput" ]]; then
echo "Found failedOutput: '$failedOutput' in the output below from running the command: '$cmd'"
echo "<Start of output>"
echo "$output"
echo "<End of output>"
if [[ $exitcode -eq 0 ]]; then
echo "The exitcode was 0, but we are setting to 1 since we found $failedOutput in the output."
exitcode=1
fi
else
return $exitcode
fi
elif [[ $exitcode -eq 0 ]]; then
return $exitcode
fi
echo "Command failed with exit code $exitcode; will retry in $sleepDelay seconds ($attempt / $maxAttempts)..."
sleep $sleepDelay
done
echo "Command continues to fail; giving up."
return $exitcode
}
run_check_net_err() {
local cmd=$1
local err_msg=${2:-"Unknown error occured, please check /root/$WHATWOULDYOUSAYYAHDOHERE.log for details."} # Really need to rename that variable
local no_retry=$3
local exit_code
if [[ -z $no_retry ]]; then
retry 5 60 "$cmd"
exit_code=$?
else
eval "$cmd"
exit_code=$?
fi
if [[ $exit_code -ne 0 ]]; then
ERR_HANDLED=true
[[ -z $no_retry ]] || echo "Command failed with error $exit_code"
echo "$err_msg"
exit $exit_code
fi
}
set_cron_service_name() {
if [[ "$OS" == "centos" ]]; then
cron_service_name="crond"
else
cron_service_name="cron"
fi
}
set_os() {
if [ -f /etc/redhat-release ]; then
OS=centos
else
OS=ubuntu
fi
}
set_minionid() {
MINIONID=$(lookup_grain id)
}
set_palette() {
if [ "$OS" == ubuntu ]; then
update-alternatives --set newt-palette /etc/newt/palette.original
fi
}
set_version() {
CURRENTVERSION=0.0.0
if [ -f /etc/soversion ]; then
CURRENTVERSION=$(cat /etc/soversion)
fi
if [ -z "$VERSION" ]; then
if [ -z "$NEWVERSION" ]; then
if [ "$CURRENTVERSION" == "0.0.0" ]; then
echo "ERROR: Unable to detect Security Onion version; terminating script."
exit 1
else
VERSION=$CURRENTVERSION
fi
else
VERSION="$NEWVERSION"
fi
fi
}
systemctl_func() {
local action=$1
local echo_action=$1
local service_name=$2
if [[ "$echo_action" == "stop" ]]; then
echo_action="stopp"
fi
echo ""
echo "${echo_action^}ing $service_name service at $(date +"%T.%6N")"
systemctl $action $service_name && echo "Successfully ${echo_action}ed $service_name." || echo "Failed to $action $service_name."
echo ""
}
has_uppercase() {
local string=$1
echo "$string" | grep -qP '[A-Z]' \
&& return 0 \
|| return 1
}
valid_cidr() {
# Verify there is a backslash in the string
echo "$1" | grep -qP "^[^/]+/[^/]+$" || return 1
valid_ip4_cidr_mask "$1" && return 0 || return 1
local cidr="$1"
local ip
ip=$(echo "$cidr" | sed 's/\/.*//' )
if valid_ip4 "$ip"; then
local ip1 ip2 ip3 ip4 N
IFS="./" read -r ip1 ip2 ip3 ip4 N <<< "$cidr"
ip_total=$((ip1 * 256 ** 3 + ip2 * 256 ** 2 + ip3 * 256 + ip4))
[[ $((ip_total % 2**(32-N))) == 0 ]] && return 0 || return 1
else
return 1
fi
}
valid_cidr_list() {
local all_valid=0
IFS="," read -r -a net_arr <<< "$1"
for net in "${net_arr[@]}"; do
valid_cidr "$net" || all_valid=1
done
return $all_valid
}
valid_dns_list() {
local all_valid=0
IFS="," read -r -a dns_arr <<< "$1"
for addr in "${dns_arr[@]}"; do
valid_ip4 "$addr" || all_valid=1
done
return $all_valid
}
valid_fqdn() {
local fqdn=$1
echo "$fqdn" | grep -qP '(?=^.{4,253}$)(^((?!-)[a-zA-Z0-9-]{0,62}[a-zA-Z0-9]\.)+[a-zA-Z]{2,63}$)' \
&& return 0 \
|| return 1
}
valid_hostname() {
local hostname=$1
[[ $hostname =~ ^[a-zA-Z0-9\-]+$ ]] && [[ $hostname != 'localhost' ]] && return 0 || return 1
}
valid_ip4() {
local ip=$1
echo "$ip" | grep -qP '^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$' && return 0 || return 1
}
valid_ip4_cidr_mask() {
# Verify there is a backslash in the string
echo "$1" | grep -qP "^[^/]+/[^/]+$" || return 1
local cidr
local ip
cidr=$(echo "$1" | sed 's/.*\///')
ip=$(echo "$1" | sed 's/\/.*//' )
if valid_ip4 "$ip"; then
[[ $cidr =~ ^([0-9]|[1-2][0-9]|3[0-2])$ ]] && return 0 || return 1
else
return 1
fi
}
valid_int() {
local num=$1
local min=${2:-1}
local max=${3:-1000000000}
[[ $num =~ ^[0-9]*$ ]] && [[ $num -ge $min ]] && [[ $num -le $max ]] && return 0 || return 1
}
# {% raw %}
valid_proxy() {
local proxy=$1
local url_prefixes=( 'http://' 'https://' )
local has_prefix=false
for prefix in "${url_prefixes[@]}"; do
echo "$proxy" | grep -q "$prefix" && has_prefix=true && proxy=${proxy#"$prefix"} && break
done
local url_arr
mapfile -t url_arr <<< "$(echo "$proxy" | tr ":" "\n")"
local valid_url=true
if ! valid_ip4 "${url_arr[0]}" && ! valid_fqdn "${url_arr[0]}" && ! valid_hostname "${url_arr[0]}"; then
valid_url=false
fi
[[ $has_prefix == true ]] && [[ $valid_url == true ]] && return 0 || return 1
}
valid_ntp_list() {
local string=$1
local ntp_arr
IFS="," read -r -a ntp_arr <<< "$string"
for ntp in "${ntp_arr[@]}"; do
if ! valid_ip4 "$ntp" && ! valid_hostname "$ntp" && ! valid_fqdn "$ntp"; then
return 1
fi
done
return 0
}
valid_string() {
local str=$1
local min_length=${2:-1}
local max_length=${3:-64}
echo "$str" | grep -qP '^\S+$' && [[ ${#str} -ge $min_length ]] && [[ ${#str} -le $max_length ]] && return 0 || return 1
}
# {% endraw %}
valid_username() {
local user=$1
echo "$user" | grep -qP '^[a-z_]([a-z0-9_-]{0,31}|[a-z0-9_-]{0,30}\$)$' && return 0 || return 1
}
wait_for_web_response() {
url=$1
expected=$2
maxAttempts=${3:-300}
curlcmd=${4:-curl}
logfile=/root/wait_for_web_response.log
truncate -s 0 "$logfile"
attempt=0
while [[ $attempt -lt $maxAttempts ]]; do
attempt=$((attempt+1))
echo "Waiting for value '$expected' at '$url' ($attempt/$maxAttempts)"
result=$($curlcmd -ks -L $url)
exitcode=$?
echo "--------------------------------------------------" >> $logfile
echo "$(date) - Checking web URL: $url ($attempt/$maxAttempts)" >> $logfile
echo "$result" >> $logfile
echo "exit code=$exitcode" >> $logfile
echo "" >> $logfile
if [[ $exitcode -eq 0 && "$result" =~ $expected ]]; then
echo "Received expected response; proceeding."
return 0
fi
echo "Server is not ready"
sleep 1
done
echo "Server still not ready after $maxAttempts attempts; giving up."
return 1
}
+48
View File
@@ -0,0 +1,48 @@
#!/bin/bash
#
# Copyright 2014-2022 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
{% set BACKUPLOCATIONS = salt['pillar.get']('backup:locations', {}) %}
TODAY=$(date '+%Y_%m_%d')
BACKUPFILE="/nsm/backup/so-config-backup-$TODAY.tar"
MAXBACKUPS=7
# Create backup dir if it does not exist
mkdir -p /nsm/backup
# If we haven't already written a backup file for today, let's do so
if [ ! -f $BACKUPFILE ]; then
# Create empty backup file
tar -cf $BACKUPFILE -T /dev/null
# Loop through all paths defined in global.sls, and append them to backup file
{%- for LOCATION in BACKUPLOCATIONS %}
tar -rf $BACKUPFILE {{ LOCATION }}
{%- endfor %}
tar -rf $BACKUPFILE /etc/pki
tar -rf $BACKUPFILE /etc/salt
tar -rf $BACKUPFILE /opt/so/conf/kratos
fi
# Find oldest backup files and remove them
NUMBACKUPS=$(find /nsm/backup/ -type f -name "so-config-backup*" | wc -l)
while [ "$NUMBACKUPS" -gt "$MAXBACKUPS" ]; do
OLDESTBACKUP=$(find /nsm/backup/ -type f -name "so-config-backup*" -type f -printf '%T+ %p\n' | sort | head -n 1 | awk -F" " '{print $2}')
rm -f $OLDESTBACKUP
NUMBACKUPS=$(find /nsm/backup/ -type f -name "so-config-backup*" | wc -l)
done
+4 -3
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# Copyright 2014-2022 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
@@ -17,4 +17,5 @@
. /usr/sbin/so-common
/usr/sbin/so-restart cortex $1
/usr/sbin/so-stop cortex $1
/usr/sbin/so-start thehive $1
+2 -2
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
# Copyright 2014-2022 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
@@ -17,4 +17,4 @@
. /usr/sbin/so-common
/usr/sbin/so-start cortex $1
/usr/sbin/so-start thehive $1
+2 -2
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
#
# Copyright 2014-2022 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
+54
View File
@@ -0,0 +1,54 @@
#!/bin/bash
#
# Copyright 2014-2022 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
usage() {
echo "Usage: $0 <new-user-name>"
echo ""
echo "Adds a new user to Cortex. The new password will be read from STDIN."
exit 1
}
if [ $# -ne 1 ]; then
usage
fi
USER=$1
CORTEX_KEY=$(lookup_pillar cortexorguserkey)
CORTEX_API_URL="$(lookup_pillar url_base)/cortex/api"
CORTEX_ORG_NAME=$(lookup_pillar cortexorgname)
CORTEX_USER=$USER
# Read password for new user from stdin
test -t 0
if [[ $? == 0 ]]; then
echo "Enter new password:"
fi
read -rs CORTEX_PASS
# Create new user in Cortex
resp=$(curl -sk -XPOST -H "Authorization: Bearer $CORTEX_KEY" -H "Content-Type: application/json" -L "https://$CORTEX_API_URL/user" -d "{\"name\": \"$CORTEX_USER\",\"roles\": [\"read\",\"analyze\",\"orgadmin\"],\"organization\": \"$CORTEX_ORG_NAME\",\"login\": \"$CORTEX_USER\",\"password\" : \"$CORTEX_PASS\" }")
if [[ "$resp" =~ \"status\":\"Ok\" ]]; then
echo "Successfully added user to Cortex."
else
echo "Unable to add user to Cortex; user might already exist."
echo $resp
exit 2
fi
+57
View File
@@ -0,0 +1,57 @@
#!/bin/bash
#
# Copyright 2014-2022 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
usage() {
echo "Usage: $0 <user-name> <true|false>"
echo ""
echo "Enables or disables a user in Cortex."
exit 1
}
if [ $# -ne 2 ]; then
usage
fi
USER=$1
CORTEX_KEY=$(lookup_pillar cortexorguserkey)
CORTEX_API_URL="$(lookup_pillar url_base)/cortex/api"
CORTEX_USER=$USER
case "${2^^}" in
FALSE | NO | 0)
CORTEX_STATUS=Locked
;;
TRUE | YES | 1)
CORTEX_STATUS=Ok
;;
*)
usage
;;
esac
resp=$(curl -sk -XPATCH -H "Authorization: Bearer $CORTEX_KEY" -H "Content-Type: application/json" -L "https://$CORTEX_API_URL/user/${CORTEX_USER}" -d "{\"status\":\"${CORTEX_STATUS}\" }")
if [[ "$resp" =~ \"status\":\"Locked\" || "$resp" =~ \"status\":\"Ok\" ]]; then
echo "Successfully updated user in Cortex."
else
echo "Failed to update user in Cortex."
echo $resp
exit 2
fi
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
# Copyright 2014-2022 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
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
# Copyright 2014-2022 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
+1 -1
View File
@@ -1,6 +1,6 @@
#!/bin/bash
# Copyright 2014,2015,2016,2017,2018,2019,2020 Security Onion Solutions, LLC
# Copyright 2014-2022 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
+213
View File
@@ -0,0 +1,213 @@
#!/usr/bin/env python3
# Copyright 2014-2022 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/>.
import ipaddress
import textwrap
import os
import subprocess
import sys
import argparse
import re
from lxml import etree as ET
from xml.dom import minidom
LOCAL_SALT_DIR='/opt/so/saltstack/local'
WAZUH_CONF='/nsm/wazuh/etc/ossec.conf'
VALID_ROLES = {
'a': { 'role': 'analyst','desc': 'Analyst - 80/tcp, 443/tcp' },
'b': { 'role': 'beats_endpoint', 'desc': 'Logstash Beat - 5044/tcp' },
'e': { 'role': 'elasticsearch_rest', 'desc': 'Elasticsearch REST API - 9200/tcp' },
'f': { 'role': 'strelka_frontend', 'desc': 'Strelka frontend - 57314/tcp' },
'o': { 'role': 'osquery_endpoint', 'desc': 'Osquery endpoint - 8090/tcp' },
's': { 'role': 'syslog', 'desc': 'Syslog device - 514/tcp/udp' },
'w': { 'role': 'wazuh_agent', 'desc': 'Wazuh agent - 1514/tcp/udp' },
'p': { 'role': 'wazuh_api', 'desc': 'Wazuh API - 55000/tcp' },
'r': { 'role': 'wazuh_authd', 'desc': 'Wazuh registration service - 1515/tcp' }
}
def validate_ip_cidr(ip_cidr: str) -> bool:
try:
ipaddress.ip_address(ip_cidr)
except ValueError:
try:
ipaddress.ip_network(ip_cidr)
except ValueError:
return False
return True
def role_prompt() -> str:
print()
print('Choose the role for the IP or Range you would like to deny')
print()
for role in VALID_ROLES:
print(f'[{role}] - {VALID_ROLES[role]["desc"]}')
print()
role = input('Please enter your selection: ')
if role in VALID_ROLES.keys():
return VALID_ROLES[role]['role']
else:
print(f'Invalid role \'{role}\', please try again.', file=sys.stderr)
sys.exit(1)
def ip_prompt() -> str:
ip = input('Enter a single ip address or range to deny (ex: 10.10.10.10 or 10.10.0.0/16): ')
if validate_ip_cidr(ip):
return ip
else:
print(f'Invalid IP address or CIDR block \'{ip}\', please try again.', file=sys.stderr)
sys.exit(1)
def wazuh_enabled() -> bool:
for file in os.listdir(f'{LOCAL_SALT_DIR}/pillar'):
with open(file, 'r') as pillar:
if 'wazuh: 1' in pillar.read():
return True
return False
def root_to_str(root: ET.ElementTree) -> str:
xml_str = ET.tostring(root, encoding='unicode', method='xml').replace('\n', '')
xml_str = re.sub(r'(?:(?<=>) *)', '', xml_str)
# Remove specific substrings to better format comments on intial parse/write
xml_str = re.sub(r' -', '', xml_str)
xml_str = re.sub(r' -->', ' -->', xml_str)
dom = minidom.parseString(xml_str)
return dom.toprettyxml(indent=" ")
def rem_wl(ip):
parser = ET.XMLParser(remove_blank_text=True)
with open(WAZUH_CONF, 'rb') as wazuh_conf:
tree = ET.parse(wazuh_conf, parser)
root = tree.getroot()
global_elems = root.findall(f"global/white_list[. = '{ip}']/..")
if len(global_elems) > 0:
for g_elem in global_elems:
ge_index = list(root).index(g_elem)
if ge_index > 0 and root[list(root).index(g_elem) - 1].tag == ET.Comment:
root.remove(root[ge_index - 1])
root.remove(g_elem)
with open(WAZUH_CONF, 'w') as out:
out.write(root_to_str(root))
def apply(role: str, ip: str) -> int:
firewall_cmd = ['so-firewall', 'excludehost', role, ip]
salt_cmd = ['salt-call', 'state.apply', '-l', 'quiet', 'firewall', 'queue=True']
restart_wazuh_cmd = ['so-wazuh-restart']
print(f'Removing {ip} from the {role} role. This can take a few seconds...')
cmd = subprocess.run(firewall_cmd)
if cmd.returncode == 0:
cmd = subprocess.run(salt_cmd, stdout=subprocess.DEVNULL)
else:
return cmd.returncode
if cmd.returncode == 0:
if wazuh_enabled and role=='analyst':
try:
rem_wl(ip)
print(f'Removed whitelist entry for {ip} from {WAZUH_CONF}', file=sys.stderr)
except Exception as e:
print(f'Failed to remove whitelist entry for {ip} from {WAZUH_CONF}', file=sys.stderr)
print(e)
return 1
print('Restarting OSSEC Server...')
cmd = subprocess.run(restart_wazuh_cmd)
else:
return cmd.returncode
else:
print(f'Commmand \'{" ".join(salt_cmd)}\' failed.', file=sys.stderr)
return cmd.returncode
if cmd.returncode != 0:
print('Failed to restart OSSEC server.')
return cmd.returncode
def main():
if os.geteuid() != 0:
print('You must run this script as root', file=sys.stderr)
sys.exit(1)
main_parser = argparse.ArgumentParser(
formatter_class=argparse.RawDescriptionHelpFormatter,
epilog=textwrap.dedent(f'''\
additional information:
To use this script in interactive mode call it with no arguments
'''
))
group = main_parser.add_argument_group(title='roles')
group.add_argument('-a', dest='roles', action='append_const', const=VALID_ROLES['a']['role'], help="Analyst - 80/tcp, 443/tcp")
group.add_argument('-b', dest='roles', action='append_const', const=VALID_ROLES['b']['role'], help="Logstash Beat - 5044/tcp")
group.add_argument('-e', dest='roles', action='append_const', const=VALID_ROLES['e']['role'], help="Elasticsearch REST API - 9200/tcp")
group.add_argument('-f', dest='roles', action='append_const', const=VALID_ROLES['f']['role'], help="Strelka frontend - 57314/tcp")
group.add_argument('-o', dest='roles', action='append_const', const=VALID_ROLES['o']['role'], help="Osquery endpoint - 8090/tcp")
group.add_argument('-s', dest='roles', action='append_const', const=VALID_ROLES['s']['role'], help="Syslog device - 514/tcp/udp")
group.add_argument('-w', dest='roles', action='append_const', const=VALID_ROLES['w']['role'], help="Wazuh agent - 1514/tcp/udp")
group.add_argument('-p', dest='roles', action='append_const', const=VALID_ROLES['p']['role'], help="Wazuh API - 55000/tcp")
group.add_argument('-r', dest='roles', action='append_const', const=VALID_ROLES['r']['role'], help="Wazuh registration service - 1515/tcp")
ip_g = main_parser.add_argument_group(title='allow')
ip_g.add_argument('-i', help="IP or CIDR block to disallow connections from, requires at least one role argument", metavar='', dest='ip')
args = main_parser.parse_args(sys.argv[1:])
if args.roles is None:
role = role_prompt()
ip = ip_prompt()
try:
return_code = apply(role, ip)
except Exception as e:
print(f'Unexpected exception occurred: {e}', file=sys.stderr)
return_code = e.errno
sys.exit(return_code)
elif args.roles is not None and args.ip is None:
if os.environ.get('IP') is None:
main_parser.print_help()
sys.exit(1)
else:
args.ip = os.environ['IP']
if validate_ip_cidr(args.ip):
try:
for role in args.roles:
return_code = apply(role, args.ip)
if return_code > 0:
break
except Exception as e:
print(f'Unexpected exception occurred: {e}', file=sys.stderr)
return_code = e.errno
else:
print(f'Invalid IP address or CIDR block \'{args.ip}\', please try again.', file=sys.stderr)
return_code = 1
sys.exit(return_code)
if __name__ == '__main__':
try:
main()
except KeyboardInterrupt:
sys.exit(1)
+102
View File
@@ -0,0 +1,102 @@
#!/usr/bin/env python3
# Copyright 2014-2022 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/>.
import sys, argparse, re, docker
from packaging.version import Version, InvalidVersion
from itertools import groupby, chain
def get_image_name(string) -> str:
return ':'.join(string.split(':')[:-1])
def get_so_image_basename(string) -> str:
return get_image_name(string).split('/so-')[-1]
def get_image_version(string) -> str:
ver = string.split(':')[-1]
if ver == 'latest':
# Version doesn't like "latest", so use a high semver
return '99999.9.9'
else:
try:
Version(ver)
except InvalidVersion:
# Also return a very high semver for any version
# with a dash in it since it will likely be a dev version of some kind
if '-' in ver:
return '999999.9.9'
return ver
def main(quiet):
client = docker.from_env()
# Prune old/stopped containers
if not quiet: print('Pruning old containers')
client.containers.prune()
image_list = client.images.list(filters={ 'dangling': False })
# Map list of image objects to flattened list of tags (format: "name:version")
tag_list = list(chain.from_iterable(list(map(lambda x: x.attrs.get('RepoTags'), image_list))))
# Filter to only SO images (base name begins with "so-")
tag_list = list(filter(lambda x: re.match(r'^.*\/so-[^\/]*$', get_image_name(x)), tag_list))
# Group tags into lists by base name (sort by same projection first)
tag_list.sort(key=lambda x: get_so_image_basename(x))
grouped_tag_lists = [ list(it) for _, it in groupby(tag_list, lambda x: get_so_image_basename(x)) ]
no_prunable = True
for t_list in grouped_tag_lists:
try:
# Group tags by version, in case multiple images exist with the same version string
t_list.sort(key=lambda x: Version(get_image_version(x)), reverse=True)
grouped_t_list = [ list(it) for _,it in groupby(t_list, lambda x: get_image_version(x)) ]
# Keep the 2 most current version groups
if len(grouped_t_list) <= 2:
continue
else:
no_prunable = False
for group in grouped_t_list[2:]:
for tag in group:
if not quiet: print(f'Removing image {tag}')
try:
client.images.remove(tag, force=True)
except docker.errors.ClientError as e:
print(f'Could not remove image {tag}, continuing...')
except (docker.errors.APIError, InvalidVersion) as e:
print(f'so-{get_so_image_basename(t_list[0])}: {e}', file=sys.stderr)
exit(1)
except Exception as e:
print('Unhandled exception occurred:')
print(f'so-{get_so_image_basename(t_list[0])}: {e}', file=sys.stderr)
exit(1)
if no_prunable and not quiet:
print('No Security Onion images to prune')
if __name__ == "__main__":
main_parser = argparse.ArgumentParser(add_help=False)
main_parser.add_argument('-q', '--quiet', action='store_const', const=True, required=False)
args = main_parser.parse_args(sys.argv[1:])
main(args.quiet)

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