ethicalhack3r - Part 3

Latest posts

December 7th 2009

Open Source Web Application Scanner Poll Results

I started a poll last week on the 1st of December tittled ‘Open Source Web Application Vulnerability Scanners’. The aim of this poll was to gain feedback from as many people in the security community as possible to find out which was their preferred open source web application vulnerability scanner, what they preferred about it and what they would improve about their favorite scanner. The poll has run for almost 7 days. The poll link was posted on Twitter (via my Twitter account), on this blog and on www.ethicalhacker.net.


The total number of submissions was 32 however there were some anomalies in the data mainly due to my own fault. I had originally included Burp Suite, I had confused their free version with it being open source, it turns out this is not the case. I also had submissions from application developers, I did not state that I wouldn’t be counting their votes however I believe it fairer if we didn’t. After taking out the votes for Burp Suite (3 before removing the option), the submissions from application developers (2) and submissions for other commercial scanners (2), it left us with a total of 25 submissions.


The results:
favscanner

w3af: 11
Metasploit Framework: 8
Nikto: 4
Wikto: 1
WebSecurify: 1


improvew3af

Stability: 4
Less false positives: 3
More features: 2
Scan time: 1
Output: 1


improvemsf

More features: 2
Scan time: 2
Stability: 1
Output: 1
Configuration: 1
Make ’scenario’: 1


As you can see from the results w3af is the clear favorite open source web application vulnerability scanner of the people who made submissions with the Metasploit Framework coming a close second. Judging from some of the additional comments, I believe that some people were voting for the Metasploit Framework itself rather than the web application modules it includes. The two biggest improvements the community want in w3af is stability and less false positives.


Open Source Web Application Vulnerability Scanner links:
w3af – http://w3af.sourceforge.net/
Metasploit – http://www.metasploit.com/
Nikto – http://cirt.net/nikto2
Wikto – http://www.sensepost.com/research/wikto/
WebSecurify – http://www.websecurify.com/


Big thanks to everyone who took the time to take the poll.



December 1st 2009

Open Source Web Application Scanner Poll

I am trying to find out from the community which open source web application scanners they use and why. Please take the poll, once, and answer honestly. Thank you! ;)


http://spreadsheets.google.com/viewform?formkey=dFNpQmNfUWx4UEFicW0wQXlZTFQyV0E6MA



November 22nd 2009

rfc in your pocket

I wanted to start reading the RFC 2616 HTTP/1.1, because who knows more about how HTTP works than the inventors right?! The only problem was, is that I hate reading large documents from screens, I lose concentration after very little time and end up on Twitter or some other social networking site.


So I started looking for printed RFCs, someone must have put these in a book?! Well, it turns out that I couldn’t find any. I thought about printing the entire RFC from my university library (£0.10 a page) however RFC 2616 contains 176 pages (£17.60 total). I remembered that OWASP use lulu.com for printing their awesome books, so I decided to print my own RFC and make it into a book. After many hours of trying to fit the A4 RFC into a pocket-size (4.25″ x 6.88″) book, getting the font size right, aligning the page numbers and getting the formatting just right on all 176 pages, ‘rfc in your pocket’ was ready to upload! After lots of trial and error with reformatting and trying to get the whole thing to fit I decided to order one for myself.


DSC04535


I was really surprised with the quality of the finished product! It even fits in my pocket!


So now I figure why not sell it and let other people have their very own RFC in their pocket with out having to go through all the hassle I went through. It turns out that RFCs can be distributed etc, as long as you keep in the original copy-write notice intact. But I’m making money of other peoples work! That’s not very ethical.


Here’s how much the whole thing costs:

Manufacturing: £4.29

My Revenue: £0.57

Lulu’s Revenue: £0.14

Book selling price: £5


What I have decided to do is give 50% of my revenue per book sale to ihackcharities, that means that I earn £0.285 per book sale and so does ihackcharities. That way I get something for my hard work and the rest goes to a good cause.


You can buy the ‘RFC 2616 -HTTP/1.1′ rfc in your pocket book from here:

http://www.lulu.com/product/paperback/rfc-2616—http11/6007891


I plan to do more if this one sells enough and there is demand for other rfc’s in your pocket.



November 20th 2009

IE8 XSS Filter bypasses

When Microsoft launched their new Internet Explorer (IE) 8 browser in March of this year, it boasted a new security feature which filtered malicious scripting code to prevent reflected type 1 XSS attacks known as the ‘XSS Filter’.


Cesar Cerrudo, while IE8 was still in BETA found a way to bypass the filter by using a ‘2 stage XSS attack’:

A 2 stage XSS attack is when the user has to browse to a second URL after browing the initial URL for the XSS attack to take place, people may think that this attack is compliated and not reliable but it’s simple and very realiable and has almost the same success rate as 1 stage XSS attack since people want to get what they were looking when browsing to the first URL they will continue browsing most of the time.


Here is a screenshot from a test against DVWA using the 2 stage attack payload which he provides on his blog:


reflected_xss2


As you can see I was using the latest IE8 at the time on a fully patched Windows Vista box with the filter enabled:
IE8_XSS_Filter_EnabledFully_Patched_IE8windows_update


Here is another bypass using a different payload:
reflected_xss


Microsoft have taken a great step forward in actively protecting their customers against XSS attacks and I believe that in part they have, however the XSS Filter still has a lot of room for improvement. There are other known bypasses against the filter which can be found in the reference list below along with other sources of information.


References:
http://en.wikipedia.org/wiki/Internet_Explorer_8
http://blogs.msdn.com/ie/archive/2008/07/02/ie8-security-part-iv-the-xss-filter.aspx
http://nomoreroot.blogspot.com/2008/08/ie8-xss-filter.html
http://kuza55.blogspot.com/2008/09/ie8-xss-filter.html
http://www.80sec.com/ie8-security-alert.html



November 12th 2009

1 year on

Today is exactly one year on after posting my first post on the blog. I had a premature celebration (couldn’t hold the excitement) by changing the design as you have all probably noticed. I am still working on he re-design so there may still be some glitches here and there, bear with me.


I have come a long way since that first post and learnt a great deal. In 12 months I have created and managed DVWA to the success it is now with lots of help from the community. I have done talks, written articles and been a guest on some great podcasts. I completed my first year at university with the grade I set out to achieve and I am now half way through my second year still going strong.


All this I could not have achieved with out my friends, family and the online security community. The infosec community is always there to lend a hand and has opened up great opportunity’s for me. If you are an Ethical Hacking student or security professional and your not involved in the community, I cant stress enough how beneficial it is to contribute and learn from the amazing people that our out there. I would like to name names however there’s so many of you that have helped me I’m afraid I might miss some one out.


With out you the reader there would be no point in me keeping the blog updated with new posts, so please comment, give feedback and let me know what you would like to see more of. Also, don’t forget to subscribe! Blue box on the right. ;) –>


Again a big thank you to you all.