<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Josh's Blog - Security</title>
    <link>http://www.bress.net/blog/</link>
    <description>Security with an Open Source twist</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 1.6 - http://www.s9y.org/</generator>
    <pubDate>Sun, 09 Sep 2012 03:00:48 GMT</pubDate>

    <image>
        <url>http://www.bress.net/blog/templates/default/img/s9y_banner_small.png</url>
        <title>RSS: Josh's Blog - Security - Security with an Open Source twist</title>
        <link>http://www.bress.net/blog/</link>
        <width>100</width>
        <height>21</height>
    </image>

<item>
    <title>Linux Will Never Not Always Maybe Get Viruses ... or something</title>
    <link>http://www.bress.net/blog/archives/206-Linux-Will-Never-Not-Always-Maybe-Get-Viruses-...-or-something.html</link>
            <category>Linux</category>
            <category>Security</category>
    
    <comments>http://www.bress.net/blog/archives/206-Linux-Will-Never-Not-Always-Maybe-Get-Viruses-...-or-something.html#comments</comments>
    <wfw:comment>http://www.bress.net/blog/wfwcomment.php?cid=206</wfw:comment>

    <slash:comments>2</slash:comments>
    <wfw:commentRss>http://www.bress.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=206</wfw:commentRss>
    

    <author>nospam@example.com (Josh Bressers)</author>
    <content:encoded>
    I ran across this article the other day &lt;a href=&quot;http://hothardware.com/Reviews/Why-Linux-Will-Never-Suffer-From-Viruses-Like-Windows/&quot;&gt;Why Linux Will Never Suffer From Viruses Like Windows&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
The article makes some pretty bold claims about Linux getting a virus. I admit, I&#039;m quite skeptical of the conclusions the author makes. I do security work on Linux and I keep telling everyone &quot;our day is coming&quot;. I won&#039;t complain if I&#039;m wrong, but I suspect I&#039;m not.&lt;br /&gt;
&lt;br /&gt;
Here are my thoughts on the issue.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;The reason Linux doesn&#039;t have viruses is because Linux doesn&#039;t have viruses&lt;/strong&gt;&lt;br /&gt;
This basically means nobody is really writing them. Why not of course is up for debate, but even if they didn&#039;t propogate well, we&#039;d at least see something out there. So far there&#039;s not much.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Your phone is bigger than the Linux Desktop&lt;/strong&gt;&lt;br /&gt;
I expect every year for the next 50 or so to be &quot;The Year of the Linux Desktop&quot;. What a lot of people don&#039;t get is the desktop is becoming less relevant than ever before, but Linux is more important than ever before. Watch out for viruses on your phone, that&#039;s the next place the bad guys are going to go. Except this time it&#039;s not going to be about telling all your friends you love them, it&#039;s going to be about stealing all your information and money, THEN telling all your friends how much you love them.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;People are the problem&lt;/strong&gt;&lt;br /&gt;
Fundamentally speaking, until we remove people from the equation (which is pretty hard to do and still turn a profit), we will have attacks. While some platforms do make attacking them easier than others, I&#039;m fairly certain in at least 80% of instances it was a person making a bad decision that caused their computer to become infected. Technology moves faster than people can learn, what was safe today won&#039;t be safe tomorrow. We can&#039;t even imagine what the next attack will look like.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Will Linux have viruses? Maybe. Will Linux become a bigger target? Certainly. Can we do anything about it? Even if not, we&#039;re going to try. Buckle up, I suspect the next few years are going to be a wild ride. 
    </content:encoded>

    <pubDate>Fri, 07 Sep 2012 06:30:20 -0400</pubDate>
    <guid isPermaLink="false">http://www.bress.net/blog/archives/206-guid.html</guid>
    
</item>
<item>
    <title>How to use a cryptostick with Gnu Privacy Guard</title>
    <link>http://www.bress.net/blog/archives/203-How-to-use-a-cryptostick-with-Gnu-Privacy-Guard.html</link>
            <category>Security</category>
    
    <comments>http://www.bress.net/blog/archives/203-How-to-use-a-cryptostick-with-Gnu-Privacy-Guard.html#comments</comments>
    <wfw:comment>http://www.bress.net/blog/wfwcomment.php?cid=203</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.bress.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=203</wfw:commentRss>
    

    <author>nospam@example.com (Josh Bressers)</author>
    <content:encoded>
    I&#039;ve had an OpenPGP smartcard for quite some time now. I recently acquired a &lt;a href=&quot;http://shop.kernelconcepts.de/product_info.php?products_id=133&quot;&gt;Crypto Stick&lt;/a&gt; as well thanks to rcvalle. Using these things with GnuPG isn&#039;t very clear and took a lot of work to figure out. Rather than let others struggle through all this, I&#039;ll document the procedure here.&lt;br /&gt;
