Web App Pentesting - Setting Up OWASP bWAPP With Docker
Skills:
Tool Use & Function Calling80%
Key Takeaways
The video demonstrates the deployment of OWASP bWAPP vulnerable web application with Docker for web app pentesting purposes.
Full Transcript
[Music] hey guys hackersploit here back again with another video welcome back to the web app pen testing series in this video i'm going to be taking you through the process of setting up oaspbwap uh this is going to be one just one of the uh web applications that we are going to be using uh during the web app pen testing series for a few reasons number one i really like it i like the fact that it allows you to sort between various security levels uh as well as various vulnerabilities so you have the ability to specify uh you know a specific vulnerability that you'd like to learn about and your it also gives you the ability to test it and see how that vulnerability works and how it can be exploited so we're only going to be using it for a few sections but again uh in terms of the setup it can be quite confusing why is it confusing because it's developed in php right and it needs to run on a lamp stack or you know in the case of windows a wamp stack so that means you need to have linux apache mysql php uh the reason you need a database is primarily because it has authentication so you know and that also ties into the vulnerabilities uh around all that are that correspond to authentication so again getting it set up um you know as a beginner can be quite difficult which is why i've created a few uh you know docker images or really just one docker image uh that will allow you to get it up set up immediately right so if you're not familiar with bwap uh b web or also known as buggy web application is a free and open source deliberately uh insecure web application and it helps security enthusiasts developers and students to discover and to prevent web vulnerabilities right and again the the reason i like it is primarily because it has you know a ton of vulnerabilities as it says here and it covers all major known bugs including all the risks from the os top 10 project now it's very important to note that this uh the latest release of bwap was quite a few years ago so it's not up to date on the os top 10 in regards to the most important vulnerabilities uh but it contains pretty much all of them even some of the new ones uh so again it's all up to you uh in regards to what you want to explore right now in terms of setting it up which is where a lot of people you know seem to uh you know seem to have issues uh you know as i said you need a lamp stack or a wamp stop a wamp stack if you're on windows and you need to install you know php apache mysql you then need to configure the database all of that stuff which can be quite difficult now on their web page if you click on download uh they'll provide you with the actual b web application this is the php web application that again you simply just need to you know put it on apache and you pretty much are good to go but it's the initial setup process that i really don't like i'm a man of efficiency uh that's what i like and hopefully you know i can help you out here so you also have the ability to download be box which is a vm that has b web um already configured and running on it and you can use that if you want but as i said this is using a very old version of ubuntu so again it's entirely up to you now what i'm what i've done is i've set up a github repository on my github profile so it's called bwap docker i just set it up a couple of minutes ago and it essentially uh is a you know a docker docker file that allows you to you know simplify this process so let's take a look at the repo here uh as the title suggests this is a simple docker image for the osb web application designed to teach and demonstrate various web app vulnerabilities right so why did i create it because installing and configuring php php web apps can be quite time consuming as you need to install various packages like php apache etc etc so this docker image or this docker file will eliminate or automate this tedious process and will provide you with a click and run solution that will essentially provide you with a b web instance in a few seconds and in regards to using it you can clone the repository and build your own image it just takes a couple of seconds it's a few hundred megabytes to build it uh the only dependencies or one of the you know images that i used from docker hub was the uh lamp stack right and of course that's uh that makes a lot of sense and you then have the actual view application stored in a folder called app right and i've not modified that the only thing i've modified is just the config file so config.inc as you know in regards to the database connection and all the database credentials so you can clone the repository modify it as you want and then build the image i've already highlighted how you can you know pull the docker image as well as how you can run uh you know you can run the image or the container for that matter so i've already set up or i already have the docker image pushed to docker hub so you can just you know docker pull hack exploit uh b web docker and in my case i already have it on my kali linux system so you know we're pretty much good to go so again why did i set this up well because setting up another vm is really not resource efficient and a lot of you guys have actually pointed that out it's much better if you can have everything running on one system even if that system is a vm this docker container will not consume any resources or it will consume resources as required and it's much better than running a you know vm or hosting a separate system to host the application itself so we can again you can just copy the docker pull command here and as i said i already have it on my kali system so i can say docker images for example there we are docker images you can see it's about 441 megabytes which i think is fair but the actual download size is probably one or two hundred megabytes uh because it obvious uh one of the great things with docker hub is it actually compresses it so that's uh awesome so again to run it we simply say docker run and we're running it in detached mode obviously because we don't really want access to the container we're exposing port 80 on the container itself and port 80 on our local host or on your kali linux system right so let me just specify that correctly so 8080 and then i specify you know the actual image itself so hackersploit uh b docker there are no tags because i'm not going to be updating this so i can just hit enter it's going to say you know it's around that container so i can say docker psa you can see it's running and every we don't have any errors there so i can open up my browser here and i'll say 127.001 i'll hit enter don't worry if it gives you an error telling you that there's an unknown database called bwap one of the final steps that you need to perform yourself after running the container initially is you need to navigate to install.php so you hit enter it's going to say click here to install bwap and that's it b web has been installed successfully i can now log in with the default b b web credentials which are b and bug so i can say b and bug and you can then specify the security level this is something that we'll be playing around with so i can just say login and you can see that it works out of the box and the great thing with having this in the form of a docker container is you know when you're done or when you're not using it i can say you know docker container stop and i can specify the name of the um the name of the container there let me just get rid of the previous command that i copied so docker container stop uh specify the container name right give that a couple of seconds and again i'm not deleting the container because i want it to persist right and i don't want to have to run it again and then install it so that's one of the great things with containers so i can say docker psa you can now see it's um it's actually in an exited state so that means uh you know you can shut down your kali vm or your parrot os system and when you know you can restart it when you're back you can just you know resume from where you left off so you know i can say docker contain start and i can paste in the container name and i don't have to go through the installation process again so i can just reload that there we are so you know i can then specify the bug or the vulnerability that i would like to learn more about or that i would like to exploit so for example we'll be exploring http cookies and sessions in the next video within this series so you know we can take a look at cookies we have the http only cookies are secure so on and so forth so i can click on that i can set the security maybe to medium or high wherever i want it click on hack and you know this is one of the great things i like about bwap is it gives you you know very good uh you know it actually highlights or demonstrates how a particular vulnerability can be exploited and also from the perspective of a web app developer it gives them an idea of what uh they could improve in terms of their own application so it actually helps you understand where you might find vulnerabilities or where attackers could find vulnerabilities within your php based web application uh right so as i said we'll be using this for a few sections that actually require it so again we could also you know touch upon http verb dampering which is something we explored in the previous video uh you know of this um of this uh web app and testing series so again you can see it tells you you know essentially please change your password uh you know b and you know you can specify a new password and then intercept it with a proxy and see what's going on you guys get the idea right so that is how to set it up as i said the links to all of these to the github repository and the actual um docker hub page or repository will be in the description section i will probably be creating uh images for the other vulnerable web apps that we'll be using as i said we're starting off with this series you know in order to understand uh web you know web applications uh furthermore we're also getting an idea of how web applications can be exploited by exploring various vulnerabilities once we've got a grip once we complete once we're actually done with with this particular series we'll then move on to bug bounties right where we'll be taking a look at you know public programs and i'll also be sharing some of the uh the bug bounties that uh that i've actually you know the bounties that i've been able to get over the last couple of years and i'll try and replicate them to actually you know teach you a few things here and there so uh with that being said that's going to be it for this video if you have any questions suggestions leave them in the comment section if you know if you'd like to reach out to me you can do so via my twitter or via the discord server the the links to both of those are in the description section and i'll be seeing you in the next video a huge thank you to all of our patreons uh your support is greatly appreciated and this is a formal thank you so thank you shamir douglas ryan carr sandor michael busby sits up doozy defean barry dustin empress and michael hubbard your support is greatly appreciated and you keep us making even more high quality content for you guys so thank you [Music]
Original Description
Welcome to the all-new, revamped Web App Pentesting course, in this video, I demonstrate the process of deploying OWASP bWAPP vulnerable web application with Docker.
//LINKS
bWAPP-Docker Github Repo: https://github.com/AlexisAhmed/bWAPP-Docker
bWAPP-Docker Image: https://hub.docker.com/repository/docker/hackersploit/bwapp-docker
Get started with Intigriti: https://go.intigriti.com/hackersploit
//PLATFORMS
BLOG ►► https://bit.ly/3qjvSjK
FORUM ►► https://bit.ly/39r2kcY
ACADEMY ►► https://bit.ly/39CuORr
//SOCIAL NETWORKS
TWITTER ►► https://bit.ly/3sNKXfq
DISCORD ►► https://bit.ly/3hkIDsK
INSTAGRAM ►► https://bit.ly/3sP1Syh
LINKEDIN ►► https://bit.ly/360qwlN
PATREON ►► https://bit.ly/365iDLK
MERCHANDISE ►► https://bit.ly/3c2jDEn
//BOOKS
Privilege Escalation Techniques ►► https://amzn.to/3ylCl33
Docker Security Essentials (FREE) ►► https://bit.ly/3pDcFuA
//SUPPORT THE CHANNEL
NordVPN Affiliate Link (73% Off) ►► https://bit.ly/3DEPbu5
Get $100 In Free Linode Credit ►► https://bit.ly/3yagvix
//CYBERTALK PODCAST
Spotify ►► https://spoti.fi/3lP65jv
Apple Podcasts ►► https://apple.co/3GsIPQo
//WE VALUE YOUR FEEDBACK
We hope you enjoyed the video and found value in the content. We value your feedback, If you have any questions or suggestions feel free to post them in the comments section or contact us directly via our social platforms.
//THANK YOU!
Thanks for watching!
Благодарю за просмотр!
Kiitos katsomisesta
Danke fürs Zuschauen!
感谢您观看
Merci d'avoir regardé
Obrigado por assistir
دیکھنے کے لیے شکریہ
देखने के लिए धन्यवाद
Grazie per la visione
Gracias por ver
شكرا للمشاهدة
-----------------------------------------------------------------------------------
#Pentesting#Cybersecurity
Watch on YouTube ↗
(saves to browser)
Sign in to unlock AI tutor explanation · ⚡30
Playlist
Uploads from HackerSploit · HackerSploit · 0 of 60
← Previous
Next →
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
How To Install Kali Linux 2.0 On Virtual Box
HackerSploit
100 Subscriber Q&A! - How I Learned Ethical Hacking
HackerSploit
BlackArch Linux Review - Better Than Kali Linux?
HackerSploit
How to Access the Deep Web Safely | Deep Web Starter Guide 1.0
HackerSploit
Wireshark Tutorial for Beginners - Installation
HackerSploit
Wireshark Tutorial for Beginners - Overview of the environment
HackerSploit
Wireshark Tutorial for Beginners - Capture options
HackerSploit
Wireshark Tutorial for Beginners - Filters
HackerSploit
Complete Ethical Hacking Course - Become a Hacker Today - #1 Hacking Terminology
HackerSploit
Complete Ethical Hacking Course #2 - Installing Kali Linux
HackerSploit
Parrot OS 3.5 Review | The Best Kali Linux Alternative
HackerSploit
Nmap Tutorial For Beginners - 1 - What is Nmap?
HackerSploit
Katoolin | How To Install Pentesting Tools On Any Linux Distro
HackerSploit
Nmap Tutorial For Beginners - 2 - Advanced Scanning
HackerSploit
Nmap Tutorial For Beginners - 3 - Aggressive Scanning
HackerSploit
Zenmap Tutorial For Beginners
HackerSploit
How To Setup Proxychains In Kali Linux - #1 - Stay Anonymous
HackerSploit
How To Setup Proxychains In Kali Linux - #2 - Change Your IP
HackerSploit
How To Change Mac Address In Kali Linux | Macchanger
HackerSploit
How To Setup And Use anonsurf On Kali Linux | Stay Anonymous
HackerSploit
Ubuntu 17.04 "Zesty Zapus" Review - Bye Unity
HackerSploit
VPN And DNS For Beginners | Kali Linux
HackerSploit
Tails OS Installation And Review - Access The Deep Web/Dark Net
HackerSploit
Steganography Tutorial - Hide Messages In Images
HackerSploit
The Lazy Script - Kali Linux 2017.1 - Automate Penetration Testing!
HackerSploit
Best Linux Distributions For Penetration Testing
HackerSploit
Netcat Tutorial - The Swiss Army Knife Of Networking - Reverse Shell
HackerSploit
Gaining Access - Web Server Hacking - Metasploitable - #1
HackerSploit
Web Server Hacking - FTP Backdoor Command Execution With Metasploit - #2
HackerSploit
How To Install Kali Linux On VMware - Complete Guide 2018
HackerSploit
Q&A #1 - Best Cyber-security Certifications?
HackerSploit
Terminator - Kali Linux - Multiple Terminals
HackerSploit
Shodan Search Engine Tutorial - Access Routers,Servers,Webcams + Install CLI
HackerSploit
Q&A #2 - Mr Robot?
HackerSploit
Metasploit Community Web GUI - Installation And Overview
HackerSploit
Linux Expl0rer - Forensics Toolbox - Installation & Configuration
HackerSploit
QuasarRAT - The Best Windows RAT? - Remote Administration Tool for Windows
HackerSploit
Metasploit For Beginners - #1 - The Basics - Modules, Exploits & Payloads
HackerSploit
Metasploit For Beginners - #2 - Understanding Metasploit Modules
HackerSploit
Kali Linux Quick Tips - #1 - Adding a non-root user
HackerSploit
Metasploit For Beginners - #3 - Information Gathering - Auxiliary Scanners
HackerSploit
Spectre Meltdown Vulnerability - How To Check Your System
HackerSploit
Metasploit For Beginners - #4 - Basic Exploitation
HackerSploit
ARP Spoofing With arpspoof - MITM
HackerSploit
WordPress Vulnerability Scanning With WPScan
HackerSploit
Generating A PHP Backdoor with weevely
HackerSploit
Nikto Web Vulnerability Scanner - Web Penetration Testing - #1
HackerSploit
How To Install Kali Linux On Windows 10 - Windows Subsystem For Linux
HackerSploit
Stacer - System Optimizer And Monitoring Tool For Linux
HackerSploit
Kali Linux 2018.1 - Kernel Updates & Patches
HackerSploit
MITM With Ettercap - ARP Poisoning
HackerSploit
Password Cracking With John The Ripper - RAR/ZIP & Linux Passwords
HackerSploit
How To Detect Rootkits On Kali Linux - chkrootkit & rkhunter
HackerSploit
Channel Updates - How To Post Questions & Video Suggestions
HackerSploit
Web App Penetration Testing - #1 - Setting Up Burp Suite
HackerSploit
Web App Penetration Testing - #2 - Spidering & DVWA
HackerSploit
Cl0neMast3r - GitHub Repository Cloning Tool
HackerSploit
Kali Linux On Windows 10 Official - WSL - Installation & Configuration
HackerSploit
DoS/DDoS Protection - How To Enable ICMP, UDP & TCP Flood Filtering
HackerSploit
Web App Penetration Testing - #3 - Brute Force With Burp Suite
HackerSploit
More on: Tool Use & Function Calling
View skill →Related Reads
📰
📰
📰
📰
The Making of Stairwell’s Rebranding, One Step at a Time
Medium · Cybersecurity
Metasploitable 2 — Fast Enumeration to Root (King of the Hill Style)
Medium · Cybersecurity
file-guardian: Zero-Dependency File Security Scanner for Node.js
Dev.to · pyfile-toolkit
The More I Learn Cybersecurity, the Less Secure Everything Feels
Medium · Cybersecurity
🎓
Tutor Explanation
DeepCamp AI