<?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/"
	xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Retina Technology Blog &#187; application security</title>
	<atom:link href="http://www.retina.net/tech/category/application-security/feed" rel="self" type="application/rss+xml" />
	<link>http://www.retina.net/tech</link>
	<description>John Adams' views on emerging technologies, software engineering, and various hacks</description>
	<lastBuildDate>Tue, 06 Jul 2010 02:34:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<!-- podcast_generator="podPress/8.8" -->
		<copyright>&#xA9;John Adams </copyright>
		<managingEditor>jna@retina.net (John Adams)</managingEditor>
		<webMaster>jna@retina.net(John Adams)</webMaster>
		<category></category>
		<ttl>1440</ttl>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>John Adams' views on emerging technologies, software engineering, and various hacks</itunes:summary>
		<itunes:author>John Adams</itunes:author>
		<itunes:category text="Technology"/>
<itunes:category text="Technology">
  <itunes:category text="Tech News"/>
</itunes:category>
		<itunes:owner>
			<itunes:name>John Adams</itunes:name>
			<itunes:email>jna@retina.net</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.retina.net/tech/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://www.retina.net/tech/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>Retina Technology Blog</title>
			<link>http://www.retina.net/tech</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Announcing mod_memcache_block</title>
		<link>http://www.retina.net/tech/announcing-mod_memcache_block.html</link>
		<comments>http://www.retina.net/tech/announcing-mod_memcache_block.html#comments</comments>
		<pubDate>Thu, 07 May 2009 20:29:00 +0000</pubDate>
		<dc:creator>John Adams</dc:creator>
				<category><![CDATA[application security]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[software engineering]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[HTTP]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.retina.net/tech/?p=216</guid>
		<description><![CDATA[I&#8217;m announcing the release of mod_memcache_block, a distributed IP blocking system for Apache, with rate limiting based on HTTP request code.
For many years I&#8217;ve had a need for a module like this &#8212; A distributed blocking system which could operate across large web serving clusters and register hits in a central store. With rate limiting, [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m announcing the release of mod_memcache_block, a distributed IP blocking system for Apache, with rate limiting based on HTTP request code.</p>
<p>For many years I&#8217;ve had a need for a module like this &#8212; A distributed blocking system which could operate across large web serving clusters and register hits in a central store. With rate limiting, incrementing counters on a single host is fairly useless when you have hundreds of servers behind a load balancer.</p>
<p>An attacker could hit many machines within the limit period before being detected, because there would be no central count. By keeping the counts in a memcache pool, all servers share the same data.</p>
<p>It won&#8217;t defend against attacks coming from random proxy addresses (say, Tor), and might unfairly count hundreds of users who live behind a single proxy (like corporate NAT), but it offers some protection against attacks coming from a single source IP.</p>
<p>The software is released under the Apache 2.0 Open Source License.</p>
<p>From the docs:</p>
<p>mod_memcache_block is an Apache module that allows you to block access to your servers using a block list stored in memcache. It also offers distributed rate limiting based on HTTP response code.</p>
<p><strong>FEATURES</strong></p>
<p>Distributed White and Black listing of IPs, ranges, and CIDR blocks<br />
Configurable timeouts, memcache server listings<br />
Support for continuous hasing using libmemcached’s Ketama<br />
Windowded Rate limiting based on Response code (to block brute-force dictionary attacks against .htpasswd, for example)</p>
<p><strong>REQUIREMENTS</strong></p>
<p>libmemcached-0.25 or better<br />
Memcached server<br />
Apache 2.x (tested with 2.2.11)</p>
<p><em>Source code is available here:</em><br />
<a href="http://github.com/netik/mod_memcache_block">http://github.com/netik/mod_memcache_block</a></p>
<p>If you would like to work on mod_memcache_block, contact me with your GitHub username and I&#8217;ll give you commit access on github.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.retina.net/tech/announcing-mod_memcache_block.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Finding usernames through iTunes DAAP</title>
		<link>http://www.retina.net/tech/finding-usernames-with-daap-and-itunes.html</link>
		<comments>http://www.retina.net/tech/finding-usernames-with-daap-and-itunes.html#comments</comments>
		<pubDate>Tue, 13 Jan 2009 22:20:00 +0000</pubDate>
		<dc:creator>John Adams</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[application security]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[systems administration]]></category>

		<guid isPermaLink="false">http://www.retina.net/tech/?p=194</guid>
		<description><![CDATA[Often on our local network, someone will start using up all of our outbound Internet bandwidth, and this leads to the network administrator&#8217;s dilemma: 
How do we find the user in question so we can thump them on the head to make them stop?
This is a basic exercise in information gathering. For the most part, [...]]]></description>
			<content:encoded><![CDATA[<p>Often on our local network, someone will start using up all of our outbound Internet bandwidth, and this leads to the network administrator&#8217;s dilemma: </p>
<p>How do we find the user in question so we can thump them on the head to make them stop?</p>
<p>This is a basic exercise in information gathering. For the most part, we&#8217;ll have the user&#8217;s IP address, and we&#8217;re a mac shop with many users running iTunes. If the user is sharing their library, you can use iTunes as a covert means of determining a user&#8217;s name, as iTunes will use the local computer&#8217;s name as the library name. </p>
<p>Telnet to the machines DAAP port, and issue:</p>
<pre>

John-adamss-macbook-pro:~ jna$ telnet x.x.x.x 3689
Trying x.x.x.x...
Connected to x.x.x.x.
Escape character is '^]'.
GET /server-info HTTP/1.1
Host: x.x.x.x
Client-DAAP-Version: 3.7
User-Agent: iTunes/8.0.2 (Macintosh; N; Intel)
Accept-Language: en-us, en;q=0.50

HTTP/1.1 200 OK
Date: Tue, 13 Jan 2009 21:26:38 GMT
DAAP-Server: iTunes/8.0.2 (Mac OS X)
Content-Type: application/x-dmap-tagged
Content-Length: 280

msrvmstt?mproaproaeSVaeFPatedmsedmsmlmsmOk?[minmUSER NAME’s LibrarymslrmstmsalmsasmsupmspimsexmsbrmsqymsixmsrsmsdcmstcImmsto???
</pre>
<p>Other options for this include attempting to sign on to the server with Apple-K if AFP on TCP port 548 is active (which will reveal the computer&#8217;s name) and using nmap with service detection to glean information about the host.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.retina.net/tech/finding-usernames-with-daap-and-itunes.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Defcon 16 Schedule in iCal Format</title>
		<link>http://www.retina.net/tech/defcon-16-schedule-in-ical-format.html</link>
		<comments>http://www.retina.net/tech/defcon-16-schedule-in-ical-format.html#comments</comments>
		<pubDate>Tue, 05 Aug 2008 00:53:30 +0000</pubDate>
		<dc:creator>John Adams</dc:creator>
				<category><![CDATA[application security]]></category>
		<category><![CDATA[conferences]]></category>
		<category><![CDATA[defcon]]></category>
		<category><![CDATA[ical]]></category>
		<category><![CDATA[schedule]]></category>

		<guid isPermaLink="false">http://www.retina.net/tech/?p=93</guid>
		<description><![CDATA[I&#8217;m heading to Defcon 16 on Thursday to talk to some fellow hackers, meet colleagues, and to hopefully, not lose my shirt in Vegas. I think I&#8217;ll be much too busy to gamble, really.
For a conference that is so technically minded, they didn&#8217;t post the conference schedule in a useful format (HTML only! ew!), so [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m heading to <a href="http://www.defcon.org">Defcon 16</a> on Thursday to talk to some fellow hackers, meet colleagues, and to hopefully, not lose my shirt in Vegas. I think I&#8217;ll be much too busy to gamble, really.</p>
<p>For a conference that is so technically minded, they didn&#8217;t post the conference schedule in a useful format (HTML only! ew!), so I converted the web pages to iCal format with quite a bit of scripting and cutting/pasting.</p>
<p>Just download the following zip, import it into iCal, and you should have a (fairly) complete conference schedule to carry with you on your iPod, iPhone, or any device that can read iCal/vCalendar formats.</p>
<p><a href="http://www.retina.net/tech/wp-content/uploads/2008/08/dc-16-logo.png"><img class="alignnone size-medium wp-image-96" title="dc-16-logo" src="http://www.retina.net/tech/wp-content/uploads/2008/08/dc-16-logo.png" alt="Defcon 16 Logo" /></a></p>
<p><a href="http://www.retina.net/tech/wp-content/uploads/2008/08/defcon16ical.jpg"><img class="alignnone size-medium wp-image-95" title="defcon16ical" src="http://www.retina.net/tech/wp-content/uploads/2008/08/defcon16ical.jpg" alt="Defcon iCal layout" /></a></p>
<p>This schedule includes everything except  the contest area and very-long descriptions of each event. I decided not to include the contest area because most events run all day, or most of the days. Since the rooms for each of the conference tracks haven&#8217;t been announced yet, there&#8217;s very little in the way of room locations in these files. Sorry, but you&#8217;ll have to figure it out when you get to the Riveria!</p>
<p>The events are broken out into the five tracks in five seperate files, and a seperate ics file for Defcon Social events and meetups. Unpack the zip, and import each file into iCal.</p>
<p><a href="http://www.retina.net/tech/wp-content/uploads/2008/08/defcon_16_ical.zip">Click here for the zipfile of .ics files</a></p>
<p>Once you;ve downloaded the zips, double click to unzip them, then import to iCal. If the system asks you what calendar to put events into, just click &#8216;New&#8217;, and our ICS files will fill in the rest.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.retina.net/tech/defcon-16-schedule-in-ical-format.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNS Patches released today for many platforms</title>
		<link>http://www.retina.net/tech/dns-patches-released-today.html</link>
		<comments>http://www.retina.net/tech/dns-patches-released-today.html#comments</comments>
		<pubDate>Tue, 08 Jul 2008 22:08:03 +0000</pubDate>
		<dc:creator>John Adams</dc:creator>
				<category><![CDATA[application security]]></category>
		<category><![CDATA[operations]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[systems administration]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[exploit]]></category>
		<category><![CDATA[secuonis]]></category>

		<guid isPermaLink="false">http://www.retina.net/tech/?p=67</guid>
		<description><![CDATA[If you&#8217;re responsible for DNS at your organization, I urge you to immediately download updates for your DNS servers and patch them, today. Dan Kaminsky and other members of the DNS community announce that they are releasing patches for an extremely serious cache resolver issue impacting many vendors of DNS software, including ISC BIND and [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re responsible for DNS at your organization, I urge you to immediately download updates for your DNS servers and patch them, <strong>today</strong>. Dan Kaminsky and other members of the DNS community announce that they are releasing patches for an extremely serious cache resolver issue impacting many vendors of DNS software, including ISC BIND and Microsoft DNS.</p>
<p>The CERT advisory is <a href="http://www.kb.cert.org/vuls/id/800113">here</a>.</p>
<p>A partial overview, from <a href="http://securosis.com/publications/DNS-Executive-Overview.pdf">the PDF</a> released by Secuonis&#8230;</p>
<p><em><br />
On July 8th, technology vendors from across the industry will simultaneously release  patches for their products to close a major vulnerability in the underpinnings of the Internet. While most home users will be automatically updated, it&#8217;s important for all businesses to immediately update their networks. This is the largest synchronized security update in the history of the Internet, and is the result of hard work and dedication across dozens of organizations. </p>
<p>Earlier this year, professional security research Dan Kaminsky discovered a major issue in how Internet addresses are managed (Domain Name System, or DNS). This issue was in the design of DNS and not limited to any single product. DNS is used by every computer on the Internet to know where to ﬁnd other computers. Using this issue, an attacker could easily take over portions of the Internet and redirect users to arbitrary, and malicious, locations. For example, an attacker could target an Internet Service Provider (ISP), replacing the entire web &#8212; all search engines, social networks, banks, and other sites &#8212; with their own malicious content. Against corporate environments, an attacker could disrupt or monitor operations by rerouting network trafﬁc trafﬁc, capturing emails and other sensitive business data. <br />
</em><br />
Exact details on this are being withheld for the safety of the Internet; I prefer full disclosure, but that doesn&#8217;t seem to be the case here given that the hole is so large and vulnerability so widespread. </p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.retina.net/tech/dns-patches-released-today.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>American National Corpus</title>
		<link>http://www.retina.net/tech/american-national-corpus.html</link>
		<comments>http://www.retina.net/tech/american-national-corpus.html#comments</comments>
		<pubDate>Fri, 11 Apr 2008 21:37:50 +0000</pubDate>
		<dc:creator>John Adams</dc:creator>
				<category><![CDATA[application security]]></category>
		<category><![CDATA[cryptography]]></category>
		<category><![CDATA[crypto]]></category>
		<category><![CDATA[dictionary attacks]]></category>
		<category><![CDATA[words]]></category>

		<guid isPermaLink="false">http://www.retina.net/tech/?p=45</guid>
		<description><![CDATA[Many Unix users are familiar with the system-wide english dictionary, known as /usr/dict/words. Nearly every word in /usr/dict/words has been registered by domain squatters, and most variants of the words are already in the brains of every automated password cracker on the planet. 
This wordlist is a source when performing research on frequency tables and [...]]]></description>
			<content:encoded><![CDATA[<p>Many Unix users are familiar with the system-wide english dictionary, known as /usr/dict/words. Nearly every word in /usr/dict/words has been registered by domain squatters, and most variants of the words are already in the brains of every automated password cracker on the planet. </p>
<p>This wordlist is a source when performing research on frequency tables and cryptanalysis for use in security, and for wonder</p>
<p>I&#8217;m unclear as to the origins of the dictionary (it possibly came from the spell or ispell utilities years ago), but I do know that it&#8217;s riddled with inaccuracies <a href="http://bugs.opensolaris.org/view_bug.do;jsessionid=9e7ec0f28038d47bc703ac62d3c3?bug_id=4628215">and basically, it would fail a spelling bee</a>. </p>
<p>Today I found two projects to create a better English wordlist, and I can only imagine what will happen when domain squatters find it. The plan is to have a list with a hundred million words, spoken, and written. </p>
<p>There&#8217;s the <a href="http://www.americannationalcorpus.org/SecondRelease/frequency2.html">American National Corpus</a>, and the <a href="http://www.natcorp.ox.ac.uk/">British National Corpus</a>. Both contain enough words to keep password cracking software and domain squatters busy for years. </p>
<p>At last count, the ANC held 18 million words. I guess they have a long way to go.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.retina.net/tech/american-national-corpus.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Site Insecurity</title>
		<link>http://www.retina.net/tech/site-insecurity.html</link>
		<comments>http://www.retina.net/tech/site-insecurity.html#comments</comments>
		<pubDate>Mon, 07 Jan 2008 21:32:23 +0000</pubDate>
		<dc:creator>John Adams</dc:creator>
				<category><![CDATA[application security]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[Cross Site Scripting]]></category>
		<category><![CDATA[XREF]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://www.retina.net/tech/site-insecurity.html</guid>
		<description><![CDATA[Over at Chris Shiflett&#8217;s blog (he&#8217;s the author of Essential PHP Security) he&#8217;s got a nice writeup on foiling cross-site scripting attacks on web sites.
While this is an older article ( from 2004 ), it still addresses many dangerous issues that developers continue to create in production code.
One of our developers here recently wrote a [...]]]></description>
			<content:encoded><![CDATA[<p>Over at Chris Shiflett&#8217;s blog (he&#8217;s the author of <a href="http://phpsecurity.org/">Essential PHP Security</a>) he&#8217;s got a <a href="http://shiflett.org/articles/foiling-cross-site-attacks" title="Foiling Cross Site Scripting Attacks">nice writeup</a> on foiling cross-site scripting attacks on web sites.</p>
<p>While this is an older article ( from 2004 ), it still addresses many dangerous issues that developers continue to create in production code.</p>
<p>One of our developers here recently wrote a fairly large scripting system to deliver advertising to customers that was vulnerable to at least four XSS attacks, and I spent a fair amount of time sanitizing input and securing her code.</p>
<p>Do you accept input from users? Are you ensuring that you strip_tags (to block XSS/XSRF), escaping strings (to block SQL injection) and sanitizing all user input before storing or displaying it? If not, you might be vulnerable.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.retina.net/tech/site-insecurity.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
