Public | Automated Build

Last pushed: 2 days ago
Short Description
Gremlin - Docker Edition
Full Description

Gremlin - Docker Edition


Run Gremlin inside a Docker container and use it to run attacks against the host system.

Note: Attacking specific Docker containers is currently under development.

Usage

Set required environment variables:

export GREMLIN_ORG_ID=<your-org-id>
export GREMLIN_ORG_SECRET=<your-org-secret>
export GREMLIN_IDENTIFIER=<optional-client-identifier>

Use Docker container to run attack against host system:

docker run -it --rm --net=host \
    --cap-add=NET_ADMIN --cap-add=SYS_BOOT --cap-add=SYS_TIME \
    -v $PWD/var/lib/gremlin:/var/lib/gremlin \
    -v $PWD/var/log/gremlin:/var/log/gremlin \
    -e GREMLIN_ORG_ID="$GREMLIN_ORG_ID" \
    -e GREMLIN_ORG_SECRET="$GREMLIN_ORG_SECRET" \
    -e GREMLIN_IDENTIFIER="${GREMLIN_IDENTIFIER:-docker-gremlin}" \
    gremlin/gremlin attack ...

Start Gremlin daemon to attack host via web application:

docker run -d --net=host \
    --cap-add=NET_ADMIN --cap-add=SYS_BOOT --cap-add=SYS_TIME \
    -v $PWD/var/lib/gremlin:/var/lib/gremlin \
    -v $PWD/var/log/gremlin:/var/log/gremlin \
    -e GREMLIN_ORG_ID="$GREMLIN_ORG_ID" \
    -e GREMLIN_ORG_SECRET="$GREMLIN_ORG_SECRET" \
    -e GREMLIN_IDENTIFIER="${GREMLIN_IDENTIFIER:-docker-gremlin}" \
    gremlin/gremlin daemon
Docker Pull Command
Owner
gremlin
Source Repository

Comments (0)