&lt;br /&gt;
The basic idea behind using a smartcard to hold your GPG keys is that an attacker can&#039;t steal the key. The worst they could do is to sign or decrypt something while you have the card inserted.&lt;br /&gt;
&lt;br /&gt;
Please take the time to understand what&#039;s going on here. I have lots of examples to make this all work, but be sure you understand what&#039;s happening. Public key cryptography is hard, you should at least have a basic grasp of what&#039;s happening here. This howto should be treated as an example, not a cookie cutter recipe to follow.&lt;br /&gt;
&lt;br /&gt;
This is a rather long post, more after the fold.&lt;br /&gt;
&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;a href=&quot;http://www.bress.net/blog/archives/203-How-to-use-a-cryptostick-with-Gnu-Privacy-Guard.html#extended&quot;&gt;Continue reading &quot;How to use a cryptostick with Gnu Privacy Guard&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Mon, 27 Feb 2012 08:40:00 -0500</pubDate>
    <guid isPermaLink="false">http://www.bress.net/blog/archives/203-guid.html</guid>
    
</item>
<item>
    <title>Is Linus' Law real?</title>
    <link>http://www.bress.net/blog/archives/204-Is-Linus-Law-real.html</link>
            <category>Security</category>
    
    <comments>http://www.bress.net/blog/archives/204-Is-Linus-Law-real.html#comments</comments>
    <wfw:comment>http://www.bress.net/blog/wfwcomment.php?cid=204</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.bress.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=204</wfw:commentRss>
    

    <author>nospam@example.com (Josh Bressers)</author>
    <content:encoded>
    Long long ago, Eris Raymond coined &quot;Linus&#039; Law&quot;.&lt;br /&gt;
&lt;blockquote&gt;given enough eyeballs, all bugs are shallow.&lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
Last week Coverity released a report showing that open source software has a lower defect rate than proprietary software. This of course has some folks claiming that Linus&#039; Law works!&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://techcrunch.com/2012/02/23/with-many-eyeballs-all-bugs-are-shallow/&quot;&gt;http://techcrunch.com/2012/02/23/with-many-eyeballs-all-bugs-are-shallow/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Now I&#039;m about as big of a fan of open source as they come, but I&#039;m not sure if this is the proper course for cause and effect. I&#039;ve done a lot of thinking about Linus&#039; Law in the past few months as part of the Red Hat Product Security Team. What the Coverity report shows is that open source has fewer of the kind of defects Coverity can detect. That&#039;s really it.&lt;br /&gt;
&lt;br /&gt;
On the topic of open source code quality and bugs though, I think there are a few more important things to consider.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;1) The source code is available.&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
We&#039;ve all written horrible horrible code when we know nobody will look at it. If I know someone will see my work, especially THE WHOLE WORLD, I&#039;m going to spend a few extra minutes to make it look nice, which will help reduce bugs.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;2) The original author is probably still around&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
One of the problems you can see with proprietary software is that the developers don&#039;t own the code. If a developer gets a new job, they&#039;ll probably never see it again. With open source, regardless of where you work, you&#039;re going to work on your projects. This &quot;old knowledge&quot; is a very powerful thing.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;3) Anyone can help&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
If you report a bug to a proprietary vendor, they have to justify the fix from a business perspective. If the bug is obscure, or doesn&#039;t affect functionality, they may decide not to fix it. With open source, anyone can submit a patch. That means you can benefit from the long tail of contributions. The core 5% of people may write 95% of the software, but it&#039;s the other 95% of users and their 5% patches that can make the real difference. Those 5% patches are likely bugfixes, not new functionality.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;4) The Distribution model is powerful&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
I worked for a company that write proprietary software once. The use and testing are very well defined. If a user found a bug because they were doing something weird, they were told to go away. With open source, there are hundreds of Distributions, all of them do things a little bit different. These corner cases improve overall code quality (a bug is a bug).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
I suspect the overall message here isn&#039;t that Linus&#039; Law works (it might, I&#039;m not sure honestly). The message is that open source works. Why can&#039;t be pinned down to one thing, it&#039;s a lot of factors all coming together. Maybe all bugs ARE shallow with enough eyeballs. It&#039;s more likely though that the message should be &quot;more eyeballs is better than less eyeballs&quot;.&lt;br /&gt;
&lt;br /&gt;
What do you think? 
    </content:encoded>

    <pubDate>Sun, 26 Feb 2012 08:55:00 -0500</pubDate>
    <guid isPermaLink="false">http://www.bress.net/blog/archives/204-guid.html</guid>
    
</item>
<item>
    <title>Expanding Red Hat's Product Security Efforts</title>
    <link>http://www.bress.net/blog/archives/200-Expanding-Red-Hats-Product-Security-Efforts.html</link>
            <category>Linux</category>
            <category>Open Source</category>
            <category>Red Hat</category>
            <category>Security</category>
    
    <comments>http://www.bress.net/blog/archives/200-Expanding-Red-Hats-Product-Security-Efforts.html#comments</comments>
    <wfw:comment>http://www.bress.net/blog/wfwcomment.php?cid=200</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.bress.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=200</wfw:commentRss>
    

    <author>nospam@example.com (Josh Bressers)</author>
    <content:encoded>
    I&#039;m rather excited to announce an expansion of Red Hat&#039;s product security efforts. I&#039;ve been tasked with creating a team inside Red Hat to formalize our product security work. There is already a lot of really good work happening inside Red Hat in the security space. Technologies such as SELinux, ExecShield, secure development principals, and hardening in the toolchain have come a long way. However as happens with all decent sized companies, the left hand doesn&#039;t always know what the right hand is doing. Rather than letting good work go unnoticed, we&#039;re going to start formalizing some of these efforts to leverage what&#039;s being done, expand existing efforts into other product areas, and develop new programs.&lt;br /&gt;
