Commit Graph

295 Commits (master)

Author SHA1 Message Date
Roberto Rodriguez c7086ab9c6 [HOT FIX] 01312019
helk ELK
Updated to version 6.5.4

helk-logstash
fix https://github.com/Cyb3rWard0g/HELK/issues/156
+ Pipeline Updated
++ More security events
++ Reduced regex complexity to split process paths to process names
++ Enabled Kafka output again for Win Security and Win Sysmon logs
++ Added more win security conversion events

helk-elastalert
fix https://github.com/Cyb3rWard0g/HELK/issues/157
fix https://github.com/Cyb3rWard0g/HELK/issues/159

ELK:
+ Consolidated ELK scripts to one per container instead of trial and basic

helk-sigma
+ Updated own fork

helk-jupyter
+ Updated Elastic ES-Hadoop to 6.5.4

helk-jupyter
+ jupyterlab-manager widgets
+ Updated pandas 0.24.0
+ Updated altair 2.3.0
2019-01-31 11:29:49 -05:00
Dev Dua c5f206debf Made subscription and build choice menu same as install script 2019-01-29 10:31:10 +05:30
Roberto Rodriguez 9b7d224661
Merge pull request #152 from devdua/improved-git-handling-update-script
Added git checks for stable update experience
2019-01-24 11:54:47 -05:00
Roberto Rodriguez fa1c3aa5f3
Merge pull request #153 from richiercyrus/master
OSQuery Intergration (MacOS Support)
2019-01-24 11:53:42 -05:00
Dev Dua eb0e6faba6 Added git checks for stable update experience 2019-01-24 12:58:45 +05:30
Roberto Rodriguez 5f303c83ae Update helk_install.sh
Fix https://github.com/Cyb3rWard0g/HELK/issues/149
2019-01-11 19:02:24 -05:00
richiercyrus d372ef452d Troubleshooting the output file. 2019-01-08 15:38:57 -08:00
richiercyrus 12e4de9996 Added osquery filter to parse json message. 2019-01-08 08:19:37 -08:00
Roberto Rodriguez f4e323790d Update sysmon-join.commands 2019-01-07 13:05:11 -05:00
Roberto Rodriguez 8b28eb3b0c
Merge pull request #146 from devdua/update-script-decision-block-rearrangement
Update script decision block rearrangement
2019-01-07 09:28:53 -05:00
Nate Guagenti 5864371375
Update helk_install.sh
bash is no better than python :)
https://github.com/Cyb3rWard0g/HELK/issues/148
thanks @roberix
2019-01-07 09:26:47 -05:00
richiercyrus 240a8262ff Initial filebeat changes for osquery intergration 2019-01-05 11:00:10 -05:00
Dev Dua 6dd269c5b5 Refactored decision making to pull updates 2019-01-04 12:20:08 +05:30
Ryan G 5ac63ca1e9 Added missing exit and wiki reference 2019-01-04 01:14:55 -05:00
Ryan G 03ce2ff74e Added a pre-install check for x86_64 architecture to docker/helk_install.sh, as it is required for the project to run properly after the install script is completed. 2019-01-04 01:14:55 -05:00
Roberto Rodriguez 48fb280398 Update helk_install.sh
fix https://github.com/Cyb3rWard0g/HELK/issues/142
2018-12-25 15:30:09 -05:00
Roberto Rodriguez eecd5f6c09 Update KSQL Post Additions 2018-12-24 15:12:56 -05:00
Lee Christensen 1d6b5e82e9
Downloads docker installer script over HTTPS 2018-12-20 09:29:36 -08:00
Roberto Rodriguez 28cae7d58a
Merge pull request #135 from devdua/christmas-release-update-script-revision
Revise update script to align with Christmas Release
2018-12-14 18:01:44 +03:00
Roberto Rodriguez 6cc8a6bf3a Updated a few typos
fix https://github.com/Cyb3rWard0g/HELK/issues/134
fix https://github.com/Cyb3rWard0g/HELK/issues/133
2018-12-14 09:59:02 -05:00
Dev Dua 9549c86723 Revise update script to align with Christmas Release 2018-12-14 17:05:30 +05:30
Roberto Rodriguez 181c851a9e v0.1.6-alpha12132018
HELK base image
+ Updated to 0.0.3

