Blue-DVWA-Splunk is a project that integrates DVWA (Damn Vulnerable Web Application), Splunk, and Apache logs for a comprehensive testing and monitoring environment. The project includes a Docker setup for running DVWA and Splunk, and configuration files for Splunk and Apache.
- Docker
- Docker Compose
-
Clone this repository to your local machine.
git clone https://github.com/egycondor/Blue-DVWA-Splunk.git cd Blue-DVWA-Splunk
-
Update the
docker-compose.yml
andDockerfile
files with your Splunk credentials and any other necessary changes. -
Build the Docker images.
docker-compose up --build
-
Access the DVWA application at
http://localhost:8081
and the Splunk dashboard athttp://localhost:8000
.
-
Start the DVWA and Splunk containers.
docker-compose up -d
-
Access the DVWA application at
http://localhost:8081
and the Splunk dashboard athttp://localhost:8000
. -
Send requests to the DVWA application and observe the logs in the Splunk dashboard.
docker-compose.yml
: The Docker Compose file for running the DVWA and Splunk containers.Dockerfile
: The Dockerfile for building the DVWA container with the necessary modifications for Splunk forwarding and Apache log configuration.splunk-configs/props.conf
: The Splunk props.conf file for configuring field extraction and transformations.splunk-configs/transforms.conf
: The Splunk transforms.conf file for configuring field transformations.
- If you encounter an error during the Docker build process, check the Dockerfile and docker-compose.yml files for any configuration errors or missing dependencies.
- If the Apache logs are not being parsed correctly in Splunk, check the
props.conf
andtransforms.conf
files for any configuration errors. - If the DVWA application is not working as expected, check the
config.inc.php
file for any configuration errors.
MIT License
Copyright (c) 2023 egycondor
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.