<?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>linsec.ca blog &#187; security</title>
	<atom:link href="http://linsec.ca/blog/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://linsec.ca/blog</link>
	<description>You can have it right, or you can have it now.  But you can&#039;t have it right now.</description>
	<lastBuildDate>Mon, 23 Jan 2012 23:38:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Two-factor SSH authentication via Google secures Linux logins</title>
		<link>http://linsec.ca/blog/2011/06/25/two-factor-ssh-authentication-via-google-secures-linux-logins/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=two-factor-ssh-authentication-via-google-secures-linux-logins</link>
		<comments>http://linsec.ca/blog/2011/06/25/two-factor-ssh-authentication-via-google-secures-linux-logins/#comments</comments>
		<pubDate>Sat, 25 Jun 2011 15:35:11 +0000</pubDate>
		<dc:creator>vdanen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[openssh]]></category>
		<category><![CDATA[pam]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[techmail]]></category>

		<guid isPermaLink="false">http://linsec.ca/blog/?p=1000</guid>
		<description><![CDATA[Last week&#8217;s TechMail was Two-factor SSH authentication via Google secures Linux logins which talks about using Google two-factor authentication with SSH (and PAM in general). I really like it and it works quite well although the comments in the TechMail indicate another option called Duo for two-factor authentication that sounds really interesting as well.]]></description>
			<content:encoded><![CDATA[<p>Last week&#8217;s TechMail was <a href="http://www.techrepublic.com/blog/opensource/two-factor-ssh-authentication-via-google-secures-linux-logins/2607">Two-factor SSH authentication via Google secures Linux logins</a> which talks about using Google two-factor authentication with SSH (and PAM in general).  I really like it and it works quite well although the comments in the TechMail indicate another option called Duo for two-factor authentication that sounds really interesting as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://linsec.ca/blog/2011/06/25/two-factor-ssh-authentication-via-google-secures-linux-logins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Apps&#8217; two-factor authentication provides security boost for Mac and iPhone users</title>
		<link>http://linsec.ca/blog/2011/05/25/google-apps-two-factor-authentication-provides-security-boost-for-mac-and-iphone-users/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=google-apps-two-factor-authentication-provides-security-boost-for-mac-and-iphone-users</link>
		<comments>http://linsec.ca/blog/2011/05/25/google-apps-two-factor-authentication-provides-security-boost-for-mac-and-iphone-users/#comments</comments>
		<pubDate>Wed, 25 May 2011 21:48:03 +0000</pubDate>
		<dc:creator>vdanen</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[google apps]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[techmail]]></category>

		<guid isPermaLink="false">http://linsec.ca/blog/?p=993</guid>
		<description><![CDATA[Last week&#8217;s mac tip was Google Apps&#8217; two-factor authentication provides security boost for Mac and iPhone users which looks at how to setup two-factor authentication on the mac (or anywhere else really, this isn&#8217;t quite specific to the mac). Two-factor authentication turns off a lot of people because they think it&#8217;s too hard but it [...]]]></description>
			<content:encoded><![CDATA[<p>Last week&#8217;s mac tip was <a href="http://www.techrepublic.com/blog/mac/google-apps-two-factor-authentication-provides-security-boost-for-mac-and-iphone-users/1159">Google Apps&#8217; two-factor authentication provides security boost for Mac and iPhone users</a> which looks at how to setup two-factor authentication on the mac (or anywhere else really, this isn&#8217;t quite specific to the mac).</p>
<p>Two-factor authentication turns off a <i>lot</i> of people because they think it&#8217;s too hard but it honestly isn&#8217;t, and the security benefits it provides are outstanding.  Two-factor authentication operates on two principles or components for an authentication &#8220;token&#8221; (or password for lack of a better term): one thing you know (your password) and one thing you don&#8217;t (a random time-based PIN that a hardware device generates for you).  This means that if someone has my username and password, that information is utterly <i>useless</i> without having my hardware token (which can be, in the case of Google, an iPhone or Android phone, etc.).  Which makes my account really quite secure, and certainly more secure than it would be with just a password.</p>
<p>If you sincerely care about your Google Apps security, you really owe it to yourself to check out the two-factor authentication support.  It&#8217;s easy to setup, cheap to setup, and easy to use as well.</p>
]]></content:encoded>
			<wfw:commentRss>http://linsec.ca/blog/2011/05/25/google-apps-two-factor-authentication-provides-security-boost-for-mac-and-iphone-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enhance security on your Mac with Hands Off!</title>
		<link>http://linsec.ca/blog/2011/04/23/enhance-security-on-your-mac-with-hands-off/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=enhance-security-on-your-mac-with-hands-off</link>
		<comments>http://linsec.ca/blog/2011/04/23/enhance-security-on-your-mac-with-hands-off/#comments</comments>
		<pubDate>Sun, 24 Apr 2011 04:46:48 +0000</pubDate>
		<dc:creator>vdanen</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[techmail]]></category>

		<guid isPermaLink="false">http://linsec.ca/blog/?p=982</guid>
		<description><![CDATA[This week&#8217;s mac techmail was Enhance security on your Mac with Hands Off! which is a neat security tool for OS X. I&#8217;ve been using Little Snitch for years, and Hands Off! is quite similar except that it provides more features and functionality, including the ability to protect files and directories on the hard drive [...]]]></description>
			<content:encoded><![CDATA[<p>This week&#8217;s mac techmail was <a href="http://www.techrepublic.com/blog/mac/enhance-security-on-your-mac-with-hands-off/1102">Enhance security on your Mac with Hands Off!</a> which is a neat security tool for OS X.  I&#8217;ve been using Little Snitch for years, and Hands Off! is quite similar except that it provides more features and functionality, including the ability to protect files and directories on the hard drive with applicable policies to programs.  Want to default deny access to files, and allow only trusted applications to access them?  No problem.  Hands Off! lets you grant access to specific files, or specific directories so that, for instance, a hack in Safari can&#8217;t automatically send (or write) files outside of what Safari should have access to: cookies, local storage, cache, etc.  Hands Off! is pretty slick and worth looking at; the tip discusses it in further details.</p>
]]></content:encoded>
			<wfw:commentRss>http://linsec.ca/blog/2011/04/23/enhance-security-on-your-mac-with-hands-off/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Use APF to manage your firewall</title>
		<link>http://linsec.ca/blog/2011/03/14/use-apf-to-manage-your-firewall/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=use-apf-to-manage-your-firewall</link>
		<comments>http://linsec.ca/blog/2011/03/14/use-apf-to-manage-your-firewall/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 06:00:01 +0000</pubDate>
		<dc:creator>vdanen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[firewall]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[techmail]]></category>

		<guid isPermaLink="false">http://linsec.ca/blog/?p=954</guid>
		<description><![CDATA[Last week&#8217;s techmail was Use APF to manage your firewall which takes a look at using the APF (Advanced Policy Firewall) set of scripts to configure an iptables-based firewall on Linux. I was always a big Shorewall user; used it on my servers whether they ran Mandriva or Annvix. Recently I&#8217;ve been fiddling with /etc/sysconfig/iptables [...]]]></description>
			<content:encoded><![CDATA[<p>Last week&#8217;s techmail was <a href="http://www.techrepublic.com/blog/opensource/use-apf-to-manage-your-firewall/2302">Use APF to manage your firewall</a> which takes a look at using the APF (Advanced Policy Firewall) set of scripts to configure an iptables-based firewall on Linux.  I was always a big Shorewall user; used it on my servers whether they ran Mandriva or Annvix.  Recently I&#8217;ve been fiddling with /etc/sysconfig/iptables directly on Red Hat Enterprise Linux and CentOS, but I got wind of APF because that is what is installed on my VPS (had never heard of it before).  This little gem is making me rethink my recommendations of using Shorewall because it&#8217;s easier to configure and much more straightforward when it comes to defining the firewall rules.  It may be lacking in some feature areas that Shorewall has, but I&#8217;ve not found anything lacking in it yet.  The techmail gives a quick primer on how to get it installed and configured.</p>
]]></content:encoded>
			<wfw:commentRss>http://linsec.ca/blog/2011/03/14/use-apf-to-manage-your-firewall/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips for safer web browsing when using Adobe Flash on your Mac</title>
		<link>http://linsec.ca/blog/2011/01/10/tips-for-safer-web-browsing-when-using-adobe-flash-on-your-mac/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tips-for-safer-web-browsing-when-using-adobe-flash-on-your-mac</link>
		<comments>http://linsec.ca/blog/2011/01/10/tips-for-safer-web-browsing-when-using-adobe-flash-on-your-mac/#comments</comments>
		<pubDate>Mon, 10 Jan 2011 19:43:34 +0000</pubDate>
		<dc:creator>vdanen</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[techmail]]></category>

		<guid isPermaLink="false">http://linsec.ca/blog/?p=902</guid>
		<description><![CDATA[Last week&#8217;s mac techmail was Tips for safer web browsing when using Adobe Flash on your Mac which talks about using ClickToFlash on the mac to prevent flash from automatically loading. Since flash is pretty awful and there have been a lot of security holes in it, I prefer the security of having to click [...]]]></description>
			<content:encoded><![CDATA[<p>Last week&#8217;s mac techmail was <a href="http://blogs.techrepublic.com.com/mac/?p=930">Tips for safer web browsing when using Adobe Flash on your Mac</a> which talks about using ClickToFlash on the mac to prevent flash from automatically loading.  Since flash is pretty awful and there have been a lot of security holes in it, I prefer the security of having to click on a specific piece of flash I want to see, rather than letting anything on any site load whenever it feels like it.</p>
]]></content:encoded>
			<wfw:commentRss>http://linsec.ca/blog/2011/01/10/tips-for-safer-web-browsing-when-using-adobe-flash-on-your-mac/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The most important updates in Red Hat Enterprise Linux 6</title>
		<link>http://linsec.ca/blog/2010/11/23/the-most-important-updates-in-red-hat-enterprise-linux-6/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-most-important-updates-in-red-hat-enterprise-linux-6</link>
		<comments>http://linsec.ca/blog/2010/11/23/the-most-important-updates-in-red-hat-enterprise-linux-6/#comments</comments>
		<pubDate>Wed, 24 Nov 2010 00:58:06 +0000</pubDate>
		<dc:creator>vdanen</dc:creator>
				<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[rhel]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[techmail]]></category>

		<guid isPermaLink="false">http://linsec.ca/blog/?p=880</guid>
		<description><![CDATA[This week&#8217;s techmail is The most important updates in Red Hat Enterprise Linux 6. Disclaimer: I didn&#8217;t give it that title. =) It mostly looks at the security features of RHEL6 and what makes it compelling (to me, who is more concerned about security than pretty much anything else) as a server operating system. So [...]]]></description>
			<content:encoded><![CDATA[<p>This week&#8217;s techmail is <a href="http://blogs.techrepublic.com.com/opensource/?p=2015">The most important updates in Red Hat Enterprise Linux 6</a>.  Disclaimer: I didn&#8217;t give it that title.  =)  It mostly looks at the security features of RHEL6 and what makes it compelling (to me, who is more concerned about security than pretty much anything else) as a server operating system.  So while I wouldn&#8217;t necessarily call them &#8220;the most important updates&#8221;, to me they are significant and prove that we&#8217;re still on the right track, as we add new security enhancements to each new version of Red Hat Enterprise Linux.</p>
]]></content:encoded>
			<wfw:commentRss>http://linsec.ca/blog/2010/11/23/the-most-important-updates-in-red-hat-enterprise-linux-6/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Turn your Mac into a security surveillance centre</title>
		<link>http://linsec.ca/blog/2010/09/21/turn-your-mac-into-a-security-surveillance-centre/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=turn-your-mac-into-a-security-surveillance-centre</link>
		<comments>http://linsec.ca/blog/2010/09/21/turn-your-mac-into-a-security-surveillance-centre/#comments</comments>
		<pubDate>Wed, 22 Sep 2010 05:31:58 +0000</pubDate>
		<dc:creator>vdanen</dc:creator>
				<category><![CDATA[OS X]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[surveillance]]></category>
		<category><![CDATA[techmail]]></category>

		<guid isPermaLink="false">http://linsec.ca/blog/?p=837</guid>
		<description><![CDATA[Last week&#8217;s mac techmail was Turn your Mac into a security surveillance centre which discusses the SecuritySpy software and using it to watch the feeds of remote video cameras. Very cool stuff, and shockingly inexpensive (the cameras I got now monitor the exterior of the house, and they were about $100/ea). Nothing super fancy (pan/tilt/zoom [...]]]></description>
			<content:encoded><![CDATA[<p>Last week&#8217;s mac techmail was <a href="http://blogs.techrepublic.com.com/mac/?p=726">Turn your Mac into a security surveillance centre</a> which discusses the SecuritySpy software and using it to watch the feeds of remote video cameras.  Very cool stuff, and shockingly inexpensive (the cameras I got now monitor the exterior of the house, and they were about $100/ea).  Nothing super fancy (pan/tilt/zoom would be nice, but this was mostly a trial and I have a budget to maintain), but works quite well and SecuritySpy is quite slick.</p>
]]></content:encoded>
			<wfw:commentRss>http://linsec.ca/blog/2010/09/21/turn-your-mac-into-a-security-surveillance-centre/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How not to update GPG keys</title>
		<link>http://linsec.ca/blog/2010/09/14/how-not-to-update-gpg-keys/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-not-to-update-gpg-keys</link>
		<comments>http://linsec.ca/blog/2010/09/14/how-not-to-update-gpg-keys/#comments</comments>
		<pubDate>Tue, 14 Sep 2010 23:30:40 +0000</pubDate>
		<dc:creator>vdanen</dc:creator>
				<category><![CDATA[Life]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[gnupg]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://linsec.ca/blog/?p=827</guid>
		<description><![CDATA[This seems to be an ongoing saga so now I&#8217;m going to vent about it. It is ridiculous that an organization supposedly as secure as CERT can have such poor distribution mechanisms for alerting users of their new GPG keys. It is really important that, when you update GPG keys and distribute the public key [...]]]></description>
			<content:encoded><![CDATA[<p>This seems to be an ongoing saga so now I&#8217;m going to vent about it.  It is ridiculous that an organization supposedly as secure as <a href="http://www.cert.org/">CERT</a> can have such poor distribution mechanisms for alerting users of their new GPG keys.  It is really important that, when you update GPG keys and distribute the public key that you can <i>easily</i> establish trust of the new key.  There are a few ways this can be done: sign the new key with the old (known and/or trusted) key, sign any distribution mails with the old key (to ensure authenticity), include a revocation in the new key to import, and have a secure place where that information can be obtained.</p>
<p>CERT changes keys often &#8212; way more often than their once-a-year policy on their web site indicates; well, this year they have anyways.  Previous years were one key a year.  However, they don&#8217;t follow any of these &#8220;best practices&#8221;.  And they know it, because I&#8217;ve told them in the past.  And yet, even now, they still can&#8217;t get it right.  What&#8217;s more amusing is that on their <a href="https://www.cert.org/contact_cert/encryptmail.html">Sending Sensitive Information to CERT</a> page, which is SSL encrypted, shows <i>two</i> different fingerprints.  For posterity, I took the following screenshot:</p>
<p><a href="http://linsec.ca/blog/wp-content/uploads/2010/09/cert-gpg.jpg" rel="prettyPhoto[827]"><img src="http://linsec.ca/blog/wp-content/uploads/2010/09/cert-gpg-300x165.jpg" alt="CERT&#039;s web page for posterity" title="CERT web page" width="300" height="165" class="aligncenter size-medium wp-image-835" /></a></p>
<p>The wrong fingerprint listed in section #2 belongs to the old key.<br />
<span id="more-827"></span><br />
The key released today is:</p>
<pre>
pub   2048R/72C33BD5 2010-09-13 [expires: 2011-09-30]
      Key fingerprint = 79DA 4C07 0AE5 EB20 D641  3F80 67B1 5F29 72C3 3BD5
uid                  CERT Coordination Center <cert@cert.org>
sig 3        72C33BD5 2010-09-13  CERT Coordination Center <cert@cert.org>
</pre>
<p>While the previous key is:</p>
<pre>
pub   2048R/9A478CA0 2010-03-03 [revoked: 2010-09-13]
      Key fingerprint = E9EA E7FB D8AF E5AE FD36  41DE 5146 432C 9A47 8CA0
rev          9A478CA0 2010-09-13  CERT Coordination Center <cert@cert.org>
uid                  CERT Coordination Center <cert@cert.org>
sig 3        9A478CA0 2010-03-03  CERT Coordination Center <cert@cert.org>
</pre>
<p>To see how things are getting sloppy, we need to go back a bit further to see what had been done in the past:</p>
<pre>
pub   2048R/B7FBBBC1 2010-01-20 [revoked: 2010-03-03]
      Key fingerprint = 66A6 DAC9 3014 21CB DCA6  A6F6 3389 F064 B7FB BBC1
rev          B7FBBBC1 2010-03-03  CERT Coordination Center <cert@cert.org>
uid                  CERT Coordination Center <cert@cert.org>
sig 3        B7FBBBC1 2010-01-20  CERT Coordination Center <cert@cert.org>
sig          AF30D800 2010-01-20  CERT Coordination Center <cert@cert.org>
</pre>
<p>Notice the difference here?  This third-latest key was signed by another CERT-owned key (AF30D800), which was the previous-to-that key used.  Trust is then established to the new key, <i>from</i> the old (known) key.  The most current and previous keys were not signed by their predecessors, which makes them harder to trust.  So in the last three keys, two are self-signed, one is properly signed to establish trust (by the previous key).  What&#8217;s even more sad is that key AF30D800 was nicely signed: not only by the previous key, but also by a &#8220;master key&#8221; which also establishes more authenticity of the key:</p>
<pre>
pub   2048R/AF30D800 2009-06-15 [revoked: 2010-01-20]
      Key fingerprint = 943C 0A2E 4CB8 4C8F CA53  22F8 680D 4DC1 AF30 D800
rev          AF30D800 2010-01-20  CERT Coordination Center <cert@cert.org>
uid                  CERT Coordination Center <cert@cert.org>
sig 3        AF30D800 2009-06-15  CERT Coordination Center <cert@cert.org>
sig          18DEBE70 2009-06-15  Networked Systems Survivability Master Key <nomail@cert.org>
sig          14C33F57 2009-06-15  CERT Coordination Center <cert@cert.org>
</pre>
<p>Now this one is a good key, a trustable key.  The last two keys are not.</p>
<p>Couple that with the half-updated web page and you&#8217;re left scratching your head &#8212; or, at least, I was.  Not so much this time because, sadly, I&#8217;m no longer surprised.  But last time I actually phoned CERT to verify the new key&#8217;s fingerprint because I had nothing to trust it with.  In fact, when the mail came out to notify of the new key, it was signed with the <i>new</i> key, not the old key.</p>
<p>Ummm&#8230; excuse me, but I can spoof sending a mail from cert@cert.org and generate my own key with the uid cert@cert.org and bloody well sign it with the spoofed key I just generated!  The only thing I couldn&#8217;t do is update their web page but, honestly, I wonder how many people check.  And of those that do, have they done it in the past and noticed prior inconsistencies and just chalked it up to&#8230; incompetence?  Negligence?  Key distribution malpractice?</p>
<p>Again, there is nothing for me to trust that this new key is legit.</p>
<p>It&#8217;s sad that an organization built around <i>security</i> has no clue about this.  What&#8217;s worse, is they&#8217;ve been told (twice!) about a better way to distribute new keys.  I know.  I told them.  Both times.</p>
<p>So, to recap, these are things you <i>should</i> do when distributing a new GPG key:</p>
<ol>
<li> Sign the email sending out the <i>new</i> key with the <i>old</i> key.  Seriously, it establishes trust and proves you are who you say you are
<li> Fully and completely update your web site.  It&#8217;s nice you have one, and it&#8217;s nice that it&#8217;s semi-updated, and even better that you can get to it via SSL.  But if it lists the new key in section 1 and section 2 is about verifying the fingerprint but lists the <i>old</i> key&#8217;s fingerprint, how do you trust any of it?
<li> Sign the <i>new</i> key with the <i>old</i> key.  It proves that the person/organization who has the old key trusts the new one enough to sign it.  Like giving it a seal of approval or just saying &#8220;hey, this is legit&#8221;
<li> For Pete&#8217;s sake, revoke the old key!  It doesn&#8217;t have to necessarily be in the same message, but it should be revoked.  Heck, send out a mail signed with the old key, containing the new key, and then send out another message signed with the new key, revoking the old key.  Or have one email message sending two different GPG-signed sections so one email does it all.
</ol>
<p>None of this is difficult to do, and it makes trusting these new keys so much easier.  I&#8217;ve not paid attention to see if other people/organizations fail so badly here, but I don&#8217;t get what makes this so hard to do.  It&#8217;s not rocket science, just common sense.  I can see Joe Average maybe not thinking about it, but for an organization like CERT?  Come on.  How are we supposed to trust what you send out when you can&#8217;t even get Simple Key Management 101 right?</p>
]]></content:encoded>
			<wfw:commentRss>http://linsec.ca/blog/2010/09/14/how-not-to-update-gpg-keys/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Learn to use extended file attributes in Linux to boost security</title>
		<link>http://linsec.ca/blog/2009/12/16/learn-to-use-extended-file-attributes-in-linux-to-boost-security/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=learn-to-use-extended-file-attributes-in-linux-to-boost-security</link>
		<comments>http://linsec.ca/blog/2009/12/16/learn-to-use-extended-file-attributes-in-linux-to-boost-security/#comments</comments>
		<pubDate>Wed, 16 Dec 2009 16:39:16 +0000</pubDate>
		<dc:creator>vdanen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[techmail]]></category>

		<guid isPermaLink="false">http://linsec.ca/blog/?p=652</guid>
		<description><![CDATA[This week&#8217;s TechMail is Learn to use extended file attributes in Linux to boost security which takes a look at using chattr, getfattr, setfattr, getfacl, and setfacl; tools that can be used to offer more granular security to files and directories. Being able to use SELinux or GrSecurity, AppArmor, and other security enhancements to the [...]]]></description>
			<content:encoded><![CDATA[<p>This week&#8217;s TechMail is <a href="http://blogs.techrepublic.com.com/opensource/?p=1116">Learn to use extended file attributes in Linux to boost security</a> which takes a look at using chattr, getfattr, setfattr, getfacl, and setfacl; tools that can be used to offer more granular security to files and directories.  Being able to use SELinux or GrSecurity, AppArmor, and other security enhancements to the kernel are great, but they&#8217;re not always available and not always easily configurable.  These tools take you back to basics (regarding, of course, filesystem security pertaining to ownership and access &#8212; this isn&#8217;t to say that SELinux and friends _only_ do that, but sometimes a quick chattr or setfacl may be all that is required).</p>
]]></content:encoded>
			<wfw:commentRss>http://linsec.ca/blog/2009/12/16/learn-to-use-extended-file-attributes-in-linux-to-boost-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Towards responsible disclosure</title>
		<link>http://linsec.ca/blog/2009/07/09/towards-responsible-disclosure/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=towards-responsible-disclosure</link>
		<comments>http://linsec.ca/blog/2009/07/09/towards-responsible-disclosure/#comments</comments>
		<pubDate>Fri, 10 Jul 2009 01:51:11 +0000</pubDate>
		<dc:creator>vdanen</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Red Hat]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://linsec.ca/blog/?p=522</guid>
		<description><![CDATA[This week was interesting, dealing with the supposed &#8220;OpenSSH 0day&#8221; vulnerability stuff&#8230; rumours, innuendo, strange logs and packet capture files&#8230; it made for a long week trying to keep an eye on this and sort fact from fiction. Instead of focusing on the issue itself like other blogs and news sites are doing, I thought [...]]]></description>
			<content:encoded><![CDATA[<p>This week was interesting, dealing with the supposed &#8220;OpenSSH 0day&#8221; vulnerability stuff&#8230; rumours, innuendo, strange logs and packet capture files&#8230; it made for a long week trying to keep an eye on this and sort fact from fiction.  Instead of focusing on the issue itself like other blogs and news sites are doing, I thought it might be interesting to look at some general resources to aid in the responsible disclosure of issues.  I won’t focus on whether or not this issue is fact, or fiction, or who caused it, who furthered it, who took advantage of it, or why it was done in the first place.  I&#8217;m more thinking of the fallout and the general panic it caused in a lot of people.  The problem with pegging OpenSSH as vulnerable is that it is a service used on most servers, and is a service that, more importantly, is perhaps one of the most *vital* on servers.  As seen with one hosting company that preemptively shut SSH accessibility off entirely, a lot of people just couldn&#8217;t get things done.  Other services, like DNS, are equally vital, so the fallout can be quite brutal &#8212; even when something is not substantiated.</p>
<p>Another thing that makes this a problem today is the how fast information spreads, and how quickly something posted online is taken as gospel.  For instance, starting a rumour like this is extremely simple and can be done by one person with a bunch of email addresses and a little bit of knowledge.  This kind of social engineering can be used for a lot of things beyond just phishing (money, passwords, whatever).  It can be used to sow confusion, which could be used as a smoke-screen to cover other nefarious deeds and redirect attention from the truly nasty things going on, and it can also be used to perpetrate such fear that people are essentially causing a Denial of Service against themselves and/or their customers simply because of rumours spreading like wildfire.</p>
<p>Either way, half the battle here is dealing with this stuff smarter and better, and more responsibly.  Outfits that claim inside information but aren&#8217;t willing to share it are not being responsible.  I&#8217;m not saying to necessarily share it with the public at large (right away, at least), as that may not serve the public&#8217;s best interest.  But to provide crucial information to affected vendors (who can then take that and develop fixes to help a much larger audience) or upstream is absolutely the responsible thing to do.</p>
<p>To that end, I&#8217;d like to share a few links that can help people disclose issues they are aware of, or suspect, in a more responsible fashion.  Holding info tight to your chest like a bag of sour gummies doesn&#8217;t help anyone but you, and even then, it can harm more than help.  Individuals or companies that claim to have inside info and are working on a fix may not be the appropriate people to work on a fix in the first place.  After all, who knows code better than the folks who wrote it?  It makes more sense to take the issue and all the information you have and open up communication with the vendor/upstream in order to facilitate an appropriate fix that helps *everyone*, not just yourself.  Quite often the fix you suggest is quite a ways from that which the vendor or upstream would use, and may cause more problems than it corrects.  So getting appropriate people involved just makes sense, and peer review is an asset that the open source community understands &#8212; and views as necessity.</p>
<p>So here are a few links:</p>
<ul>
<li> <a href="http://oss-security.openwall.org/wiki/mailing-lists">OSS Security wiki: Security-related mailing lists</a> contains a list of mailing lists you can use to get in touch with people who care and sincerely want to help.  Many vendors are represented on both public and private lists, suitable for discussing issues that are currently public (oss-security) or those that are currently private (vendor-sec)
<li> <a href="http://oss-security.openwall.org/wiki/whattodo">What to do if I encounter a security issue</a> is a page that documents how to deal with a security or suspected security issue and how to make sure it gets to the right people
<li> <a href="http://www.redhat.com/security/updates/backporting/">Backporting of Security Fixes</a>  talks about why many vendors, including Red Hat, backport fixes to packages rather than just updating to new ones (I&#8217;m including this because there was a lot of misinformation about OpenSSH versions being out-of-date and presumably insecure because they aren&#8217;t the latest-and-greatest)
<li> <a href="http://www.redhat.com/security/team/contact/">Red Hat Security Contacts and Procedures</a> is the contact page for the Red Hat Security Response Team; please use it if you think you have something as we absolutely want and love to help with this sort of stuff and if you don&#8217;t know who to contact, chances are we can take care of that on your behalf
</li>
<p>Responsible disclosure is really important, and everyone needs to do their part when it comes to this stuff.  Irresponsible disclosure, or no disclosure, hurts more people than it helps and has been the source of many a headache for a whole lot of people over the years.</p>
]]></content:encoded>
			<wfw:commentRss>http://linsec.ca/blog/2009/07/09/towards-responsible-disclosure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