HELK ELK Version
+ Now using 6.5.3 official ELK Docker Images (https://www.elastic.co/blog/elastic-stack-6-5-3-released)

helk_install
+ Users can now select between two deployments:
++ helk-kibana-analysis (KAFKA + KSQL + ELK + NGNIX + ELASTALERT)
++ helk-kibana-notebooks (KAFKA + KSQL + ELK + NGNIX + ELASTALERT + SPARK + JUPYTER)
+ Fixed https://github.com/Cyb3rWard0g/HELK/issues/131 . Users can now set up the Kibana UI User password during installation. Also, user can set the Elasticsearch elastic account password when using the Trial license option.

helk-elastalert
+ Elastalert deployed and ready to use with SIGMA integration. Blog available at https://medium.com/@Cyb3rWard0g

helk-elasticsearch
+ consolidated main configs in one
+ added more environment variables for ELASTIC_PASSWORD and default values in case it is not used to be compatible with the default values applied to HELK.

helk-logstash
+ updated to 6.5.3
+ simplified pipeline to have only one folder
+ logstash-entrypoint script can now enable elastic password on all logstash output conf files.
+ New environment variables (ELASTIC_PASSWORD, ELASTIC_HOST, ELASTIC_PORT)

helk-nginx
+ split the default config for the two deployment options (helk-kibana-analysis (trial/base) and helk-kibana-notebook-analysis (trial/base)

helk-kibana
+ Updated to version 6.5.3
+ Added new environment variables (ELASTICSEARCH_URL, SERVER_HOST, SERVER_PORT, ELASTIC_PASSWORD, ELASTIC_HOST, ELASTIC_PORT, ELASTICSEARCH_USERNAME, ELASTICSEARCH_PASSWORD, KIBANA_UI_PASSWORD) and logic to make the build more dynamic

helk-jupyter
+ updated Jupyterlab to 0.35.4
+ updated jupyterhub to 0.9.4
+ updated jupyterlab hub extension to 0.12.0
+ updated ES_HADOOP to 6.5.3
+ updated org.apache.spark:spark-sql-kafka-0-10_2.11:2.4.0
+ Added extra notebooks to test deployment and provide more information for analyst experiencing Jupyter for the first time

helk-kafka-base
+ reduced docker container size
+ updated Kafka to 2.1.0 (this affects Kafka brokers and zookeeper)

helk-kafka-broker
+ User can now define a list of topics to be created via the new environment variable KAFKA_CREATE_TOPICS. That needs to be defined either in the docker-compose file or while running the docker container on its own.

helk-zookeeper
+ reduced size of container
+ updated build to kafka 2.1.0

helk-KSQL
+ initial integration of KSQL
+ KSQL Server and KSQL CLI are available
+ Blog post coming soon ;)
2018-12-14 00:27:17 +03:00
Dev Dua 98f8b06085 Minor improvement to update check 2018-12-10 11:35:43 +05:30
neutron cbecc30cb6 - fix for large import of settings like dashboards/visualizations
- future fix for other applications like CyberChef that will generate long URIs
2018-12-06 01:24:45 -05:00
neutron fbe105ead7 - previous sysctl for vm.max_map_count was not persistent
- custom sysctl file for future tuning/settings
- typo correction
2018-12-06 01:08:54 -05:00
neutron 7b51b81d7d - better ulimit settings
- set so that we will use calculation of host memory to set the JVM options -- otherwise users can uncomment the JAVA_OPTS in this config and will ignore our memory check.
2018-12-06 01:05:15 -05:00
neutron 8d93f770ff get host available memory and divide that by 4, use megabytes in case dividing by 4 is too low of a number like 0 :) 2018-12-06 01:03:11 -05:00
neutron 16cccca2f3 get host available memory and set that by half, however not higher than 31GB 2018-12-06 01:02:04 -05:00
Roberto Rodriguez 9dabef7ad8
Merge pull request #66 from devdua/add-helk-update-script
Add helk update script
2018-10-03 12:46:43 -04:00
Dev Dua 68c33d5ed5 Modify host IP extraction system for Linux kernel 2018-10-03 21:41:56 +05:30
Dev Dua 00b194427f Merge branch 'master' of https://github.com/Cyb3rWard0g/HELK into add-helk-update-script 2018-10-01 11:49:12 +05:30
crboyd e840697578 convert process/logon IDs from hex only if they start with 0x 2018-09-26 05:53:31 +00:00
Dev Dua 65dfe98f17 Added check for tmp file 2018-09-14 11:32:10 +05:30
Roberto Rodriguez a15f04762b Updated Docker base disk space 2018-09-13 00:11:10 +02:00
Roberto Rodriguez 8e90e79a84 Updated Disk requirements
set it to 25 for basic cloud images that start with less than 30GB of disk space
2018-09-13 00:05:08 +02:00
Roberto Rodriguez 2d51dae636 v0.1.3-alpha08242018-a
helk-spark-worker
+ set SPARK_WORKER_MEMORY to 1g
+ Enabled spark shuffle service to safely remove executors from apps

helk-jupyter
+ Upgraded ES-Hadoop to 6.4.0
+ Added Postgresql JAR and installed postgresql to manage the usage of multiple notebooks
+ Added entrypoint script to create hive user, set a password and create a hive_metastore database
+ Set Spark dynamic allocation settings to avoid Spark workers getting sucked on one application only
2018-08-24 18:13:13 -04:00
Dev Dua 03a32bb2bf Merged conflicting changes 2018-08-24 22:05:08 +05:30
Dev Dua d9d564d52d Modified for HELK v0.1.3-alpha08242018 2018-08-24 21:47:04 +05:30
Roberto Rodriguez c45f4be15b v0.1.3-alpha08242018
Docker-compose Files Version
+ Updated version to 3.5

