HELK/README.md

82 lines
3.3 KiB
Markdown
Raw Normal View History

2017-05-26 06:11:09 +00:00
# HELK [Beta]
The incredible HELK (Hunting, Elasticsearch, Logstash, Kibana) VM.
2017-04-14 05:29:04 +00:00
2017-06-29 15:21:59 +00:00
# Goals
* Provide a free hunting platform to the community and share the basics of Threat Hunting.
* Make sense of a large amount of event logs and add more context to suspicious events during hunting.
* Expedite the time it takes to deploy an ELK stack.
* Improve the testing of hunting use cases in an easier and more affordable way.
# Resources
* [Setting up a Pentesting.. I mean, a Threat Hunting Lab - Part 5](https://cyberwardog.blogspot.com/2017/02/setting-up-pentesting-i-mean-threat_98.html)
* [Elastic Producs](https://www.elastic.co/products)
* [docker-elk](https://github.com/deviantony/docker-elk)
2017-05-26 06:11:09 +00:00
# Getting Started
2017-06-06 21:30:52 +00:00
## Requirements
2017-05-26 06:11:09 +00:00
* OS: Ubuntu-16.04.2 Server amd64 (Tested)
* Network Connection: NAT or Bridge
* RAM: 4GB (minimum)
2017-06-06 21:30:52 +00:00
* Applications:
* Docker & Docker-compose (Needed for HELK Docker Installation ONLY)
### Installing Docker & Docker-compose
If you decide to build,(re)create, start and attach the specific containters needed for the HELK services (Elasticsearch, Logstash & Kibana), you will have to install Docker and Docker-compose first.
```
git clone https://github.com/Cyb3rWard0g/HELK.git
cd HELK/scripts
sudo ./helk_docker_install.sh
```
## Enrichments?
You can use this basic HELK build and integrate it with other hunting platforms. So far you can use this build and integrate it with the following platforms:
### Automated Collection and Enrichment (ACE)
[ACE](https://github.com/Invoke-IR/ACE) is a suite of tools for threat hunters to collect data from many endpoints in a network and automatically enrich the data. The data is collected by running scripts on each computer without installing any software on the target. ACE supports collecting from Windows, macOS, and Linux hosts.
Once you have the HELK cloned locally, you will just have to update the custom ace-rabbimq-input.conf with your ACE-rabbitmq IP address,user & password. Then, you will ned to copy the custom ace-rabbitmq logstash configs to the HELK's default logstash/pipeline folder before installing it.
```
cd HELK
sudo nano enrichments/ACE/logstash/03-ace-rabbitmq-input.conf
sudo cp -a enrichments/ACE/logstash/* logstash/pipeline/
```
2017-06-06 21:30:52 +00:00
## HELK Installation
The HELK can be installed via a bash script or a docker-compose file. After installing the HELK, browse to your HELK (host) IP address and log on with username:helk & password:hunting.
2017-06-06 21:30:52 +00:00
### Bash Script
```
2017-06-07 05:48:59 +00:00
sudo git clone https://github.com/Cyb3rWard0g/HELK.git
2017-06-06 21:30:52 +00:00
cd HELK/scripts
2017-06-06 21:47:09 +00:00
sudo ./helk_install.sh
2017-06-06 21:30:52 +00:00
```
### Docker-compose
```
2017-06-07 05:48:59 +00:00
sudo git clone https://github.com/Cyb3rWard0g/HELK.git
2017-06-06 21:30:52 +00:00
cd HELK
2017-08-12 02:53:35 +00:00
sudo docker-compose up -d
2017-06-06 21:30:52 +00:00
```
2017-06-29 15:21:59 +00:00
# Author
2017-06-06 21:30:52 +00:00
* Roberto Rodriguez [@Cyb3rWard0g](https://twitter.com/Cyb3rWard0g)
2017-05-26 06:11:09 +00:00
2017-06-29 15:21:59 +00:00
# Contributors
# Contributing
There are a few things that I would like to accomplish with the HELK as shown in the To-Do list below, but I would also woult love to make the HELK a stable build for everyone in the community. If you are interested on making this build a more robust one and adding some cool features to it, PLEASE feel free to submit a pull request. #SharingIsCaring
# TO-Do
- [X] Integrate NGINX in the Docker image
2017-06-06 21:47:09 +00:00
- [ ] Upload Kibana Dashboards
- [ ] Add Winlogbeat scripts & files
- [ ] Add/Ingest samples logs to the HELK
- [ ] Install Elastalert
- [ ] Create Elastalert rules
More coming soon...
2017-04-14 05:29:04 +00:00