<?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>vandeneynde.net &#187; linux</title>
	<atom:link href="http://www.vandeneynde.net/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vandeneynde.net</link>
	<description></description>
	<lastBuildDate>Fri, 20 Feb 2009 09:08:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Physical Access always means p0wned</title>
		<link>http://www.vandeneynde.net/2008/05/26/physical-access-always-means-p0wned/</link>
		<comments>http://www.vandeneynde.net/2008/05/26/physical-access-always-means-p0wned/#comments</comments>
		<pubDate>Mon, 26 May 2008 07:54:16 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.vandeneynde.net/?p=57</guid>
		<description><![CDATA[I blogged about it before but every now and then someone finds a new physical &#8216;hack&#8217; into windows. Here is an example of a recent hack using backtrack to gain access.
This just illustrates one of Microsoft&#8217;s 10 Immutable Laws of Security:
Law #3: If a bad guy has unrestricted physical access to your computer, it&#8217;s not [...]]]></description>
			<content:encoded><![CDATA[<p>I <a href="http://www.vandeneynde.net/2008/03/30/using-firewire-to-get-into-a-windows-pc/">blogged about</a> it before but every now and then someone finds a new physical &#8216;hack&#8217; into windows. <a href="http://www.offensive-security.com/movies/vistahack/vistahack.html">Here </a>is an example of a recent hack using backtrack to gain access.</p>
<p>This just illustrates one of<a href="http://www.microsoft.com/technet/archive/community/columns/security/essays/10imlaws.mspx?mfr=true"> Microsoft&#8217;s 10 Immutable Laws of Security</a>:</p>
<p>Law #3: If a bad guy has unrestricted physical access to your computer, it&#8217;s not your computer anymore</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vandeneynde.net/2008/05/26/physical-access-always-means-p0wned/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using firewire to get into a windows PC</title>
		<link>http://www.vandeneynde.net/2008/03/30/using-firewire-to-get-into-a-windows-pc/</link>
		<comments>http://www.vandeneynde.net/2008/03/30/using-firewire-to-get-into-a-windows-pc/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 20:15:31 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.vandeneynde.net/2008/03/30/using-firewire-to-get-into-a-windows-pc/</guid>
		<description><![CDATA[As you may know, firewire devices can have access to the main memory of a PC thanks to DMA.
Because of this, firewire can be used as an attack vector against a running PC. This not news. Adam Boileau presented this technique back in 2006 but because of recent news, I decided to give it a [...]]]></description>
			<content:encoded><![CDATA[<p>As you may know, <a href="http://en.wikipedia.org/wiki/Firewire">firewire </a>devices can have access to the main memory of a PC thanks to <a href="http://en.wikipedia.org/wiki/Direct_memory_access">DMA</a>.<br />
Because of this, firewire can be used as an attack vector against a running PC. This not news.<a href="http://www.storm.net.nz/projects/16"> Adam Boileau</a> presented this technique back in 2006 but because of <a href="http://it.slashdot.org/article.pl?sid=08/03/04/1258210">recent</a> <a href="http://security4all.blogspot.com/2008/03/partytricks-winlockpwn-tutorial-or-how.html">news</a>, I decided to give it a go and see for myself how easy it is to exploit this attack vector:<br />
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="355" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.youtube.com/v/dFlXKCzpm38&amp;rel=0&amp;hl=en" /><param name="wmode" value="transparent" /><embed type="application/x-shockwave-flash" width="425" height="355" src="http://www.youtube.com/v/dFlXKCzpm38&amp;rel=0&amp;hl=en" wmode="transparent"></embed></object><br />
Please note that this can also be used for good! Forensic investigators can use this technique to dump the memory of a running PC for investigation.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vandeneynde.net/2008/03/30/using-firewire-to-get-into-a-windows-pc/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>OpenVPN and Linksys WRT-54G</title>
		<link>http://www.vandeneynde.net/2007/09/24/openvpn-and-linksys-wrt-54g/</link>
		<comments>http://www.vandeneynde.net/2007/09/24/openvpn-and-linksys-wrt-54g/#comments</comments>
		<pubDate>Mon, 24 Sep 2007 21:16:26 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.vandeneynde.net/2007/09/24/openvpn-and-linksys-wrt-54g/</guid>
		<description><![CDATA[This weekend, I put a Linksys WRT54G at my sister&#8217;s apartment to enable her(and her boyfriend) to share the internet connection. No big deal off course but I also thought it would be nice if the router could act as an OpenVPN client so my network and her network would be securely connected through the [...]]]></description>
			<content:encoded><![CDATA[<p>This weekend, I put a <a href="http://www.linksys.com/servlet/Satellite?c=L_Product_C2&amp;childpagename=US%2FLayout&amp;cid=1149562300349&amp;pagename=Linksys%2FCommon%2FVisitorWrapper">Linksys WRT54G</a> at my sister&#8217;s apartment to enable her(and her boyfriend) to share the internet connection. No big deal off course but I also thought it would be nice if the router could act as an <a href="http://openvpn.net/">OpenVPN </a>client so my network and her network would be securely connected through the VPN. This enables her to pop mail from our mailserver in a secure manner and it enables me to give some remote support by <a href="http://www.google.com/url?sa=t&amp;ct=res&amp;cd=1&amp;url=http%3A%2F%2Fwww.realvnc.com%2F&amp;ei=fCb4RrGAF5KEwAH3y8GIDQ&amp;usg=AFQjCNEK5ZK_yglptI3-ZNVrtJFomb20ZA&amp;sig2=23lnhbWx1U8UFyoIKddoCQ">VNC-ing </a>to her computer.</p>
<p>So  how to do this?</p>
<ol>
<li>Upload <a href="http://dd-wrt.com/dd-wrtv2/index.php">DD-wrt&#8217;s</a> latest &#8216;VPN&#8217; firmware build for the WRT 54G</li>
<li>Generate certificates for the WRT router on the central server (a linux box at my home network in this case which hosts the <a href="http://en.wikipedia.org/wiki/Public_key_infrastructure">PKI</a>)</li>
<li>Add the following to the central server OpenVPN conf file: route 192.168.10.0 255.255.255.0</li>
<li>Create a ccd file with the same filename as the name you chose for the WRT during certificate setup and put the following in the file: iroute 192.168.10.0 255.255.255.0</li>
<li>Make sure the WRT syncs its time through NTP. Otherwise certs might be detected as invalid!</li>
<li>Paste these certs  in the web interface of the DD-WRT and do the basic configuration through the webinterface.</li>
<li>Adapt openvpn.conf to my specific setup by enabling the following in the DD-WRT startupscript:
<pre id="startup">sleep 20
echo "auth SHA1" &gt;&gt; /tmp/openvpn/openvpn.conf
echo "cipher AES-256-CBC" &gt;&gt; /tmp/openvpn/openvpn.conf
killall openvpn
openvpn --config /tmp/openvpn/openvpn.conf --route-up /tmp/openvpn/route-up.sh \\
--down /tmp/openvpn/route-down.sh --daemon</pre>
</li>
<li>Adapt the firewall script to disable natting and accept traffic for the OpenVPN interface on the WRT. Real firewalling will be done on the central linux box
<pre id="firewall">iptables -t filter -I FORWARD -i tun0 -j ACCEPT
iptables -t filter -I FORWARD -o tun0 -j ACCEPT
iptables -t filter -I INPUT -i tun0 -j ACCEPT
iptables -t filter -I OUTPUT -o tun0 -j ACCEPT
iptables -t nat -I POSTROUTING -o tun0 -j ACCEPT
iptables -t nat -I PREROUTING -o tun0 -j ACCEPT</pre>
</li>
<li>Done! Both networks are now interconnected!</li>
</ol>
<p>It took me some time to get it up and running Saturday but I think that the little hangover I had from a fine party I attended Friday night in Leuven  was to blame for that (damn you <a href="http://www.cristal.be/">Cristal</a> beer <img src='http://www.vandeneynde.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  )</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vandeneynde.net/2007/09/24/openvpn-and-linksys-wrt-54g/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>VMware server upgrade time!</title>
		<link>http://www.vandeneynde.net/2007/09/20/vmware-server-upgrade-time/</link>
		<comments>http://www.vandeneynde.net/2007/09/20/vmware-server-upgrade-time/#comments</comments>
		<pubDate>Thu, 20 Sep 2007 20:34:34 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.vandeneynde.net/2007/09/20/vmware-server-upgrade-time/</guid>
		<description><![CDATA[Since there were some serious vulnerabilities discovered in VMware products lately, it is time to upgrade to the latest releases of their software if you are running it.
I run a VMware server @home on my Core 2 Duo machine to test some OS/configurations without the need of physical machines. In the beginning of this year [...]]]></description>
			<content:encoded><![CDATA[<p>Since there were some serious vulnerabilities discovered in <a href="http://secunia.com/advisories/26890/">VMware products</a> lately, it is time to upgrade to the latest releases of their software if you are running it.</p>
<p>I run a VMware server @home on my Core 2 Duo machine to test some OS/configurations without the need of physical machines. In the beginning of this year I needed to <a href="http://www.vandeneynde.net/2007/02/12/a-bad-week-for-the-home-lan/">replace the hard drive </a>of this machine and since it is a Core 2 Duo I chose to install a 64 bit Debian on the machine as main OS.</p>
<p>Ever since then, I was having strange problems with the VMware server on that machine. It was able to run a windows guest (except if the guest was under high load) but unable to run a linux guest. When I booted a linux guest OS on the server it simply crashed the host. And I do mean crashed, the system was totally unresponsive and nothing was to be seen on the screen or in the logs pointing to a cause of the error. I blamed it on the &#8216;experimental&#8217; 64 bit support in VMware server although it seemed to run fine on some Xeon systems @work. Anyhow, a virtual machine crashing the host machine is <em>not</em> good! It means that there are some very serious issues in the software which could possibly be exploited for bad.</p>
<p>With the new release out today, I checked the <a href="http://www.vmware.com/support/server/doc/releasenotes_server.html">release notes </a>hoping for a clue that my issue was finally resolved. A lot of issues were fixed but my specific issue was not mentioned. A little disappointed, I started the upgrade process from my 1.0.3 to 1.0.4 anyway and it appears to be that I am lucky today because I am now able to run windows, linux and other guests without problems! So the issue must have been resolved by one of the fixes they implemented in 1.0.4!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vandeneynde.net/2007/09/20/vmware-server-upgrade-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Long weekend</title>
		<link>http://www.vandeneynde.net/2007/05/20/long-weekend/</link>
		<comments>http://www.vandeneynde.net/2007/05/20/long-weekend/#comments</comments>
		<pubDate>Sun, 20 May 2007 18:39:36 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.vandeneynde.net/?p=25</guid>
		<description><![CDATA[This week, thanks to some holiday in Belgium, the weekend started on a Wednesday evening instead of a Friday.  Every week should have a 4-day weekend!
Apart from some sleeping in, squash, hanging out in the pub, going out, catching up on my favorite feeds, watching some TV (I have refound my old love for [...]]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal">This week, thanks to <a href="http://en.wikipedia.org/wiki/Ascension">some holiday</a> in Belgium, the weekend started on a Wednesday evening instead of a Friday. <span> </span>Every week should have a 4-day weekend!</p>
<p class="MsoNormal">Apart from some sleeping in, <a href="http://www.tsas.be/">squash</a>, hanging out in the <a href="http://www.google.com/search?hl=en&amp;safe=off&amp;q=%27t+sterk+water+lier+cafe&amp;btnG=Search">pub</a>, <a href="http://www.rioclub.be/fotos/20070516_graafstenacht/14.jpg">going</a> <a href="http://prinsnerio.be/index.php?option=com_content&amp;task=view&amp;id=109&amp;Itemid=29">out</a>, catching up on my favorite feeds, watching some TV (I have refound my old love for <a href="http://www.southparkstudios.com/">South Park</a> ), assembling a <a href="http://www.outdoorchef.com/intbenl/gaskugelgrills_romadeluxe570mxs.html">new gas barbecue</a> (and eating food from it <img src='http://www.vandeneynde.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ), I <span> </span>have been playing with <a href="http://sguil.sourceforge.net/">sguil</a>.</p>
<p class="MsoNormal">Sguil is an open source framework to practice network security monitoring (<a href="http://www.vorant.com/nsmwiki/index.php?title=Main_Page">NSM</a>). It uses <a href="http://www.metre.net/sancp.html">SANCP</a> and <a href="http://sourceforge.net/projects/barnyard">barnyard</a> to analyze <a href="http://www.snort.org/">Snort</a> data. It seems like a good framework but the documentation is, in my opinion, not the best I have ever seen. After some compilation issues, I have managed to get all the needed software compiled now on my Linux box. The only thing left to do is to configure it to match my needs. <span> </span></p>
<p class="MsoNormal">But, that will be something for later. Right now, <a href="http://www.fox.com/24/">Jack Bauer</a> is eager to get his nephew back from the Chinese. <img src='http://www.vandeneynde.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.vandeneynde.net/2007/05/20/long-weekend/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Running on the Etch</title>
		<link>http://www.vandeneynde.net/2007/04/09/running-on-the-etch/</link>
		<comments>http://www.vandeneynde.net/2007/04/09/running-on-the-etch/#comments</comments>
		<pubDate>Mon, 09 Apr 2007 22:50:25 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.vandeneynde.net/?p=20</guid>
		<description><![CDATA[This Sunday, Debian GNU/Linux 4.0 codenamed &#8216;Etch&#8217; was released as the next stable release of Debian. Therefore, both the servers where this site is hosted on have been upgraded to the latest version.
Although not as easy as just running &#8216;apt-get dist-upgrade&#8217;, the upgrade went very smooth. I just had to follow the release notes and [...]]]></description>
			<content:encoded><![CDATA[<p>This Sunday, <a href="http://www.debian.org/News/2007/20070408">Debian GNU/Linux 4.0</a> codenamed &#8216;Etch&#8217; was released as the next stable release of Debian. Therefore, both the servers where this site is hosted on have been upgraded to the latest version.</p>
<p>Although not as easy as just running &#8216;apt-get dist-upgrade&#8217;, the upgrade went very smooth. I just had to follow the<a href="http://www.us.debian.org/releases/stable/i386/release-notes/ch-upgrading.en.html"> release notes</a> and after a reboot both servers ran the newly released version fine. Well, actually one server did not came up right away but that had nothing to do with the upgrade. A manual file system check was needed. Thanks to the quick support from the techies at <a href="http://www.serverpronto.com/">serverpronto</a>, the server was back up within the hour.</p>
<p>If it takes as long as it took Etch to become a stable release, the next major upgrade will be somewhere 22 months from now.</p>
<p>For those interested, these were the steps taken to upgrade from Debian 3.1 (sarge) to Debian 4.0 (etch):</p>
<ul>
<li>aptitude update</li>
<li>aptitude -y -s -f &#8211;with-recommends dist-upgrade</li>
<li>aptitude upgrade</li>
<li>aptitude install initrd-tools</li>
<li>aptitude install linux-image-2.6-686</li>
<li>aptitude dist-upgrade</li>
<li>aptitude update</li>
<li>reran &#8216;aptitude upgrade&#8217; and &#8216;aptitude dist-upgrade&#8217; until no packages were kept back and nothing remained to be done.</li>
<li>reboot</li>
<li>removed obsolete packages from old sarge.</li>
<li>recompiled home-built soft. (This was not really necessary but I liked to have the soft compiled with the new gcc4)</li>
</ul>
<p>If, for some reason, you would like to know more about the steps taken, just drop me an <a href="mailto:tom@vandeneynde.net">email</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.vandeneynde.net/2007/04/09/running-on-the-etch/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A bad week for the home LAN</title>
		<link>http://www.vandeneynde.net/2007/02/12/a-bad-week-for-the-home-lan/</link>
		<comments>http://www.vandeneynde.net/2007/02/12/a-bad-week-for-the-home-lan/#comments</comments>
		<pubDate>Mon, 12 Feb 2007 20:13:54 +0000</pubDate>
		<dc:creator>Tom</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.vandeneynde.net/?p=13</guid>
		<description><![CDATA[I didn&#8217;t have time to update this blog last week. Most of my free computer time was spent on recovering my home linux server.
Tuesday evening, the three months old 500GB SATA disk of my home server crashed! And it crashed big time. Nothing but &#8216;tak-tak –tak&#8217; and it was impossible to recover anything from the [...]]]></description>
			<content:encoded><![CDATA[<p>I didn&#8217;t have time to update this blog last week. Most of my free computer time was spent on recovering my home <a href="http://www.debian.org">linux</a> server.<br />
Tuesday evening, the three months old 500GB SATA disk of my home server crashed! And it crashed big time. Nothing but &#8216;tak-tak –tak&#8217; and it was impossible to recover anything from the damn thing.</p>
<p>Fortunately, I had setup an <a href="http://samba.anu.edu.au/rsync/">rsync</a> which synced all my data and most of the server configuration to an external USB disk every night. Not much data was lost.<br />
But, even then, restoring the server took more time than I expected. This is mostly because I learnt the hard way that having all the config files on a backup is not a guarantee for a fast restore. Installing all the apps (with dependencies), compiling some soft, compiling a custom kernel for the motherboard takes a LOT of time.</p>
<p>Therefore I have taken my precautions in case the replacement disk should decide to go on permanent leave in the near future. I googled a bit and found <a href="http://mkcdrec.ota.be/">mkCDrec</a>. This neat tool allows one to create a bootable recovery CD set from the entire system including installed applications.  When necessary, you can boot with the CD set and quickly restore the system in the state when you created the disks.</p>
<p>So from now on, whenever I make big changes to the system. I just run mkCDrec, save the ISO images to my external disk and that&#8217;s it: I am a little better prepared for when <a href="http://en.wikipedia.org/wiki/Murphy's_law">Murphy</a> strikes once more.</p>
<p>Next on the improvement list: buy a small UPS for when lightning strikes <img src='http://www.vandeneynde.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.vandeneynde.net/2007/02/12/a-bad-week-for-the-home-lan/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