&lt;br /&gt;
Some additional efforts I would like to further are areas such as secure design principals, developer security training initiatives, secure coding practices, and security testing.&lt;br /&gt;
&lt;br /&gt;
If you&#039;re interested in being a part of this effort, I have a number of open positions scattered around the world, feel free to apply directly or contact me if you have any questions. I&#039;m quite happy to discuss location, so don&#039;t let that scare you off.&lt;br /&gt;
&lt;br /&gt;
Please note these positions are no longer open. If you want to view open positions, please visit&lt;br /&gt;
&lt;a href=&quot;http://careers.redhat.com/&quot;&gt;http://careers.redhat.com&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Software Engineer - Security Best Practices Development&lt;br /&gt;
Software Engineer - Tool Development&lt;br /&gt;
Software Engineer - New Security Technologies Development&lt;br /&gt;
Software Engineer - Code Audit Development&lt;br /&gt;
Developer Training&lt;br /&gt;
&lt;br /&gt;
I don&#039;t expect any of this to be easy, but nothing worth doing is ever easy. I expect many challenges and rewards to come from this. Red Hat is in a unique and great position to take on such a task. Stay tuned for more updates. 
    </content:encoded>

    <pubDate>Mon, 21 Nov 2011 07:17:00 -0500</pubDate>
    <guid isPermaLink="false">http://www.bress.net/blog/archives/200-guid.html</guid>
    
</item>
<item>
    <title>Sony, PSN, and timing</title>
    <link>http://www.bress.net/blog/archives/198-Sony,-PSN,-and-timing.html</link>
            <category>Security</category>
    
    <comments>http://www.bress.net/blog/archives/198-Sony,-PSN,-and-timing.html#comments</comments>
    <wfw:comment>http://www.bress.net/blog/wfwcomment.php?cid=198</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.bress.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=198</wfw:commentRss>
    

    <author>nospam@example.com (Josh Bressers)</author>
    <content:encoded>
    News is starting to make the rounds that Sony&#039;s PSN users had their personal info stolen nine days ago.&lt;br /&gt;
&lt;a href=&quot;http://gamrfeed.vgchartz.com/story/85812/sony-your-psn-personal-info-was-stolen-nine-days-ago/&quot;&gt;Sony: Your PSN Personal Info Was Stolen Nine Days Ago&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Most people are now thinking NINE @#$%ING DAYS!!!&lt;br /&gt;
&lt;br /&gt;
The wording Sony is using is fairly vague, nothing sounds concrete. This is most likely because they don&#039;t know for sure. I suspect it took them nine days to release this news because they spent the first five days running around in an utter panic waiving their hands in the air.&lt;br /&gt;
&lt;br /&gt;
I&#039;m not going to pick on Sony for being broken into, this happens. Even the best networks in the world have flaws. Nothing is perfect. Given how long it&#039;s taken them to respond, they probably didn&#039;t have a proper incident handling plan. It&#039;s easy to see security as a useless cost until you need it, then it looks pretty cheap.&lt;br /&gt;
&lt;br /&gt;
Someday, you too will be compromised. What will you do when it happens? 
    </content:encoded>

    <pubDate>Wed, 27 Apr 2011 16:00:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.bress.net/blog/archives/198-guid.html</guid>
    
</item>
<item>
    <title>If a phone tracks you in the forest, does it makes a noise?</title>
    <link>http://www.bress.net/blog/archives/197-If-a-phone-tracks-you-in-the-forest,-does-it-makes-a-noise.html</link>
            <category>Security</category>
    
    <comments>http://www.bress.net/blog/archives/197-If-a-phone-tracks-you-in-the-forest,-does-it-makes-a-noise.html#comments</comments>
    <wfw:comment>http://www.bress.net/blog/wfwcomment.php?cid=197</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://www.bress.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=197</wfw:commentRss>
    

    <author>nospam@example.com (Josh Bressers)</author>
    <content:encoded>
    There has been a lot of noise lately about Apple and Google phones tracking people. This isn&#039;t very surprising honestly. Everything tracks what you do these days. Your web browser tracks the sites you visit. I would be amazed if more than half of your travel time isn&#039;t recorded on some sort of video security system (think about how many public and private video cameras you see, if you can see it, it can see you). Even when you spend money, it&#039;s being tracked. There are debates as to how anonymous cash is, for now, let&#039;s just presume it&#039;s not anonymous. Even the books you read are easier than ever to track thanks to ereaders (sure they know you bought &lt;em&gt;The Catcher in the Rye&lt;/em&gt;, but now they know you read it once a month).&lt;br /&gt;
&lt;br /&gt;
We live in a world where we have no privacy. This probably won&#039;t ever change since companies want to know this information. I&#039;d be surprised if any single group has managed to put it all together yet, but there is a giant pile of gold waiting for whoever does (my current money is on Facebook, as long as someone doesn&#039;t swoop in and get it right before they&#039;re done floundering).&lt;br /&gt;
&lt;br /&gt;
The real question is what can we do about it? There are really only three options. Go live in a shack in the woods and never ever spend money or use technology. Stop caring. Don&#039;t do silly things.&lt;br /&gt;
&lt;br /&gt;
The vast majority of people live in the &quot;Stop caring&quot; option since they don&#039;t know any better. Living in the woods is probably out of the question fo most of us as something will eat us on day 3 if we haven&#039;t starved to death. The right answer is to not be silly.&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://www.bress.net/blog/archives/197-If-a-phone-tracks-you-in-the-forest,-does-it-makes-a-noise.html#extended&quot;&gt;Continue reading &quot;If a phone tracks you in the forest, does it makes a noise?&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sun, 24 Apr 2011 18:40:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.bress.net/blog/archives/197-guid.html</guid>
    
