Web applications have become common targets for attackers. Attackers can leverage relatively simple vulnerabilities to gain access to confidential information most likely containing personally identifiable information.
While traditional firewalls and other network security controls are an important layer of any Information Security Program, they can’t defend or alert against many of the attack vectors specific to web applications. It is critical for an organisation to ensure that its web applications are not susceptible to common types of attack.
Best Practice suggests that an organisation should perform a web application test in addition to regular security assessments in order to ensure the security of its web applications.
In this article i will explain to you a lists of common vulnerable web applications to built your first web penetration testing lab in Kali Linux.
Read my previous article to know more about kali linux: An Introduction To Hacker’s OS: Kali Linux And Setup Tutorial.
OWSAP Mantra
Mantra – Free and Open Source Browser based Security Framework, is a collection of free and open source tools integrated into a web browser.
OWASP Mantra is a version of Firefox dedicated security technology that integrates an arsenal of tools to do a complete audit and debug your applications online.
Mantra is a security framework that can be very helpful in performing all the five phases of attacks including reconnaissance, scanning and enumeration, access, escalation of privileges, maintaining access , and backing tracks. Apart from this, it also contains a set of tools targeted for web developers and code debuggers which makes it very convenient for both the offensive and defensive security related security tasks.
Read my previous article to setup OWASP Mantra: How to install OWASP Mantra in kali linux
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.
Try below command to download DVWA
#wget -c http://kaz.dl.sourceforge.net/project/dvwa/DVWA-1.0.7.zip
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
#/etc/init.d/apache2 restart
Run My SQL for this go to Application → kali linux → System Service → MySQL → mysql start
Try below command to download DVWA
#wget -c http://kaz.dl.sourceforge.net/project/dvwa/DVWA-1.0.7.zip
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
#/etc/init.d/apache2 restart
Run My SQL for this go to Application → kali linux → System Service → MySQL → mysql start
#/etc/init.d/mysql start
Now Create Database for dvwa
Open Terminal and type
#mysql -u root -p
#create database dvwa;
#exit
You have successfully logged in.
NOWASP Multillide
Mutillidae – is a free and open source web application for website penetration testing and hacking which was developed by Adrian “Irongeek” Crenshaw and Jeremy “webpwnized” Druin. It is designed to be exploitable and vulnerable and ideal for practicing your Web Fu skills like SQL injection, cross site scripting, HTML injection, Javascript injection, clickjacking, local file inclusion, authentication bypass methods, remote code execution and many more based on OWASP (Open Web Application Security) Top 10 Web VulnerabiltiesDownload latest version of Mutillidae
#wget -c http://ncu.dl.sourceforge.net/project/mutillidae/mutillidae-project/LATEST-mutillidae-2.6.10.zip
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/
Open Terminal and type
#mysql -u root -p
#create database mutillidae;
#exit
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
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.#wget -c https://webgoat.googlecode.com/files/WebGoat-OWASP_Standard-5.3_RC1.7z
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
#cd WebGoat-5.3_RC1
Set JAVA_HOME to point to your JDK installation
#export JRE_HOME=/usr/lib/jvm/java-6-openjdk-amd64/bin/../
#export CATALINA_BASE=./tomcat
#export CATALINA_HOME=./tomcat
#export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64/bin/../
#chmod +x webgoat.sh
#p7zip -d WebGoat-OWASP_Standard-5.3_RC1.7z
#cd WebGoat-5.3_RC1
Set JAVA_HOME to point to your JDK installation
#export JRE_HOME=/usr/lib/jvm/java-6-openjdk-amd64/bin/../
#export CATALINA_BASE=./tomcat
#export CATALINA_HOME=./tomcat
#export JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64/bin/../
#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
Congratulations !, Now you are done creating your first web penetration testing lab.
That’s it, make use the vulnerable systems and understand vulnerabilities.
Recommended Articles To Become A Hacker:
How To Become A Hacker - Complete Guide For Beginners 2015
Understand The Hacker Mindset To Become A Real Hacker
Programming Languages For Hackers And Learn It From Most 6 Helpful Websites
Installing Hacker's OS Kali Linux In VMware (Beginners Guide With Screenshots)
Easy Steps to Create Web Penetration Testing Lab in Kali Linux
Introduction to using Metasploit in Kali Linux
An Introduction To Hacker’s OS: Kali Linux And Setup Tutorial.
Linux Powerful Distros For Hacking Or Security: Kali, Tails And Qubes
Become A Hacker: What Is Denial of Service (DoS) Attack?
No comments:
Post a Comment