Sign inSign up

frozenfoxx/vuln-bind

By frozenfoxx

Updated over 5 years ago

Docker container for running a vulnerable bind server

Image
1

403

frozenfoxx/vuln-bind repository overview

A vulnerable Docker container for Bind.

Source: https://github.com/frozenfoxx/docker-vuln-bind

How to Build

git clone [email protected]: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).

Tag summary

Content type

Image

Digest

Size

8.2 MB

Last updated

over 5 years ago

docker pull frozenfoxx/vuln-bind