Today we’re going to create your own Web Penetration Testing Lab in Kali Linux. Web applications have turned out to be the normal target for hackers. Hackers can influence generally basic vulnerabilities to access private data probably containing actually identifiable data.
While conventional firewalls and other system security controls are an imperative layer of any Information Security Program, they can’t protector alarm against a hefty portion of the assault vectors particular to web applications. It is basic for an association to guarantee that its web applications are not helpless to basic sorts of assault.
Best Practice proposes that associations should play out a web application test in standard security assessment keeping in mind the end goal to guarantee the security of its web applications.
Create Your Own Web Penetration Testing Lab in Kali Linux
For today’s post, I decided to share my very own lists of common vulnerable web applications to built our web penetration testing lab.
Mantra – Free and Open Source Browser based Security Framework, is a gathering of free and open source instruments incorporated into a web program.
OWASP Mantra is a rendition of Firefox devoted security innovation that coordinates a weapons store of instruments to do an entire review and investigate your applications on the web.
Mantra is a security structure that can be exceptionally useful in playing out all the five periods of assaults including surveillance, filtering and list, get to, heightening of benefits, keeping up get to , and backing tracks. Aside from this, it likewise contains an arrangement of devices focused for web engineers and code debuggers which makes it extremely helpful for both the hostile and cautious security related security assignments.
DVWA (Dam Vulnerable Web Application)
This vulnerable PHP/MySQL web application is one of the famous web applications used for or testing your skills in web penetration testing and your knowledge in manual SQL Injection, XSS, Blind SQL Injection, etc. DVWA is developed by Ryan Dewhurst a.k.a ethicalhack3r and is part of RandomStorm OpenSource project.
” Create Your Own Web Penetration Testing Lab in Kali Linux! “
Try below command to download DVWA
Unzip download file and copy dvwa folder into Computer → File system → var → www
Set permission of DVWA into 755 for this open Termianl and type
#chmod -R 755 /var/www/dvwa
Run Apache for this go to Application → kali linux → System Service → HTTP → apache2start
Run My SQL for this go to Application → kali linux → System Service → MySQL → mysql start
Now Create Database for dvwa
Open Terminal and type
#mysql -u root -p
#create database dvwa;
Configuration is done by opening the /var/www/dvwa/config/config.inc.php and add your mysql password.
Download latest version of Mutillidae
Unzip the latest version (the only folder in the ZIP file is the “mutillidae” folder)
#unzip -q LATEST-mutillidae-2.6.10.zip
Copy the latest version to /var/www
#cp -R mutillidae /var/www/
Now Create Database for mutillidae
Open Terminal and type
#mysql -u root -p
#create database mutillidae;
Configuration is done by opening the /var/www/mutillidae/classes/MySQLHandler.php and add your Mysql root password
Starting the project is done by browsing to http://localhost/mutillidae and clicking the Reset-DB button on the menu bar.
Browse to http://localhost/mutillidae
WebGoat is an OWASP project and a deliberately insecure J2EE web application designed to teach web application security lessons and concepts. What’s cool about this web application is that it lets users demonstrate their understanding of a security issue by exploiting a real vulnerability in the application in each lesson.
WebGoat is a platform independent environment. It utilizes Apache Tomcat and the JAVA development environment.
For installing JAVA, try below command
#apt-get install openjdk-6-jre
Unzip the WebGoat-OWASP_Standard-x.x.zip to your working directory
#p7zip -d WebGoat-OWASP_Standard-5.3_RC1.7z
Set JAVA_HOME to point to your JDK installation
#chmod +x webgoat.sh
Since the latest version runs on a privileged port, you will need to start/stop WebGoat as root.
#sh webgoat.sh start
#sh webgoat.sh stop
start your browser and browse to… http://localhost/webgoat/attack
Login in as: user = guest, password = guest
That’s it, make use the vulnerable systems and understand vulnerabilities.