</item>
<item>
    <title>New GPG key</title>
    <link>http://www.bress.net/blog/archives/196-New-GPG-key.html</link>
            <category>Security</category>
    
    <comments>http://www.bress.net/blog/archives/196-New-GPG-key.html#comments</comments>
    <wfw:comment>http://www.bress.net/blog/wfwcomment.php?cid=196</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.bress.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=196</wfw:commentRss>
    

    <author>nospam@example.com (Josh Bressers)</author>
    <content:encoded>
    I&#039;ve finally gotten around to setting up a new GPG key for myself. It can be found on the keyservers, signed with my old key for those of you interested. The fingerprint is &lt;blockquote&gt;CFB1 136C 6DD0 5BB9 D798  A78E 1CD8 ACDD BBE0 9A0F&lt;/blockquote&gt;&lt;br /&gt;
The really cool thing about this key is I have it living on an OpenPGP smartcard. Such a card can be found from &lt;a href=&quot;http://shop.kernelconcepts.de/index.php?language=en&quot;&gt;kernel concepts&lt;/a&gt;. This means that it&#039;s quite difficult for someone to steal this key from me. It will take a physical theft for someone to gain the key. The best a remote attacker can do is decrypt or sign a things as me while I have the card plugged into my computer.&lt;br /&gt;
&lt;br /&gt;
As a warning, I wasn&#039;t able to generate my keys using the Omnikey or Gemalto USB keyreaders I have. I bought SIM sized smart cards so I can easily carry both the card and reader with me at all times. It turned out that GPG could generate the keys on Windows, so I ended up having to to do a clean windows install to generate the keys (which was promptly destroyed afterwards), it was a rather silly waste of time, but it did work. 
    </content:encoded>

    <pubDate>Sun, 03 Apr 2011 15:03:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.bress.net/blog/archives/196-guid.html</guid>
    
</item>
<item>
    <title>Firefox in a sandbox with Fedora</title>
    <link>http://www.bress.net/blog/archives/195-Firefox-in-a-sandbox-with-Fedora.html</link>
            <category>Security</category>
    
    <comments>http://www.bress.net/blog/archives/195-Firefox-in-a-sandbox-with-Fedora.html#comments</comments>
    <wfw:comment>http://www.bress.net/blog/wfwcomment.php?cid=195</wfw:comment>

    <slash:comments>6</slash:comments>
    <wfw:commentRss>http://www.bress.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=195</wfw:commentRss>
    

    <author>nospam@example.com (Josh Bressers)</author>
    <content:encoded>
    There is a really cool utility from the selinux &lt;a href=&quot;http://danwalsh.livejournal.com/31146.html?thread=213162&quot;&gt;folks&lt;/a&gt; called &lt;em&gt;sandbox&lt;/em&gt;. It&#039;s lets you run an application inside a sandbox which has limited permissions on the system. The idea being that you could run an untrusted process which shouldn&#039;t be able to cause any real damage. I dare say these days the most untrusted process is a web browser. I know Chrome uses a technology similar to this where each tab gets its own sandbox, but I don&#039;t run Chrome, so my goal is to make Firefox as safe as possible. Plus I&#039;m a paranoid nut, so this sort of thing I find really interesting.&lt;br /&gt;
&lt;br /&gt;
The sanbox program is part of the policycoreutils-python package in Fedora. It has the unique feature of being able to run an X application inside the sandbox. This is done by using a Xephyr X server. Getting this to run Firefox the way I wanted took a bit of work, but it&#039;s quite handy now that I have it working.&lt;br /&gt;
&lt;br /&gt;
The biggest advantage I now have are multiple browsers running as my user. I have one browser for general browsing. This browser I never enter a password into, as I presume some of the sites I visit could be malicious in nature.&lt;br /&gt;
&lt;br /&gt;
My other browser is for trusted sites, like webmail and my bank. I&#039;m able to run any number of browsers I wish, since each runs in its own sandbox, I don&#039;t have to worry about any resource collisions. If I have a questionable site to investigate (which happens in the security world fairly often), I just run another browser, check the site then close it. The sandbox cleans up any mess left behind when I&#039;m done.&lt;br /&gt;
&lt;br /&gt;
More after the fold.&lt;br /&gt;
&lt;br /&gt;
 &lt;br /&gt;&lt;a href=&quot;http://www.bress.net/blog/archives/195-Firefox-in-a-sandbox-with-Fedora.html#extended&quot;&gt;Continue reading &quot;Firefox in a sandbox with Fedora&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 26 Feb 2011 15:02:00 -0500</pubDate>
    <guid isPermaLink="false">http://www.bress.net/blog/archives/195-guid.html</guid>
    
