<?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>Word to the Wise &#187; Authentication</title>
	<atom:link href="http://blog.wordtothewise.com/tag/authentication/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.wordtothewise.com</link>
	<description>Email, Delivery, Spam and more</description>
	<lastBuildDate>Tue, 07 Feb 2012 23:24:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>DMARC: an authentication framework</title>
		<link>http://blog.wordtothewise.com/2012/01/dmarc-an-authentication-framework/</link>
		<comments>http://blog.wordtothewise.com/2012/01/dmarc-an-authentication-framework/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 01:01:35 +0000</pubDate>
		<dc:creator>laura</dc:creator>
				<category><![CDATA[Industry]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[DKIM]]></category>
		<category><![CDATA[dmarc]]></category>
		<category><![CDATA[spf]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=3770</guid>
		<description><![CDATA[A new email industry group was announced this morning. DMARC is a group of industry participants, including large senders, large receivers and relevant intermediaries working on a framework to reduce the harm from phishing. DMARC is working on a standard to allow senders to publish sending policies and receivers to act on those policies. Currently, [...]]]></description>
			<content:encoded><![CDATA[<p>A new email industry group was announced this morning. <a href="http://dmarc.org/index.html">DMARC</a> is a group of industry participants, including large senders, large receivers and relevant intermediaries working on a framework to reduce the harm from phishing.</p>
<p>DMARC is working on a standard to allow senders to publish sending policies and receivers to act on those policies. Currently, senders who want receivers to not deliver unauthenticated email have to negotiate <a href="http://gmailblog.blogspot.com/2008/07/fighting-phishing-with-ebay-and-paypal.html">private</a> agreements with the ISPs to make that happen. This is a way to expand the existing programs. Without a published standard, the overhead in managing individual agreements would quickly become prohibitive.</p>
<p>It is an anti-phishing technique built on top of current authentication processes. This is the &#8220;next step&#8221; in the process and one that most people involved in the authentication process were anticipating and planning for. I&#8217;m glad to see so many big players participating.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2012/01/dmarc-an-authentication-framework/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Gmail and the via</title>
		<link>http://blog.wordtothewise.com/2011/07/gmail-and-the-via/</link>
		<comments>http://blog.wordtothewise.com/2011/07/gmail-and-the-via/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 00:25:43 +0000</pubDate>
		<dc:creator>laura</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[DKIM]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[spf]]></category>
		<category><![CDATA[via]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=3206</guid>
		<description><![CDATA[I was hoping to have a detailed post up today about the conditions where gmail presents the user with a &#8220;via&#8221; but time seems to have gotten away from me. But I can give you the conclusions. A via is presented to the user when you have a DKIM pass and the domain in the [...]]]></description>
			<content:encoded><![CDATA[<p>I was hoping to have a detailed post up today about the conditions where  gmail presents the user with a &#8220;via&#8221; but time seems to have gotten away from me. But I can give you the conclusions.</p>
<ol>
<li>A via is presented to the user when you have a DKIM pass and the domain in the d= does not match the domain in the visible from address. In this case the interface shows via the d= domain.</li>
<li>A via is presented to the user when you have a SPF pass, no valid DKIM (either a fail or no signature at all) and the domain in the return path is different than the domain in the visible from address. In this case the interface shows via the SPF domain.</li>
</ol>
<p>This is an issue for ESP customers who are letting ESPs sign on their behalf. If your ESP is signing with their own domain, or their own domain is present in the return path, then all your mail will be displayed with &#8220;via&#8221; in the gmail interface.</p>
<p>In order to not have a via showing, you need to have either the return path or the d= value within the same domain as your visible from address. There are two ways to do this. Probably the easiest is to <a href="http://dkimcore.org/deployment/esp.html">delegate a subdomain to your ESP</a> so they can manage the signing and keys for you. Alternatively, you can manage DKIM keys yourself and just have your ESP sign with the private key you give them.</p>
<p>I have heard that recipients can remove the via by replying to a message or by adding the sender to their address books. My testing did not show that either method was effective in removing the &#8220;via&#8221; from the display.</p>
<p>Tomorrow, the work that went into these rather simple recommendations.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2011/07/gmail-and-the-via/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Authentication Cheat Sheet</title>
		<link>http://blog.wordtothewise.com/2011/07/authentication-cheat-sheet/</link>
		<comments>http://blog.wordtothewise.com/2011/07/authentication-cheat-sheet/#comments</comments>
		<pubDate>Wed, 20 Jul 2011 22:34:33 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[cheat]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=3194</guid>
		<description><![CDATA[There are a several approaches to authenticating email, and the different authentication methods have a lot of different settings to choose from (sometimes because they&#8217;re useful, other times just because they were designed by committee). It&#8217;s nice that they have that flexibility for the complex situations that might benefit from them, but almost all the [...]]]></description>
			<content:encoded><![CDATA[<p>There are a several approaches to authenticating email, and the different authentication methods have a lot of different settings to choose from (sometimes because they&#8217;re useful, other times just because they were designed by committee). It&#8217;s nice that they have that flexibility for the complex situations that might benefit from them, but almost all the time you just want to choose a good, default authentication approach.</p>
<p>So here&#8217;s some short prescriptive advice in no particular order for &#8220;how to do email authentication at an ESP well&#8221; without the long discussions of alternative approaches and justification of each piece of advice.</p>
<ol>
<li>Remove every trace of DomainKeys from your email flow</li>
<li>Sign all your email with DKIM</li>
<li>Publish SPF records</li>
<li>Have your SPF records finish with ~all, not -all</li>
<li>Ignore SenderID, unless you have delivery problems at Hotmail (and even then measure results rather than just assuming it will help)</li>
<li>Don&#8217;t publish ADSP records</li>
<li>Have the customer pick a single domain to tie their reputation to &#8211; ideally their &#8220;main&#8221; domain, but if that&#8217;s not possible then a customer-specific domain owned by the ESP is the next best thing (i.e. &#8220;customer.com&#8221; is ideal, but &#8220;customer.esp.com&#8221; is much better than just &#8220;esp.com&#8221;)
<ol style="list-style-type: lower-alpha;">
<li>Use that domain as the d= field when signing email (&#8220;d=customer.com&#8221;)</li>
<li>Use that domain, or a sub-domain of it, in the From: field of the email (&#8220;From: Someone &lt;someone@customer.com&gt;&#8221; or &#8220;From: Someone &lt;someone@fooble.customer.com&gt;&#8221;)</li>
</ol>
</li>
<li>Pick a good email address to use in the From: field, don&#8217;t change it lightly</li>
<li>Use two-part selectors for DKIM, one specific to you, the ESP, on the right and one for key rotation on the left (<a title="DKIM Core" href="http://dkimcore.org/deployment/esp.html" target="_blank">why do this?</a>)</li>
<li>Use just what&#8217;s needed for DKIM &#8211; don&#8217;t use i=, l=, q=, x= or z= in the signature, don&#8217;t use g= or s= in the published key
<ol style="list-style-type: lower-alpha;">
<li><a title="DKIM Core" href="http://dkimcore.org/" target="_blank">dkimcore.org</a> has more specific advice about which subset of DKIM to sign with</li>
</ol>
</li>
<li>Make sure your SPF records are valid</li>
<li>TLS/SSL isn&#8217;t useful for authenticating mail (it&#8217;s great for connecting to a smarthost from a mail client, but not for connections from the smarthost)</li>
<li>None of SPF, DKIM or TLS are really designed to protect or hide the contents of a message
<ol style="list-style-type: lower-alpha;">
<li>Customers who really want that could look at S/MIME or PGP</li>
<li>&#8230; but better to design their business model such that they don&#8217;t need to, as client support is spotty at best</li>
</ol>
</li>
<li>Empirical evidence that doing something will make a customer happy trumps any of the above
<ol style="list-style-type: lower-alpha;">
<li>maybe because there&#8217;s evidence SenderID or ADSP or somesuch really helps that customer</li>
<li>or maybe because the customer just wants it, even if there&#8217;s no evidence it would help</li>
</ol>
</li>
</ol>
<p>Mail client use of authentication data is still in flux, so it&#8217;s likely that some of this may change slightly (interaction between SPF and DKIM d= domains, for example) but it&#8217;s a pretty good base to start with today.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2011/07/authentication-cheat-sheet/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Gmail shows authentication data to the recipient</title>
		<link>http://blog.wordtothewise.com/2011/06/gmail-shows-authentication-data-to-the-recipient/</link>
		<comments>http://blog.wordtothewise.com/2011/06/gmail-shows-authentication-data-to-the-recipient/#comments</comments>
		<pubDate>Thu, 30 Jun 2011 20:05:40 +0000</pubDate>
		<dc:creator>laura</dc:creator>
				<category><![CDATA[Industry]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[DKIM]]></category>
		<category><![CDATA[gmail]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=3090</guid>
		<description><![CDATA[Yesterday Gmail rolled out some changes to their interface. One of the changes is that they are now showing end users authentication results in the user screen. It&#8217;s really the next step in email authentication, showing the results to the end user. So how does Google do this? Google is checking both SPF and DKIM. [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday Gmail rolled out some changes to their interface. One of the changes is that they are now showing end users authentication results in the user screen.</p>
<p>It&#8217;s really the next step in email authentication, showing the results to the end user.</p>
<p>So how does Google do this? Google is checking both SPF and DKIM. If mail is authenticated and the authentication matches the from address then they display the email as:</p>
<p><a href="http://blog.wordtothewise.com/wp-content/uploads/2011/06/gmaildkim_4.png"><img class="size-full wp-image-3092 alignnone" style="border: 1px solid black;" title="gmaildkim_4" src="http://blog.wordtothewise.com/wp-content/uploads/2011/06/gmaildkim_4.png" alt="mail from steve to me" width="241" height="22" /></a></p>
<p>If we click on &#8220;details&#8221; for that message, we find more specific information.</p>
<p><a href="http://blog.wordtothewise.com/wp-content/uploads/2011/06/gmaildkim_3.png"><img class="size-full wp-image-3093 alignleft" style="margin-right: 200px; border: 1px solid black;" title="gmaildkim_3" src="http://blog.wordtothewise.com/wp-content/uploads/2011/06/gmaildkim_3.png" alt="full details of message showing signing domain and spf domain" width="271" height="114" /></a>In this case the mail went through our outgoing mailserver to gmail.</p>
<p>Mailed-by indicates that the message passed SPF and that the IP address is a valid source of mail from wordtothewise.com.</p>
<p>Signed-by shows the domain in the DKIM d=. In this case, we signed with the subdomain dt.wordtothewise.com. That&#8217;s what happens when you sign using the domain in the From address  (or a subdomain of it).</p>
<p>For a lot of bulk senders, though, their mail is  signed using their ESP&#8217;s domain instead.  In that case Gmail shows who  signed the mail as well as the from address.</p>
<p><a href="http://blog.wordtothewise.com/wp-content/uploads/2011/06/gmaildkim_1.png"><img class="size-full wp-image-3094 alignnone" style="margin-right: 100px; border: 1px solid black;" title="gmaildkim_1" src="http://blog.wordtothewise.com/wp-content/uploads/2011/06/gmaildkim_1.png" alt="" width="348" height="18" /></a></p>
<p>And when we click on &#8220;details&#8221; for that message we see:</p>
<p><a href="http://blog.wordtothewise.com/wp-content/uploads/2011/06/gmaildkim_2.png"><img class="alignleft size-full wp-image-3095" style="margin-right: 125px; border: 1px solid black;" title="gmaildkim_2" src="http://blog.wordtothewise.com/wp-content/uploads/2011/06/gmaildkim_2.png" alt="3rd party signature details" width="394" height="138" /></a>This is an email from a sender using Madmimi as an ESP. Madmimi is handling both the SPF authentication and the DKIM authentication.</p>
<p>As an aside, this particular  sender has a high enough reputation that Gmail is offering me an unsubscribe option in their interface.</p>
<p>Gmail is distinguishing between first party and third party signatures in authentication. If the mail is authenticated, but the authentication appears to be handled by a separate entity, then Gmail is alerting recipients to that fact.</p>
<p>What does this mean for bulk senders?</p>
<p>For senders that are signing with a domain that matches their From: domain, there is no change. Recipients will not see any mention of your ESP in the headers.</p>
<p>However, if you are using an ESP that is signing your mail with a domain they own, then your recipients will see that information displayed in the email interface. If you don&#8217;t want this to be displayed by Gmail, then you will need to move to first party signing. Talk to your ESP about this. If they&#8217;re unsure of how to manage it, you can point them to <a href="http://dkimcore.org/deployment/esp.html">DKIM Core for an Email Service Provider.</a></p>
<p><a href="http://gmailblog.blogspot.com/2011/06/protect-yourself-from-scams-by-knowing.html">Gmail blogpost about the changes</a></p>
<p><a href="http://mail.google.com/support/bin/answer.py?hl=en&amp;answer=180707">Gmail help page about authentication results</a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2011/06/gmail-shows-authentication-data-to-the-recipient/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Defending against the hackers of 1995</title>
		<link>http://blog.wordtothewise.com/2011/04/defending-against-the-hackers-of-1995/</link>
		<comments>http://blog.wordtothewise.com/2011/04/defending-against-the-hackers-of-1995/#comments</comments>
		<pubDate>Fri, 29 Apr 2011 17:06:36 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Industry]]></category>
		<category><![CDATA[2fa]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=2850</guid>
		<description><![CDATA[Passwords are convenient for the end user, but it&#8217;s too easy to lose control of them. People share them with other people. People write them down, where they can be read. People send them in email, and that email is easily intercepted. People&#8217;s web browsers store the passwords, so they can log in automatically. Worst [...]]]></description>
			<content:encoded><![CDATA[<p>Passwords are convenient for the end user, but it&#8217;s too easy to lose control of them. People share them with other people. People write them down, where they can be read. People send them in email, and that email is easily intercepted. People&#8217;s web browsers store the passwords, so they can log in automatically. Worst of all, perhaps, people tend to use the same username and password at many different websites. If just one of those websites is compromised (or even run as a password collecting scam) then those passwords can be used to attack accounts at all of the others.</p>
<p>Two factor authentication that uses an uncopyable physical device (such as a cellphone or a security token) as a second factor mitigates most of these threats very effectively. Weaker two factor authentication using digital certificates is a little easier to misuse (as the user can share the certificate with others, or have it copied without them noticing) but still a lot better than a password.</p>
<p><strong>Security problems solved, then?</strong></p>
<blockquote><p>Two-factor authentication isn&#8217;t our savior. It won&#8217;t defend against phishing. It&#8217;s not going to prevent identity theft. It&#8217;s not going to secure online accounts from fraudulent transactions. It solves the security problems we had 10 years ago, not the security problems we have today.<cite><a href="http://www.schneier.com/essay-083.html">Bruce Schneier, April 2005</a></cite></p></blockquote>
<p>Password stealing attacks are still a risk &#8211; especially use of the same password on different services &#8211; but they&#8217;re not the main thrust of modern attacks, and haven&#8217;t been for years. Rather we&#8217;re seeing <a href="http://en.wikipedia.org/wiki/Man-in-the-middle_attack" target="_blank">man-in-the-middle attacks</a> and trojan attacks &#8211; these can be used very effectively as part of a targeted attack initiated by phishing or social engineering.</p>
<p>One form of a man-in-the-middle attack is to create a fake website that looks like your real website, and then to entice one of your users to go to the fake website instead of the real one. Your user then enters their password and the second factor from their securid fob, and the attacker uses that to log in to your website. Done well, the user will never notice &#8211; the attacker either gives them a fake error message and redirects them to your real login page or tunnels their transactions through to your website while also piggybacking their own transactions at the same time.</p>
<p>A trojan attack is similar, but the man-in-the-middle is hostile code actually running on the users computer.</p>
<p><strong>Not just a theoretical attack</strong></p>
<p>This isn&#8217;t just a theoretical attack. It&#8217;s fairly widespread, and probably underreported. One example from a couple of years ago is use of a trojan to<a href="http://www.technologyreview.com/computing/23488/?a=f" target="_blank"> steal half a million dollars</a> from a local company, despite their banks use of one-time-password, securid style two factor authentication. <a href="http://blog.washingtonpost.com/securityfix/2006/07/citibank_phish_spoofs_2factor_1.html" target="_blank">Here&#8217;s another</a>.</p>
<p>The accounts an ESP is protecting likely aren&#8217;t worth half a million dollars, so maybe bank-grade two factor authentication is good enough for them?</p>
<p>Another heavy user of two factor authentication is the online game World of Warcraft. They use a physical security fob or a smartphone app to generate one time passwords.</p>
<p><a href="http://blog.wordtothewise.com/wp-content/uploads/2011/04/wowsmart.png"><img class="aligncenter size-full wp-image-2852" title="wowsmart" src="http://blog.wordtothewise.com/wp-content/uploads/2011/04/wowsmart.png" alt="" width="200" height="230" /></a>As we&#8217;ve <a title="Targeted attacks via email – phishing for WoW gold" href="http://blog.wordtothewise.com/2011/04/targeted-attacks-phishing/" target="_blank">mentioned before</a> there&#8217;s a black market in stolen World of Warcraft accounts. They&#8217;re typically worth $8-$10 in bulk. And they&#8217;re being <a href="http://www.incgamers.com/News/21240/first-blizzard-authenticator-hack-confirmed" target="_blank">targeted by a key-logging trojan</a> that intercepts the authentication data and passes it to the attacker, who then can take control of the account until they log out.</p>
<p>That means it can be cost-effective for an attacker to use a reasonably sophisticated keylogger trojan to take control of an account worth $10 for a couple of hours, which is bad news if you&#8217;re relying on your customers accounts not being that high value a target.</p>
<p><strong>What value does 2FA have, then?</strong></p>
<blockquote><p>it won&#8217;t work for remote authentication over the Internet. I predict that banks and other financial institutions will spend millions outfitting their users with two-factor authentication tokens. Early adopters of this technology may very well experience a significant drop in fraud for a while as attackers move to easier targets, but in the end there will be a negligible drop in the amount of fraud and identity theft.<cite><a href="http://www.schneier.com/blog/archives/2005/03/the_failure_of.html">Bruce Schneier, 2005</a></cite></p></blockquote>
<p>2FA is a decent way to improve password security. It&#8217;s easier and cheaper to require some form of 2FA than it is to train your users to use good passwords, and not to reuse passwords. And they can be part of a decent security approach &#8211; though the inconvenience and support overhead might exceed their value. But focusing on 2FA as a security solution won&#8217;t protect you from most current attack vectors, and can distract you and consume resources you could better spend on more effective approaches.</p>
<blockquote><p>By concentrating on authenticating the individual rather than authenticating the transaction, banks are forced to defend against criminal tactics rather than the crime itself.<cite><a href="http://www.schneier.com/blog/archives/2005/04/more_on_twofact.html">Bruce Schneier, 2005</a></cite></p></blockquote>
<p>But two factor authentication is a <em>great</em> way to deal with some non-security related business problems, such as sharing of &#8220;flat fee&#8221; accounts by multiple users.</p>
<p>Two factor authentication is <em>not</em> a magic bullet for ESP security, and if it distracts you from implementing more effective (behaviour-based, rather than authentication based) security approaches then that narrow focus risks making your overall security worse.</p>
<p>Unless, that is, you&#8217;re defending solely against security threats from 1995.</p>
<p><a href="http://www.imdb.com/title/tt0113243/"><img class="aligncenter size-full wp-image-2854" title="Hackers" src="http://blog.wordtothewise.com/wp-content/uploads/2011/04/hackers.png" alt="" width="380" height="253" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2011/04/defending-against-the-hackers-of-1995/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What is Two Factor Authentication?</title>
		<link>http://blog.wordtothewise.com/2011/04/what-is-two-factor-authentication/</link>
		<comments>http://blog.wordtothewise.com/2011/04/what-is-two-factor-authentication/#comments</comments>
		<pubDate>Thu, 28 Apr 2011 20:53:36 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Industry]]></category>
		<category><![CDATA[2fa]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=2840</guid>
		<description><![CDATA[Two factor authentication, or the snappy acronym 2FA, is something that you&#8217;re going to be hearing a lot about over the next year or so, both for use by ESP employees (in an attempt to reduce the risks of data theft) and by ESP customers (attempting to reduce the chance of an account being misused [...]]]></description>
			<content:encoded><![CDATA[<p>Two factor authentication, or the snappy acronym 2FA, is something  that  you&#8217;re going to be hearing a lot about over the next year or so,  both  for use by ESP employees (in an attempt to reduce the risks of  data  theft) and by ESP customers (attempting to reduce the chance of an   account being misused to send spam). <a href="http://blog.wordtothewise.com/wp-content/uploads/2011/04/rsa-securid-tokens.jpg"><strong></strong><img class="aligncenter size-medium wp-image-2844" title="rsa-securid-tokens" src="http://blog.wordtothewise.com/wp-content/uploads/2011/04/rsa-securid-tokens-300x119.jpg" alt="" width="300" height="119" /></a><strong>What is Authentication? </strong></p>
<p>In computer security terms authentication is proving who you are &#8211; when you enter a username and a password to access your email account you&#8217;re authenticating yourself to the system using a password that only you know.</p>
<p><em>Authentication</em> (&#8220;who you are&#8221;) is the most visible part of computer access control, but it&#8217;s usually combined with two other A&#8217;s &#8211; <em>authorization</em> (&#8220;what you are allowed to do&#8221;) and <em>accounting</em> (&#8220;who did what&#8221;) to form an access control system.</p>
<p><strong>And what are the two factors?</strong></p>
<p>Two factor authentication means using two independent sources of evidence to demonstrate who you are. The idea behind it is that it means an attacker need to steal two quite different bits of information, with different weaknesses and attack vectors, in order to gain access. This makes the attack scenario much more complex and difficult for an attacker to carry out.</p>
<p>It&#8217;s important that the different factors are independent &#8211; requiring two passwords doesn&#8217;t count as 2FA, as an attack that can get the first password can just as easily get the second password. Generally 2FA requires the user to demonstrate their identity via two out of three broad ways:</p>
<ol>
<li>Something the user <em>knows</em> &#8211; a password or a PIN</li>
<li>Something the user <em>has</em> &#8211; a key, an ID card, a phone number, a digital certificate or a physical token</li>
<li>Something the user <em>is</em> &#8211; such as a fingerprint</li>
</ol>
<p>An everyday example of 2FA is using a cash machine or ATM. You insert your ATM card (something you <em>have</em>) and enter your PIN (something you <em>know</em>) to get access to your bank account. An attacker would have to both steal or copy your card <em>and</em> know your PIN to access your account. While a crooked waiter might be able to copy your card and someone could look over your shoulder to see your PIN, it&#8217;s much more difficult for an attacker to get both.</p>
<p>Most deployed 2FA systems work in much the same way. They require you to enter a password you know, and then to demonstrate that you have something in your possession &#8211; by having your computer present a digital certificate, or having you enter a number from a security token like those pictured above, or respond to an SMS message.</p>
<p><strong>Security problems solved, then?</strong></p>
<p>I&#8217;ll look at that tomorrow.</p>
<p>(Spoiler: <em>No</em>)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2011/04/what-is-two-factor-authentication/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Authentication and phishing</title>
		<link>http://blog.wordtothewise.com/2011/03/authentication-and-phishing/</link>
		<comments>http://blog.wordtothewise.com/2011/03/authentication-and-phishing/#comments</comments>
		<pubDate>Thu, 31 Mar 2011 23:53:21 +0000</pubDate>
		<dc:creator>laura</dc:creator>
				<category><![CDATA[Industry]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[phishing]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=2716</guid>
		<description><![CDATA[Yahoo announced today that they are releasing the Yahoo! Mail Anti-Phishing Platform (YMAP) that will help protect their users from phishing. They have a similar project in place for eBay and PayPal mail, but this will extend to a broader range of companies. [W]e’re beefing up Yahoo! Mail’s SpamGuard by adding more security measures that [...]]]></description>
			<content:encoded><![CDATA[<p>Yahoo announced today that they are releasing the Yahoo! Mail Anti-Phishing Platform (YMAP) that will help <a href="http://www.ymailblog.com/blog/2011/03/phishers-beware-ymap-is-here/">protect their users from phishing</a>. They have a similar project in place for eBay and PayPal mail, but this will extend to a broader range of companies.</p>
<blockquote><p>[W]e’re beefing up Yahoo! Mail’s SpamGuard by adding more security measures that make it much harder for phishers to get to your mailbox. We’ve teamed up with email authentication partners—namely, <a href="http://authenticationmetrics.com/">Authentication Metrics</a>, <a href="http://ecertsystems.com/">eCert</a>, <a href="http://www.returnpath.net/commercialsender/domainassurance/">Return Path</a>, and <a href="http://truedomain.net/">Truedomain</a>—to gain significant coverage to protect the prime targets of phishing attacks.</p></blockquote>
<p>Phishing is a huge problem. I have an unprotected mailbox and get tens of dozens of phishing emails a day. But until there was a way to validate the sender of an email, rather than just the source IP, there wasn&#8217;t a good way to say that a particular email didn&#8217;t count.</p>
<p>SPF was one of the first attempts to solve this problem, but it didn&#8217;t do it very well. There were a number of very common uses of email that SPF didn&#8217;t accommodate.</p>
<blockquote><p>Despite what the SPF crowd desperately wants to belive, there&#8217;s no simple way to tell what mail can legitimately be sent from what IPs. In some cases you can get pretty close, e.g., ESP spam cannon stuff, but even there plenty of people forward other accounts to gmail, which SPF doesn&#8217;t handle. &#8212; John Levine</p></blockquote>
<p>Then there came Domain Keys and Identified Mail. Those two specs were close enough to one another that they merged into a single spec, DKIM. For the last few years significant numbers of people have been working to get DKIM stabilized and deployed.  That adoption and deployment lets companies build out products like YAMP and protect users from phishing.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2011/03/authentication-and-phishing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Phishing protection</title>
		<link>http://blog.wordtothewise.com/2011/03/phishing-protection/</link>
		<comments>http://blog.wordtothewise.com/2011/03/phishing-protection/#comments</comments>
		<pubDate>Wed, 02 Mar 2011 23:54:24 +0000</pubDate>
		<dc:creator>laura</dc:creator>
				<category><![CDATA[Industry]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[phishing]]></category>
		<category><![CDATA[Return Path]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=2611</guid>
		<description><![CDATA[Last week Return Path announced a new service: Domain Assurance. This service allows companies who send only authenticated email to protect their brand from phishing attacks. Participating ISPs will reject unauthenticated email from domains participating in this program. Once the sender has ensured that all their email is being authenticated, they can add their domains [...]]]></description>
			<content:encoded><![CDATA[<p>Last week Return Path announced a new service: <a href="http://www.returnpath.net/blog/intheknow/2011/02/return-path-launches-domain-assurance-an-anti-phishing-service/">Domain Assurance</a>. This service allows companies who send only authenticated email to protect their brand from phishing attacks. Participating ISPs will reject unauthenticated email from domains participating in this program. </p>
<blockquote><p>Once the sender has ensured that all their email is being authenticated, they can add their domains and sub-domains to the Domain Assurance Registry list for ISPs to automatically reject all mail coming from these registered domains that fail authentication. Email senders using Domain Assurance have access to rich data reports about their email, get alerted when fraudulent emails using their domains are observed, and are provided with email intelligence on attackers and phishing URLs so they can initiate the take down of fraudulent websites.</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2011/03/phishing-protection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ESPs, Non-portable Reputation and Vendor Lock-in</title>
		<link>http://blog.wordtothewise.com/2010/06/esps-reputation-and-vendor-lock-in/</link>
		<comments>http://blog.wordtothewise.com/2010/06/esps-reputation-and-vendor-lock-in/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 00:37:43 +0000</pubDate>
		<dc:creator>steve</dc:creator>
				<category><![CDATA[Best Practices]]></category>
		<category><![CDATA[Delivery Improvement]]></category>
		<category><![CDATA[Industry]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[DKIM]]></category>
		<category><![CDATA[spf]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=1664</guid>
		<description><![CDATA[I&#8217;ve seen some mentions recently of ESPs suggesting that if you use your own domain in the From: of mail you send through an ESP then that ESP can&#8217;t &#8220;do email authentication&#8221; properly unless they require you to edit your domains DNS settings. That&#8217;s not really so, but there is a kernel of truth in [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve seen some mentions recently of ESPs suggesting that if you use your own domain in the From: of mail you send through an ESP then that ESP can&#8217;t &#8220;do email authentication&#8221; properly unless they require you to edit your domains DNS settings. That&#8217;s not really so, but there is a kernel of truth in there.</p>
<p>The real situation is, unsurprisingly, a bit more complicated.</p>
<p><b>What authentication features should you look for in an ESP?</b></p>
<ol>
<li>Awareness of email authentication, specifically SPF and DKIM
<li>They encourage you to use your own domain for authentication, but don&#8217;t require it
<li>They suggest you add something like &#8220;include:cust-spf.exacttarget.com&#8221; to an existing SPF record, rather than anything with &#8220;ip4:&#8221; in it
<li>They suggest you add an NS record something like &#8220;espname._domainkey.yourcompany.com&#8221; to your DNS for DKIM support
<li>They ask you specifically what domain you&#8217;d like to use for authentication, rather than requiring it be the same as the domain you use in your From: field<br />
<lI>They check that any DNS changes you&#8217;ve made are correct before sending email</p>
<li>They monitor your DNS changes, to protect you from mistakes in the future
</ol>
<p><b>What authentication mistakes should make you wary of an ESP?</b></p>
<ol>
<li>Any suggestion that your reputation as a sender isn&#8217;t important, rather that it&#8217;s solely the ESPs job to get good delivery rates
<li>Any suggestion that the ESPs reputation is completely irrelevant, and your mail will be delivered solely based on your reputation
<li>They tell you that the domain name used in your email From: has to have anything to do with authentication
<li>They tell you to add a TXT record for SPF records, rather than adding an &#8220;include:&#8221; clause to your existing record
<li>They tell you to add anything with &#8220;ip4:&#8221; in it to your DNS
<li>They tell you to add an NS record like &#8220;_domainkey.yourcompany.com&#8221;
<li>Any suggestion you use ADSP <a href="#fn1">(1)</a>.
<li>Any mention of DomainKeys <a href="#fn2">(2)</a>
</ol>
<p><b>Reputation?</b></p>
<p>When we&#8217;re talking &#8220;authentication&#8221; we&#8217;re really talking about <a href="http://openspf.org.">SPF</a> and <a href="http://dkim.org/">DKIM</a>. Both are ways to associate an identifier with the email that&#8217;s sent that receivers can use to track the reputation of your mail (so that you can get the delivery benefits of your history of sending wanted mail) and manage whitelisting and feedback loops and all sorts of other good things. See <a href="http://dkimcore.org/">dkimcore.org</a> for more details on why authentication can be a good thing.</p>
<p>Neither SPF nor DKIM require you to use the same domain you use in your From: header as you use for authentication. This has a couple of really important implications:</p>
<ol>
<li>Your ESP can use a domain of their own for authentication. That means that you can get some of the advantages of authentication (feedback loops, non-portable reputation) without having to edit your DNS or even knowing anything about what your ESP is doing.
<li>If you use a range of different domains in your From: field (for brand-specific mailing, maybe) you can use the a single identifier for authentication across all that mail, getting all the benefits of your history of sending wanted email for BrandA and BrandB when you launch a new campaign for BrandC.
</ol>
<p><b>Portable vs non-portable reputation</b></p>
<p>I used the term &#8220;non-portable reputation&#8221; there without explaining it. </p>
<p>Non-portable reputation is reputation that is tied to your ESP &#8211; as you send wanted mail from that ESP your reputation with ISPs receiving the mail will get better and better, and you&#8217;ll get all the delivery advantages associated with that. But if you take your business to another ESP, or start sending some mail yourself, you&#8217;ll lose all that good reputation and have to start over.</p>
<p>Portable reputation is reputation that is tied to <em>you</em>, and mostly independent of your ESP. You can build up a history of sending email that people want to receive through one ESP, then you can move to a different ESP and take all that good history with you, keeping all the delivery advantages. (Or use multiple ESPs for different campaigns and send some mail from in-house and pool your good reputation across all those sources of mail.)</p>
<p>If you&#8217;re a reputable sender, sending mail that people want, then building a portable reputation will significantly benefit you. It does require you to configure your domains DNS records to support it, though, which can be tricky to set up and isn&#8217;t supported well by some DNS providers. So if you&#8217;re just beginning to dangle your toes in email marketing using non-portable reputation from your ESP is a great way to get going, but you should plan on switching to using portable reputation if email is going to be important to your business.</p>
<p>Some ESPs don&#8217;t really like the idea of portable reputation as without it their good customers are likely to take a significant delivery rate hit if they move elsewhere &#8211; and that vendor lock-in helps them keep those customers. Better ESPs are more likely to be enthusiastic about portable reputation as while it makes it easier for customers to move to competing ESPs it will also make it easy for them to move to them from their competitors. Without that disincentive for customers to move from one ESP to another it makes it easier for good ESPs to compete based on price and quality of service.</p>
<p>You really want to be able to get portable reputation using both SPF and DKIM. For that you&#8217;ll want to use a consistent domain for authentication, often your main corporate domain, even if you use a range of domains in your From: field. You want to be able to do this in a way that doesn&#8217;t tie you to using a single ESP for all your mail, rather that lets you use multiple ESPs simultaneously without losing your reputation. And you want it done in a way that doesn&#8217;t require you to be involved in editing DNS records any time any of those ESPs needs to make a change, otherwise the IT overhead and the risk of mistakes will be something you&#8217;ll regret.</p>
<p>For SPF this can best be done with a DNS record that looks something like</p>
<blockquote><p>yourdomain.com TXT &#8220;v=spf1 mx include:cust-spf.esp1.com include:cust-spf.esp2.com include:cust-spf.esp3.com ~all&#8221;</p></blockquote>
<p><br/></p>
<p>&#8230; possibly with a few &#8220;ip4:&#8221; fields near the beginning to specify your corporate mailservers. The use of include: to pull in the SPF configuration for each of the ESPs you use allows you to have valid SPF records for each of those ESPs, and allows them to make any changes that are needed as they rearchitect their networks without needing to bother you.</p>
<p>For DKIM this can best be done with a set of DNS records that looks something like</p>
<blockquote><p>
yourdomain._domainkey.yourdomain.com TXT <i>(a DKIM public key goes here, if you want to use DKIM on mail you send yourself)</i><br />
esp1._domainkey.yourdomain.com NS dkim-ns1.esp1.com<br />
esp1._domainkey.yourdomain.com NS dkim-ns2.esp1.com<br />
esp2._domainkey.yourdomain.com NS ns1.esp2.com<br />
esp2._domainkey.yourdomain.com NS ns2.esp2.com<br />
esp3._domainkey.yourdomain.com NS dkim-nameserver.esp3.com
</p></blockquote>
<p><br/></p>
<p>The first record is just if you&#8217;re using <a href="http://dkim.org/specs/rfc5585.html">DKIM</a> (or <a href="http://dkimcore.org/">DKIM Core</a>) for mail you&#8217;re sending yourself. The remaining records allow the ESPs you&#8217;re using to do all the magic that&#8217;s needed to sign with DKIM &#8211; generating and rotating key pairs, publishing public keys, expiring public keys and so on &#8211; without needing you to do anything further once the NS records are set up.</p>
<p>If an ESP suggests that instead of delegating something like &#8220;esp1._domainkey.yourdomain.com&#8221; you instead delegate &#8220;_domainkey.yourdomain.com&#8221; then run away. If you were to do that it would make it impossible for you to use DKIM with any other ESP, or even to use it yourself.</p>
<p>(If you are an ESP, and you want more details on how to set up DKIM in this way, take a look at <a href="http://dkimcore.org/deployment/esp.html">this</a>.)</p>
<p>(Footnotes)</p>
<ol>
<li><a name="fn1"></a>ADSP is an extension of DKIM that can provide some minor benefits in rare circumstances, but will cause significant delivery problems most of the time. ADSP shouldn&#8217;t come up in conversation with an ESP unless you bring it up (and you shouldn&#8217;t do that unless you&#8217;re intimately aware of the damage it will do to your delivery)
<li><a name="fn2"></a>DomainKeys is the forerunner to DKIM. It&#8217;s obsolete now, and while a small number of ISPs still pay attention to DomainKeys signatures when there&#8217;s no DKIM signature, and some senders sign with both, there&#8217;s really no need for anyone to use DomainKeys today.
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2010/06/esps-reputation-and-vendor-lock-in/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Domain Assurance by Return Path</title>
		<link>http://blog.wordtothewise.com/2010/06/domain-assurance-by-return-path/</link>
		<comments>http://blog.wordtothewise.com/2010/06/domain-assurance-by-return-path/#comments</comments>
		<pubDate>Thu, 10 Jun 2010 01:20:05 +0000</pubDate>
		<dc:creator>laura</dc:creator>
				<category><![CDATA[Industry]]></category>
		<category><![CDATA[Authentication]]></category>
		<category><![CDATA[maawg]]></category>
		<category><![CDATA[phishing]]></category>
		<category><![CDATA[Return Path]]></category>

		<guid isPermaLink="false">http://blog.wordtothewise.com/?p=1576</guid>
		<description><![CDATA[As often happens during MAAWG, email companies are announcing new products. One of the interesting ones is the new Domain Assurance product from Return Path. Domain Assurance [...] first audit[s] a company&#8217;s email streams to be sure authentication has been properly implemented. Then, the company&#8217;s domains are added to a registry. Participating ISPs can check [...]]]></description>
			<content:encoded><![CDATA[<p>As often happens during MAAWG, email companies are announcing new products. One of the interesting ones is the new <a href="http://www.returnpath.net/blog/2010/06/phishin-gone-return-path-launc.php">Domain Assurance</a> product from Return Path.</p>
<blockquote><p>Domain Assurance [...] first audit[s] a company&#8217;s email streams to be sure authentication has been properly implemented. Then, the company&#8217;s domains are added to a registry. Participating ISPs can check the registry and block any unauthenticated emails coming from the domains found there. Return Path provides on-going checks for authentication accuracy and alerts participating companies any time their brand is phished or spoofed.</p></blockquote>
<p>While this type of authentication won&#8217;t solve phishing, it is a tool to help protect end users from malicious mail.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.wordtothewise.com/2010/06/domain-assurance-by-return-path/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

