<?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>aaron-kelley.net &#187; E-mail Security</title>
	<atom:link href="http://aaron-kelley.net/blog/tag/emailsecurity/feed/" rel="self" type="application/rss+xml" />
	<link>http://aaron-kelley.net</link>
	<description>My little corner of the Internet</description>
	<lastBuildDate>Fri, 18 May 2012 19:32:19 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Deployed Postini and still getting spam?  Spammers may be bypassing Postini altogether.</title>
		<link>http://aaron-kelley.net/blog/2010/02/deployed-postini-and-still-getting-spam-spammers-may-be-bypassing-postini-altogether/</link>
		<comments>http://aaron-kelley.net/blog/2010/02/deployed-postini-and-still-getting-spam-spammers-may-be-bypassing-postini-altogether/#comments</comments>
		<pubDate>Sun, 21 Feb 2010 22:47:35 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[E-mail]]></category>
		<category><![CDATA[E-mail Security]]></category>
		<category><![CDATA[Postini]]></category>

		<guid isPermaLink="false">http://aaron-kelley.net/?p=782</guid>
		<description><![CDATA[So, to combat spam, I recently deployed Postini at my workplace.  We qualified for the K-12 promotion to it is awesome to have good spam handling for free.  We currently use FirstClass as our mail server, and I&#8217;d rate it&#8217;s built in spam-handling mechanisms as &#8220;poor-to-none.&#8221;  (We are eying Google Apps mail as a replacement [...]]]></description>
			<content:encoded><![CDATA[<p>So, to combat spam, I recently deployed <a href="http://www.google.com/postini/" target="_blank">Postini</a> at my workplace.  We qualified for the <a href="http://www.google.com/support/a/bin/answer.py?hl=en&amp;answer=159594" target="_blank">K-12 promotion</a> to it is awesome to have good spam handling for free.  We currently use <a href="http://www.firstclass.com/" target="_blank">FirstClass</a> as our mail server, and I&#8217;d rate it&#8217;s built in spam-handling mechanisms as &#8220;poor-to-none.&#8221;  (We are eying Google Apps mail as a replacement in the next year or so.)</p>
<p>So, after finally getting Postini deployed and enabled for all accounts, the Postini stats report that just over 50% of incoming mail is being tossed out as &#8220;blatant spam,&#8221; with over 25% of the <em>remaining</em> mail being quarantined as &#8220;potential spam.&#8221;  This is with Postini on the default lowest aggressiveness setting.  So, assuming the worst case (&#8220;all incoming mail is spam&#8221;, which is almost true), our users are already receiving less than 37.5% as much spam as they used to.  Once we&#8217;re satisfied that things are working fine, I&#8217;ll bump up the aggressiveness.</p>
<p>Anyways, I noticed that my FirstClass inbox was still being bombarded by spam messages (a few per hour), most of them obviously spam.  Why weren&#8217;t these being blocked by Postini?</p>
<p><span id="more-782"></span>Checking the headers on these spam messages, I noticed that they weren&#8217;t being routed through the Postini servers.  This means that the <em>spammers are ignoring the MX records for our domain</em> and delivering mail directly to the FirstClass server.  They must have cached the old MX record and kept using it after we switched it to point to a Postini server, because what spammer wants to send mail through Postini if they have the choice?  Anyway, yuck.</p>
<p>Turns out that this is <a href="http://www.google.com/support/appsecurity/bin/answer.py?hl=en&amp;answer=140065" target="_blank">not an</a> <a href="http://spamhuntress.com/2005/09/19/virus-and-spam-ignores-mx-records/" target="_blank">unknown problem</a>.  I find it pretty interesting, though.  I didn&#8217;t know that spammers did this since I had never bumped into this situation before; just another pretty smart thing that the spammers are doing to get around your efforts to stop them.</p>
<p>Anyway, the solution in this case is to set the mail server (the FirstClass server in this case) or a firewall in between your mail server and the Internet to only accept connections from where it should be coming from.  Seems simple enough?  We are actually routing the mail through Google Apps, so the answer was to only allow connections from addresses that Google&#8217;s SPF record says that mail should be coming from.</p>
<blockquote><p><tt>209.85.128.0/17<br />
216.239.32.0/19<br />
64.233.160.0/19<br />
66.249.80.0/20<br />
72.14.192.0/18<br />
66.102.0.0/20<br />
74.125.0.0/16<br />
64.18.0.0/20<br />
207.126.144.0/20<br />
173.194.0.0/16</tt></p></blockquote>
<p>Anyway, I set these filters in our firewall and, presto, no spam messages all weekend.</p>
]]></content:encoded>
			<wfw:commentRss>http://aaron-kelley.net/blog/2010/02/deployed-postini-and-still-getting-spam-spammers-may-be-bypassing-postini-altogether/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AVG e-mail scanner and S/MIME signed mail</title>
		<link>http://aaron-kelley.net/blog/2008/09/avg-e-mail-scanner-and-smime-signed-mail/</link>
		<comments>http://aaron-kelley.net/blog/2008/09/avg-e-mail-scanner-and-smime-signed-mail/#comments</comments>
		<pubDate>Wed, 03 Sep 2008 21:48:13 +0000</pubDate>
		<dc:creator>Aaron</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[AVG]]></category>
		<category><![CDATA[E-mail]]></category>
		<category><![CDATA[E-mail Security]]></category>
		<category><![CDATA[Thunderbird]]></category>

		<guid isPermaLink="false">http://aaron-kelley.net/?p=14</guid>
		<description><![CDATA[I ran into a somewhat obscure issue today with how AVG deals with signed mail (or actually, all mail, though I only noticed this because the mail was signed). Specifically, how it deals with scanning signed e-mail that you send, and how it can cause them to fail validation on the receiver end. Thanks to [...]]]></description>
			<content:encoded><![CDATA[<p>I ran into a somewhat obscure issue today with how AVG deals with signed mail (or actually, all mail, though I only noticed this because the mail was signed).  Specifically, how it deals with scanning signed e-mail that you send, and how it can cause them to fail validation on the receiver end.  Thanks to <a href="http://www.cmehner.com/" target="_blank">Carl</a> for bringing this to my attention.</p>
<p><span id="more-14"></span>First of all, I&#8217;ve never liked to install the Microsoft Office plug-in or Outlook e-mail scanner plug-in that comes with AVG.  In my experience, this has led to it wanting me to quit Outlook whenever it wants to install an update (or reboot the machine after the update is complete), which is a bother, and I don&#8217;t think it&#8217;s a very big risk to leave those components out.  So, on my system with only the &#8220;basic&#8221; e-mail scanner installed, it is only able to scan mail sent through SMTP.</p>
<p>I recently switched to Thunderbird and I have one of my accounts set up to send through SMTP, which means AVG is able to intercept the connection and scan the mail.  Even though I do not have AVG set to &#8220;certify mail,&#8221; it still makes some modifications to the message.  Perhaps the most obvious is a message that it adds to the headers of the message&#8230;</p>
<p><tt>Received: from 127.0.0.1 (AVG SMTP 8.0.169 [270.6.15/1649]); Wed, 03 Sep 2008 15:30:57 -0500</tt></p>
<p>Of course, it makes sense for it to put this there, because it is actually intercepting the TCP connection used to send the mail and then relaying the mail to the server you specified in your e-mail client.  Adding these relay messages to an e-mail will not make it fail validation as they are not covered by the digital signature.</p>
<p>However, oddly, AVG makes some other modifications to the message, as we see in this diff between the mail sitting in my Thunderbird &#8220;sent&#8221; folder and the mail that showed up in the recipient&#8217;s inbox:</p>
<p style="text-align: center;"><img class="size-full wp-image-15 aligncenter" title="AVG modifying e-mail" src="http://aaron-kelley.net/wp-content/uploads/2009/07/20080903_avgcompare.png" alt="Pointing out a modification to an e-mail made by AVG's message scanner" width="771" height="528" /></p>
<p>I know that AVG caused this because I duplicated the behavior several times, and it stopped right after I disabled AVG&#8217;s mail scanner.</p>
<p>There are a number of other small changes like this.  These modifications are to the <em>body</em> of the e-mail message, which is covered by the digital signature.  The result is, the recipient cannot verify the authenticity of the message, as it appears to have been modified since it was sent (duly so).</p>
<p>Why were these modifications made to the message?  Are they just strange errors, or is AVG actually trying to make the style information in the message more consistent for some reason?  Whatever the case, your anti-virus software should not be modifying mail that you send, especially without informing you that it is doing so, whatever the modifications may be.</p>
<p>So, here we have a plus for digital signatures and a minus for AVG.  I don&#8217;t seem to be able to communicate this to AVG support because I am using the free version.  If any of you have a paid AVG anti-virus product, maybe you could pass the word along?  <img src='http://aaron-kelley.net/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> </p>
<p>Anyway, I now am running AVG without any mail scanning at all.  (I hope that common sense in dealing with attachments can keep me safe.  <img src='http://aaron-kelley.net/wp-includes/images/smilies/icon_razz.gif' alt=':-P' class='wp-smiley' /> )</p>
]]></content:encoded>
			<wfw:commentRss>http://aaron-kelley.net/blog/2008/09/avg-e-mail-scanner-and-smime-signed-mail/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

