All Projects → kolide → kolide-quickstart

kolide / kolide-quickstart

Licence: MIT license
[DEPRECATED] A quickstart demo for Kolide tools

Programming Languages

shell
77523 projects
go
31211 projects - #10 most used programming language
Makefile
30231 projects

Projects that are alternatives of or similar to kolide-quickstart

Fleet
A flexible control server for osquery fleets
Stars: ✭ 1,068 (+1953.85%)
Mutual labels:  osquery, macadmin
Osctrl
Fast and efficient osquery management
Stars: ✭ 183 (+251.92%)
Mutual labels:  osquery
Detectionlabelk
DetectionLabELK is a fork from DetectionLab with ELK stack instead of Splunk.
Stars: ✭ 273 (+425%)
Mutual labels:  osquery
Goquery
Provide a shell like interface by utilizing osquery's distributed API
Stars: ✭ 74 (+42.31%)
Mutual labels:  osquery
Launcher
Osquery launcher, autoupdater, and packager
Stars: ✭ 346 (+565.38%)
Mutual labels:  osquery
Siac
SIAC is an enterprise SIEM built on open-source technology.
Stars: ✭ 100 (+92.31%)
Mutual labels:  osquery
osquery-starter-kit
A starter-kit for a source-controlled, CLI-based osquery management workflow.
Stars: ✭ 22 (-57.69%)
Mutual labels:  osquery
Osquery Go
Go bindings for osquery
Stars: ✭ 249 (+378.85%)
Mutual labels:  osquery
Osquery Extensions
osquery extensions by Trail of Bits
Stars: ✭ 180 (+246.15%)
Mutual labels:  osquery
Osql Experimental
A community-oriented fork of osquery with support for cmake, public CI testing, and regular releases
Stars: ✭ 62 (+19.23%)
Mutual labels:  osquery
Zentral
Zentral is an open-source solution for infrastructure monitoring and endpoint event stream processing. It provides build-in orchestration of macOS security components (Santa, Osquery, et-al.), event correlation and event management. It consolidates its features with various data store backends (ElasticStack, Azure Log Analytics, Splunk, et-al.).
Stars: ✭ 522 (+903.85%)
Mutual labels:  osquery
Osquery Cookbook
A Chef Cookbook to install and configure osquery.
Stars: ✭ 11 (-78.85%)
Mutual labels:  osquery
Xxh
🚀 Bring your favorite shell wherever you go through the ssh.
Stars: ✭ 2,559 (+4821.15%)
Mutual labels:  osquery
Hubble
Hubble is a modular, open-source security compliance framework. The project provides on-demand profile-based auditing, real-time security event notifications, alerting, and reporting. HubbleStack is a free and open source project made possible by Adobe. https://github.com/adobe
Stars: ✭ 313 (+501.92%)
Mutual labels:  osquery
Kube Query
[EXPERIMENTAL] Extend osquery to report on Kubernetes
Stars: ✭ 190 (+265.38%)
Mutual labels:  osquery
rhq
Recon Hunt Queries
Stars: ✭ 66 (+26.92%)
Mutual labels:  osquery
Exposq
Go app that dispatches osquery to multi-machines
Stars: ✭ 89 (+71.15%)
Mutual labels:  osquery
Detectionlab
Automate the creation of a lab environment complete with security tooling and logging best practices
Stars: ✭ 3,237 (+6125%)
Mutual labels:  osquery
Fleet
The premier osquery fleet manager.
Stars: ✭ 210 (+303.85%)
Mutual labels:  osquery
Osq Ext Bin
Extension to osquery windows that enhances it with real-time telemetry, log monitoring and other endpoint data collection
Stars: ✭ 142 (+173.08%)
Mutual labels:  osquery

This repository was created to demo Kolide Fleet before it was available as an open source tool. Because Fleet is now open source, please refer to the Fleet docs for information on getting started with Fleet.


Kolide Quickstart Demo

Deploy