</item>
<item>
    <title>Critical security handled critically</title>
    <link>http://www.bress.net/blog/archives/194-Critical-security-handled-critically.html</link>
            <category>Security</category>
    
    <comments>http://www.bress.net/blog/archives/194-Critical-security-handled-critically.html#comments</comments>
    <wfw:comment>http://www.bress.net/blog/wfwcomment.php?cid=194</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.bress.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=194</wfw:commentRss>
    

    <author>nospam@example.com (Josh Bressers)</author>
    <content:encoded>
    Last week there was an Exim 0day flaw found in the wild. This hasn&#039;t happened to something this widely used in quite a long time. It&#039;s worth pointing out that all the right folks came together to get this fixed in an amazing amount of time. They did a great job and deserve a lot of credit. This could have been a lot worse than it was.&lt;br /&gt;
&lt;br /&gt;
Upstream sent this message giving a pretty good run down of &lt;a href=&quot;http://marc.info/?l=oss-security&amp;m=129224961001508&amp;w=2&quot;&gt;events.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Their openness is certainly the best way to have handled this. If you treat security like a PR problem, it becomes a PR problem.&lt;br /&gt;
&lt;br /&gt;
The short story is that on December 7, a vigilant sysadmin (Sergey Kononenko) noticed a compromised server, and luckily grabbed a dump of the data. It wasn&#039;t widely noticed for about two days. During this time investigation began. Here is where open source showed its real power. When the folks investigating were having issues, they started asking other community folks to help, this eventually made its way to various vendors. Everyone brought a different piece to the puzzle, and the next day the problem was understood, and vendors started to patch their copies of Exim. It turned out upstream had fixed the issue quite some time ago.&lt;br /&gt;
&lt;br /&gt;
It&#039;s not uncommon for emergencies to go horribly wrong, but when the right people do the right things, things can work nicely. 
    </content:encoded>

    <pubDate>Mon, 13 Dec 2010 21:07:00 -0500</pubDate>
    <guid isPermaLink="false">http://www.bress.net/blog/archives/194-guid.html</guid>
    
</item>
<item>
    <title>Private browsing is hard</title>
    <link>http://www.bress.net/blog/archives/193-Private-browsing-is-hard.html</link>
            <category>Security</category>
    
    <comments>http://www.bress.net/blog/archives/193-Private-browsing-is-hard.html#comments</comments>
    <wfw:comment>http://www.bress.net/blog/wfwcomment.php?cid=193</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.bress.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=193</wfw:commentRss>
    

    <author>nospam@example.com (Josh Bressers)</author>
    <content:encoded>
    &lt;a href=&quot;http://www.out-law.com/page-11293&quot;&gt;Private browsing is not as secure as users think, says study&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
This shouldn&#039;t come as a surprise to anyone. Anytime you try to retrofit a new security model into an old one, you will break things, and sometimes it&#039;s just impossible to do it right. I suspect that most modern browsers will never be able to remove all possible traces of what you&#039;ve been up to. There is a clever solution in Fedora 13 though. There is a tool called &lt;a href=&quot;http://danwalsh.livejournal.com/33090.html&quot;&gt;sandbox&lt;/a&gt; that Dan Walsh cooked up. I&#039;ll save the scary details, you can read Dan&#039;s blog for that.&lt;br /&gt;
&lt;br /&gt;
The basic idea is that you can run a web browser inside of a sandbox, once you exit the sandbox, your files are all deleted. By using SELinux to confine the browser, you don&#039;t have to worry about an exploit breaking out of the sandbox. Since all the files are removed once you exit, there is no history left on the disk. Currently the sandbox only deletes the files written to disk, I filed a bug to shred them instead, which would prevent someone from inspecting the leftover bits on the disk.&lt;br /&gt;
&lt;br /&gt;
The only trick that&#039;s no obvious, is you probably want to carry along your .mozilla directory for things like bookmarks and plugins. My sanbox browser command is&lt;br /&gt;
&lt;blockquote&gt;sandbox -t sandbox_web_t -i /home/bress/.mozilla -X firefox&lt;/blockquote&gt;&lt;br /&gt;
It&#039;s not perfect and I don&#039;t use it for everything (yet), but I hope in the near future, all my browsing will happen this way. 
    </content:encoded>

    <pubDate>Wed, 11 Aug 2010 07:23:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.bress.net/blog/archives/193-guid.html</guid>
    
</item>
<item>
    <title>Security vs hype vs reality</title>
    <link>http://www.bress.net/blog/archives/192-Security-vs-hype-vs-reality.html</link>
            <category>Security</category>
    
    <comments>http://www.bress.net/blog/archives/192-Security-vs-hype-vs-reality.html#comments</comments>
    <wfw:comment>http://www.bress.net/blog/wfwcomment.php?cid=192</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>http://www.bress.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=192</wfw:commentRss>
    

    <author>nospam@example.com (Josh Bressers)</author>
    <content:encoded>
    Does hype hurt the world of security? Maybe, but probably not.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://searchsecurity.techtarget.com/news/column/0,294698,sid14_gci1518017,00.html?track=sy160&quot;&gt;Black Hat convention hype hurts the enterprise risk management process&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The author has one good point about security. Don&#039;t fall into the hype. It also has a number of silly points, my favorite being:&lt;br /&gt;
