GithubHelp home page GithubHelp logo

kerbalette / velociraptor Goto Github PK

View Code? Open in Web Editor NEW

This project forked from velocidex/velociraptor

0.0 1.0 0.0 12.27 MB

Dig Deeper....

Home Page: https://www.velocidex.com

License: Other

Go 84.83% Makefile 0.04% Shell 0.07% Python 1.10% JavaScript 0.99% HTML 7.73% CSS 2.19% C 3.03% Dockerfile 0.02%

velociraptor's Introduction

Velociraptor - Endpoint visibility and collection tool.

Velociraptor is a tool for collecting host based state information using Velocidex Query Language (VQL) queries.

To learn more about Velociraptor, read the documentation on:

https://www.velocidex.com/docs/

Quick start

  1. Download the binary from the release page.

  2. You need to generate a server config file. This will generate new key material. Simply follow the prompts:

  $ velociraptor config generate -i
  1. Start the server:
 $ velociraptor --config /etc/velociraptor.config.yaml frontend
  1. Point a browser at the GUI port that you set in the config file. You should be able to log in with the password set earlier.

  2. Launch the client on any system with the generated client config file.

 $ velociraptor --config client.conf.yaml client
  1. You should be able to search for the client in the GUI, browse VFS, download files etc.

To deploy the windows executable:

  1. Install the released MSI installer.

  2. Drop the client configuration into C:\Program Files\Velociraptor\Velociraptor.config.yaml using any system administration method (e.g. group policy, SCCM etc).

Running Velociraptor locally.

Velociraptor is also useful as a local triage tool. In particular you might find Velociraptor's artifacts especially useful for quickly capturing important information about a running system. You can collect artifacts by using the "artifacts collect" command:

    $ velociraptor artifacts list
    INFO:2018/08/20 22:28:56 Loaded 18 built in artifacts
    INFO:2018/08/20 22:28:56 Loaded 18 artifacts from artifacts/definitions/
    Linux.Applications.Chrome.Extensions
    Linux.Applications.Chrome.Extensions.Upload
    Linux.Applications.Docker.Info
    Linux.Applications.Docker.Version
    Linux.Debian.AptSources

    $ velociraptor artifacts list -v Linux.Debian.AptSources
    .... displays the artifacts

    $ velociraptor artifacts collect Linux.Debian.AptSources
    ... Collects all the named artifacts

Explore more of Velociraptor's options using the -h flag.

Building from source.

To build from source, make sure you have a recent Golang installed from https://golang.org/dl/:

    $ go get -u www.velocidex.com/golang/velociraptor
    $ go get -u github.com/golang/dep/cmd/dep
    $ cd $GO_PATH/go/src/www.velocidex.com/golang/velociraptor/

    # This will download go dependencies.
    $ dep ensure

    # This will build the GUI elements. You will need to have node
    # installed first. For example on Windows get it from
    # https://nodejs.org/en/download/ . You also need to have JAVA
    # installed from https://www.java.com because the js compiler
    # needs it.
    $ cd gui/static/
    $ npm install

    # If gulp is not on your path you need to run it using node:
    # node node_modules\gulp\bin\gulp.js compile
    $ gulp compile
    $ cd -

    # This builds a release (i.e. it will embed the GUI files in the
    # binary). If you dont care about the GUI a simple "make" will
    # build a bare binary.
    $ go run make.go -v dev
    $ go run make.go -v windows

If you want to rebuild the protobuf you will need to install protobuf compiler (This is only necessary when editing any *.proto file):

   $ wget https://github.com/protocolbuffers/protobuf/releases/download/v3.8.0/protoc-3.8.0-linux-x86_64.zip
   $ unzip protoc-3.8.0-linux-x86_64.zip
   $ sudo mv include/google/ /usr/local/include/
   $ sudo mv bin/protoc /usr/local/bin/
   $ go get -u github.com/golang/protobuf/protoc-gen-go/
   $ go install github.com/golang/protobuf/protoc-gen-go/
   $ go get -u github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
   $ go install github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway
   $ ./make_proto.sh

Getting help

Questions and feedback are welcome at [email protected]

File issues on https://gitlab.com/velocidex/velociraptor

Read more about Velociraptor on our blog:

https://www.velocidex.com/docs/

velociraptor's People

Contributors

scudette avatar mgreen27 avatar 0xthiebaut avatar kleinco avatar randomaccess3 avatar dependabot[bot] avatar turekt avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.