<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:series="http://organizeseries.com/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Cryptogasm</title>
	
	<link>http://cryptogasm.com</link>
	<description>A blog about information security, privacy, and ethical hacking.</description>
	<lastBuildDate>Thu, 25 Apr 2013 07:23:42 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<feedburner:info uri="cryptogasm" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://cryptogasm.com/feed/" /><feedburner:emailServiceId>cryptogasm</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><feedburner:feedFlare href="http://add.my.yahoo.com/rss?url=http%3A%2F%2Fcryptogasm.com%2Ffeed%2F" src="http://us.i1.yimg.com/us.yimg.com/i/us/my/addtomyyahoo4.gif">Subscribe with My Yahoo!</feedburner:feedFlare><feedburner:feedFlare href="http://www.newsgator.com/ngs/subscriber/subext.aspx?url=http%3A%2F%2Fcryptogasm.com%2Ffeed%2F" src="http://www.newsgator.com/images/ngsub1.gif">Subscribe with NewsGator</feedburner:feedFlare><feedburner:feedFlare href="http://feeds.my.aol.com/add.jsp?url=http%3A%2F%2Fcryptogasm.com%2Ffeed%2F" src="http://o.aolcdn.com/favorites.my.aol.com/webmaster/ffclient/webroot/locale/en-US/images/myAOLButtonSmall.gif">Subscribe with My AOL</feedburner:feedFlare><feedburner:feedFlare href="http://www.bloglines.com/sub/http://cryptogasm.com/feed/" src="http://www.bloglines.com/images/sub_modern11.gif">Subscribe with Bloglines</feedburner:feedFlare><feedburner:feedFlare href="http://www.netvibes.com/subscribe.php?url=http%3A%2F%2Fcryptogasm.com%2Ffeed%2F" src="http://www.netvibes.com/img/add2netvibes.gif">Subscribe with Netvibes</feedburner:feedFlare><feedburner:feedFlare href="http://fusion.google.com/add?feedurl=http%3A%2F%2Fcryptogasm.com%2Ffeed%2F" src="http://buttons.googlesyndication.com/fusion/add.gif">Subscribe with Google</feedburner:feedFlare><feedburner:feedFlare href="http://www.pageflakes.com/subscribe.aspx?url=http%3A%2F%2Fcryptogasm.com%2Ffeed%2F" src="http://www.pageflakes.com/ImageFile.ashx?instanceId=Static_4&amp;fileName=ATP_blu_91x17.gif">Subscribe with Pageflakes</feedburner:feedFlare><feedburner:feedFlare href="http://www.plusmo.com/add?url=http%3A%2F%2Fcryptogasm.com%2Ffeed%2F" src="http://plusmo.com/res/graphics/fbplusmo.gif">Subscribe with Plusmo</feedburner:feedFlare><feedburner:feedFlare href="http://www.thefreedictionary.com/_/hp/AddRSS.aspx?http%3A%2F%2Fcryptogasm.com%2Ffeed%2F" src="http://img.tfd.com/hp/addToTheFreeDictionary.gif">Subscribe with The Free Dictionary</feedburner:feedFlare><feedburner:feedFlare href="http://www.bitty.com/manual/?contenttype=rssfeed&amp;contentvalue=http%3A%2F%2Fcryptogasm.com%2Ffeed%2F" src="http://www.bitty.com/img/bittychicklet_91x17.gif">Subscribe with Bitty Browser</feedburner:feedFlare><feedburner:feedFlare href="http://www.live.com/?add=http%3A%2F%2Fcryptogasm.com%2Ffeed%2F" src="http://tkfiles.storage.msn.com/x1piYkpqHC_35nIp1gLE68-wvzLZO8iXl_JMledmJQXP-XTBOLfmQv4zhj4MhcWEJh_GtoBIiAl1Mjh-ndp9k47If7hTaFno0mxW9_i3p_5qQw">Subscribe with Live.com</feedburner:feedFlare><feedburner:feedFlare href="http://mix.excite.eu/add?feedurl=http%3A%2F%2Fcryptogasm.com%2Ffeed%2F" src="http://image.excite.co.uk/mix/addtomix.gif">Subscribe with Excite MIX</feedburner:feedFlare><feedburner:feedFlare href="http://www.webwag.com/wwgthis.php?url=http%3A%2F%2Fcryptogasm.com%2Ffeed%2F" src="http://www.webwag.com/images/wwgthis.gif">Subscribe with Webwag</feedburner:feedFlare><feedburner:feedFlare href="http://www.podcastready.com/oneclick_bookmark.php?url=http%3A%2F%2Fcryptogasm.com%2Ffeed%2F" src="http://www.podcastready.com/images/podcastready_button.gif">Subscribe with Podcast Ready</feedburner:feedFlare><feedburner:feedFlare href="http://www.wikio.com/subscribe?url=http%3A%2F%2Fcryptogasm.com%2Ffeed%2F" src="http://www.wikio.com/shared/img/add2wikio.gif">Subscribe with Wikio</feedburner:feedFlare><feedburner:feedFlare href="http://www.dailyrotation.com/index.php?feed=http%3A%2F%2Fcryptogasm.com%2Ffeed%2F" src="http://www.dailyrotation.com/rss-dr2.gif">Subscribe with Daily Rotation</feedburner:feedFlare><item>
		<title>Basic Port Scanning with Nmap</title>
		<link>http://feedproxy.google.com/~r/cryptogasm/~3/sAwVVSKL6mo/</link>
		<comments>http://cryptogasm.com/2013/01/basic-port-scanning-with-nmap/#comments</comments>
		<pubDate>Tue, 15 Jan 2013 21:13:24 +0000</pubDate>
		<dc:creator>Adrian Hayter</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Penetration Testing]]></category>
		<category><![CDATA[Ethical Hacking]]></category>
		<category><![CDATA[Nmap]]></category>
		<category><![CDATA[Penetration Testing Tutorials]]></category>
		<category><![CDATA[Port Scanning]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://cryptogasm.com/?p=150</guid>
		<description><![CDATA[This entry is part 1 of 1 in the series Penetration Testing TutorialsAs promised back in November, here is the first of my penetration testing tutorials. This tutorial will deal with the basics of Nmap, the popular port scanning security tool. For this tutorial, you will need: Nmap A host (or hosts) that you own, [...]]]></description>
				<content:encoded><![CDATA[<div class="seriesmeta">This entry is part 1 of 1 in the series <a href="http://cryptogasm.com/series/penetration-testing-tutorials/" class="series-256" title="Penetration Testing Tutorials">Penetration Testing Tutorials</a></div><p>As promised <a href="http://cryptogasm.com/2012/11/a-change-of-direction/" target="_blank">back in November</a>, here is the first of my penetration testing tutorials. This tutorial will deal with the basics of Nmap, the popular port scanning security tool.</p>
<p>For this tutorial, you will need:</p>
<ul>
<li><a href="http://nmap.org/download.html" target="_blank">Nmap</a></li>
<li>A host (or hosts) that you own, or that you have permission to scan.</li>
</ul>
<p>The host can be your computer (just use 127.0.0.1 as the <a class="zem_slink" title="IP address" href="http://en.wikipedia.org/wiki/IP_address" target="_blank" rel="wikipedia nofollow">IP address</a>), or your home WiFi router (you can usually find the IP address of this in your network settings).</p>
<h4>Performing your First Scan</h4>
<p>The first thing we will do is run a default Nmap scan against an IP address. Enter the following command at your command prompt, or if you are using <span class="zem_slink">Zenmap</span> (the graphical front-end to Nmap), put the command in the &#8220;Command&#8221; box.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nmap</span> 192.168.1.1</pre></td></tr></table></div>

<p>Of course, replace 192.168.1.1 with the IP address you wish to scan (192.168.1.1 is the address of my home router). Then press enter. Nmap will start scanning the IP address you gave it, and should produce something like the following output:</p>
<div id="attachment_164" class="wp-caption aligncenter" style="width: 564px"><a href="http://cryptogasm.com/2013/01/basic-port-scanning-with-nmap/nmap-default-scan/" rel="attachment wp-att-164"><img class=" wp-image-164  " alt="Nmap Default Scan" src="http://cryptogasm.com/wp-content/uploads/2013/01/nmap-default-scan.png" width="554" height="389" /></a><p class="wp-caption-text">Nmap Default Scan</p></div>
<p>As you can see, Nmap has detected that the host is up, and that it has 6 ports open or filtered. The entire scan took 9.37 seconds. What did Nmap actually do though? To understand this better, re-run the scan but add the -vv flag to the command:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nmap</span> <span style="color: #660033;">-vv</span> 192.168.1.1</pre></td></tr></table></div>

<p><span id="more-150"></span>This will make the output more verbose, and should show you something like this:</p>
<div id="attachment_166" class="wp-caption aligncenter" style="width: 564px"><a href="http://cryptogasm.com/2013/01/basic-port-scanning-with-nmap/nmap-verbose-default-scan/" rel="attachment wp-att-166"><img class=" wp-image-166  " alt="Nmap Verbose Default Scan" src="http://cryptogasm.com/wp-content/uploads/2013/01/nmap-verbose-default-scan.png" width="554" height="446" /></a><p class="wp-caption-text">Nmap Verbose Default Scan</p></div>
<p>As you can see, the first Nmap does is perform a Ping Scan to see if the host is up or not. A Ping Scan consists of sending an ICMP &#8220;Echo Request&#8221; packet to the host, and waiting to see if an ICMP &#8220;<a class="zem_slink" title="Ping" href="http://en.wikipedia.org/wiki/Ping" target="_blank" rel="wikipedia nofollow">Echo Reply</a>&#8221; is received. If no reply is received, Nmap will attempt to make a <a class="zem_slink" title="Transmission Control Protocol" href="http://en.wikipedia.org/wiki/Transmission_Control_Protocol" target="_blank" rel="wikipedia nofollow">TCP connection</a> to port 80. If this does not result in a connection or an error (e.g. if port 80 is closed), Nmap assumes that the host is down. Note that if you are running Nmap as a privileged user (i.e. root or an Administrator account), the TCP connection attempt is replaced by sending a TCP ACK packet instead.</p>
<p>There may be hosts that are up but are configured to block ICMP packets and ignore connection attempts to closed ports. If this happens, Nmap will assume the host is down and will not continue to scan it. To prevent this behaviour, simply use the -Pn flag in your command:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nmap</span> <span style="color: #660033;">-Pn</span> <span style="color: #660033;">-vv</span> 192.168.1.1</pre></td></tr></table></div>

<p>Once the Ping Scan has completed, Nmap will attempt to do <a class="zem_slink" title="Domain Name System" href="http://en.wikipedia.org/wiki/Domain_Name_System" target="_blank" rel="wikipedia nofollow">DNS</a> resolution, by taking the IP address of the host and performing a <a class="zem_slink" title="Reverse DNS lookup" href="http://en.wikipedia.org/wiki/Reverse_DNS_lookup" target="_blank" rel="wikipedia nofollow">reverse DNS lookup</a> on it. If a domain name is found that matches the IP address of the host, Nmap will report it. The reverse DNS lookup can take some time, and when scanning a lot of hosts it is best to disable it. This can be done by using the -n flag in your command:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"> $ <span style="color: #c20cb9; font-weight: bold;">nmap</span> <span style="color: #660033;">-n</span> <span style="color: #660033;">-vv</span> 192.168.1.1</pre></td></tr></table></div>

<p>Finally, once the DNS resolution has finished, Nmap will perform a TCP Connect Scan on the 1000 most commonly used <a class="zem_slink" title="Port number" href="http://en.wikipedia.org/wiki/Port_number" target="_blank" rel="wikipedia nofollow">TCP ports</a>. For each port, Nmap will attempt a TCP connection and report back if a port is open. If Nmap is run as a privileged user, a TCP SYN scan is used instead.</p>
<h4>Service &amp; Version Enumeration</h4>
<p>So you&#8217;ve run a basic Nmap scan, and you&#8217;ve got a list of open ports on the host. At the moment, there isn&#8217;t much information you can get out of that list about what service is running on each port. To do it manually, you would have to connect to each open port and test different protocols until one works. Luckily for us, Nmap can enumerate services and their version numbers automatically. Just add the -sV flag to your command:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nmap</span> <span style="color: #660033;">-sV</span> 192.168.1.1</pre></td></tr></table></div>

<p>Depending on the host and the services, a version scan may take a while to complete. When it ends, you should see something like this:</p>
<div id="attachment_167" class="wp-caption aligncenter" style="width: 564px"><a href="http://cryptogasm.com/2013/01/basic-port-scanning-with-nmap/nmap-version-scan/" rel="attachment wp-att-167"><img class=" wp-image-167  " alt="Nmap Version Scan" src="http://cryptogasm.com/wp-content/uploads/2013/01/nmap-version-scan.png" width="554" height="389" /></a><p class="wp-caption-text">Nmap Version Scan</p></div>
<p>If Nmap cannot determine the service and version number of a particular port, it will mark it with a question mark and will often give you a &#8220;service fingerprint&#8221; which you can submit to the Nmap developers if you know what the service actually is. In the scan results above, I&#8217;ve removed these lines since they take up a lot of space, however one can see that the telnet service running on port 23 has given the router version details when Nmap connected to it.</p>
<p>When it comes to determining version numbers, Nmap will use built-in knowledge about different protocols to extract information. For instance, if Nmap suspects a port may be running a HTTP service, it will send HTTP requests and check for HTTP Response headers in the response packet. None of these methods are perfect, but Nmap seems to get the correct service and version number most of the time.</p>
<p>In a penetration test, knowing what services a host is running is very important when considering what exploits to use. The version number can also be a great help, as it will often tell you which exploits the service has been patched against.</p>
<h4>Operating System Detection</h4>
<p>Nmap can also be told to make an educated guess as to which Operating System the host is running. Nmap will analyze the packets it receives and perform numerous tests on them to try and narrow down the Operating System, including the version number, and in the case of Microsoft Windows, the service pack installed on the host. Operating System detection can be turned on by using the -O (capital &#8216;o&#8217;) flag in the command, but it does require a privileged user account to work:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nmap</span> <span style="color: #660033;">-O</span> 192.168.1.1</pre></td></tr></table></div>

<p>If the OS is detected, Nmap should produce a similar output to this:</p>
<div id="attachment_168" class="wp-caption aligncenter" style="width: 564px"><a href="http://cryptogasm.com/2013/01/basic-port-scanning-with-nmap/nmap-operating-system-detection/" rel="attachment wp-att-168"><img class=" wp-image-168  " alt="Nmap Operating System Detection" src="http://cryptogasm.com/wp-content/uploads/2013/01/nmap-operating-system-detection.png" width="554" height="389" /></a><p class="wp-caption-text">Nmap Operating System Detection</p></div>
<p>The Operating System detected was Linux 2.6.8 &#8211; 2.6.27, which is common for routers. From a penetration testing point of view, knowing the Operating System gives some distinct advantages when selecting exploits. For obvious reasons, a lot of exploits are often OS specific, so this kind of information will only save you time later on.</p>
<h4>Extras</h4>
<p>I&#8217;ve covered the basics of port scanning with Nmap, and now you should be able to go off and scan some hosts to see what kind of services you can discover. In this section, I will quickly go over a few extra features that will help you scan more effectively.</p>
<p><strong>Saving Output</strong></p>
<p>Nmap can output to a file instead of to the terminal. It comes with three main output types: normal, XML, and grepable. Normal output (use the -oN flag in your command) will save what you see in the terminal to a file, XML output (-oX ) will format the output as XML so it can be parsed or turned into HTML, and grepable (-oG ) will format the output so that it can easily be searched by the <em>grep</em> program. Alternatively, you can output to all three of these formats at once by issuing the -oA flag in your command:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nmap</span> <span style="color: #660033;">-oA</span> myScan 192.168.1.1</pre></td></tr></table></div>

<p><strong>Scanning Multiple Hosts</strong></p>
<p>If you want to scan more than one host, you can simply add the extra hosts to the end of the command. Alternatively, if you want to scan a range of IP addresses, or multiple ranges of IP addresses, you can use CIDR notation in the same way:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nmap</span> 192.168.1.1 192.168.1.2 192.168.1.3</pre></td></tr></table></div>

<p>The above command will scan three hosts (192.168.1.1, 192.168.1.2, and 192.168.1.3).</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nmap</span> 192.168.1.1<span style="color: #000000; font-weight: bold;">/</span><span style="color: #000000;">30</span></pre></td></tr></table></div>

<p>The above command will scan four hosts in the /30 address block (192.168.1.0, 192.168.1.1, 192.168.1.2, and 192.168.1.3).</p>
<p><strong>Custom Port Ranges</strong></p>
<p>By default, Nmap will perform a TCP scan on the 1000 most common TCP ports. If you want to scan the 100 most common TCP ports, you can use the &#8211;top-ports flag:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nmap</span> <span style="color: #660033;">--top-ports</span> <span style="color: #000000;">100</span> 192.168.1.1</pre></td></tr></table></div>

<p>Alternatively, if you want to scan specific ports, or specific ranges of ports, you should use the -p &lt;port(s)&gt; flag:</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nmap</span> <span style="color: #660033;">-p</span> <span style="color: #000000;">22</span> 192.168.1.1
<span style="color: #c20cb9; font-weight: bold;">nmap</span> <span style="color: #660033;">-p</span> <span style="color: #000000;">1</span>-<span style="color: #000000;">100</span> 192.168.1.1
<span style="color: #c20cb9; font-weight: bold;">nmap</span> <span style="color: #660033;">-p</span> <span style="color: #000000;">22</span>,<span style="color: #000000;">23</span>,<span style="color: #000000;">50</span>-<span style="color: #000000;">70</span> 192.168.1.1</pre></td></tr></table></div>

<p>The first command above will only scan port 22, the second will scan ports 1 to 100 inclusive, and the third command will scan ports 22, 24, and 50 to 70 inclusive.</p>
<p><strong>UDP Scanning</strong></p>
<p>TCP is a very popular protocol, but some services use UDP. To perform a UDP scan, use the -sU flag in the command. Be aware that UDP scans often take longer to complete than TCP scans. You will also need to run the command as a privileged user in order for it to work.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nmap</span> <span style="color: #660033;">-sU</span> <span style="color: #000000;">22</span> 192.168.1.1</pre></td></tr></table></div>

<p>This will scan the 1000 most common UDP ports and report back on whether they are open or not. As with TCP, you can specify custom ports to scan too.</p>
<h4>Advanced Nmap Port Scanning</h4>
<p>I&#8217;ve touched on just a fraction of what Nmap can do, and I intend to write a tutorial later in the year that covers the more advanced features of Nmap, including the very powerful Nmap Scripting Engine. I&#8217;ll also share a number of techniques for speeding up host discovery scans, and how to gain a better control of Nmap&#8217;s multi-threaded nature.</p>
<p>Until then, I hope you&#8217;ve enjoyed the tutorial. Please feel free to ask questions in the comments, and I will get around to answering them when I can. If you think you&#8217;ve spotted a mistake in the tutorial (quite possible, I&#8217;m only human), then please don&#8217;t hesitate to point it out.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cryptogasm?a=sAwVVSKL6mo:4yOojXm6qn8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=sAwVVSKL6mo:4yOojXm6qn8:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=sAwVVSKL6mo:4yOojXm6qn8:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=sAwVVSKL6mo:4yOojXm6qn8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=sAwVVSKL6mo:4yOojXm6qn8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=sAwVVSKL6mo:4yOojXm6qn8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=sAwVVSKL6mo:4yOojXm6qn8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=sAwVVSKL6mo:4yOojXm6qn8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=sAwVVSKL6mo:4yOojXm6qn8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=sAwVVSKL6mo:4yOojXm6qn8:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=sAwVVSKL6mo:4yOojXm6qn8:oJfNmsVW6pA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=sAwVVSKL6mo:4yOojXm6qn8:oJfNmsVW6pA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cryptogasm/~4/sAwVVSKL6mo" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://cryptogasm.com/2013/01/basic-port-scanning-with-nmap/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<series:name><![CDATA[Penetration Testing Tutorials]]></series:name>
	<feedburner:origLink>http://cryptogasm.com/2013/01/basic-port-scanning-with-nmap/</feedburner:origLink></item>
		<item>
		<title>A Change of Direction (Penetration Testing Tutorials)</title>
		<link>http://feedproxy.google.com/~r/cryptogasm/~3/7J7kdFT6C5I/</link>
		<comments>http://cryptogasm.com/2012/11/a-change-of-direction/#comments</comments>
		<pubDate>Fri, 30 Nov 2012 17:17:58 +0000</pubDate>
		<dc:creator>Adrian Hayter</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[News & Blogs]]></category>
		<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Ethical Hacking]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[Information Security]]></category>
		<category><![CDATA[Penetration Testing]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://cryptogasm.com/?p=138</guid>
		<description><![CDATA[In case my readers haven&#8217;t noticed, I&#8217;ve changed the tagline of the blog from &#8220;A blog about Information Security, Cryptography, and Privacy&#8221; to &#8220;A blog about Information Security, Privacy, and Ethical Hacking&#8221;. If you don&#8217;t see it, try clearing your browser cache. The reason for this small change in direction is threefold: When I started [...]]]></description>
				<content:encoded><![CDATA[<p>In case my readers haven&#8217;t noticed, I&#8217;ve changed the tagline of the blog from &#8220;A blog about Information Security, Cryptography, and Privacy&#8221; to &#8220;A blog about Information Security, Privacy, and Ethical Hacking&#8221;. If you don&#8217;t see it, try clearing your browser cache.</p>
<p>The reason for this small change in direction is threefold:</p>
<ol>
<li>When I started this blog a couple of years ago, cryptography was one of my main interests. These days, whilst I still like reading up on advances in cryptography, I don&#8217;t find it as interesting as other aspects of information security.</li>
<li>Cryptography itself can be seen as a big part of &#8220;Information Security&#8221;, so it seemed pointless to effectively include it twice in the tagline.</li>
<li>I&#8217;ve worked as a penetration tester for almost 6 months now, so ethical hacking is now something I am focusing on and wanting to write about more.</li>
</ol>
<p>So I&#8217;m going to start a small series of simple but detailed tutorials on various skills required when penetration testing. They will range from basic usage of nmap/nessus/metasploit to the more advanced cracking of stolen hashes and attacking web applications. If people have suggestions for other tutorials, be sure to <a href="http://cryptogasm.com/contact/" target="_blank">contact me</a> and I&#8217;ll do my best to put one together.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cryptogasm?a=7J7kdFT6C5I:mYUY62u1YZI:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=7J7kdFT6C5I:mYUY62u1YZI:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=7J7kdFT6C5I:mYUY62u1YZI:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=7J7kdFT6C5I:mYUY62u1YZI:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=7J7kdFT6C5I:mYUY62u1YZI:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=7J7kdFT6C5I:mYUY62u1YZI:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=7J7kdFT6C5I:mYUY62u1YZI:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=7J7kdFT6C5I:mYUY62u1YZI:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=7J7kdFT6C5I:mYUY62u1YZI:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=7J7kdFT6C5I:mYUY62u1YZI:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=7J7kdFT6C5I:mYUY62u1YZI:oJfNmsVW6pA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=7J7kdFT6C5I:mYUY62u1YZI:oJfNmsVW6pA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cryptogasm/~4/7J7kdFT6C5I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://cryptogasm.com/2012/11/a-change-of-direction/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://cryptogasm.com/2012/11/a-change-of-direction/</feedburner:origLink></item>
		<item>
		<title>A Bit of Personal News</title>
		<link>http://feedproxy.google.com/~r/cryptogasm/~3/VkCsHt5QdY8/</link>
		<comments>http://cryptogasm.com/2012/11/a-bit-of-personal-news/#comments</comments>
		<pubDate>Wed, 28 Nov 2012 07:45:30 +0000</pubDate>
		<dc:creator>Adrian Hayter</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[News & Blogs]]></category>
		<category><![CDATA[Fuzz Testing]]></category>
		<category><![CDATA[Information Security]]></category>
		<category><![CDATA[MSc]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[Royal Holloway]]></category>

		<guid isPermaLink="false">http://cryptogasm.com/?p=137</guid>
		<description><![CDATA[I will shortly be getting back to more regular blogging on security issues, but I thought I would inform the readers of my blog that recently I was awarded an MSc in Information Security from Royal Holloway, University of London. I was working on it for the past two years, and am happy to announce [...]]]></description>
				<content:encoded><![CDATA[<p>I will shortly be getting back to more regular blogging on security issues, but I thought I would inform the readers of my blog that recently I was awarded an MSc in Information Security from Royal Holloway, University of London. I was working on it for the past two years, and am happy to announce that I received a &#8220;Pass with Distinction&#8221;, the highest grade possible.</p>
<p>Last night I was also informed that my MSc Project (on Fuzz testing Web Applications) received a <a href="http://searchsecurity.techtarget.co.uk/">SearchSecurity.co.UK</a> award for being of &#8220;outstanding quality&#8221;.</p>
<p>That&#8217;s all the personal news for now. I&#8217;ve been very busy at work over the past two months, so I have had less time to do personal projects like updating this blog.  As Christmas nears, I&#8217;ll have more time for these sorts of things. For now, thanks for reading!</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cryptogasm?a=VkCsHt5QdY8:_tDqmFnEivA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=VkCsHt5QdY8:_tDqmFnEivA:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=VkCsHt5QdY8:_tDqmFnEivA:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=VkCsHt5QdY8:_tDqmFnEivA:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=VkCsHt5QdY8:_tDqmFnEivA:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=VkCsHt5QdY8:_tDqmFnEivA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=VkCsHt5QdY8:_tDqmFnEivA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=VkCsHt5QdY8:_tDqmFnEivA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=VkCsHt5QdY8:_tDqmFnEivA:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=VkCsHt5QdY8:_tDqmFnEivA:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=VkCsHt5QdY8:_tDqmFnEivA:oJfNmsVW6pA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=VkCsHt5QdY8:_tDqmFnEivA:oJfNmsVW6pA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cryptogasm/~4/VkCsHt5QdY8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://cryptogasm.com/2012/11/a-bit-of-personal-news/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://cryptogasm.com/2012/11/a-bit-of-personal-news/</feedburner:origLink></item>
		<item>
		<title>Ten Tips For Securing Your Web Applications</title>
		<link>http://feedproxy.google.com/~r/cryptogasm/~3/KXjx8ebYjh0/</link>
		<comments>http://cryptogasm.com/2012/09/ten-tips-for-securing-your-web-applications/#comments</comments>
		<pubDate>Sun, 30 Sep 2012 22:49:44 +0000</pubDate>
		<dc:creator>Adrian Hayter</dc:creator>
				<category><![CDATA[Web Security]]></category>
		<category><![CDATA[Cross-site Request Forgery]]></category>
		<category><![CDATA[Cross-site Scripting]]></category>
		<category><![CDATA[HTTP Cookie]]></category>
		<category><![CDATA[HTTPS]]></category>
		<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[Privacy]]></category>
		<category><![CDATA[Web Applications]]></category>
		<category><![CDATA[Web Browser]]></category>

		<guid isPermaLink="false">http://cryptogasm.com/?p=44</guid>
		<description><![CDATA[Web applications are often notoriously insecure. With more of us migrating to web-based technologies, ridding the web of these insecurities becomes a top priority. Here are ten tips that should help you secure your web applications. 1. Send all confidential data over a secure connection. At the very least, send user credentials (i.e. username and [...]]]></description>
				<content:encoded><![CDATA[<p>Web applications are often notoriously insecure. With more of us migrating to web-based technologies, ridding the web of these insecurities becomes a top priority. Here are ten tips that should help you secure your web applications.</p>
<h5>1. Send all confidential data over a secure connection.</h5>
<p>At the very least, send user credentials (i.e. username and password) over HTTPS. At the very most, send all data over HTTPS, especially when your apps are dealing with large amounts of personal information. There are almost no excuses for not using HTTPS these days, especially when buying an SSL certificate is so cheap. Be aware that if you choose to only send credentials over HTTPS, your web application will be susceptible to <a class="zem_slink" title="Session hijacking" href="http://en.wikipedia.org/wiki/Session_hijacking" target="_blank" rel="wikipedia nofollow">session hijacking</a> attacks.</p>
<p>Never send any confidential data in an email, especially password confirmation emails. Email is not a secure method of communication, and it probably never will be (PGP is not widely used at all). When dealing with passwords, always let the user set their own, as opposed to generating it for them. That way, you do not need to send their password in an email since they already know what it is.</p>
<h5>2. Encrypt confidential data before storing it.</h5>
<p>If your web application stores credit card numbers of users or other confidential data, make sure that this data is encrypted in whatever storage medium you are using. If your web application needs to access this data, it should be copied and decrypted in memory, before discarding the copy. At no point should the unencrypted data be stored in some permanent location.</p>
<p>Additionally, the key(s) used for encryption / decryption should not be stored in the same location as the encrypted data. This is to minimize damage if the storage medium is compromised (for instance, if hackers gain access to a database containing encrypted data, the decryption key should not also be compromised).</p>
<h5>3. Salt and hash all passwords in the database.</h5>
<p>This is possibly one of the most important things a web application designer should implement in terms of user security, but <a href="http://www.bbc.co.uk/news/technology-18338956" target="_blank">again</a> and <a href="http://cryptogasm.com/2012/07/analysis-of-400000-stolen-yahoo-passwords/" target="_blank">again</a> we see large organizations and companies either ignoring or misunderstanding the importance of salting and hashing passwords.</p>
<p>There are <strong>absolutely</strong> no excuses for not salting and hashing passwords. Your web application should never be able to retrieve a user&#8217;s password, either for a comparison or for sending to the user in case they forget it. When the user first registers, their password should be concatenated with a salt (some unique random string of characters) and then hashed with a strong <a class="zem_slink" title="Hash function" href="http://en.wikipedia.org/wiki/Hash_function" target="_blank" rel="wikipedia nofollow">hashing algorithm</a> (SHA-256 for example). PHP has a built-in function called <a href="http://php.net/manual/en/function.crypt.php" target="_blank">crypt()</a> that supports numerous hashing methods.</p>
<p><span id="more-44"></span></p>
<h5>4. Any alterations that increase security should be opt-out or forced.</h5>
<p>Many web applications start off with a basic level of security, and then slowly add security as time goes on and the application becomes more popular (or, more often, in response to a security breach). Aside from the fact that this is a terrible way to approach application development, if it is done this way, any alterations to the application that increase security should be opt-out or forced upon the user.</p>
<p>To use a counter-example, Facebook originally worked over HTTP, with only the login being sent over HTTPS. This led to session hijacking attacks where a user on an insecure network could have their session cookie(s) stolen and used to gain access to their account. To fix this, Facebook allowed the entire site to be used over HTTPS, but had this option disabled by default. In short, they fixed the problem for those less likely to be affected by it anyway (the security conscious who don&#8217;t use insecure networks). Such an option should be forced upon users (as it does not impede on the way they use Facebook at all).</p>
<p>Generally speaking, if the increase in security has no effect on the usability of the application, or it fixes a critical security vulnerability, it should be forced on users with no option to opt-out. If the increase in security affects usability in some way which may annoy a large number of users, and the security issue it fixes is not considered high severity, there should be an opt-out for those users. Obvious exceptions to an opt-out would be features that require user setup (e.g. 2-step authentication).</p>
<h5>5. Any alterations that reduce privacy should be opt-in.</h5>
<p>A reduction in privacy happens if an alteration to the application makes some (user) information accessible to users who didn&#8217;t have access to it before, or if the application starts storing information that it wasn&#8217;t storing before. For example, if an email address on a user profile is usually hidden and an alteration is made to allow the user to display their email to other users, the email address should remain hidden until a user actively chooses to display it.</p>
<p>In the case of more information being stored than was before, it is perfectly acceptable to deny access to users who refuse to agree to this new storage feature (e.g. if a law is passed which requires your application to store IP addresses indefinitely). However, prior to the user agreeing to the change, the system should treat their information as it did before.</p>
<h5>6. Password resets should depend on a security question of the user&#8217;s choosing.</h5>
<p>If the user uses a &#8220;forgot my password&#8221; feature, the application should assume that the request is malicious and present the user with a security question (or questions) that they set up when their account was registered. Sending an email with a password reset link is not recommended, since the email account could already be compromised. Once the security questions are answered correctly, it is then acceptable to send a password reset link in an email.</p>
<p>Letting users themselves set the security questions on their accounts puts the security of their account in their own hands, and reduces the usage of pathetic security questions like &#8220;Mother&#8217;s maiden name?&#8221;.</p>
<h5>7. Persistent session cookies should have a short life, but be renewed often.</h5>
<p>Persistent session cookies (i.e. those that keep a user logged in between browser sessions) should expire after a short period of time. This reduces the likelihood of an attacker gaining a valid session cookie from an offline source and using it to hijack a user&#8217;s session.</p>
<p>In order to make cookies last longer without increasing the likelihood of such a session hijack, cookies should be renewed after a certain amount of time (thus extending the cookie expiration date). For example, a persistent session cookie is initially set to expire 2 weeks from when it was created, but it is renewed for another 2 weeks if the user uses the application when the cookie has less than one week until its expiry date.</p>
<h5>8. Protect cookies from JavaScript using HttpOnly.</h5>
<p>Setting the HttpOnly flag on cookies (theoretically) prevents JavaScript from accessing cookies completely. This means that any <a class="zem_slink" title="Cross-site scripting" href="http://en.wikipedia.org/wiki/Cross-site_scripting" target="_blank" rel="wikipedia nofollow">Cross-site Scripting</a> (XSS) attacks will be severely limited, as they are often used to send cookies to a remote attacker. Even if you have protected against XSS attacks (see tip 9), the HttpOnly flag will protect your users against self-XSS attacks (where an attacker convinces the user to manually enter JavaScript and run it in their browser).</p>
<h5>9. Treat all data as malicious. Validate and sanitize input. Escape all output.</h5>
<p>If this list of tips could be reduced to just one item, it would be this one. User-entered data is something you have absolutely no control over, and it is the basis for almost every single attack on web applications. All data should be treated as malicious and handled as such.</p>
<p>Validate all user input against a whitelist of acceptable values (e.g. if an integer is expected, ensure that it does not have any non-numeric characters). Sanitize all input strings before sending them to a database by escaping characters like &#8216; and &#8221; (the PHP function <a href="http://php.net/manual/en/mysqli.real-escape-string.php" target="_blank">mysqli_real_escape_string()</a> does this for you). Using prepared statements or stored procedures instead of passing user input directly to an SQL statement will eliminate any SQL Injection vulnerabilities if they are used correctly.</p>
<p>Do not forget to validate lengths of inputs either. The HTML &#8220;maxlength&#8221; attribute can be easily ignored by an attacker, so always do a length check when the input reaches the application server.</p>
<p>When outputting user-submitted content to a web page, know exactly where it is going in the page and escape it accordingly. Escaping content intended to be placed inside HTML tags is completely different to escaping content intended to be placed inside JavaScript code.</p>
<h5>10. Generate unique hard-to-guess tokens to be used with requests that alter values.</h5>
<p>Cross-site Request Forgery (CSRF) is a potentially devastating attack that only requires a user to visit the attacker&#8217;s website. It affects most web applications simply because developers do not consider the trust that browsers have in their users. Unfortunately, CSRF is complicated to defend against, but such defences should be implemented if your application is to be judged as secure.</p>
<p>For each request that alters a value (ranging from changing a user email address to actively logging the user out), a unique and hard-to-guess token should be pre-generated and submitted with the request. Upon receipt of the request, the application should check the token to ensure it is valid before the alteration is allowed.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cryptogasm?a=KXjx8ebYjh0:1Y7Hs5MKEq4:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=KXjx8ebYjh0:1Y7Hs5MKEq4:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=KXjx8ebYjh0:1Y7Hs5MKEq4:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=KXjx8ebYjh0:1Y7Hs5MKEq4:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=KXjx8ebYjh0:1Y7Hs5MKEq4:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=KXjx8ebYjh0:1Y7Hs5MKEq4:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=KXjx8ebYjh0:1Y7Hs5MKEq4:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=KXjx8ebYjh0:1Y7Hs5MKEq4:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=KXjx8ebYjh0:1Y7Hs5MKEq4:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=KXjx8ebYjh0:1Y7Hs5MKEq4:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=KXjx8ebYjh0:1Y7Hs5MKEq4:oJfNmsVW6pA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=KXjx8ebYjh0:1Y7Hs5MKEq4:oJfNmsVW6pA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cryptogasm/~4/KXjx8ebYjh0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://cryptogasm.com/2012/09/ten-tips-for-securing-your-web-applications/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://cryptogasm.com/2012/09/ten-tips-for-securing-your-web-applications/</feedburner:origLink></item>
		<item>
		<title>Deep Web, Dark Web, Darknet, and Dark Internet</title>
		<link>http://feedproxy.google.com/~r/cryptogasm/~3/r47ia6lanC4/</link>
		<comments>http://cryptogasm.com/2012/08/deep-web-dark-web/#comments</comments>
		<pubDate>Sat, 04 Aug 2012 20:27:04 +0000</pubDate>
		<dc:creator>Adrian Hayter</dc:creator>
				<category><![CDATA[Education]]></category>
		<category><![CDATA[Network Security]]></category>
		<category><![CDATA[Dark Internet]]></category>
		<category><![CDATA[Dark Web]]></category>
		<category><![CDATA[Darknet]]></category>
		<category><![CDATA[Deep Web]]></category>
		<category><![CDATA[Definitions]]></category>
		<category><![CDATA[Glossary]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Search Engine]]></category>
		<category><![CDATA[Spider]]></category>
		<category><![CDATA[Tor]]></category>
		<category><![CDATA[Tor Network]]></category>

		<guid isPermaLink="false">http://cryptogasm.com/?p=98</guid>
		<description><![CDATA[The terms Deep Web, Dark Web, Darknet, and Dark Internet are ones I see confused and misused on a regular basis on the Internet and in the media. This is my attempt to rectify this confusion and misuse by explaining what each of these terms means and when you should use them. Deep Web The [...]]]></description>
				<content:encoded><![CDATA[<p>The terms <span class="zem_slink"><span class="zem_slink">Deep Web</span></span>, Dark Web, Darknet, and <span class="zem_slink">Dark Internet</span> are ones I see confused and misused on a regular basis on the Internet and in the media. This is my attempt to rectify this confusion and misuse by explaining what each of these terms means and when you should use them.</p>
<h3>Deep Web</h3>
<p>The <a href="http://en.wikipedia.org/wiki/Deep_Web" target="_blank">Deep Web</a> is quite simply any content on the Web which is not accessible to or indexed by standard search engine spiders. A <a class="zem_slink" title="Web crawler" href="http://en.wikipedia.org/wiki/Web_crawler" rel="wikipedia nofollow" target="_blank">search engine spider</a> will typically crawl a website by visiting it and then visiting all the pages it links to, which includes pages local to the site and pages on other sites. Whilst this gives the search engine a pretty good view of the web, it misses out on a lot of other resources for various reasons:</p>
<ul>
<li>Standard search engine spiders do not try to log into any websites, so any resources protected by a login are not accessible to it.</li>
<li>Content which explicitly denies access to search engine spiders (e.g. using a robots.txt file) is also left off the search engine index.</li>
<li>A web server may host a file or directory of files that isn&#8217;t linked to anywhere on the web. These files and directories would be missed by <a class="zem_slink" title="Web search engine" href="http://en.wikipedia.org/wiki/Web_search_engine" rel="wikipedia nofollow" target="_blank">search engines</a> as they would (most likely) be by humans too.</li>
<li>Content that requires input by a user to be generated (i.e. search results) may also be effectively invisible to search engine spiders.</li>
<li>Some websites may require a special browser configuration to gain access.</li>
</ul>
<p>You can think of the web as an ocean of content. Anything on the surface of this ocean is content that is being linked to openly. A search engine spider can only look at the content on the surface of the ocean, and any content in the deeper parts of the ocean (whether protected by a login, or just hidden from view) is inaccessible to it.</p>
<p>What it is important to remember is that the Deep Web has nothing <em>necessarily</em> to do with illegal activity, nor is it about being anonymous or hiding your identity. Most of us access the Deep Web on a regular basis, whenever we check web mail, or log in to a social networking site. If a search engine can&#8217;t see it, for whatever reason, it&#8217;s part of the Deep Web.</p>
<h3>Dark Web</h3>
<p>Conversely, the Dark Web does have numerous links to illegal activity and hiding one&#8217;s identity. It is a collection of websites that are only accessible over the <a class="zem_slink" title="Tor (anonymity network)" href="https://www.torproject.org/" rel="homepage nofollow" target="_blank">Tor network</a>, which hides your IP address and gives you complete anonymity. Not every website accessed over Tor is part of the Dark Web, since Tor allows you to browse anonymously on the regular web as well. However, the Tor network has a special pseudo-top-level domain suffix called &#8220;.onion&#8221; which is used to get to websites which host themselves over Tor, and are therefore only accessible via Tor.</p>
<p>Going to these websites without using a browser configured to use Tor is impossible, so the Dark Web is actually a subset of the Deep Web, and as such is not indexed by search engines. Whilst there are many websites on the Dark Web which do not promote illegal activity, there are plenty that do, including sites that sell drugs and weapons. A BBC report earlier this year highlighted the Dark Web <a href="http://www.bbc.co.uk/news/business-16801382" target="_blank">quite well</a>, and the hacktivist group Anonymous have <a href="http://www.huffingtonpost.com/2011/10/22/anonymous-hacks-lolita-city_n_1026327.html" target="_blank">attacked pedophilia-related websites</a> on the Dark Web before.</p>
<h3>Darknet</h3>
<p>Wikipedia asserts that a darknet is a &#8220;private, distributed <a class="zem_slink" title="File sharing" href="http://en.wikipedia.org/wiki/File_sharing" rel="wikipedia nofollow" target="_blank">P2P filesharing</a> network, where connections are either made only between trusted peers using non-standard protocols and ports or using onion routing.&#8221; Limiting the term to certain types of filesharing network is unhelpful in my opinion, and I see no reason a darknet cannot simply be any such network. This would make the onion routed part of the Tor network itself a darknet, and it is often called &#8220;The Darknet&#8221; (though there is more than one darknet, the onion routed part of the Tor network is still the most well known).</p>
<p>This too would make the Dark Web a part of the Darknet. However, it is important to point out that the Dark Web and the Darknet are not synonymous. Many other services can run on the Darknet, such as email, <a class="zem_slink" title="Internet Relay Chat" href="http://en.wikipedia.org/wiki/Internet_Relay_Chat" rel="wikipedia nofollow" target="_blank">IRC</a>, etc. The Dark Web is just one of these services, contributing a subset of traffic over the Darknet.</p>
<p>So a darknet (no capitalisation) is any network where connections are made only between trusted peers using non-standard protocols and ports or using onion routing. The Darknet (capitalised) is the onion routed part of the Tor network. This means that the Darknet is a darknet, in the same way as <a href="http://en.wikipedia.org/wiki/Internet_capitalization_conventions" target="_blank">the Internet is an internet</a>.</p>
<p>To make matters slightly more confusing, <a href="https://projectmeshnet.org/" target="_blank">Project Meshnet</a> used to be known as the &#8220;Darknet Plan&#8221;, though luckily the name was changed to more accurately reflect the nature of their project (and possibly to alleviate confusion).</p>
<h3><strong>Dark Internet</strong></h3>
<p>Finally, we end with a term which is completely unrelated to the three above, yet still manages to get confused with them. The <a href="http://en.wikipedia.org/wiki/Dark_Internet" target="_blank">Dark Internet</a> refers to the unreachable network hosts on the Internet. They could be unreachable because a machine is turned off, or a network cable is damaged, or even because routing tables have become corrupted somewhere. Nobody, not even regular Internet users, can reach them. The Dark Internet is constantly changing; machines get taken offline, and some get put back online, but whilst they are offline, they are part of the Dark Internet.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cryptogasm?a=r47ia6lanC4:GhHf-5ItcSo:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=r47ia6lanC4:GhHf-5ItcSo:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=r47ia6lanC4:GhHf-5ItcSo:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=r47ia6lanC4:GhHf-5ItcSo:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=r47ia6lanC4:GhHf-5ItcSo:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=r47ia6lanC4:GhHf-5ItcSo:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=r47ia6lanC4:GhHf-5ItcSo:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=r47ia6lanC4:GhHf-5ItcSo:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=r47ia6lanC4:GhHf-5ItcSo:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=r47ia6lanC4:GhHf-5ItcSo:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=r47ia6lanC4:GhHf-5ItcSo:oJfNmsVW6pA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=r47ia6lanC4:GhHf-5ItcSo:oJfNmsVW6pA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cryptogasm/~4/r47ia6lanC4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://cryptogasm.com/2012/08/deep-web-dark-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://cryptogasm.com/2012/08/deep-web-dark-web/</feedburner:origLink></item>
		<item>
		<title>Analysis of 400,000+ Stolen Yahoo! Passwords</title>
		<link>http://feedproxy.google.com/~r/cryptogasm/~3/xXk90f_ePW8/</link>
		<comments>http://cryptogasm.com/2012/07/analysis-of-400000-stolen-yahoo-passwords/#comments</comments>
		<pubDate>Fri, 13 Jul 2012 19:17:11 +0000</pubDate>
		<dc:creator>Adrian Hayter</dc:creator>
				<category><![CDATA[Attacks & Exploits]]></category>
		<category><![CDATA[Information Security]]></category>
		<category><![CDATA[Attacks]]></category>
		<category><![CDATA[Brute-force Attack]]></category>
		<category><![CDATA[Online Password Managers]]></category>
		<category><![CDATA[Passphrases]]></category>
		<category><![CDATA[Passwords]]></category>
		<category><![CDATA[Pipal]]></category>
		<category><![CDATA[SQL Injection]]></category>
		<category><![CDATA[Yahoo!]]></category>

		<guid isPermaLink="false">http://cryptogasm.com/?p=95</guid>
		<description><![CDATA[On 12th July 2012, more than 400,000 emails and passwords for Yahoo! Voices were stolen via an SQL injection and published online. The passwords were reportedly stored in plaintext, making this security breach even more serious. If you are a member of Yahoo! Voices, change your password immediately, and if you use the same password [...]]]></description>
				<content:encoded><![CDATA[<div class="wp-caption alignleft" style="width: 236px"><a href="http://www.crunchbase.com/company/yahoo" rel="nofollow" target="_blank"><img class="zemanta-img-inserted zemanta-img-configured" title="Image representing Yahoo! as depicted in Crunc..." src="http://www.crunchbase.com/assets/images/resized/0001/0836/10836v9-max-450x450.png" alt="Image representing Yahoo! as depicted in Crunc..." width="226" height="81" /></a><p class="wp-caption-text">Image via CrunchBase</p></div>
<p>On 12th July 2012, more than 400,000 emails and passwords for <a href="http://voices.yahoo.com/" target="_blank">Yahoo! Voices</a> were stolen via an <a class="zem_slink" title="SQL injection" href="http://en.wikipedia.org/wiki/SQL_injection" rel="wikipedia nofollow" target="_blank">SQL injection</a> and published online. The passwords were reportedly stored in plaintext, making this security breach even more serious. If you are a member of Yahoo! Voices, change your password immediately, and if you use the same password on other sites, make sure to change them as well.</p>
<p>I performed the following password analysis with the help of <a href="https://github.com/digininja/pipal" target="_blank">pipal</a>, a very popular and powerful password analyzing tool. The full pipal report is located <a href="http://cryptogasm.com/passwords/yahoo.txt" target="_blank">here</a>, with a longer report (showing the top 100 of each category) <a href="http://cryptogasm.com/passwords/yahoo-100.txt" target="_blank">here</a>.</p>
<h4>10 Most Popular Passwords</h4>

<div class="wp_syntax"><table><tr><td class="code"><pre class="text" style="font-family:monospace;">123456 = 1667 (0.38%)
password = 780 (0.18%)
welcome = 437 (0.1%)
ninja = 333 (0.08%)
abc123 = 250 (0.06%)
123456789 = 222 (0.05%)
12345678 = 208 (0.05%)
sunshine = 205 (0.05%)
princess = 202 (0.05%)
qwerty = 172 (0.04%)</pre></td></tr></table></div>

<p>Despite numerous warnings by security professionals, the most popular password is still &#8220;123456&#8243;, followed by &#8220;password&#8221; in second place. These are highly insecure passwords, not just because of their length or complexity (which is very low), but because they are at the top of most password lists that attackers use to try to compromise an account. Remember, brute-forcing a password is always a last-ditch attempt at gaining access to an account; a clever attacker will always try common passwords first, and if your password appears in a password list online, you should never use it!</p>
<p>The fact that these passwords were even allowed reveals substandard practices in Yahoo&#8217;s password policy. To boost security, a user should be required to have a password that contains both upper and lowercase letters, as well as numbers and symbols. For additional security, the chosen password should be rejected if it matches one found in common password lists.</p>
<h4><strong>Password Length</strong></h4>

<div class="wp_syntax"><table><tr><td class="code"><pre class="text" style="font-family:monospace;">8 = 119214 (26.92%)
6 = 79650 (17.99%)
9 = 66058 (14.92%)
7 = 65654 (14.83%)
10 = 54815 (12.38%)
12 = 21785 (4.92%)
11 = 21261 (4.8%)
5 = 5325 (1.2%)
4 = 2748 (0.62%)
13 = 2585 (0.58%)
14 = 1433 (0.32%)
15 = 773 (0.17%)
16 = 442 (0.1%)
3 = 303 (0.07%)
17 = 252 (0.06%)
20 = 169 (0.04%)
18 = 116 (0.03%)
1 = 116 (0.03%)
19 = 78 (0.02%)
2 = 67 (0.02%)
21 = 6 (0.0%)
22 = 4 (0.0%)
29 = 3 (0.0%)
30 = 2 (0.0%)
24 = 2 (0.0%)
28 = 2 (0.0%)</pre></td></tr></table></div>

<p>As you can see, most people are still using short passwords. Indeed, a whopping 61.66% of people are using a password that is 8 characters or shorter. If you include passwords with a length of 9 or 10, then the number jumps to 88.96%. When a <a class="zem_slink" title="Dictionary attack" href="http://en.wikipedia.org/wiki/Dictionary_attack" rel="wikipedia nofollow" target="_blank">dictionary attack</a> fails, the main thing stopping a <a class="zem_slink" title="Brute-force attack" href="http://en.wikipedia.org/wiki/Brute-force_attack" rel="wikipedia nofollow" target="_blank">brute-force</a> from succeeding in a specific amount of time is the length of the password. For each additional character a password has, the amount of time needed to brute-force it increases by a factor of 95 (assuming the brute-force is trying all types of character). Even if the password only contains lowercase letters, an additional letter will increase the time required by a factor of 26.</p>
<p>8 characters and longer is usually cited as the recommendation for password length, but with cracking speeds up due to improvements in processing power, that number should probably be closer to 12, if not more. Remember, a long complex password <a href="http://cryptogasm.com/2012/03/on-password-strength/" target="_blank">need not be hard to remember</a>.</p>
<h4>Complexity</h4>

<div class="wp_syntax"><table><tr><td class="code"><pre class="text" style="font-family:monospace;">Only lowercase alpha = 146512 (33.09%)</pre></td></tr></table></div>

<p>This small statistic shows a staggering lack of password complexity. Almost a third of passwords only contained lowercase letters, making the task of brute-forcing them much easier.</p>

<div class="wp_syntax"><table><tr><td class="code"><pre class="text" style="font-family:monospace;">loweralphanum: 224085 (50.6%)
loweralpha: 146512 (33.09%)
numeric: 26080 (5.89%)
mixedalphanum: 23233 (5.25%)
loweralphaspecialnum: 6053 (1.37%)
mixedalpha: 5122 (1.16%)
upperalphanum: 3416 (0.77%)
mixedalphaspecialnum: 3327 (0.75%)
loweralphaspecial: 2103 (0.47%)
upperalpha: 1776 (0.4%)
mixedalphaspecial: 489 (0.11%)
upperalphaspecialnum: 233 (0.05%)
specialnum: 189 (0.04%)
upperalphaspecial: 51 (0.01%)
special: 20 (0.0%)</pre></td></tr></table></div>

<p>As these additional statistics show, more than half the passwords only contained lowercase letters and numbers (the numbers only increase the brute-forcing attack by a factor of 10). Barely one percent of the passwords could be considered &#8220;complex&#8221;, containing upper and lowercase letters, numbers, and symbols.</p>
<h4>Conclusions</h4>
<p>Yahoo! is of course to blame for the passwords being accessible to hackers, as well as storing them in such an insecure way. Their password policy which apparently lets users choose single characters for a password is absurd, and a full investigation should be carried out to find out how on earth the users were left this vulnerable. There were some decent passwords in the list, and those were made completely useless through Yahoo&#8217;s ineptitude.</p>
<p>That said, it should be noted that regardless of Yahoo&#8217;s ineffective defences and security policies, a great deal of these user chosen passwords were highly insecure. It is up to the user to choose a decent password, rather than relying on a system which you should not really trust (as users, we do not know what security weaknesses a system has, or how it stores important data). It is best, therefore, to create a unique complex password (or passphrase) for each account you have online, and to use a <a href="http://news.yahoo.com/top-5-online-password-managers-163400927.html" target="_blank">good password manager</a> to help you keep track of them.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cryptogasm?a=xXk90f_ePW8:qsNHv_6nHa8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=xXk90f_ePW8:qsNHv_6nHa8:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=xXk90f_ePW8:qsNHv_6nHa8:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=xXk90f_ePW8:qsNHv_6nHa8:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=xXk90f_ePW8:qsNHv_6nHa8:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=xXk90f_ePW8:qsNHv_6nHa8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=xXk90f_ePW8:qsNHv_6nHa8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=xXk90f_ePW8:qsNHv_6nHa8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=xXk90f_ePW8:qsNHv_6nHa8:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=xXk90f_ePW8:qsNHv_6nHa8:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=xXk90f_ePW8:qsNHv_6nHa8:oJfNmsVW6pA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=xXk90f_ePW8:qsNHv_6nHa8:oJfNmsVW6pA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cryptogasm/~4/xXk90f_ePW8" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://cryptogasm.com/2012/07/analysis-of-400000-stolen-yahoo-passwords/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://cryptogasm.com/2012/07/analysis-of-400000-stolen-yahoo-passwords/</feedburner:origLink></item>
		<item>
		<title>Two New Security Articles for Yahoo!</title>
		<link>http://feedproxy.google.com/~r/cryptogasm/~3/pSc3NnY8xQc/</link>
		<comments>http://cryptogasm.com/2012/06/two-new-security-articles-for-yahoo/#comments</comments>
		<pubDate>Wed, 20 Jun 2012 08:17:31 +0000</pubDate>
		<dc:creator>Adrian Hayter</dc:creator>
				<category><![CDATA[Information Security]]></category>
		<category><![CDATA[News & Blogs]]></category>
		<category><![CDATA[Privacy]]></category>
		<category><![CDATA[Digital Footprint]]></category>
		<category><![CDATA[Online Password Managers]]></category>
		<category><![CDATA[Passphrases]]></category>
		<category><![CDATA[Passwords]]></category>
		<category><![CDATA[Search Engine]]></category>
		<category><![CDATA[Yahoo!]]></category>

		<guid isPermaLink="false">http://cryptogasm.com/?p=89</guid>
		<description><![CDATA[I&#8217;ve written and published two new security articles as part of the Yahoo! Contributor Network. The first is about reducing your digital footprint, which is something I&#8217;ve been interested in for a while now. If you aren&#8217;t careful, a lot of information about yourself can be found online. Some of it might be true, some of [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve written and published two new security articles as part of the <a class="zem_slink" title="Yahoo!" href="http://www.yahoo.com" rel="homepage nofollow" target="_blank">Yahoo!</a> Contributor Network. The first is about <a href="http://news.yahoo.com/reducing-digital-footprint-184900908.html" target="_blank">reducing your digital footprint</a>, which is something I&#8217;ve been interested in for a while now. If you aren&#8217;t careful, a lot of information about yourself can be found online. Some of it might be true, some of it might be false, but most of it you probably don&#8217;t want lingering in search engine results. My article will tell you how to best map your digital footprint, and then how to go about reducing it.</p>
<p>The second article is on the<a href="http://news.yahoo.com/top-5-online-password-managers-163400927.html" target="_blank"> top 5 online password managers</a>, something every sensible person on the Internet should have. With so many different websites, you can either have the same password (highly insecure) or generate a unique password for each. Online password managers mean you don&#8217;t have to remember all your passwords, though as I&#8217;ve <a href="http://cryptogasm.com/2012/03/on-password-strength/" target="_blank">pointed out before</a>, you can generate highly secure and easy to remember passphrases for the most secure sites you visit.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cryptogasm?a=pSc3NnY8xQc:7vOYzqM9f5M:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=pSc3NnY8xQc:7vOYzqM9f5M:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=pSc3NnY8xQc:7vOYzqM9f5M:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=pSc3NnY8xQc:7vOYzqM9f5M:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=pSc3NnY8xQc:7vOYzqM9f5M:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=pSc3NnY8xQc:7vOYzqM9f5M:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=pSc3NnY8xQc:7vOYzqM9f5M:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=pSc3NnY8xQc:7vOYzqM9f5M:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=pSc3NnY8xQc:7vOYzqM9f5M:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=pSc3NnY8xQc:7vOYzqM9f5M:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=pSc3NnY8xQc:7vOYzqM9f5M:oJfNmsVW6pA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=pSc3NnY8xQc:7vOYzqM9f5M:oJfNmsVW6pA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cryptogasm/~4/pSc3NnY8xQc" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://cryptogasm.com/2012/06/two-new-security-articles-for-yahoo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://cryptogasm.com/2012/06/two-new-security-articles-for-yahoo/</feedburner:origLink></item>
		<item>
		<title>New Job</title>
		<link>http://feedproxy.google.com/~r/cryptogasm/~3/5c-4cyd_s9c/</link>
		<comments>http://cryptogasm.com/2012/06/new-job/#comments</comments>
		<pubDate>Fri, 15 Jun 2012 19:19:20 +0000</pubDate>
		<dc:creator>Adrian Hayter</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Penetration Testing]]></category>
		<category><![CDATA[CNS]]></category>
		<category><![CDATA[Convergent Network Solutions]]></category>
		<category><![CDATA[Fuzz Testing]]></category>
		<category><![CDATA[Fuzzing]]></category>
		<category><![CDATA[London]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://cryptogasm.com/?p=87</guid>
		<description><![CDATA[I&#8217;ve been pretty absent from both blogging and tweeting recently as I left my job as a Security Researcher to do penetration testing for Convergent Network Solutions. This involved moving from Reading to London, which was great since I&#8217;ve always wanted to live there. Other than starting what I hope will be a long career as [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been pretty absent from both blogging and tweeting recently as I left my job as a Security Researcher to do penetration testing for <a href="http://cnsuk.co.uk/" target="_blank">Convergent Network Solutions</a>. This involved moving from Reading to London, which was great since I&#8217;ve always wanted to live there. Other than starting what I hope will be a long career as a Penetration Tester, I&#8217;ve also been working on my MSc, where I am developing a web application fuzz tester.</p>
<p>Of course, there are already a lot of fuzz testers out there, especially for web apps, so mine will be &#8220;special&#8221; in a number of ways. Firstly, it will be a command-line tool so that users can run it from machines without a display manager (always useful). Secondly, it will use an XML-based &#8220;scripting&#8221; language that I have developed, which will allow people not familiar with programming (QA teams for instance) to easily write tests in a structured way that they can understand. Finally, it will support multiple fuzzing methods including a simple list of values, incrementing numbers, and completely random data.</p>
<p>I hope to open source it at the end of development, and of course I&#8217;ll make any such announcements on this blog.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cryptogasm?a=5c-4cyd_s9c:28WnyLs-LAg:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=5c-4cyd_s9c:28WnyLs-LAg:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=5c-4cyd_s9c:28WnyLs-LAg:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=5c-4cyd_s9c:28WnyLs-LAg:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=5c-4cyd_s9c:28WnyLs-LAg:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=5c-4cyd_s9c:28WnyLs-LAg:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=5c-4cyd_s9c:28WnyLs-LAg:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=5c-4cyd_s9c:28WnyLs-LAg:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=5c-4cyd_s9c:28WnyLs-LAg:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=5c-4cyd_s9c:28WnyLs-LAg:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=5c-4cyd_s9c:28WnyLs-LAg:oJfNmsVW6pA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=5c-4cyd_s9c:28WnyLs-LAg:oJfNmsVW6pA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cryptogasm/~4/5c-4cyd_s9c" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://cryptogasm.com/2012/06/new-job/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://cryptogasm.com/2012/06/new-job/</feedburner:origLink></item>
		<item>
		<title>New Targeted Malware: Flame</title>
		<link>http://feedproxy.google.com/~r/cryptogasm/~3/qceIeg2DFns/</link>
		<comments>http://cryptogasm.com/2012/05/new-targeted-malware-flame/#comments</comments>
		<pubDate>Tue, 29 May 2012 12:32:22 +0000</pubDate>
		<dc:creator>Adrian Hayter</dc:creator>
				<category><![CDATA[Attacks & Exploits]]></category>
		<category><![CDATA[Education]]></category>
		<category><![CDATA[News & Blogs]]></category>
		<category><![CDATA[Attacks]]></category>
		<category><![CDATA[CrySyS Lab]]></category>
		<category><![CDATA[Duqu]]></category>
		<category><![CDATA[Flame]]></category>
		<category><![CDATA[Iran]]></category>
		<category><![CDATA[Kaspersky Lab]]></category>
		<category><![CDATA[Malware]]></category>
		<category><![CDATA[Stuxnet]]></category>
		<category><![CDATA[Targeted Attacks]]></category>

		<guid isPermaLink="false">http://cryptogasm.com/?p=86</guid>
		<description><![CDATA[Various organisations have revealed the existence of yet another piece of malware used for targeted attacks against a country&#8217;s infrastructure. Flame (also known as Flamer and sKyWIper), was discovered jointly by Kaspersky Lab, Iran&#8217;s MAHER Center, and CrySyS Lab of the Budapest University of Technology and Economics. The most visible difference between Flame and earlier pieces of targeted malware like Stuxnet and [...]]]></description>
				<content:encoded><![CDATA[<p>Various organisations have revealed the existence of yet another piece of malware used for targeted attacks against a country&#8217;s infrastructure. <a href="http://en.wikipedia.org/wiki/Flame_(malware)" target="_blank">Flame</a> (also known as Flamer and sKyWIper), was discovered jointly by <a href="http://www.kaspersky.com/" target="_blank">Kaspersky Lab</a>, Iran&#8217;s <a href="http://www.certcc.ir" target="_blank">MAHER Center</a>, and <a href="http://www.crysys.hu/" target="_blank">CrySyS Lab</a> of the Budapest University of Technology and Economics.</p>
<p>The most visible difference between Flame and earlier pieces of targeted malware like <a href="http://en.wikipedia.org/wiki/Stuxnet" target="_blank">Stuxnet</a> and <a href="http://en.wikipedia.org/wiki/Duqu" target="_blank">Duqu</a> is the size, expanding to 20 megabytes when fully installed (Stuxnet was only half a megabyte). CrySyS Lab, which discovered Duqu in 2011, have described Flame as &#8220;arguably&#8230; the most complex malware ever found.&#8221;</p>
<p>More information on Flame can be found below:</p>
<p><a href="http://www.certcc.ir/index.php?name=news&amp;file=article&amp;sid=1894" target="_blank">Identification of a New Targeted Cyber-Attack</a> - Iran National CERT (MAHER)</p>
<p><a href="http://www.securelist.com/en/blog/208193522/The_Flame_Questions_and_Answers" target="_blank">The Flame: Questions and Answers</a> &#8211; Kaspersky Lab</p>
<p><a href="http://www.crysys.hu/skywiper/skywiper.pdf" target="_blank">sKyWIper: A complex malware for targeted attacks</a> [PDF] &#8211; CrySyS Lab</p>
<p><a href="http://www.wired.com/threatlevel/2012/05/flame/" target="_blank">Meet &#8216;Flame&#8217;, The Massive Spy Malware Infiltrating Iranian Computers</a> &#8211; Threat Level (Wired)</p>
<p><a href="http://nakedsecurity.sophos.com/2012/05/28/flame-malware-cyber-attack/" target="_blank">Flame malware &#8211; more details of targeted cyber attack in Middle East</a> &#8211; Naked Security (Sophos)</p>
<p><a href="http://www.bbc.co.uk/news/technology-18238326" target="_blank">Flame: Massive cyber-attack discovered, researchers say</a> &#8211; BBC News</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cryptogasm?a=qceIeg2DFns:6qKnLiO4foQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=qceIeg2DFns:6qKnLiO4foQ:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=qceIeg2DFns:6qKnLiO4foQ:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=qceIeg2DFns:6qKnLiO4foQ:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=qceIeg2DFns:6qKnLiO4foQ:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=qceIeg2DFns:6qKnLiO4foQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=qceIeg2DFns:6qKnLiO4foQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=qceIeg2DFns:6qKnLiO4foQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=qceIeg2DFns:6qKnLiO4foQ:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=qceIeg2DFns:6qKnLiO4foQ:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=qceIeg2DFns:6qKnLiO4foQ:oJfNmsVW6pA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=qceIeg2DFns:6qKnLiO4foQ:oJfNmsVW6pA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cryptogasm/~4/qceIeg2DFns" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://cryptogasm.com/2012/05/new-targeted-malware-flame/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://cryptogasm.com/2012/05/new-targeted-malware-flame/</feedburner:origLink></item>
		<item>
		<title>How to Secure your Facebook Account</title>
		<link>http://feedproxy.google.com/~r/cryptogasm/~3/80FHrcR9rg0/</link>
		<comments>http://cryptogasm.com/2012/05/how-to-secure-your-facebook-account/#comments</comments>
		<pubDate>Fri, 25 May 2012 15:50:13 +0000</pubDate>
		<dc:creator>Adrian Hayter</dc:creator>
				<category><![CDATA[Information Security]]></category>
		<category><![CDATA[News & Blogs]]></category>
		<category><![CDATA[Facebook]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Yahoo!]]></category>

		<guid isPermaLink="false">http://cryptogasm.com/?p=84</guid>
		<description><![CDATA[A few months ago I joined the UK Yahoo! Contributor Network, which pays people to write specific articles that are then published on Yahoo! After a few assignments about movies and mobile technology, the editors were impressed enough to let me write on various security related topics. I&#8217;ve written three so far, the first of [...]]]></description>
				<content:encoded><![CDATA[<p>A few months ago I joined the <a href="http://uk.contributor.yahoo.com/user/1539482/adrian_hayter.html" target="_blank">UK Yahoo! Contributor Network</a>, which pays people to write specific articles that are then published on Yahoo! After a few assignments about movies and mobile technology, the editors were impressed enough to let me write on various security related topics.</p>
<p>I&#8217;ve written three so far, the first of which has just been approved and published, so please go read it and share it with friends:</p>
<p><a href="http://uk.news.yahoo.com/secure-facebook-account-141100715.html" target="_blank">How to secure your Facebook account</a></p>
<p>Unlike the rather technical and complex articles on this blog, my Yahoo! articles will apply to as many people as possible. If you&#8217;ve ever wondered about the security of your Facebook account, or have friends who need it drastically, this article should help you out.</p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/cryptogasm?a=80FHrcR9rg0:E4qMOujHr4s:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=80FHrcR9rg0:E4qMOujHr4s:-BTjWOF_DHI"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=80FHrcR9rg0:E4qMOujHr4s:-BTjWOF_DHI" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=80FHrcR9rg0:E4qMOujHr4s:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=80FHrcR9rg0:E4qMOujHr4s:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=80FHrcR9rg0:E4qMOujHr4s:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=80FHrcR9rg0:E4qMOujHr4s:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=80FHrcR9rg0:E4qMOujHr4s:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/cryptogasm?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=80FHrcR9rg0:E4qMOujHr4s:gIN9vFwOqvQ"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=80FHrcR9rg0:E4qMOujHr4s:gIN9vFwOqvQ" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/cryptogasm?a=80FHrcR9rg0:E4qMOujHr4s:oJfNmsVW6pA"><img src="http://feeds.feedburner.com/~ff/cryptogasm?i=80FHrcR9rg0:E4qMOujHr4s:oJfNmsVW6pA" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/cryptogasm/~4/80FHrcR9rg0" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://cryptogasm.com/2012/05/how-to-secure-your-facebook-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://cryptogasm.com/2012/05/how-to-secure-your-facebook-account/</feedburner:origLink></item>
	</channel>
</rss>