&lt;blockquote&gt;The security community must stop this hysterical response to vulnerability research. Security professionals must embrace more measured, logical and reasoned responses to new threats.&lt;/blockquote&gt;&lt;br /&gt;
This isn&#039;t really true. The press needs to stop the hysterical response, vendors should fix their problems and have a reasonable story to tell their customers.&lt;br /&gt;
&lt;br /&gt;
Most of these people are looking to make a name for themselves. The difference is that when these people cause a stir, it sounds scary.&lt;br /&gt;
&lt;br /&gt;
It gets even more scary when you have an unresponsive or silly vendor who just stirs the pot. There are still a lot of vendors who treat security like a PR problem rather than a technical issue. Security flaws are bugs caused by programming mistakes. They need to be fixed, not approached as if they are a news story. If you fix the problem without much fanfare, there isn&#039;t much of a story. How many headlines have you read that are &quot;Vendor fixes flaw in timely and reasonable manner!&quot; Not many, it&#039;s way more fun to write about the vendor who refuse to fix a security flaw and insists the researcher is a bad bad person who lies and is bad.&lt;br /&gt;
&lt;br /&gt;
Security flaws can be embarrassing for the affected party. Public disclosure, even sensational public disclosure is sometimes needed. These people often don&#039;t get paid directly for their work. Their pay is in reputation; they aren&#039;t going to complain if their flaw gets lots of hype. 
    </content:encoded>

    <pubDate>Tue, 10 Aug 2010 08:00:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.bress.net/blog/archives/192-guid.html</guid>
    
</item>
<item>
    <title>Automatic Firefox updates?</title>
    <link>http://www.bress.net/blog/archives/191-Automatic-Firefox-updates.html</link>
            <category>Security</category>
    
    <comments>http://www.bress.net/blog/archives/191-Automatic-Firefox-updates.html#comments</comments>
    <wfw:comment>http://www.bress.net/blog/wfwcomment.php?cid=191</wfw:comment>

    <slash:comments>4</slash:comments>
    <wfw:commentRss>http://www.bress.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=191</wfw:commentRss>
    

    <author>nospam@example.com (Josh Bressers)</author>
    <content:encoded>
    Mozilla plans to automatically update Firefox 4, without asking the user anything:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.computerworld.com/s/article/9180272/Mozilla_plans_to_silently_update_Firefox&quot;&gt;Mozilla plans to silently update Firefox&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
There was once a time I would have thought this is bad. Not telling a user what&#039;s going on can&#039;t be good, right?&lt;br /&gt;
&lt;br /&gt;
I think this is true for some users, but it&#039;s a minority of them. Most people don&#039;t understand what the update is for, or why they should get it. That means that some of them will click &quot;no&quot; when asked if they should update. In the rare event someone has a need to not take an update, they can choose to go down this dangerous path.&lt;br /&gt;
&lt;br /&gt;
The obvious counter argument is &quot;what if my vendor does something evil with their update!&quot; If this is something you&#039;re worried about, you need a new vendor. If you can&#039;t trust your vendor, what&#039;s worse, a system that can be infected by an evildoer, or a system that &lt;strong&gt;IS&lt;/strong&gt; infected by a dishonest vendor?&lt;br /&gt;
&lt;br /&gt;
Automatic updates for security flaws are good, automatic updates for random vendor whims are not. I suspect that much of the fear of automatic updates comes from vendors trying to sneak in other changes. I would say if you don&#039;t trust your vendor, and they don&#039;t trust you, what&#039;s even the point? 
    </content:encoded>

    <pubDate>Mon, 09 Aug 2010 18:37:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.bress.net/blog/archives/191-guid.html</guid>
    
</item>
<item>
    <title>Storing body scan images</title>
    <link>http://www.bress.net/blog/archives/189-Storing-body-scan-images.html</link>
            <category>Security</category>
    
    <comments>http://www.bress.net/blog/archives/189-Storing-body-scan-images.html#comments</comments>
    <wfw:comment>http://www.bress.net/blog/wfwcomment.php?cid=189</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.bress.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=189</wfw:commentRss>
    

    <author>nospam@example.com (Josh Bressers)</author>
    <content:encoded>
    It seems some folks are indeed storing the body scan images everyone said would never be stored:&lt;br /&gt;&lt;br /&gt;
&lt;a href=&quot;http://news.cnet.com/8301-31921_3-20012583-281.html&quot;&gt;Feds admit storing checkpoint body scan images&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
This probably shouldn&#039;t surprise many people. The issue isn&#039;t so much that these guys are trying to be evil, but are protecting themselves. Let&#039;s say a bad guy gets through the machine. If there is no record of the scan, you have an instant scapegoat; the security screener clearly didn&#039;t do their job! If you&#039;ve saved it though, you can point at it and say &quot;Look, the scan was fine, not my fault!&quot;&lt;br /&gt;
&lt;br /&gt;
People generally don&#039;t like to be blamed for anything. When given the choice between what is right, and what could keep them of trouble, most people will opt to stay out of trouble. It&#039;s part of our monkey brains at work, we don&#039;t like to be in trouble.&lt;br /&gt;
&lt;br /&gt;
Storing these images will probably never change, as it&#039;s really easy to convince most people we need these. When someone says &quot;it makes us safer&quot;, it&#039;s hard to create an argument a normal person will understand. Normal people can relate to wanting to stop bad people from doing bad things (especially to themselves). What they can&#039;t relate to is how the people in charge can systematically remove freedoms over a very long period of time, slowly, so most don&#039;t notice. Sadly the closest thing to an argument most people grasp about these machines is that they don&#039;t want pictures of their naked bodies stored. 
    </content:encoded>

    <pubDate>Thu, 05 Aug 2010 12:00:00 -0400</pubDate>
    <guid isPermaLink="false">http://www.bress.net/blog/archives/189-guid.html</guid>
    
