Install & configure Secure Bank

https://owasp.org/www-project-securebank/

Setup

You can setup SecureBank application from source code, or simply pull it from Docker Hubarrow-up-right.

From source

Make sure that you have Microsoft SQL Server DB available. You can install or run it inside docker.

  1. Clone from GitHub

  2. Navigate to directory SecureBank -> src

  3. dotnet run or open solution in IDE and run there

From Docker

  1. Execute

  1. Open http://localhost:80arrow-up-right or http:127.0.0.1:80 or add it into /etc/hosts file

Docker with multiple containers

  1. Clone SecureBank git clone https://github.com/ssrdio/SecureBank.git

  2. Run docker-compose up

Docker with single container

  1. Create docker-compose.yml

  1. Run docker-compose up


Default users:

Ports

  • 80 on this port SecureBank is accessible

  • 1080 is maildev server for user registration

  • 5000 is hidden API

CTF-Mode

If you want to run SecureBank in CTF mode we have also prepared this option. It will create CTFd compatible export file.

Run docker run -d -p 80:80 -p 5000:5000 -p 1080:1080 -e 'AppSettings:Ctf:Enabled=true' -e 'AppSettings:Ctf:Seed=example' -e 'SeedingSettings:Admin=admin@ssrd.io' -e 'SeedingSettings:AdminPassword=admin' ssrd/securebank

Last updated