<?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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Armored Penguin &#187; Blog</title>
	<atom:link href="http://www.armoredpenguin.net/category/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.armoredpenguin.net</link>
	<description>The Armored Penguin Linux and open source security podcast</description>
	<pubDate>Fri, 14 Nov 2008 20:34:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
	<language>en</language>
		<!-- podcast_generator="podPress/8.8" -->
		<copyright>&#xA9;Bradley Alexander </copyright>
		<managingEditor>balexander@armoredpenguin.net (Bradley Alexander)</managingEditor>
		<webMaster>balexander@armoredpenguin.net(Bradley Alexander)</webMaster>
		<category>Linux, Security</category>
		<ttl>1440</ttl>
		<itunes:keywords>Linux, Open Source, Security</itunes:keywords>
		<itunes:subtitle>Linux and Open Source Security podcast</itunes:subtitle>
		<itunes:summary>The Armored Penguin Linux and open source security podcast</itunes:summary>
		<itunes:author>Bradley Alexander</itunes:author>
		<itunes:category text="Technology">
  <itunes:category text="Podcasting"/>
</itunes:category>
<itunes:category text="Technology">
  <itunes:category text="Tech News"/>
</itunes:category>
<itunes:category text="Technology"/>
		<itunes:owner>
			<itunes:name>Bradley Alexander</itunes:name>
			<itunes:email>balexander@armoredpenguin.net</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.armoredpenguin.net/main/wp-content/plugins/podpress/images/armoredpenguin300.jpg" />
		<image>
			<url>http://www.armoredpenguin.net/main/wp-content/plugins/podpress/images/armoredpenguin144.jpg</url>
			<title>Armored Penguin</title>
			<link>http://www.armoredpenguin.net</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Episode 2&#8230;Coming soon.</title>
		<link>http://www.armoredpenguin.net/blog/episode-2coming-soon/</link>
		<comments>http://www.armoredpenguin.net/blog/episode-2coming-soon/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 20:34:58 +0000</pubDate>
		<dc:creator>VulcanRidr</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[episode 2]]></category>

		<guid isPermaLink="false">http://www.armoredpenguin.net/?p=38</guid>
		<description><![CDATA[Episode 2 is recorded and I am in process of editing. It is probably going to be something around an hour, with 17 pages of show notes. I will be working on it this weekend and hopefully get it out the first part of next week.
]]></description>
			<content:encoded><![CDATA[<p>Episode 2 is recorded and I am in process of editing. It is probably going to be something around an hour, with 17 pages of show notes. I will be working on it this weekend and hopefully get it out the first part of next week.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.armoredpenguin.net/blog/episode-2coming-soon/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Mini podcaster meet-up</title>
		<link>http://www.armoredpenguin.net/administrivia/mini-podcaster-meet-up/</link>
		<comments>http://www.armoredpenguin.net/administrivia/mini-podcaster-meet-up/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 15:53:40 +0000</pubDate>
		<dc:creator>VulcanRidr</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://www.armoredpenguin.net/?p=37</guid>
		<description><![CDATA[I am in Chicago for the last of my SAP training. I finally got to meet (and had dinner with) Mr. and Mrs. Verbal. They were a great couple&#8230;And apparently Mrs. Verbal thinks Verbal and I were twins separated at birth&#8230; A big thanks to the Verbals for taking the time to have dinner with [...]]]></description>
			<content:encoded><![CDATA[<p>I am in Chicago for the last of my SAP training. I finally got to meet (and had dinner with) Mr. and Mrs. Verbal. They were a great couple&#8230;And apparently Mrs. Verbal thinks Verbal and I were twins separated at birth&#8230; A big thanks to the Verbals for taking the time to have dinner with me. It was a highlight of the visit to Chicago.</p>
<p>Episode 2 will be released next week. The review (and rewrite) of the information took longer than anticipated because of travel (Lisbon and Chicago this time) and illness.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.armoredpenguin.net/administrivia/mini-podcaster-meet-up/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Upgrades upgrades upgrades</title>
		<link>http://www.armoredpenguin.net/linux/upgrades-upgrades-upgrades/</link>
		<comments>http://www.armoredpenguin.net/linux/upgrades-upgrades-upgrades/#comments</comments>
		<pubDate>Wed, 01 Oct 2008 00:36:18 +0000</pubDate>
		<dc:creator>VulcanRidr</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[Linux]]></category>

		<category><![CDATA[lenny untangle luks]]></category>

		<guid isPermaLink="false">http://www.armoredpenguin.net/?p=36</guid>
		<description><![CDATA[VMware has finally released version 2.0.0 of their free server product. Since I am running a total of four VMware servers (one for testing on my laptop, one semi-test on my workstation, which also stores my template images, and two &#8220;production&#8221; servers), I have been going through the Waltz of the Upgrade. I upgraded defiant, [...]]]></description>
			<content:encoded><![CDATA[<p>VMware has finally released version 2.0.0 of their free server product. Since I am running a total of four VMware servers (one for testing on my laptop, one semi-test on my workstation, which also stores my template images, and two &#8220;production&#8221; servers), I have been going through the Waltz of the Upgrade. I upgraded defiant, danube and prometheus, but decided that lexington, my backup- and sole remaining 1.0.x vmware server, needed a little extra love. I set this box up almost 3 years ago, before disk encryption was available easily in Linux. I went back and encrypted /var/lib/backuppc directory, so the backups were encrypted, but never got around to encrypting the rest of the system.</p>
<p>Since I am working on getting <em>Reasonably Secure Builds</em> together and will be walking through a Debian build with an encrypted filesystem, and since I needed to upgrade vmware, I decided to do the full upgrade on lexington and get it up to scratch. I actually used the latest Lenny daily build of the Netinst CD, and it was nice. It is basically the same as I have always done, except for the fact that they have replaced the lilo command line prompt on the burst page with a dialog-like menu to give you your options.</p>
<p>I really want to get it running again, so that I can play with Untangle. It looks like a very cool product, and lexington has enough filesystem space for me to evaluate it.</p>
<p>More on my progress with Untangle. In fact, if things work out with it, expect an AP episode on it, somewhere in the firewalling eposodes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.armoredpenguin.net/linux/upgrades-upgrades-upgrades/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Linux Podcasters Unite!</title>
		<link>http://www.armoredpenguin.net/blog/linux-podcasters-unite/</link>
		<comments>http://www.armoredpenguin.net/blog/linux-podcasters-unite/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 18:28:54 +0000</pubDate>
		<dc:creator>VulcanRidr</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.armoredpenguin.net/?p=34</guid>
		<description><![CDATA[A new project is taking shape, an aggregator for Linux podcasts. Currently there are two sections&#8230;One for blog posts and one for podcasts.  Check them out at
http://www.linuxplanet.org/casts/
http://www.linuxplanet.org/blogs/
]]></description>
			<content:encoded><![CDATA[<p>A new project is taking shape, an aggregator for Linux podcasts. Currently there are two sections&#8230;One for blog posts and one for podcasts.  Check them out at</p>
<p><a title="Podast feed" href="http://www.linuxplanet.org/casts/">http://www.linuxplanet.org/casts/</a></p>
<p><a href="http://www.linuxplanet.org/blogs/">http://www.linuxplanet.org/blogs/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.armoredpenguin.net/blog/linux-podcasters-unite/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Show notes for Episode 1</title>
		<link>http://www.armoredpenguin.net/show-notes/show-notes-for-episode-1/</link>
		<comments>http://www.armoredpenguin.net/show-notes/show-notes-for-episode-1/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 18:19:08 +0000</pubDate>
		<dc:creator>VulcanRidr</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[Show Notes]]></category>

		<category><![CDATA[episode 1 show notes]]></category>

		<guid isPermaLink="false">http://www.armoredpenguin.net/?p=35</guid>
		<description><![CDATA[Recently, the Debian project announced the existence of a couple of major vulnerabilities, specifically, DSA-1571 and DSA-1576, which were on openssl and openssh, respectively. These were for a predictable pseudo-random number generator within openssl. The random number generator, due to a patch that was put in place in Sept 2006, severely limited the randomness of [...]]]></description>
			<content:encoded><![CDATA[<p>Recently, the Debian project announced the existence of a couple of major vulnerabilities, specifically, DSA-1571 and DSA-1576, which were on openssl and openssh, respectively. These were for a predictable pseudo-random number generator within openssl. The random number generator, due to a patch that was put in place in Sept 2006, severely limited the randomness of the numbers generated. Instead of billions or trillions of combinations, there are thousands. This means an attacker is able to brute force keys in only a few hours instead of thousands or tens of thousands of years. Applications which depend on these random numbers for communication security, including openssl, openssh and openvpn, need to be upgraded . Keys generated with the suspect random number generator must be regenerated. I also want to note that this applies to all Debian-based distros, including Ubuntu/Kubuntu/Xubuntu, Linux Mint, any deb-based installation.</p>
<p>As root, or through sudo:</p>
<pre>apt-get update &#038;&#038; apt-get upgrade (or dist-upgrade)</pre>
<p>This will upgrade openssh and openssl. If the ssh host keys are found to be vulnerable, they are automatically regenerated and the old keys are archived as <code>/etc/ssh/ssh_host_rsa_key.broken</code> and <code>/etc/ssh/ssh_host_dsa_key.broken&lt;c/ode&gt;. </code></p>
<p>The upgrade also installs three new tools called &lt;code&gt;openssh-blacklist, <code>openssl-blacklist</code> and <code>openvpn-blacklist</code>. These packages contain lists of partial key fingerprints, enough to verify the vulnerability of a key. They will block vulnerable or compromised keys from connecting.</p>
<h2>openssh</h2>
<p>As root or sudo,</p>
<pre>ssh-vulnkey -a</pre>
<p>This will give you an initial list of vulnerable ssh keys on your system, including ssh keys, known_hosts and authorized_keys. Key fingerprints are compared to /etc/ssh/blacklist.DSA_1024 and /etc/ssh/blacklist.RSA_2048. Note that if you generated non-standard keys, for instance, at an unusual bit size, the keys could still be vulnerable but not be in these lists. In addition, according to an article in the <a class="external text" title="http://wiki.yobi.be/wiki/Debian_OpenSSL" rel="nofollow" href="http://wiki.yobi.be/wiki/Debian_OpenSSL">yobi wiki</a>, <em>any</em> DSA key which was exposed to a compromised machine should be considered compromised. My personal recommendation is to regenerate any key which was generated between September 2006 and May 2008,</p>
<p><code>ssh-vulnkey -a</code> will list all keys on your system, with a status of <strong>Not blacklisted</strong>, <strong>Unknown</strong> or <strong>COMPRPMISED</strong>. I used ssh-vulnkey as a reference to list the keys which I needed to regenerate, and started by regenerating all of my personal keys on all of the machines on the network that were generated during the time window in question. This includes unattended accounts, such as my account for backuppc and my network monitoring system.</p>
<p>Compromised host keys can be in a user&#8217;s .ssh/known_hosts, so issue a</p>
<pre>find / -name known_hosts</pre>
<p>Examine each file for the compromised key. Since I was doing a clean sweep, I simply deleted the entire known_hosts file. It will be repopulated when a logging into a new host. To do this, issue</p>
<pre>find / -name known_hosts | xargs rm</pre>
<p>Use the same procedure for authorized_keys. When you push your keys to the server, this file will again be created and/or populated.</p>
<p>Continue to run <code>ssh-vulnkey -a</code> until all keys are clean. Repeat the process on each host. To regenerate a user key,  issue</p>
<pre>ssh-keygen -t dsa</pre>
<p>or</p>
<pre>ssh-keygen -t rsa</pre>
<p>and follow the prompts. Choose a good passphrase for your key. Pauldotcom had a great discussion of good passwords/passphrases on episode 106, if memory serves (the discussion is not listed in their show notes, so you&#8217;ll just have to go listen).</p>
<p>Other good passphrase resources include</p>
<p><a class="external text" title="http://www.queen.clara.net/pgp/pass.html" rel="nofollow" href="http://www.queen.clara.net/pgp/pass.html">queen.clara.net</a> <a class="external text" title="http://www.unix-ag.uni-kl.de/~conrad/krypto/passphrase-faq.html" rel="nofollow" href="http://www.unix-ag.uni-kl.de/%7Econrad/krypto/passphrase-faq.html">unix-ag.uni-kl.de</a></p>
<p>To regenerate host keys, move the old host keys to another filename or delete them, then run</p>
<pre>dpkg-reconfigure openssh-server</pre>
<h2>openssl</h2>
<p>The tool for this application is called <code>openssl-blacklist</code>. There is no -a option, so you need to find the ssl certs on your system. Ssl certs are similar to ssh keys, in that they have two parts. In the case of ssl, you have a certificate file (which is generally a .pem or a .crt) and a .key file. Obviously, if you called it something else, you are probably savvy enough to know what it is called. <strong>The openssl-vulnkey tool works against the key file, rather than the certificate itself.</strong> You should search your system for key files, which is usually called something.key. You should usually be able to find a something.pem or something.crt nearby. A couple of good places to look are in /etc/ssl/private for the key, with the certificate in /etc/ssl/certs, if you run openvpn, /etc/openvpn. Also check beneath /var/www if you run a web server with https. This tool does not have a -a feature, so you must run it against individual keys. However it does accept multiple keys. Run openssl-vulnkey /etc/ssl/private/*.key, the output should be similar to ssh-vulnkey.</p>
<p><a name="OpenVPN"></a></p>
<h2>OpenVPN</h2>
<p>OpenVPN works with either ssl certificates or with shared keys. The ssl certificates are handled by openssl-blacklist, while openvpn-blacklist handles shared keys generated by openvpn. Normally, these are used for tls-auth files or if you are using shared-key authentication for your vpn. Keys generated by openvpn look similar to</p>
<pre>#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
b54ea37f29de1988937868e3cdbf7ded
2e720ed9531f68df3fe03f21a4087c0d
74c132f5fb47c3852b3f3d4b29ebe3af
cc009cc78af265664f4ec04adc514ad8
58e0e5f9667da0d453f8c8440027bcae
c704444177a8de47819063c957f7ac35
3463c2d61deb9406799d0fad448f8941
d484fa04b37d6be97e33acd3d1b8260c
836bdc3bba7814e693b8ee886fab4e2f
3501f1482d1c8d2710e3186f8155d434
95301361b8bf68c4d2c1f15f0eadd526
86cfbcf1659ab9bb0b4decc46c24b471
7164a2824aaa4aef56734c5086f5f571
b0ed86119b14c78a1fc7e38eb3dfab4d
924ae1213179d2401b36604907c005fc
9eb5f0a0f0b4c16833f14f0ebc5240eb
-----END OpenVPN Static key V1-----</pre>
<p>in the first line. The process for running the tool is the same as openssl-blacklist. Once you have checked all applicable keys, your systems should be in far better shape.</p>
<h2>Conclusion</h2>
<p>Why is this a critical vulnerability? Because with the ease of brute forcing the keyspace, not only can an attacker eavesdrop on supposedly secure communications, but they can also decrypt any sessions which they may have recorded through, say, tcpdump or wireshark.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.armoredpenguin.net/show-notes/show-notes-for-episode-1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Still around</title>
		<link>http://www.armoredpenguin.net/administrivia/still-around/</link>
		<comments>http://www.armoredpenguin.net/administrivia/still-around/#comments</comments>
		<pubDate>Fri, 27 Jun 2008 00:44:56 +0000</pubDate>
		<dc:creator>VulcanRidr</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[Site News]]></category>

		<category><![CDATA[busy]]></category>

		<guid isPermaLink="false">http://www.armoredpenguin.net/?p=28</guid>
		<description><![CDATA[I know, I owe apologies. I tried to re-record the segment while in Geneva, but little did I know that the hotel was downtown, where the Euro Football 2008 fans were driving around honking horns when their teams won, as well as being two blocks from Hopitaux Universitaires de Geneve (Geneva University Hospital). For as [...]]]></description>
			<content:encoded><![CDATA[<p>I know, I owe apologies. I tried to re-record the segment while in Geneva, but little did I know that the hotel was downtown, where the Euro Football 2008 fans were driving around honking horns when their teams won, as well as being two blocks from Hopitaux Universitaires de Geneve (Geneva University Hospital). For as calm as the Swiss are, there are ambulances running <em>all</em> the time.</p>
<p>I got back on the 14th, and was fighting jetlag the entire week. Last weekend, the kids came over to celebrate my birthday,  and this week have been in SAP training. So I will get that segment re-recorded as soon as possible, and get it out.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.armoredpenguin.net/administrivia/still-around/feed/</wfw:commentRss>
		</item>
		<item>
		<title>In production</title>
		<link>http://www.armoredpenguin.net/administrivia/in-production/</link>
		<comments>http://www.armoredpenguin.net/administrivia/in-production/#comments</comments>
		<pubDate>Mon, 02 Jun 2008 21:52:38 +0000</pubDate>
		<dc:creator>VulcanRidr</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[Site News]]></category>

		<category><![CDATA[episode 1]]></category>

		<guid isPermaLink="false">http://www.armoredpenguin.net/?p=24</guid>
		<description><![CDATA[A long time in coming, however, I have all my content collected and most of it recorded. I had a bout of jetlag last week, having jumped forward in time by 6 hours. I recorded last week, but part of the content was irrecoverable. I will re-record tomorrow night after changing hotels. I thank my [...]]]></description>
			<content:encoded><![CDATA[<p>A long time in coming, however, I have all my content collected and most of it recorded. I had a bout of jetlag last week, having jumped forward in time by 6 hours. I recorded last week, but part of the content was irrecoverable. I will re-record tomorrow night after changing hotels. I thank my loyal fans for hanging in there.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.armoredpenguin.net/administrivia/in-production/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Debian/Ubuntu RNG update</title>
		<link>http://www.armoredpenguin.net/administrivia/debianubuntu-rng-update/</link>
		<comments>http://www.armoredpenguin.net/administrivia/debianubuntu-rng-update/#comments</comments>
		<pubDate>Mon, 19 May 2008 19:03:57 +0000</pubDate>
		<dc:creator>VulcanRidr</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[Site News]]></category>

		<category><![CDATA[Debian]]></category>

		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.armoredpenguin.net/?p=27</guid>
		<description><![CDATA[I spent most of the weekend getting my keys regenerated. On the downside, it took most of the weekend, but on the plus side, tons of content for the podcast. I took the tinfoil had approach.
In essence, any keys or certs that were either compromised or unknown status and were created between Sep 2006 and [...]]]></description>
			<content:encoded><![CDATA[<p>I spent most of the weekend getting my keys regenerated. On the downside, it took most of the weekend, but on the plus side, tons of content for the podcast. I took the tinfoil had approach.</p>
<p>In essence, any keys or certs that were either compromised or unknown status and were created between Sep 2006 and May 2008 were deleted and recreated. In the immortal words of Ripley in <em>Aliens</em>, &#8220;I say we take off and nuke the entire site from orbit. It&#8217;s the only way to be sure.&#8221;</p>
<p>I will give a step-by-step of the process that I used to update in episode 1, which should be out this week.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.armoredpenguin.net/administrivia/debianubuntu-rng-update/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Production finally</title>
		<link>http://www.armoredpenguin.net/administrivia/production-finally/</link>
		<comments>http://www.armoredpenguin.net/administrivia/production-finally/#comments</comments>
		<pubDate>Tue, 13 May 2008 03:08:38 +0000</pubDate>
		<dc:creator>VulcanRidr</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[Site News]]></category>

		<category><![CDATA[episode 1]]></category>

		<guid isPermaLink="false">http://www.armoredpenguin.net/?p=26</guid>
		<description><![CDATA[Episode 1 is in production. I apologize for the delays, but in addition to the new job, computer upgrades, and what not, I just spent 18 hours vacuuming the water out of my basement from the series of storms.
In any case, I will make a real effort to release the episode this week.
]]></description>
			<content:encoded><![CDATA[<p>Episode 1 is in production. I apologize for the delays, but in addition to the new job, computer upgrades, and what not, I just spent 18 hours vacuuming the water out of my basement from the series of storms.</p>
<p>In any case, I will make a real effort to release the episode this week.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.armoredpenguin.net/administrivia/production-finally/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Episode 1 in preproduction</title>
		<link>http://www.armoredpenguin.net/administrivia/episode-1-in-preproduction/</link>
		<comments>http://www.armoredpenguin.net/administrivia/episode-1-in-preproduction/#comments</comments>
		<pubDate>Wed, 23 Apr 2008 13:34:46 +0000</pubDate>
		<dc:creator>VulcanRidr</dc:creator>
		
		<category><![CDATA[Blog]]></category>

		<category><![CDATA[Site News]]></category>

		<category><![CDATA[episode1]]></category>

		<guid isPermaLink="false">http://www.armoredpenguin.net/?p=22</guid>
		<description><![CDATA[For all that are wondering, I am in pre-production on episode 1. I will hopefully be able to sit down and do some recording this week. Its been very busy on the new job, plus I need to put the upgraded recording machine through her paces. I will hopefully be able to get two episodes [...]]]></description>
			<content:encoded><![CDATA[<p>For all that are wondering, I am in pre-production on episode 1. I will hopefully be able to sit down and do some recording this week. Its been very busy on the new job, plus I need to put the upgraded recording machine through her paces. I will hopefully be able to get two episodes cranked out before I have to leave for Geneva.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.armoredpenguin.net/administrivia/episode-1-in-preproduction/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
