<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Security Advancements at the Monastery &#187; DVL</title>
	<atom:link href="http://blog.securitymonks.com/category/challenges/dvl/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.securitymonks.com</link>
	<description>Information about developments at the Monastery</description>
	<lastBuildDate>Fri, 03 Sep 2010 05:41:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Learning By Doing: Challenges, Data Sets, and Practice Sites</title>
		<link>http://blog.securitymonks.com/2009/08/23/learning-by-doing-hacker-challenges-and-practice-sites/</link>
		<comments>http://blog.securitymonks.com/2009/08/23/learning-by-doing-hacker-challenges-and-practice-sites/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 15:30:18 +0000</pubDate>
		<dc:creator>John Gerber</dc:creator>
				<category><![CDATA[Badstone]]></category>
		<category><![CDATA[Bright Shadows]]></category>
		<category><![CDATA[Challenges]]></category>
		<category><![CDATA[DVL]]></category>
		<category><![CDATA[DVWA]]></category>
		<category><![CDATA[Date Sets]]></category>
		<category><![CDATA[De-ICE]]></category>
		<category><![CDATA[Enigma]]></category>
		<category><![CDATA[Forensics]]></category>
		<category><![CDATA[HBH]]></category>
		<category><![CDATA[HTS]]></category>
		<category><![CDATA[Hackerdemia]]></category>
		<category><![CDATA[ISC]]></category>
		<category><![CDATA[Moth]]></category>
		<category><![CDATA[Mutillidae]]></category>
		<category><![CDATA[Network Warfare]]></category>
		<category><![CDATA[OWASP]]></category>
		<category><![CDATA[OpenPacket.org]]></category>
		<category><![CDATA[OverTheWire]]></category>
		<category><![CDATA[StS]]></category>
		<category><![CDATA[Vulnerability]]></category>
		<category><![CDATA[Wargames]]></category>
		<category><![CDATA[Web Application]]></category>
		<category><![CDATA[WebGoat]]></category>
		<category><![CDATA[pWnOS]]></category>
		<category><![CDATA[pcapr]]></category>
		<category><![CDATA[w3af]]></category>

		<guid isPermaLink="false">http://blog.securitymonks.com/?p=1320</guid>
		<description><![CDATA[Security training is very important for any organization. When developing a training program, do not forget about the security staff. I am all for sending people to SANS and other company&#8217;s security courses. Once your people come back, how will they practice what they have learned? Hopefully, everyday at work does not involve tracking inventive [...]]]></description>
			<content:encoded><![CDATA[<p><font color="white"><img src="http://blog.securitymonks.com/wp-content/uploads/2009/08/hacking_28.jpg" align="left" border="10" height="143" width="146" /></font>Security training is very important for any organization. When developing a training program, do not forget about the security staff. I am all for sending people to <a href="http://www.sans.org/">SANS</a> and other company&#8217;s security courses. Once your people come back, how will they practice what they have learned? Hopefully, everyday at work does not involve tracking inventive hackers through your network. Hands-on security is the best way to develop skills and stay sharp. This is where security challenges, practice sites, and examining attack data can be fun and of great benefit. It all provides an opportunity to test one&#8217;s knowledge along with the security tools used for discovering vulnerabilities and defending your organization.</p>
<h3>Challenges</h3>
<p><a href="http://jhamcorp.com/">Johnathan Ham</a> and Sherri Davidoff from SANS Internet Storm Center (ISC) and <a href="http://www.raulsiles.com/">Raul Siles</a> from <a href="http://www.inguardians.com/">InGuardians</a> have created two recent, still open, security challenges.  Sherri, co-author with Jonathan of the <a href="http://www.sans.org/training/description.php?mid=1227">SANS&#8217; Network Forensics course</a>, has posted &#8220;<a href="http://philosecurity.org/2009/08/14/network-forensics-puzzle-contest">Network Forensics Puzzle Contest!</a>&#8221; (8-14-2009). The most elegant solution wins a free SANS On-Demand class (worth up to $3500 depending on the course). Raul wrote a new hacking challenge on the Ethical Hacker Network site, titled &#8220;<a href="http://www.ethicalhacker.net/content/view/268/2/">Prison Break &#8211; Breaking, Entering &amp; Decoding</a>&#8221; (7-27-2009).  Three winners will be selected based on: the best technical answer, creativity (while also technically correct), and a random drawing. Winners will receive signed copies of Ed&#8217;s book, &#8220;Counter Hack Reloaded.&#8221;</p>
<p>
Ed Skoudis, of <strong></strong> <a target="_blank" href="http://www.amazon.com/exec/obidos/ASIN/0131481045/thedigitalcon-20?creative=327641&amp;camp=14573&amp;adid=0W0TMYWJ6BXR5RPTG9N8&amp;link_code=as1" class="undefined">Counter Hack Reloaded</a> fame along with various SAN&#8217;s hacking and penetration testing courses (see Ed in Virginia Beach teaching &#8220;<a href="https://www.sans.org/vabeach09/description.php?cid=5337">Network Penetration Testing: Planning, Scoping, and Recon</a>&#8221; August 30th &#8211; September 4th), is the host bringing monthly new challenges created and managed by the fine folks of InGuardians. The great thing about <a href="http://www.ethicalhacker.net/content/category/2/12/2/">past challenges</a> is that they allow you to try the problems and check your solutions immediately. Check out Ed&#8217;s <a href="http://www.counterhack.net/Counter_Hack/Challenges.html">Counter Hack Reloaded site</a> for a few additional, older challenges.
</p>
<p>
<font color="red">UPDATE:</font> For a challenge in the forensic&#8217;s realm, check out the <a href="https://blogs.sans.org/computer-forensics?s=FAT+trustedsignal&#038;searchsubmit=Find">series of posts</a> by <b>Dave Hull</b> (<a href="http://trustedsignal.com/">trustedsignal</a>) on the <a href="https://blogs.sans.org/computer-forensics">SANS Forensics Blog</a>.  This series discusses the FAT file system.  Dave provided the following description: &#8220;I&#8217;ve provided a copy of the disk image used during the series and have ended almost every post with a challenge question and have been giving away a forensics related title from the Syngress Publishing group. We&#8217;ve had a great time and the series is in the archives for anyone who wants to check it out.&#8221;  Dave is working on a series for NTFS, which he should start posting in the next few weeks.  The series is very informative and a great hands-on way to learn.
</p>
<h3>Data Sets</h3>
<p><a href="http://www.rumint.org/gregconti">Greg Conti</a>, author of <a href="http://nostarch.com/securityvisualization.htm">Security Data Visualization</a>, co-authored the paper, &#8220;<a href="http://www.usenix.org/events/cset09/tech/full_papers/sangster.pdf">Toward Instrumenting Network Warfare Competitions to Generate Labeled Datasets</a>.&#8221;  The paper was done for the <a href="http://www.usenix.org/event/cset09/tech">CSET &#8216;09</a> Worksop on Cyber Security Experimentation and Test. The authors demonstrates how the network warfare competitions can be instrumented to generate modern labeled data sets. They have made available the <a href="http://www.itoc.usma.edu/research/dataset/index.html">archived data capture and log files</a> from the <b>2009 Inter-Service Academy Cyber Defense Competition</b>. The annual competition pits the service academies, including West Point, against an actual National Security Agency Red Team. There is a great deal to be learned by examining this data. A <a href="http://datasetsfortheresearchcommunity.blogspot.com/">blog</a> has been setup to discuss the data.  They are hoping to do a few data captures of network warfare games, as well as, data captures of red-on-blue events at the US Military Academy at West Point.</p>
<p>
There are a few additional sites where you can obtain data captures.  JJC, from the &#8220;<a href="http://global-security.blogspot.com/2009/03/openpacketorg.html">Security &#8211; The Global Perspective</a>&#8221; blog, manages the <a href="https://www.openpacket.org/"><b>OpenPacket.org</b></a> site. The site&#8217;s mission is to &#8220;provide quality network traffic traces to researchers, analysts, and other members of the digital security community.&#8221;  The site <a href="http://www.pcapr.net"><b>pcapr</b></a>, powered by Mu Dynamics, calls itself a &#8220;social nOtworking site.&#8221; Go to the site to learn about networks and protocols from packet captures.
</p>
<p>
<font color="red">UPDATE:</font> The folks from pcapr wrote in and pointed out that they just made available the &#8220;<a href="http://www.pcapr.net/forensics">Collaborative Network Forensics</a>&#8221; area where they &#8220;took the recently published ITOC dataset and the CCTF captures from the Shmoo group, indexed them for real-time browsing and contextual search/extract.&#8221;  As they point out, &#8220;with over 15.0 GBytes and 26.3 million packets, this now represents the largest collection of indexed pcaps online.&#8221;  Really nice.
</p>
<p>
The VizSEC site maintains links to various <a href="http://www.vizsec.org/datasets">repositories of data sets</a>.  SourceForge, as part of the <a href="http://sourceforge.net/projects/networkminer/">NetworkMiner tool</a>, has links to <a href="http://sourceforge.net/apps/mediawiki/networkminer/index.php?title=Publicly_available_PCAP_files">publically available PCAP files</a>.  The wireshark site also has a few links and <a href="http://wiki.wireshark.org/SampleCaptures">sample PCAP files</a>.
</p>
<h3>Practicing</h3>
<p>Practice can be done by installing software, using disk images, or by going to sites/training grounds. Installing software will create a vulnerable site.  Make sure to do it onto a local machine inside your LAN which is used solely for testing.  For ISO images, make sure you set the VM to use the IP addresses that are only  available from the local host OS (NAT or Host-only). If you go to a site, take caution and remember the site could be hostile.  In other words, be properly paranoid. </p>
<h4><b>Software</b></h4>
<p>In my post &#8220;<a href="http://blog.securitymonks.com/2009/01/10/webgoat-lua-and-modsecurity-verses-password-guessing/" rel="bookmark" title="Permanent Link to WebGoat, Lua, and ModSecurity verses Password Guessing">WebGoat, Lua, and ModSecurity verses Password Guessing</a>,&#8221; I go through the steps of setting up <b>WebGoat</b>. <a href="http://www.owasp.org/index.php/Category:OWASP_WebGoat_Project">WebGoat</a> is a deliberately insecure J2EE web application maintained by OWASP and is intended to teach a structured approach to test and exploiting vulnerabilities within an application security assessment. WebGoat is written in Java and installs on any platform with a Java virtual machine. The <a href="http://yehg.org/">YGN Ethical Hacker Group</a> has made available a series of video on walking through WebGoat v5.2. There are currently over 30 lessons.</p>
<p>
<a href="http://www.ethicalhack3r.co.uk/damn-vulnerable-web-app/">Damn Vulnerable Web App</a> (<b>DVWA</b>) is a PHP/MySQL Web application that is light weight, easy to use and full of vulnerabilities to exploit. <a href="http://www.ethicalhack3r.co.uk">Ryan Dewhurst</a>, developer of DVWA, created a video <span class="description">showing the installation process</span>:
</p>
</p>
<div class="youtube-video"><object height="344" width="425"><param name="movie" value="http://www.youtube.com/v/GzIj07jt8rM&amp;hl=en&amp;fs=1&amp;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/GzIj07jt8rM&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="344" width="425"></embed></param></object></div>
<p>
If you prefer PHP scripts, <b>Mutillidae</b> is a set that implements the <a href="http://www.irongeek.com/i.php?page=security/mutillidae-deliberately-vulnerable-php-owasp-top-10">OWASP Top 10</a> vulnerabilities. Adrian Crenshaw posted the presentation he gave to the Louisville Chapter of  OWASP about the Mutillidae project titled &#8220;<a href="http://www.irongeek.com/i.php?page=videos/owasp-top-5-louisville">OWASP  Top 5 and Mutillidae: Intro to common web vulnerabilities like Cross Site  Scripting (XSS), SQL/Command Injection Flaws, Malicious File Execution/RFI,  Insecure Direct Object Reference and Cross Site Request Forgery (CSRF/XSRF)</a>.&#8221;
</p>
<p>
<object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=5238124&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=5238124&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object></p>
<p><a href="http://vimeo.com/5238124">Owasp Louisville 2nd Meeting</a> from <a href="http://vimeo.com/user729137">Adrian Crenshaw</a> on <a href="http://vimeo.com">Vimeo</a>.
</p>
<h4><b>ISO Disk Images</b></h4>
<p>On the ISO disk image side, there are few interesting options. <a href="http://www.badstore.net"><b>Badstore</b></a> demo helps in the understanding of Web application vulnerabilities and shows how to reduce exposure. </p>
<p>
For full scaled lesson based environment, there is the Linux-based distribution <a href="http://www.damnvulnerablelinux.org">Damn Vulnerable Linux</a> (<b>DVL</b>). <a href="http://geekybodhi.net/" target="_blank">Mayank Sharma</a> writes in the article &#8220;<a href="http://www.linux.com/archive/articles/60267" target="_blank">Securing Linux by breaking it with Damn Vulnerable Linux</a>:&#8221;</p>
<blockquote><p>&#8220;<a href="http://www.damnvulnerablelinux.org/" target="_blank">Damn Vulnerable Linux</a> (DVL) is everything a good Linux distribution isn&#8217;t. Its developers have spent hours stuffing it with broken, ill-configured, outdated, and exploitable software that makes it vulnerable to attacks. DVL isn&#8217;t built to run on your desktop &#8212; it&#8217;s a learning tool for security students.&#8221;&nbsp; &#8220;The one thing that sets DVL apart the most,&#8221; Josh Sweeney says, &#8220;is the focus on buffer overflows and disassembly.&#8221; Disassembly, he says, is often talked about in conjunction with buffer overflows and reverse engineering. &#8220;Disassembling is when someone breaks down a program into the assembly language for further analysis. By doing this, users can analyze code at a very low level and look for security issues. There have been many excellent papers on the subject over the years, but these generally don&#8217;t come with learning tools in a self-contained, easy-to-use environment.&#8221;</p></blockquote>
<p><a href="http://www.de-ice.net/">Thomas Wilhelm</a> is the author of &#8220;<a href="http://www.elsevier.com/wps/find/bookdescription.cws_home/718483/description#description">Professional Penetration Testing: Creating and Operating a Formal Hacking Lab</a>&#8221; and the creator of both the <a href="http://heorot.net/hackerdemia/"><b>Hackerdemia</b> project</a> and the <a href="http://de-ice.hackerdemia.com/doku.php"><b>De-ICE.net</b> Pentest LiveCDs</a> project.  Hackerdemia is a LiveCD that containing several vulnerabilities, including un-patched software, mis-configured services, default passwords and a few other surprises. Paul Asadoorian posted &#8220;<a href="http://blog.tenablesecurity.com/2009/03/scanning-vulnerable-linux-distributions-with-nessus.html">Scanning Vulnerable Linux Distributions With Nessus</a>&#8221; where he walks through using Nessus to determine the vulnerabilities within Hackerdemia.  The De-ICE.net Pentest LiveCDs are disk images that are fully-functioning server.  The Security Aegis site has an <a href="http://www.securityaegis.com/?page_id=339">interview with Thomas</a> where he discusses these projects along with the Heorot.net pentest video training and his recently published book.
</p>
<p>
One more Linux VM intentionally configured with exploitable services <a href="http://code.google.com/p/pwnos/"><b>pWnOS</b></a>. It was created by Brady Bloxham, a.ka bond00.  Below is a nice introduction video.
</p>
<p><div class="youtube-video"><object id="veohFlashPlayer" name="veohFlashPlayer" height="341" width="410"><param name="movie" value="http://www.veoh.com/static/swf/webplayer/WebPlayer.swf?version=AFrontend.5.4.2.23.1011&amp;permalinkId=v15119345SN6ax252&amp;player=videodetailsembedded&amp;videoAutoPlay=0&amp;id=anonymous"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"><embed src="http://www.veoh.com/static/swf/webplayer/WebPlayer.swf?version=AFrontend.5.4.2.23.1011&amp;permalinkId=v15119345SN6ax252&amp;player=videodetailsembedded&amp;videoAutoPlay=0&amp;id=anonymous" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" id="veohFlashPlayerEmbed" name="veohFlashPlayerEmbed" height="341" width="410"></embed></param></object></div>
</p>
<p>The Web Application Attack and Audit Framework (<b>w3af</b>) project has created a VMware image, called <a href="http://www.bonsai-sec.com/blog/index.php/moth-vulnerable-vmware-image"><b>Moth</b></a>, which is a set of vulnerable Web Applications and scripts.  The w3af core and it&#8217;s plugins are fully written in Python, has more than 130 plugins checking for SQL injection, cross site scripting (xss), local and remote file inclusion, etc.  What is really interesting about Moth is that it allows for testing of web application scanners and learning how web application firewalls work by providing a way access web applications and vulnerable scripts directly, through mod_security, and through PHP-IDS. </p>
<p>On the system side, <b>LAMPSecurity</b> has been creating a series of capture the flag exercise that uses a full Linux virtual machine that is vulnerable to remote root compromise due to a number of vulnerabilities.  The most recent exercise is <a href="http://lampsecurity.org/capture-the-flag-6">Capture the Flag 6</a> and was released 7/17/2009.  The documentation will take you through the steps of the exercise.  </p>
<h4><b>Training Ground</b></h4>
<p>The <b>Mighty Seek Podcast</b> did a <a href="http://www.mightyseek.com/category/podcasts/hands-on-series/" target="_blank">Hands On Series</a> and setup the <a href="http://hackme.ntobjectives.com">NTO Hackme</a> Test site, which includes the podcasts with the opportunity to test what is discussed out. Dan Kuykendall did two episodes: &#8220;<a href="http://www.mightyseek.com/podcasts/hands-on-series-sql-injection">Episode #01 &#8211; SQL Injection Part 1 [Intro]</a>&#8221; and &#8220;<a href="http://www.mightyseek.com/podcasts/hands-on-series-cross-site-scripting-xss-part-1">Episode #02 &#8211; Cross Site Scripting (XSS) Part 1 [Intro]</a>.&#8221;</p>
<p>
<a href="http://www.hackthissite.org">Hack This Site</a> (<b>HTS</b>) is a website to test and expand one&#8217;s hacking skills. You will need to register with the site to access the hacker challenges.&nbsp; There are various lessons and missions.&nbsp; User cwade12c has posted the several video tutorial covering missions. Below is &#8220;<a href="http://www.youtube.com/watch?v=iTnTzc23SRQ">Hack This Site &#8211; Basic 1 Tutorial</a>&#8221; to give you an feel for the simplest of challenges:
</p>
<p><div class="youtube-video"><object height="344" width="425"><param name="movie" value="http://www.youtube.com/v/iTnTzc23SRQ&amp;hl=en&amp;fs=1&amp;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"><embed src="http://www.youtube.com/v/iTnTzc23SRQ&amp;hl=en&amp;fs=1&amp;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" height="344" width="425"></embed></param></object></div>
</p>
<p>
<a href="http://www.hellboundhackers.org">HellBound Hackers</a> (<b>HBH</b>) is another site offering a large resource consisting of challenges, articles, forums, etc.  The LifeofaHacker site has published some challenge <a href="http://www.lifeofahacker.org/hbhandhtsguides.htm">tutorials/walkthrough guides</a> for both Hack This Site (HTS) and HBH.
</p>
<p>
<a href="http://www.enigmagroup.org"><b>Enigma Group</b></a> is similar to HTS and HBH in terms of tutorials, articles, and hacker challenges.  There are some education and humorous short tutorial videos.
</p>
<p>
<a href="http://www.bright-shadows.net/"><b>The Bright Shadows site</b></a> also offers challenges on JavaScript, cyptography, cracking, steganography, Flash, Java, various programming exploits, etc. Registration is required. The challenges get voted on by the members in terms of difficulty, creativity, education, and presentation.
</p>
<p>
<a href="http://www.smashthestack.org">Smash The Stack (<b>StS</b>) Wargaming Network</a> has a progression of challenges where each challenge is dependent on the completion of the previous challenge.  The challenges are *nix based.  To get started you ssh into one one of the wargame servers on port 2224 using password &#8220;level1&#8243;, at which point you receive a message letting you know how to get started.  The password for the next level will be located in different placed, depending on the game.  Questions can be asked on their forums area.  <a href="http://www.overthewire.org/wargames/"><b>OverTheWire</b></a> offer similar wargame challenges.
</p>
<h3>A Few Final Thoughts</h3>
<p>The above list represents a few source I have experience with.  Duncan Alderson  on his site Webantix has done a great job of listing war games/hacking simulators in his post, “<a href="http://www.webantix.net/hacking/war-games-current-and-past-hacking-simulators-and-challanges/">War Games. Current and past hacking simulators and challenges.</a> The <a href="http://neworder.box.sk/link.php?currentgrp=38667">New Order site</a> also has a much more comprehensive list.</p>
<p>
Just remember, it is good to be paranoid. Even HTS, with a user base of over 1,300,000 can still have problems with disgruntled and past employees. We are talking very skilled, intelligent, and disgruntle employees.  In the last major attack, root-level access to the website was gained and HTS was taken down for months.
</p>
<p>
It is a dangerous world.  That is exactly why skilled ethical hackers are needed.  One of my college professors would always say, &#8220;Repetition is the key to learning.&#8221;  He repeated it so many time, I finally learned that lesson.  The above links help provide a challenging way to practice and learn.  Give them a try and have some fun.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.securitymonks.com/2009/08/23/learning-by-doing-hacker-challenges-and-practice-sites/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
	</channel>
</rss>