</item>
<item>
    <title>Encrypting phone calls</title>
    <link>http://www.bress.net/blog/archives/186-Encrypting-phone-calls.html</link>
            <category>Security</category>
    
    <comments>http://www.bress.net/blog/archives/186-Encrypting-phone-calls.html#comments</comments>
    <wfw:comment>http://www.bress.net/blog/wfwcomment.php?cid=186</wfw:comment>

    <slash:comments>1</slash:comments>
    <wfw:commentRss>http://www.bress.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=186</wfw:commentRss>
    

    <author>nospam@example.com (Josh Bressers)</author>
    <content:encoded>
    Wow, it&#039;s been a long time since I&#039;ve updated this thing. Hopefully I&#039;ll be less busy in the future.&lt;br /&gt;
&lt;br /&gt;
Bruce Schneier had a really interesting story:&lt;br /&gt;
&lt;a href=&quot;http://www.schneier.com/blog/archives/2010/05/nobody_encrypts.html&quot;&gt;Nobody Encrypts their Phone Calls&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I&#039;m not very surprised by this. Encrypting phone calls is hard (even if you know what you&#039;re doing), which I suspect puts folks into two buckets&lt;br /&gt;
&lt;br /&gt;
1) People who don&#039;t understand their phone calls can and probably are being recorded&lt;br /&gt;
2) People smart enough to not use the phone&lt;br /&gt;
&lt;br /&gt;
The really scary thing though is this quote:&lt;br /&gt;
&lt;blockquote&gt;In 2009, encryption was encountered during one state wiretap, but did not prevent officials from obtaining the plain text of the communications,&lt;/blockquote&gt;&lt;br /&gt;
The question to think about now, is how did they get a transcript? (I suspect it was from a different remote listening device that wasn&#039;t a telephone) 
    </content:encoded>

    <pubDate>Thu, 06 May 2010 21:54:20 -0400</pubDate>
    <guid isPermaLink="false">http://www.bress.net/blog/archives/186-guid.html</guid>
    
</item>
<item>
    <title>I am an Infinite Monkey</title>
    <link>http://www.bress.net/blog/archives/181-I-am-an-Infinite-Monkey.html</link>
            <category>Security</category>
    
    <comments>http://www.bress.net/blog/archives/181-I-am-an-Infinite-Monkey.html#comments</comments>
    <wfw:comment>http://www.bress.net/blog/wfwcomment.php?cid=181</wfw:comment>

    <slash:comments>3</slash:comments>
    <wfw:commentRss>http://www.bress.net/blog/rss.php?version=2.0&amp;type=comments&amp;cid=181</wfw:commentRss>
    

    <author>nospam@example.com (Josh Bressers)</author>
    <content:encoded>
    A friend passed along this blog posting from Microsoft:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://blogs.msdn.com/shawnhernan/archive/2010/02/13/microsoft-s-many-eyeballs-and-the-security-development-lifecycle.aspx&quot;&gt;Microsoft’s Many Eyeballs and the Security Development Lifecycle&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The article is full of half truths and assumptions, but my favorite bit is probably this:&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote&gt;A million monkeys banging on a million keyboards will eventually produce Twelfth Night. Mathematically, the many-eyeballs argument, and the million-monkeys argument are equivalent. &lt;/blockquote&gt;&lt;br /&gt;
&lt;br /&gt;
I shall applaud Microsoft for comparing Open Source developers to monkeys randomly banging on keyboards. They&#039;ve compared us to lots of things in the past, I&#039;m not sure if this is a step up, or just lateral, either way, I&#039;m happy to claim my infinite monkey status. It would be grand if one of you creative types could come up with a clever logo for our new social status.&lt;br /&gt;
&lt;br /&gt;
In all seriousness though, the article makes a number of claims, I&#039;ll try to cover the big ones here:&lt;br /&gt;
 1) Code review makes software more secure&lt;br /&gt;
 2) Many Eyeballs is not true&lt;br /&gt;
 3) Nobody is auditing Open Source software&lt;br /&gt;
 4) The Microsoft Security Development Lifecycle, or SDL, is swell&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;1) Code review makes software more secure&lt;/strong&gt;&lt;br /&gt;
