Resources for Learning Web Application Security
I put together a list of resources for practicing and learning web security assessment techniques. The list is far from complete, but has a few resources that I have found useful for improving my web app assessment skills.
dojo security
http://sourceforge.net/
The MavenSecurity page has plenty of information on Dojo
Here is an excerpt from their page showing what is included in the VM:
Targets include:
webseclab http://www.webseclab.com/
Webseclab is without a doubt the best platform out there for learning recent web attacks; it covers client-side attacks and AJAX: an area many other practice tools miss. It is designed to be used in an instructor-led environment (Stanford U,) and since you can’t download a professor you will have to figure out what the lesson was on your own—the instructions are pretty sparse. Here are some of the topics covered:- Attacking authentication using JavaScript
- Several different attacks using XHR
- Using Firebug to bypass JavaScript input validation.
- Browser denial-of-service using JavaScript
- Attacking cross-origin resource sharing
- Cross frame leaking (IMHO a really neat attack.)
- Clickjacking.
- Attacking hidden and hashed (brute-force) values to bypass weak authorization schemes.
- Cross channel scripting.
- Cross site scripting
- Cross site request forgery
- SQL Injection
- Using the VM requires setting up an account on the webseclab internet site. Try the “test” class.
- You can’t run this in VMWare, use Oracle’s VirtualBox.
- Read the Cross Channel Scripting paper
- For XCS exercises Get root access to the VM (don’t know how? Maybe security isn’t for you.):
- enable anonymous login in /etc/vsftpd.conf
- Rotate Apache logs, re-enable logging in /etc/apache2/sites-enabled/000-default
- The last problem of session exercises requires you to delete the PHPSESSID cookie sent by the attacker web server—I think this is a bug, but it can be worked around.
- The version of FireBug included in the FireFox browser needs updating—setting breakpoints in it won’t work properly until you update (YMMV, this is my experience).
- You should read up on HTTP access control for cross-origin sharing, these are some major changes to the browser’s cross origin security restrictions.
- Read this ClickJacking paper.
- Blackhat 2010 paper that includes a chapter on Cross Frame Leaking.
- You really need to know the Document Object Model inside and out, and how JavaScript interacts with it; W3Schools is a really good reference.
dojo security
http://sourceforge.net/projects/websecuritydojo/
The MavenSecurity page has plenty of information on Dojo
Here is an excerpt from their page showing what is included in the VM:
Targets include:
- OWASP’s WebGoat
- Google’s Gruyere
- Damn Vulnerable Web App
- Hacme Casino
- OWASP InsecureWebApp
- w3af’s test website
- simple training targets by Maven Security (including REST and JSON)
- Burp Suite (free version)
- w3af
- sqlmap
- arachni *
- metasploit
- Zed Attack Proxy *
- OWASP Skavenger
- OWASP Dirbuster
- Paros
- Webscarab
- Ratproxy
- skipfish
- websecurify
- davtest
- J-Baah
- JBroFuzz
- Watobo *
- RATS
- helpful Firefox add-ons

