<?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>Coyote Tracks &#187; security</title>
	<atom:link href="http://kagan.mactane.org/blog/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://kagan.mactane.org/blog</link>
	<description>The prints of an Internet-enabled coyote.</description>
	<lastBuildDate>Tue, 31 Jan 2012 03:26:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Easy Restarts Are a Security Feature</title>
		<link>http://kagan.mactane.org/blog/2011/03/15/easy-restarts-are-a-security-feature/</link>
		<comments>http://kagan.mactane.org/blog/2011/03/15/easy-restarts-are-a-security-feature/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 02:09:29 +0000</pubDate>
		<dc:creator>Kai MacTane</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[best practices]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[opinion]]></category>
		<category><![CDATA[sci-fi]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://kai.mactane.org/blog/?p=294</guid>
		<description><![CDATA[The more stuff you have open (or habitually leave open) in an application, the more it becomes part of your consciousness, an extension of your mind. For many of us, the question &#8220;What are you doing right now?&#8221; could best be answered by, &#8220;Here&#8217;s a list of the tabs I have open in my web&#160;browser.&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>The more stuff you have open (or habitually leave open) in an application, the more it becomes part of your consciousness, an extension of your mind. For many of us, the question &#8220;What are you doing right now?&#8221; could best be answered by, &#8220;Here&#8217;s a list of the tabs I have open in my web&nbsp;browser.&#8221;</p>
<p>Hackers* use the word &#8220;<a href="http://catb.org/~esr/jargon/html/S/state.html">state</a>&#8221; to describe &#8220;information being maintained in non-permanent memory&#8221;, whether that memory is in a human skull or a computer&#8217;s RAM chips. In fact, that ambiguity over exactly where the state is being maintained is one of the word&#8217;s strengths&nbsp;&mdash; as the browser-tabs example shows, there&#8217;s getting to be less of a distinction between the two. The stuff in my browser&#8217;s tabs is <em>a reflection of</em> what&#8217;s in my own brain, and a <strong>nearly-seamless extension of&nbsp;it</strong>.</p>
<p>Like every other web developer, I recently got a message from Firefox saying it needed to upgrade. (Because security researchers found <em>yet another</em> hole in Adobe Reader.) Despite the fact that I had over a dozen tabs open, <strong>I knew I wouldn&#8217;t have to worry about performing the upgrade</strong>, because Firefox would remember all my tabs and reopen them after restart. It&#8217;s basically a momentary hiccup in my workflow; I can start the upgrade and then use that 30-second break to refill my teacup or go to the bathroom. Come back, sit down, close the spare &#8220;You&#8217;ve just successfully upgraded Firefox&#8221; tab, and just keep&nbsp;working.</p>
<p>Compare that with Windows&nbsp;Update.<br />
<span id="more-294"></span><br />
For one thing, I can no longer in good conscience advise people to allow Windows Update to automatically install things. Not after Microsoft used it to push &#8220;Windows Genuine Advantage&#8221;. With Firefox, a security update <em>really is</em> just a security update, not an excuse to push crapware on one&#8217;s customers. With Windows Update, I need to scroll through the list of updates and make sure they&#8217;re not sending me something I don&#8217;t want (but which I can never uninstall if I accept it&nbsp;once).</p>
<p>More importantly, though: You never know when a Microsoft security update will include some component that forces a reboot. Sometimes, you&#8217;ll just get a message that your update isn&#8217;t complete until you restart, and would you like to do that now? Other times, you get the annoyingly insistent dialog box that pops up every five minutes, nagging at you to restart your machine. And <strong>it won&#8217;t go away</strong> until you restart. Trying to get anything useful accomplished between that thing&#8217;s interruptions is like trying to concentrate with a <a href="http://www.nationalreview.com/nroriginals/?q=MDllNmVmNGU1NDVjY2IzODBlMjYzNDljZTMzNzFlZjc=">Harrison Bergeron</a>-style mental handicapper on. Which means that before you even <em>start</em> the process, you&#8217;d better be ready to save and close all your work in every single application.</p>
<p>Is it any wonder people hate installing Windows security&nbsp;patches?</p>
<p>The problem is that if you make security updates annoying, people will try to avoid them. And one of the biggest annoyances these days is breaking people&#8217;s train of thought. Now that half of my train of thought is in the computer&nbsp;&mdash; in &#8220;state&#8221; that the software is maintaining for me&nbsp;&mdash; making the software continue to maintain it <strong>across sessions</strong> turns out to be a big&nbsp;win.</p>
<p>The <a href="http://www.e-texteditor.com/">E Text Editor</a> is another example of an application that makes it really easy to leave state in the computer&#8217;s memory instead of cluttering up your own wetware with it. E&#8217;s philosophy is to <em>never discard data</em> unless the user explicitly requests it. It takes the concept of an Undo history far beyond what most people are used&nbsp;to.</p>
<p>Back in &#8217;90s, people got used to having an &#8220;Undo button&#8221;: you could reverse one action. Then we got the &#8220;Undo history&#8221;: you could work backward through multiple steps of undo. Finally, we got the &#8220;Undo/Redo history&#8221;, which allowed one to step <em>forward as well as back</em> in that timeline&#8230; but it was still just a line. If you went back 50 steps, then did something new&nbsp;&mdash; something different from stepping forward&nbsp;&mdash; those 50 steps were all immediately discarded.</p>
<p>E doesn&#8217;t discard information so casually. If you do something new, you now have <strong>a new branch</strong> in the history of your document. It has an &#8220;Undo/Redo <em>tree</em>&rdquo;. (This results in a lot of data being maintained on your hard drive. So what? Hard drive space is cheap. Way cheaper than human attention, which means trading off a bunch of disk space in order to maintain some human attention is a very good&nbsp;deal.)</p>
<p>And, of course, it maintains this state across sessions. If I&#8217;ve been working on a complicated image in Photoshop for a few hours&nbsp;&mdash; or for a week or two, without closing the program (and hence not applying any Windows security updates, because they might force a reboot!)&nbsp;&mdash; one of the <em>last things I want to do</em> is close that file unless I&#8217;m positive that I won&#8217;t ever feel like going back to a previous version of it. (This is why graphic artists get so used to hitting &#8220;Save a Copy&#8221; a whole lot.) The moment I close the file, even if I leave Photoshop itself open, I&#8217;ve lost that&nbsp;history.</p>
<p>Not so in E. I can close the program, apply my Windows patches, then reopen E&#8230; and it will reopen the files I had open when I exited it, <strong>with all that Undo/Redo tree-history still&nbsp;there</strong>.</p>
<p>And this also means that shutting down and restarting E is an easy action. It has no ill effects. I can do it any time, and not have to worry about what I&#8217;m losing. Which means that if E ever comes out with any security patches, I won&#8217;t be at all worried about applying&nbsp;them.</p>
<p>Having nothing to lose by a shutdown makes your program a lot more likely to be&nbsp;upgraded.</p>
<div class="separator"></div>
<p>* In case it isn&#8217;t already obvious, I&#8217;m using the word &#8220;hacker&#8221; to mean &#8220;a computer programmer who loves programming for its own sake, not someone who&#8217;s just punching a clock to pay the bills&#8221;. This is similar to <a href="http://en.wikipedia.org/wiki/Hacker_%28programmer_subculture%29">the programmer-enthusiast culture&#8217;s classical definitions</a> that include &#8220;A person who enjoys exploring the details of programmable systems and stretching their capabilities&#8221; and &#8220;A person who delights in having an intimate understanding of the internal workings of a system, computers and computer networks in particular.&#8221; It should be very obvious that I <strong>don&#8217;t</strong> mean someone who breaks into computer&nbsp;systems.</p>
]]></content:encoded>
			<wfw:commentRss>http://kagan.mactane.org/blog/2011/03/15/easy-restarts-are-a-security-feature/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Palm Is Lying, Not Just Spying</title>
		<link>http://kagan.mactane.org/blog/2009/08/14/palm-is-lying-not-just-spying/</link>
		<comments>http://kagan.mactane.org/blog/2009/08/14/palm-is-lying-not-just-spying/#comments</comments>
		<pubDate>Fri, 14 Aug 2009 19:48:05 +0000</pubDate>
		<dc:creator>Kai MacTane</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bad ideas]]></category>
		<category><![CDATA[corporate evil]]></category>
		<category><![CDATA[hall of shame]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[opinion]]></category>
		<category><![CDATA[Palm Pre]]></category>
		<category><![CDATA[rants]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[snark]]></category>
		<category><![CDATA[you fail]]></category>

		<guid isPermaLink="false">http://kai.mactane.org/blog/?p=105</guid>
		<description><![CDATA[So, Palm was recently caught spying on its users. Major kudos, by the way, to Joey Hess, who initially broke this story. For those who haven&#8217;t kept up, various other news outlets and blogs have also been reporting on it. Palm&#8217;s response to this problem is a single paragraph of corporate PR-speak: Palm takes privacy [...]]]></description>
			<content:encoded><![CDATA[<p>So, Palm was recently caught spying on its users. Major kudos, by the way, to <a href="http://kitenet.net/~joey/blog/entry/Palm_Pre_privacy/">Joey Hess, who initially broke this story</a>. For those who haven&#8217;t kept up, <a href="http://www.msnbc.msn.com/id/32409843/ns/technology_and_science-tech_and_gadgets/">various</a> <a href="http://www.cnbc.com/id/32416284/site/14081545">other</a> <a href="http://www.informationweek.com/blog/main/archives/2009/08/privacy_palms_e.html;jsessionid=1QQJOFB3I3UWDQE1GHPCKHWATMY32JVN">news</a> <a href="http://www.expertreviews.co.uk/news/266431/does-the-palm-pre-spy-on-you.html">outlets</a> <a href="http://www.mobilecomputermag.co.uk/200908131401/man-claims-the-palm-pre-monitors-his-every-move.html">and</a> <a href="http://technologyexpert.blogspot.com/2009/08/big-brother-er-palm-pre-is-watching-you.html">blogs</a> have also been reporting on it.
</p>
<p>Palm&#8217;s response to this problem is a single paragraph of corporate PR-speak:
</p>
<p><blockquote>Palm takes privacy very seriously, and offers users ways to turn data collecting services on and off. Our privacy policy is like many policies in the industry and includes very detailed language about potential scenarios in which we might use a customer&#8217;s information, all toward a goal of offering a great user experience. For instance, when location based services are used, we collect their information to give them relevant local results in Google Maps. We appreciate the trust that users give us with their information, and have no intention to violate that trust.</blockquote>
</p>
<p>The problems with this statement are:
</p>

<ol>
	<li>There is no indication of how to turn off this particular piece of data collection. Not on Palm&#8217;s web site, not in the user manual that came with the Pr&#275;, and not in the Pr&#275;&#8217;s user interface.</li>
	<li>For all the &#8220;detailed language&#8221; in <a href="http://www.palm.com/us/company/privacy.html">Palm&#8217;s privacy policy</a>, there is no slightest indication&nbsp;&mdash; anywhere&nbsp;&mdash; that they collect information about what applications the user runs.</li>
</ol>

<p>It&#8217;s particularly interesting to look at the &#8220;On-Device Services&#8221; part of the privacy policy: It mentions types of data that will be collected &#8220;<em>If</em> you use services we provide&#8221; (emphasis added). For example, they say, &#8220;When you use a remote diagnostics or software update service, we will collect information related to your device (including serial number, diagnostic information, crash logs, or application configurations)&#8221;. This is the only mention of collection data about a user&#8217;s applications, and it clearly starts with &#8220;when you use a diagnostic service&#8221;.
</p>
<p>It doesn&#8217;t say &#8220;once per day, no matter what&#8221;.
</p>
<p>Other items under &#8220;On-Device Services&#8221; start with &#8220;When you use a back-up and restore service&#8230;&#8221; and &#8220;When you use location based services&#8221;.
</p>
<p><img src="http://kai.mactane.org/images/palm-pre-location-services.png" alt="" width="280" height="420" style="float: right; margin: 0 0 8px 16px;" />All of this suggests that users have some sort of control over what gets sent and when. The Palm Pr&#275;&#8217;s &#8220;Location Services&#8221; preferences item has a control labeled &#8220;Background Data Collection&#8221;, with the caption: &#8220;Allows Google to automatically collect anonymous location data to improve the quality of location services.&#8221; (This is after other controls labeled &#8220;Auto Locate&#8221;, &#8220;Use GPS&#8221;, as shown at right. If you turn on Auto Locate, you also get a control labeled &#8220;Geotag Photos&#8221;.)
</p>
<p>It doesn&#8217;t say that Google (or anyone else) will collect data on what apps a user is running. And it strongly implies that this data will only be collected when I actually run an app that uses location services&nbsp;&mdash; for example, Google Maps, or OpenTable (which wants to know where I am so it can try to find nearby restaurants).
</p>
<p>And it blatantly claims that if I turn off that switch, it won&#8217;t send my data off to big corporations any more.
</p>
<p>So far, I&#8217;ve verified a few things:
</p>

<ol>
	<li>The application data log includes installs, uninstalls, and launch and close times for all apps, not just Palm&#8217;s official ones. Homebrew and third-party apps are included.</li>
	<li>Flipping the Background Data Collection switch does <em>not</em> turn off the <code>contextupload</code> process that&#8217;s responsible for sending the information to Palm&#8217;s servers.</li>
	<li>Nor does it stop logging application launch and close times. I&#8217;ll repeat that: <em>My Pr&#275; is still logging application launch and close times into <code>/var/context/contextfile</code>, even though I have Background Data Collection turned off</em>.</li>
</ol>

<p>We in the technology business have a technical term for what Palm is doing when it claims that it &#8220;offers users ways to turn data collecting services on and off&#8221; in the context of this particular data. That term is: <strong>lying</strong>. Palm is lying to us, pure and simple.
</p>

]]></content:encoded>
			<wfw:commentRss>http://kagan.mactane.org/blog/2009/08/14/palm-is-lying-not-just-spying/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Launching SSHblock</title>
		<link>http://kagan.mactane.org/blog/2009/06/16/launching-sshblock/</link>
		<comments>http://kagan.mactane.org/blog/2009/06/16/launching-sshblock/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 18:59:26 +0000</pubDate>
		<dc:creator>Kai MacTane</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[my projects]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[release]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[system administration]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://kai.mactane.org/blog/?p=71</guid>
		<description><![CDATA[My latest software project is now available&#8230; where &#8220;latest&#8221; means &#8220;the latest thing I&#8217;ve launched, even if I actually wrote it over a year ago.&#8221; The story is simple: I was tired of seeing &#8220;failed password&#8221; messages from sshd cluttering up my logs. I was also annoyed at the constant flow of dictionary attacks, even [...]]]></description>
			<content:encoded><![CDATA[<p>My <a href="http://kai.mactane.org/software/sshblock/">latest software project is now available</a>&#8230; where &#8220;latest&#8221; means &#8220;the latest thing I&#8217;ve <em>launched</em>, even if I actually wrote it over a year ago.&#8221;</p>
<p>The story is simple: I was tired of seeing &#8220;failed password&#8221; messages from sshd cluttering up my logs. I was also annoyed at the constant flow of dictionary attacks, even if I knew they&#8217;d never get in. So I whipped up a quick Perl script that acted as some glue between <a href="http://swatch.sourceforge.net/">Swatch</a> and iptables, and which would also give me some amount of reporting and history on who and what it was blocking.</p>
<p>Then I posted about it in my online journal, and a friend said it sounded useful. So I started getting it ready for release as a package that anyone could use&#8230;</p>
<p>And promptly realized that doing a decent, professional job of it would take more time than I had available. Fast-forward to now, when I&#8217;m unemployed and can only spend so many hours per day job-hunting&nbsp;&mdash; the result is that the world gets more software!</p>
]]></content:encoded>
			<wfw:commentRss>http://kagan.mactane.org/blog/2009/06/16/launching-sshblock/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>McAfee: Failing at Security Since 2005</title>
		<link>http://kagan.mactane.org/blog/2009/05/05/mcafee-failing-at-security-since-2005/</link>
		<comments>http://kagan.mactane.org/blog/2009/05/05/mcafee-failing-at-security-since-2005/#comments</comments>
		<pubDate>Tue, 05 May 2009 17:37:42 +0000</pubDate>
		<dc:creator>Kai MacTane</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[hall of shame]]></category>
		<category><![CDATA[news]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[XSS]]></category>
		<category><![CDATA[you fail]]></category>

		<guid isPermaLink="false">http://kai.mactane.org/blog/2009/05/05/mcafee-failing-at-security-since-2005/</guid>
		<description><![CDATA[Back in 2005, I was a &#8220;geek for hire&#8221; and did a lot of general troubleshooting for end-users. Including malware removal and general PC tune-ups. One client wanted me to install some software, including McAfee&#8217;s main end-user product at the time&#160;&#8212; I don&#8217;t recall the name. I do recall, however, that my head nearly exploded [...]]]></description>
			<content:encoded><![CDATA[<p>Back in 2005, I was a &#8220;geek for hire&#8221; and did a lot of general troubleshooting for end-users. Including malware removal and general PC tune-ups. One client wanted me to install some software, including McAfee&#8217;s main end-user product at the time&nbsp;&mdash; I don&#8217;t recall the name.</p>
<p>I <em>do</em> recall, however, that my head nearly exploded when I found that the product required the user to <em>turn on</em> ActiveX&#8230; and not even restrict it to local execution only! I informed the client (with as little ranting as I could) that this was an extremely bad idea, and strongly advised that he get a different security software suite, and ditch the McAfee product as quickly as he could.</p>
<p><a href="http://www.readwriteweb.com/archives/mcafee_enabling_malware_distribution_and_fraud.php">It seems that McAfee has not improved their security practices since then.</a> People are saying that a security company should know better. I agree, but I&#8217;m not all that surprised; this just looks like more of the same stuff I saw from them back in &#8217;05.</p>
]]></content:encoded>
			<wfw:commentRss>http://kagan.mactane.org/blog/2009/05/05/mcafee-failing-at-security-since-2005/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