I don&#039;t think anyone can argue against this. The author then goes on to pick out a handful of quotes about how Open Source doesn&#039;t get bugs fixed. I&#039;m not even sure how one can come to this conclusion, so let&#039;s look at the facts presented instead: None. So in conclusion ... wait, what? The thing that makes an article like this hard to accept without any actual meat, is that it&#039;s all out there. Open Source development happens in the public. You don&#039;t get to hide bugs under the rug, you can&#039;t pretend development is or isn&#039;t happening. If the author had interest in backing up this claim, he could have picked a major project and proved his point.&lt;br /&gt;
&lt;br /&gt;
Rather than make some crap up here about how secure Open Source is, I&#039;ll defer the reader to this link:&lt;br /&gt;
&lt;a href=&quot;http://www.redhat.com/security/data/metrics/&quot;&gt;http://www.redhat.com/security/data/metrics/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
That&#039;s Red Hat&#039;s security metric data. If you don&#039;t believe it, you can figure it out for yourself by reviewing the open source development data. Debian has something similar &lt;a href=&quot;http://secure-testing-master.debian.net/&quot;&gt;here&lt;/a&gt;. If what the author claims to be true that Open Source doesn&#039;t get any code reviews, or bugs fixed, it would be in a seriously sorry state. Keep in mind that there are a number of very widely used applications out there, Firefox, Apache, the Linux Kernel, and JBoss to name a few. If these applications were in near the sorry state presented in the article, nobody would run them, but they&#039;re quite widely used.&lt;br /&gt;
&lt;br /&gt;
I think reality wins this one.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;2) Many Eyeballs is not true&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;3) Nobody is auditing Open Source software&lt;/strong&gt;&lt;br /&gt;
These two ideas are similar in their nature. Are they true? Who knows. I&#039;m certainly not an expert and I suspect without a rather expensive study, we&#039;ll never know for sure. Here is what I do know. Microsoft has a finite number of employees. The number of Open Source developers eclipses this by magnitudes. This of course doesn&#039;t mean that they&#039;re doing audits, or even fixing bugs, but the numbers can&#039;t be ignored. Even if only one or two percent of Open Source developers are reviewing code, it&#039;s still a huge number. Unfortunately doing that sort of work isn&#039;t glamorous, so the folks doing it get little credit or attention.&lt;br /&gt;
&lt;br /&gt;
My example is the &lt;a href=&quot;http://fedoraproject.org/wiki/BugZappers&quot;&gt;Fedora Bug Zappers&lt;/a&gt;. These are folks that look at bug reports from Fedora. They&#039;re not well known, nor do they get lots of credit, but the job they do is amazing. Let&#039;s do a thought experiment here to show how bug reports are like echo chambers: they get noticed. If you report a bug in Fedora, one of the Bug Zappers will find it and take a look. If it&#039;s a security flaw, they&#039;ll pass it along to the security minded folks. Right here we&#039;ve gone from one person, filing one bug, has just alerted about ten people (probably more, but let&#039;s be conservative) to the bug. Us security types will take a look, and if it&#039;s real, pass it along to all the other interested Open Source distributions, and upstream. We&#039;re now easily over 100 people. All of those people will collaborate to some degree to develop a patch. Upstream will accept the patch, distributions will patch their packages, and the users will upgrade. Once all this is done, you&#039;re talking about many hundreds of people involved in this one bug report. This is where the idea of many eyeballs comes from. It&#039;s not about people just auditing code, it&#039;s about the community working together to improve the software.&lt;br /&gt;
&lt;br /&gt;
The thing we need to be mindful of here, is that Eric Raymond may be wrong with Linus&#039; Law. It&#039;s not so much the &lt;strong&gt;why&lt;/strong&gt; as it is the &lt;strong&gt;what&lt;/strong&gt;. It&#039;s easy to claim that many eyeballs isn&#039;t true, but one cannot discount the fact that Open Source development works, and it works well. Why it works so well is no doubt an issue that can be debated at length. Perhaps he real power is in our infinite supply of monkeys banging on keyboards &lt;img src=&quot;http://www.bress.net/blog/templates/default/img/emoticons/wink.png&quot; alt=&quot;;-)&quot; style=&quot;display: inline; vertical-align: bottom;&quot; class=&quot;emoticon&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;4) The Microsoft Security Development Lifecycle, or SDL, is swell&lt;/strong&gt;&lt;br /&gt;
I agree with this 100%. It is swell, and it&#039;s a great idea. It would be wonderful if every Open Source project started doing this.&lt;br /&gt;
&lt;br /&gt;
I would be interested in knowing how many flaw are stopped as a result of SDL. I&#039;ve not seen any metrics or papers on the effectiveness of this program. I&#039;m certain it&#039;s stopped some number of flaws. If someone knows of such data, please pass it along. I won&#039;t comment further, as my understanding of this isn&#039;t all that deep, but from what I gather it is a good idea, and I applaud Microsoft for implementing this.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;In Conclusion&lt;/strong&gt;&lt;br /&gt;
The original article I&#039;m mostly disagreeing with here concludes with the usual old data that Microsoft releases fewer security advisories than Open Source does. This is of course a red herring meant to distract the reader. They&#039;ve been caught multiple times only releasing one advisory for multiple flaws. With closed source, there isn&#039;t a good way to tell what&#039;s all getting fixed. In Open Source, we can&#039;t hide anything, it&#039;s all there. This keeps us honest. I could go on with this argument at length, but it&#039;s not really worth it. It&#039;s been picked apart every which way for years now, and I don&#039;t think anyone really cares anymore. At the end of the day, all that matters is keeping the end users safe. If some friendly competition helps do this, we all win. 
    </content:encoded>

    <pubDate>Wed, 17 Feb 2010 09:20:00 -0500</pubDate>
    <guid isPermaLink="false">http://www.bress.net/blog/archives/181-guid.html</guid>
    
</item>

</channel>
</rss>