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

<channel>
	<title>K-Squared Ramblings &#187; forged</title>
	<atom:link href="http://www.hyperborea.org/journal/tag/forged/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hyperborea.org/journal</link>
	<description>Sci-fi, comics, humor, photos...it&#039;s all fair game.</description>
	<lastBuildDate>Sat, 04 Feb 2012 06:27:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>The Spammers, The!</title>
		<link>http://www.hyperborea.org/journal/2007/12/the-spammers-the/</link>
		<comments>http://www.hyperborea.org/journal/2007/12/the-spammers-the/#comments</comments>
		<pubDate>Fri, 14 Dec 2007 07:55:23 +0000</pubDate>
		<dc:creator>Kelson</dc:creator>
				<category><![CDATA[Spam]]></category>
		<category><![CDATA[Alternative Browser Alliance]]></category>
		<category><![CDATA[backscatter]]></category>
		<category><![CDATA[forged]]></category>
		<category><![CDATA[SPF]]></category>

		<guid isPermaLink="false">http://www.hyperborea.org/journal/archives/2007/12/13/the-spammers-the/</guid>
		<description><![CDATA[I recently noticed that the mail server was experiencing 4 times the typical number of SMTP connections. It didn&#8217;t seem to be under any stress, though, not as far as server load went. So I watched the log file trail, &#8230; <a href="http://www.hyperborea.org/journal/2007/12/the-spammers-the/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I recently noticed that the mail server was experiencing <strong>4 times the typical number of SMTP connections</strong>.  It didn&#8217;t seem to be under any stress, though, not as far as server load went.  So I watched the log file trail, and saw a bunch of messages coming in to nonexistent users with the pattern, FirstnameLastname@alternativebrowseralliance.com.</p>
<p>My first thought was that someone was running a dictionary attack against the domain, trying many different addresses to see which might be valid.  Then I noticed that they seemed to be coming from &lt;&gt; &#8212; in other words, they were bounce notices.</p>
<p>Great.  A <a href="http://en.wikipedia.org/wiki/Joe_job">Joe Job</a>.</p>
<p>I enabled a catch-all temporarily.  <strong>That <em>did</em> cause the server to slow down</strong>, as it was now actually <em>processing</em> the quadruple load instead of kicking back 3/4 of it with a &#8220;User unknown&#8221; error.  (I hadn&#8217;t thought to disable spam scanning on the domain first.)  In the <strong>30 seconds</strong> before I turned it off again, it picked up 25 non-delivery notices.  And those are just the ones that got past the spam filter.</p>
<p>As it turned out, they were just random junk.  Some spammer had picked the domain and was using it to forge random From: addresses, and we were getting the bounces.  In the old days they made up the whole address, but it&#8217;s easy to check whether a domain exists.  So now they pick some real domain and make up a fake address.  That&#8217;s harder to detect unless the domain in question uses some sort of verification system like <a href="http://www.openspf.org/">SPF</a> or <a href="http://dkim.org/">DKIM</a>.</p>
<p>So it wasn&#8217;t a Joe Job: no one was trying to besmirch the site&#8217;s reputation.  It still meant extra traffic to the mail server, though.</p>
<p>This problem is called <strong>backscatter</strong>, and it exists for two reasons:</p>
<ol>
<li>The sender address on an email message is easy to forge, like writing a fake address on an envelope.</li>
<li>Many mail systems will accept a message first, <em>then</em> process it.  If it then decides to reject it, it can&#8217;t respond to the <em>actual</em> sender, only to the one listed in the message&#8212;and in the case of spam, it&#8217;s usually forged (see #1).</li>
</ol>
<p>I don&#8217;t send any mail using the domain.  The only reason it even has mail pointed anywhere is so that I can receive mail sent to the webmaster for the <a href="http://www.alternativebrowseralliance.com/">Alternative Browser Alliance</a>.  I suppose I could set up a <tt>-all</tt> (no servers are authorized) SPF record, and hope some recipients decide not to send bounces.  But I&#8217;m not sure how much it would actually accomplish.</p>
<p>Anyway, the two lessons to take away from this are:</p>
<ul>
<li><strong>Reject messages to bad recipients</strong> in the initial SMTP transaction.  It&#8217;ll protect your server from backscatter (and dictionary attacks), because you won&#8217;t have to queue and process all the extra junk.</li>
<li><strong>Don&#8217;t generate bounce messages</strong> after the fact based on something as easily forged as the supposed sender.  Otherwise, you&#8217;ll be <strong>contributing</strong> to backscatter.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.hyperborea.org/journal/2007/12/the-spammers-the/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

