Skip to content

frozenfoxx/docker-vuln-bind

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 
 
 
 
 

docker-vuln-bind

Build Status

A vulnerable Docker container for Bind.

Docker Hub: https://hub.docker.com/r/frozenfoxx/vuln-bind/

How to Build

git clone git@github.com:frozenfoxx/docker-vuln-bind.git
cd docker-vuln-bind
docker build .

How to Use this Image

Quickstart

The following will run the latest vulnerable Bind server with a default configuration.

docker run -d --rm -p 53:53 --name=bind_server frozenfoxx/vuln-bind:latest

Individual Vulnerabilities

Most of the time you'll want to experiment with a given vulnerability or combination thereof. These are stored in the various tags, loading the allowtransfer vulnerable tag for instance can be done like this:

docker run -it --rm -p 53:53 --name=bind_server -e CONFIG=allowtransfer frozenfoxx/vuln-bind:latest

Configuration

To create a new custom configuration perform the following:

  • create a new directory under configs/
  • load configuration files under the new directory
  • docker build . -t frozenfoxx/vuln-bind:custom
  • docker run -it --rm -p 53:53 --name=custom_server -e CONFIG=custom_config_dir frozenfoxx/vuln-bind:custom

Available Configs

Used with -e CONFIG=[name]:

  • allowtransfer: allows zone transfers.
  • default: standard configuration (default).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published