Base Docker Ubuntu Image
+ Updated to phusion/baseimage version 0.11 (https://github.com/phusion/baseimage-docker/releases/tag/0.11)

HELK base image
+ Updated to 0.0.2 due to Ubuntu upgrade

HELK ELK Version
+ Now using 6.4.0 official ELK Docker Images (https://www.elastic.co/blog/elastic-stack-6-4-0-released?blade=tw&hulk=social)

helk_install
+ Fixed https://github.com/Cyb3rWard0g/HELK/issues/99

helk-elasticsearch
+ Updated main yml config to set most of the settings via environment variables via docker-compose
+ Trial docker-compose file now has ELASTICSEARCH_PASSWORD environment variable set/available. Trial Dockerfile was deleted since the elasticsearch_password update is now taken care of by the internal elasticsearch docker script that is comes with the official elasticsearch docker image.
+ reduced the memory requirements from 4GB to 2GB

helk-logstash
+ entrypoint scripts remove kafka output plugin 7.1.2 and installs version 7.1.1 due to https://github.com/logstash-plugins/logstash-output-kafka/pull/198
++ this error happens right after upgrading ELK built from 6.3.2 to 6.4.0

helk-jupyter
+ Added Altair python package
+ updated Jupyterlab to 0.34.1
+ updated jupyterhub to 0.9.2
+ updated jupyterlab hub extension to 0.11.0
+ updated Spark config to use Graphframes 0.6.0 (https://graphframes.github.io/user-guide.html)
+ updated spark-kafka library to spark-sql-kafka-0-10_2.11:2.3.1

helk-kafka-base
+ updated Kafka to 2.0.0 (this affects Kafka brokers and zookeeper)
+ Created user kafkauser to run kafka containers as non-root

helk-kafka-broker
+ split entrypoint script to have topics creation separate
++ auomated the way how the container checks for the kafka broker port availability. If the port is open, then it attempts to create kafka topics
+ No need to tail kafka logs to keep the container alive after running the kafka start script. It now just starts the broker via Dockerfile CMD command and stays alive.

helk-zookeeper
+ updated entrypoint to only set the main server config
+ zookeeper is now started via Dockerfile CMD command
2018-08-24 11:41:25 -04:00
Dev Dua ce7d36f2a2 Added docker disk check + refactored code 2018-08-24 16:36:22 +05:30
Dev Dua 4b610dcefe Moved update script to docker/ 2018-08-20 15:13:03 +05:30
Dev Dua c35a8d5fea Merge branch 'master' of https://github.com/Cyb3rWard0g/HELK into add-helk-update-script 2018-08-20 15:10:20 +05:30
Roberto Rodriguez b9daa4c592 v0.1.2-alpha08062018
Updated Logstash output templates to replace _doc mappings to doc.
2018-08-06 22:32:51 -07:00
Roberto Rodriguez 32236b729e Updated Jupyter Password Strings
Password in the output message after starting HELK was wrong. it had an exta chaacter.
2018-08-04 16:26:07 -07:00
Roberto Rodriguez 634e24e3aa HELK v0.1.3-alpha08032018
All
+ Moved all to docker folder. Getting ready to start sharing other ways to deploy helk (terraform & Packer maybe)

Compose-files
+ Basic & Trial Elastic Subscriptions available now and can be automatically managed via the helk_install script

ELK Version : 6.3.2

Elasticsearch
+ Set 4GB for ES_JAVA_OPTS by default allowing the modification of it via docker-compose and calculating half of the host memory if it is not set
+ Added Entrypoint script and using docker-entrypoint to start ES

Logstash
+ Big Pipeline Update by Nate Guagenti (@neu5ron)
++better cli & file name searching
++”dst_ip_public:true” filter out all rfc1918/non-routable
++Geo ASName
++Identification of 16+ windows IP fields
++Arrayed IPs support
++IPv6&IPv4 differentiation
++removing “-“ values and MORE!!!
++ THANK YOU SO MUCH NATE!!!
++ PR: https://github.com/Cyb3rWard0g/HELK/pull/93
+ Added entrypoint script to push new output_templates straight to Elasticsearch per Nate's recommendation
+ Starting Logstash now with docker-entrypoint
+ "event_data" is now taken out of winlogbeat logs to allow integration with nxlog (sauce added by Nate Guagenti (@neu5ron)

Kibana
+ Kibana yml file updated to allow a longer time for timeout

Nginx:
+ it handles communications to Kibana and Jupyterhub via port 443 SSL
+ certificate and key get created at build time
+ Nate added several settings to improve the way how nginx operates

Jupyterhub
+ Multiple users and mulitple notebooks open at the same time are possible now
+ Jupytehub now has 3 users hunter1,hunter2.hunter3 and password patterh is <user>P@ssw0rd!
+ Every notebook created is also JupyterLab
+ Updated ES-Hadoop 6.3.2

Kafka Update
+ 1.1.1 Update

Spark Master + Brokers
+ reduce memory for brokers by default to 512m

Resources:
+ Added new images for Wiki
2018-08-03 11:13:25 -07:00