Git Product home page Git Product logo

gscript's Introduction

Gscript Logo

Genesis Scripting Engine (gscript)

Security framework to rapidly implement custom droppers for all three major operating systems

CircleCI

About

Gscript is a framework for building multi-tenant executors for several implants in a stager. The engine works by embedding runtime logic (powered by the V8 Javascript Virtual Machine) for each persistence technique. This logic gets run at deploy time on the victim machine, in parallel for every implant contained with the stager. The Gscript engine leverages the multi-platform support of Golang to produce final stage one binaries for Windows, Mac, and Linux.

We encourage you to read through the slides from DEFCON26:

https://docs.google.com/presentation/d/1kHdz8DY0Zn44yn_XrZ2RVqDY1lpADThLPNPwHP-njbc/edit?usp=sharing

Table of Contents

Features

  • Easy to learn and write - uses javascript.
  • Portable - Compile droppers for OSX, Windows, or Linux from any OS.
  • Robust - Script's are isolated from each other in a safe execution way.
  • Fast.
  • Extensible - Can link native Golang packages directly into your Javascript.

Installation

Docker (Easiest)

If you have docker installed, you can run:

$ docker pull gen0cide/gscript:v1

Make a local directory where you can share files between your local machine and the docker container. Replace $LOCAL_DIR in the following command with the path to that:

$ docker run -it -v $LOCAL_DIR:/root/share gen0cide/gscript:v1

Thats it! You're good to go.

Local (Good for advanced)

Local installation requires you to have a Golang compiler setup and working on your machine. If you need to do this, you can grab an installer here. Make sure $GOPATH/bin is in your $PATH.

After that, all you need to do is run:

$ go get github.com/gen0cide/gscript/cmd/gscript

Quick Start

Check out the tutorial docs here:

https://github.com/gen0cide/gscript/tree/master/docs/tutorials

If you want to see example scripts, we have a separate repo you can clone:

https://github.com/ahhh/gscripts

Docs

Here's a list of docs and tutorials that might be helpful for you:

(more to come soon)

Shoutouts

mentors, contributors, and great friends of gscript

  • @cmc
  • @hecfblog
  • @ccdcredteam
  • @1njecti0n
  • @ahhh
  • @emperorcow
  • @vyrus001
  • @kos
  • @davehughes
  • @maus
  • @javuto

gscript's People

Contributors

ahhh avatar droberson avatar emperorcow avatar gen0cide avatar javuto avatar jayhill365 avatar vitapluvia avatar vyrus001 avatar

Watchers

 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.