The scripts and config files in this repository will enable you to quickly get a demo Kolide Fleet installation up and running. If you would like to try Fleet without setting up a production testing environment, this demo is for you. For guidance on installing a production Fleet environment, please see the infrastructure documentation.

We're available to help with this script, or deploying Kolide in your environment. You can contact us by email at [email protected] or by joining #kolide on the osquery slack team.

If you would like to contribute to the script, you can open an Issue or Pull Request.

Dependencies

  • Bash compatible shell with standard unix commands
  • Git, or a way to download and unzip these scripts
  • Docker and Docker Compose (installed by default with Docker on Mac and Windows)

All other necessary dependencies will be installed via Docker by the scripts in this repository.

Quickest Setup

git clone https://github.com/kolide/kolide-quickstart.git
cd kolide-quickstart
./demo.sh up simple
./demo.sh add_hosts 10 # Will add 10 containerized hosts to your installation

At this point you can navigate to https://localhost:8412 (or the IP/DNS name of the server running Kolide) and log in with the credentials supplied in the output of the above script.

More advanced setup is explained below.

Usage

Start Fleet (and Dependencies)

git clone https://github.com/kolide/kolide-quickstart.git # or download and unzip https://github.com/kolide/kolide-quickstart/archive/master.zip
cd kolide-quickstart
./demo.sh up

On the first run, a self-signed TLS certificate will be generated to be used with your demo instance of Fleet. Please enter a CN for this certificate that osquery hosts will be able to use to connect. If you already have a trusted TLS certificate, you can provide it in this step.

./demo.sh up /path/to/server.key /path/to/server.crt

When startup completes successfully, a message will be printed with a link to the Kolide instance. At this URL you will be walked through final setup.

Stop Fleet (and Dependencies)

./demo.sh down

This will terminate the containers running Fleet and its dependencies, but data will persist across restarts. Use ./demo.sh up to start again.

Reset Fleet Instance

./demo.sh reset

This will terminate the containers, and remove the MySQL data and generated TLS certificate. Use ./demo.sh up to start again from scratch.

Enroll Endpoints

This Fleet demo comes with various methods for adding hosts. It can easily be tested with containerized fake hosts in Docker, but testing with real hosts will help you understand the true value Fleet can bring to your infrastructure.

Add Docker-based Hosts

These Docker-based hosts can be added immediately with no additional setup. Because the containers are all built from the same image, they will return similar results for most queries. To enroll docker-based hosts:

./demo.sh add_hosts <number of hosts>

You can run the command multiple times to scale the number of enrolled osqueryd containers up or down.

Add macOS Hosts

This demo can generate an installer (.pkg) that will configure a macOS osquery installation to work with the Fleet server. To build this package:

./demo.sh enroll mac

The generated installer will be located in out/kolide-enroll-1.0.0.pkg.

Now, ensure that osquery is installed on the target host, and run the generated installer package to configure the osquery installation.

Note: If you want to enroll the macOS host that this demo is running on you may have to edit the /etc/hosts file as specified in the output when generating the installer.

Add Linux Hosts

Soon we will introduce package generation for configuring Linux osquery hosts to operate with this demo.

Testing with Email (Optional)

Email setup is not required to demo Fleet. For those who would like to demo Fleet with a simulated email server, ./demo.sh up starts a Mailhog container that facilitates this. In a production Fleet deployment, you would use your normal SMTP server.

Set Up Email

To configure Fleet with this demo email server:

  1. In Fleet, navigate to Admin -> App Settings (/admin/settings).
  2. Make up a Sender Address (eg. [email protected]).
  3. Enter SMTP server mailhog and port 1025.
  4. Set Authentication Type to None.
  5. Click "Update Settings"

When completed, the configuration should look like this:

Fleet Mailhog email configuration

Viewing Emails

Mailhog starts a UI available at port 8025 on your docker host (http://localhost:8025 if you are on the docker host) for viewing the emails "sent" through its SMTP server. If email is properly configured, you should see a test message from Fleet in this UI.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].