<?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>It should work... &#187; SecurityByDefault</title>
	<atom:link href="http://vierito.es/wordpress/tag/securitybydefault/feed/" rel="self" type="application/rss+xml" />
	<link>http://vierito.es/wordpress</link>
	<description>Cuando cualquier trasto es útil</description>
	<lastBuildDate>Sun, 20 May 2012 15:59:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Breaking LFSR-based pseudo-random number generators</title>
		<link>http://vierito.es/wordpress/2011/01/22/breaking-lfsr-based-pseudo-random-number-generators/</link>
		<comments>http://vierito.es/wordpress/2011/01/22/breaking-lfsr-based-pseudo-random-number-generators/#comments</comments>
		<pubDate>Sat, 22 Jan 2011 19:28:33 +0000</pubDate>
		<dc:creator>vierito5</dc:creator>
				<category><![CDATA[hacking]]></category>
		<category><![CDATA[berlekamp]]></category>
		<category><![CDATA[break]]></category>
		<category><![CDATA[crypto]]></category>
		<category><![CDATA[cryptography]]></category>
		<category><![CDATA[LFSR]]></category>
		<category><![CDATA[massey]]></category>
		<category><![CDATA[PRNG]]></category>
		<category><![CDATA[SecurityByDefault]]></category>
		<category><![CDATA[wargame]]></category>
		<category><![CDATA[wgsbd]]></category>

		<guid isPermaLink="false">http://vierito.es/wordpress/?p=869</guid>
		<description><![CDATA[Another english post? Yes because this is related to the first Security By Default Wargame that took place a few days ago. Congratulations to Int3pids! Nowadays, I think most security related people know the importance of random numbers in cryptography. We need to generate IVs, session keys, challenges, tokens, etc. that make our crypto systems [...]]]></description>
			<content:encoded><![CDATA[<p>Another english post? Yes because this is related to the first Security By Default Wargame that took place a few days ago.  Congratulations to Int3pids!</p>
<p>Nowadays, I think most security related people know the importance of  random numbers in cryptography. We need to generate IVs, session keys,  challenges, tokens, etc. that make our crypto systems secure, if the  PRNG is predictable the whole system is shattered (right Sony? btw,  remember the <a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvSGlzdG9yaWFzX2RlX2xhX2NyaXB0YV8tX0phdmlfTW9yZW5vLnBkZg==">&#8220;Crypto Tales&#8221; talk</a>? check the slide 29 xD)</p>
<p>PRNGs&#8230; that&#8217;s what made me think about crypto03 for the contest. I  hate all those crypto levels which are just a matter of luck, iluminated  ideas or non realistic scenarios, so I tried to avoid all of those and  show something new.</p>
<p><span id="more-869"></span></p>
<p>Here, a file was encrypted with a key obtained from the first 128  bits of a PRNG and as a starting point you had a small stream of bits  from the PRNG. The purpose was to break the PRNG to know every output  you could obtain, then generate a dictionary of possible keys and crack  the encryption. The file was encrypted with 128 bit AES, let&#8217;s say  non-breakable, but with that PRNG you only got ~32k possible keys, and  that&#8217;s very very broken.</p>
<p>Unfortunately, this ended in a big #doublefacepalm and from here I  apologize, specially to Int3pids and Painsec, who did great at the  contest and to Security By Default. Apparently I skipped the lesson  where they teach you that 1000 in binary is 8 and not 4, so after doing  the hard part I encrypted the file with the wrong key  &#8220;F76AB499B1DDBD2DAC6D90923E3457A0&#8243; instead of the correct one &#8220;F76AB499B1DDBD2DAC6D90923E3857A0&#8243;.</p>
<p>Yeah, I know, I deserve a &#8230;</p>
<p>Anyways, this post is to explain how to break a LFSR-based PRNG.   Well, a LFSR is a shift register where some of the output bits are used  as feedback with a linear combination of them. This is really easy to  implement both in hardware and in software and probably that&#8217;s why they  were (still are) so extended.</p>
<p>A LFSR will have a finite number of states and after that the output  will repeat itself. Depending on the feedback the output length will be  maximized or decreased. The feedback is a linear combination of the  output bits so you can represent it as a polynomial.</p>
<p>Disclaimer: the latex plugin is not working properly, I&#8217;m sorry for your eyes</p>
<p>For example, a 4 bit LFSR. Input: s3, s2, s1, s0, feedback: C(D) =  D^4+D and output: s0, s1, s2, s3, s4, s5, s6, &#8230;. Then the connection  polynomial is c(x) = x^4 + x + 1 and the new bits will be obtained  xor&#8217;ing the shift register contents with the bits specified in the  polynomial.</p>
<p>I implemented everything on Matlab.</p>

<div class="wp_syntax"><div class="code"><pre class="matlab" style="font-family:monospace;"><span style="color: #0000FF;">function</span> k = lfsr<span style="color: #080;">&#40;</span>c,s0,n<span style="color: #080;">&#41;</span>;
&nbsp;
<span style="color: #228B22;">%</span>
<span style="color: #228B22;">% Use:</span>
<span style="color: #228B22;">% k = lfsr(c,s0,n)</span>
<span style="color: #228B22;">%</span>
<span style="color: #228B22;">% Generates a sequence of n bits produced by a shift register LFSR</span>
<span style="color: #228B22;">% with connection polynomial c and an initial state s0.</span>
<span style="color: #228B22;">%</span>
<span style="color: #228B22;">% Input variables:</span>
<span style="color: #228B22;">% c: Coefficients of the connection polynomial</span>
<span style="color: #228B22;">% $c(D)=1+c_1 D + c_2 D^2 + ... + c_L D^L$:</span>
<span style="color: #228B22;">% [1 c_1 c_2 ... c_L ]</span>
<span style="color: #228B22;">% s0: Initial state [s(L-1) s(L-2) ... s(0)]</span>
<span style="color: #228B22;">% n: Length of the sequence we aim to generate.</span>
<span style="color: #228B22;">% Output variables:</span>
<span style="color: #228B22;">% k: Generated sequence</span>
&nbsp;
<span style="color: #0000FF;">if</span> <span style="color: #080;">&#40;</span><span style="color: #0000FF;">nargin</span> ~= <span style="color: #33f;">3</span><span style="color: #080;">&#41;</span>, <span style="color: #228B22;">%number input arguments</span>
    <span style="color: #0000FF;">error</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'The number of input parameters must be 3'</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">end</span>
<span style="color: #0000FF;">if</span> <span style="color: #080;">&#40;</span><span style="color: #0000FF;">nargout</span> ~= <span style="color: #33f;">1</span><span style="color: #080;">&#41;</span>,
    <span style="color: #0000FF;">error</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'The number of output parameters must be 1'</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">end</span>
<span style="color: #0000FF;">if</span> <span style="color: #080;">&#40;</span> <span style="color: #080;">&#40;</span><span style="color: #0000FF;">length</span><span style="color: #080;">&#40;</span>c<span style="color: #080;">&#41;</span>-<span style="color: #33f;">1</span><span style="color: #080;">&#41;</span> ~= <span style="color: #0000FF;">length</span><span style="color: #080;">&#40;</span>s0<span style="color: #080;">&#41;</span> <span style="color: #080;">&#41;</span>
    <span style="color: #0000FF;">error</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'The sizes of the polynomial and the initial stated do not agree'</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">end</span>
&nbsp;
k = <span style="color: #0000FF;">zeros</span><span style="color: #080;">&#40;</span><span style="color: #33f;">1</span>,n<span style="color: #080;">&#41;</span>;
reg = <span style="color: #0000FF;">zeros</span><span style="color: #080;">&#40;</span><span style="color: #33f;">1</span>,<span style="color: #0000FF;">length</span><span style="color: #080;">&#40;</span>s0<span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>;
statelen = <span style="color: #0000FF;">length</span><span style="color: #080;">&#40;</span>s0<span style="color: #080;">&#41;</span>;
reg = s0;
mask = c<span style="color: #080;">&#40;</span><span style="color: #080;">&#91;</span><span style="color: #33f;">2</span>:<span style="color: #0000FF;">end</span><span style="color: #080;">&#93;</span><span style="color: #080;">&#41;</span>; <span style="color: #228B22;">% forget about &quot;+1&quot; value</span>
&nbsp;
<span style="color: #0000FF;">for</span> <span style="color: #0000FF;"><span style="color: #33f;">i</span></span>=<span style="color: #33f;">1</span>:n
    k<span style="color: #080;">&#40;</span><span style="color: #0000FF;"><span style="color: #33f;">i</span></span><span style="color: #080;">&#41;</span> = reg<span style="color: #080;">&#40;</span>statelen<span style="color: #080;">&#41;</span>; <span style="color: #228B22;">% output current bit</span>
    feedback = <span style="color: #33f;">0</span>;
    <span style="color: #0000FF;">for</span> <span style="color: #0000FF;"><span style="color: #33f;">j</span></span>=<span style="color: #33f;">1</span>:statelen
        <span style="color: #0000FF;">if</span> <span style="color: #080;">&#40;</span> mask<span style="color: #080;">&#40;</span><span style="color: #0000FF;"><span style="color: #33f;">j</span></span><span style="color: #080;">&#41;</span> == <span style="color: #33f;">1</span> <span style="color: #080;">&#41;</span>
            feedback = xor<span style="color: #080;">&#40;</span>feedback,reg<span style="color: #080;">&#40;</span><span style="color: #0000FF;"><span style="color: #33f;">j</span></span><span style="color: #080;">&#41;</span><span style="color: #080;">&#41;</span>;
        <span style="color: #0000FF;">end</span>
    <span style="color: #0000FF;">end</span>
    reg = reg<span style="color: #080;">&#40;</span><span style="color: #080;">&#91;</span> <span style="color: #0000FF;">end</span> <span style="color: #33f;">1</span>:end-<span style="color: #33f;">1</span><span style="color: #080;">&#93;</span><span style="color: #080;">&#41;</span>;
    reg<span style="color: #080;">&#40;</span><span style="color: #33f;">1</span><span style="color: #080;">&#41;</span> = feedback;
<span style="color: #0000FF;">end</span></pre></div></div>

<p>Let&#8217;s try it:</p>

<div class="wp_syntax"><div class="code"><pre class="matlab" style="font-family:monospace;">&gt;&gt; stream = lfsr<span style="color: #080;">&#40;</span><span style="color: #080;">&#91;</span><span style="color: #33f;">1</span> <span style="color: #33f;">1</span> <span style="color: #33f;">0</span> <span style="color: #33f;">0</span> <span style="color: #33f;">1</span><span style="color: #080;">&#93;</span>, <span style="color: #080;">&#91;</span><span style="color: #33f;">1</span> <span style="color: #33f;">1</span> <span style="color: #33f;">1</span> <span style="color: #33f;">1</span><span style="color: #080;">&#93;</span>, <span style="color: #33f;">20</span><span style="color: #080;">&#41;</span>
&nbsp;
stream =
&nbsp;
     <span style="color: #33f;">1</span>     <span style="color: #33f;">1</span>     <span style="color: #33f;">1</span>     <span style="color: #33f;">1</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">1</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">1</span>     <span style="color: #33f;">1</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">1</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">1</span>     <span style="color: #33f;">1</span>     <span style="color: #33f;">1</span>     <span style="color: #33f;">1</span>     <span style="color: #33f;">0</span></pre></div></div>

<p>An n-LFSR can have 2^n &#8211; 1 inner states and under certain conditions a  maximal period of 2^n &#8211; 1 (if the connection polynomial is primitive  modulo 2). They pass statistical tests for randomness so they are good  for simulations but as we will now see they&#8217;re quite broken.</p>
<p>Primitive what? A primitive polynomial of degree n is an irreducible  polynomial dividing x^(2^n &#8211; 1) + 1, not dividing x^d + 1 for every d  dividing 2^n &#8211; 1. Before you run away, let&#8217;s have an example:</p>
<p>x^4 + x^3 + 1 is primitive because</p>
<ul>
<li>is irreducible in Z2</li>
<li>divides to x^(2^4 &#8211; 1) + 1:
<ul>
<li>x^(2^4 &#8211; 1) + 1 = (x^4 + x^3 + 1) * (x^11 &#8211; x^10 + x^9 &#8211; x^8 + x^6 + x^4 &#8211; x^3 &#8211; 1)</li>
</ul>
</li>
<li>do not divides neither x^5 + 1 nor x^3 + 1</li>
</ul>
<p>Another nice thing is that primitive polynomials are sparse so we can do fast calculations on computers.</p>
<p>So, now we want to synthesize the feedback formula given an output.  The first option is trying to solve a linear system, have on mind that each inner state corresponds to the next n outputs, so from 2n consecutive output bits we can determine the feedback function.</p>
<p><a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDExLzAxL2xpbmVhci5wbmc="><img class="aligncenter size-medium wp-image-887" title="linear" src="http://vierito.es/wordpress/wp-content/uploads/2011/01/linear-480x198.png" alt="" width="480" height="198" /></a></p>
<p>If you don&#8217;t have enough bits to build the equations you would have to bruteforce dependent variables in the linear system.</p>
<p>Other attack (the one I used) is the Berlekamp-Massey algorithm that  given a sequence of bits allows you to find the linear complexity and  the feedback function of an LFSR.</p>
<p>THE BERLEKAMP-MASSEY ALGORITHM</p>
<p>You can read about it on <a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cHM6Ly9zZWN1cmUud2lraW1lZGlhLm9yZy93aWtpcGVkaWEvZW4vd2lraS9CZXJsZWthbXAlRTIlODAlOTNNYXNzZXlfYWxnb3JpdGht">wikipedia</a> although I implemented it from other notes. You can find multiples references in math/crypto papers.</p>

<div class="wp_syntax"><div class="code"><pre class="matlab" style="font-family:monospace;"><span style="color: #0000FF;">function</span> <span style="color: #080;">&#91;</span>L,C<span style="color: #080;">&#93;</span> = berlekamp<span style="color: #080;">&#40;</span>S<span style="color: #080;">&#41;</span>
&nbsp;
<span style="color: #228B22;">%</span>
<span style="color: #228B22;">% Use:</span>
<span style="color: #228B22;">% function [L,C]=berlekamp(S)</span>
<span style="color: #228B22;">%</span>
<span style="color: #228B22;">% Obtains the connection polynomial and the linear complexity of</span>
<span style="color: #228B22;">% the sequence $S$.</span>
<span style="color: #228B22;">% Remark: the Berlekamp-Massey algorithm do not returns the</span>
<span style="color: #228B22;">% initial state.</span>
<span style="color: #228B22;">%</span>
<span style="color: #228B22;">% Input parameters: S (Sequence of bits)</span>
<span style="color: #228B22;">% Output parameters:</span>
<span style="color: #228B22;">% L (Linear complexity of the sequence)</span>
<span style="color: #228B22;">% C Polynomial with MSB first</span>
&nbsp;
<span style="color: #228B22;">% Checking</span>
<span style="color: #0000FF;">if</span> <span style="color: #080;">&#40;</span><span style="color: #0000FF;">nargin</span> ~= <span style="color: #33f;">1</span><span style="color: #080;">&#41;</span>,
<span style="color: #0000FF;">error</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'The number of input parameters must be 1'</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">end</span>
<span style="color: #0000FF;">if</span> <span style="color: #080;">&#40;</span><span style="color: #0000FF;">nargout</span> ~= <span style="color: #33f;">2</span><span style="color: #080;">&#41;</span>,
<span style="color: #0000FF;">error</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'The number of output parameters must be 2'</span><span style="color: #080;">&#41;</span>;
<span style="color: #0000FF;">end</span>
&nbsp;
<span style="color: #228B22;">% Initialization</span>
L = <span style="color: #33f;">0</span>;
C = <span style="color: #33f;">1</span>;
m = -<span style="color: #33f;">1</span>;
B = <span style="color: #33f;">1</span>;
N = <span style="color: #33f;">1</span>;
&nbsp;
n = <span style="color: #0000FF;">length</span><span style="color: #080;">&#40;</span>S<span style="color: #080;">&#41;</span>;
&nbsp;
<span style="color: #228B22;">% Loop</span>
<span style="color: #0000FF;">while</span> <span style="color: #080;">&#40;</span> N &lt;= n<span style="color: #080;">&#41;</span>
    <span style="color: #228B22;">% discrepancy</span>
    sumatory = <span style="color: #33f;">0</span>;
    <span style="color: #0000FF;">for</span> <span style="color: #0000FF;"><span style="color: #33f;">i</span></span>=<span style="color: #33f;">1</span>:L
        sumatory = sumatory + C<span style="color: #080;">&#40;</span><span style="color: #0000FF;"><span style="color: #33f;">i</span></span><span style="color: #080;">&#41;</span>*S<span style="color: #080;">&#40;</span>N-<span style="color: #0000FF;"><span style="color: #33f;">i</span></span><span style="color: #080;">&#41;</span>;
    <span style="color: #0000FF;">end</span>
    d<span style="color: #080;">&#40;</span>N<span style="color: #080;">&#41;</span> = <span style="color: #0000FF;">rem</span><span style="color: #080;">&#40;</span> <span style="color: #080;">&#40;</span>S<span style="color: #080;">&#40;</span>N<span style="color: #080;">&#41;</span>+sumatory<span style="color: #080;">&#41;</span>, <span style="color: #33f;">2</span><span style="color: #080;">&#41;</span>;
&nbsp;
    <span style="color: #0000FF;">if</span> <span style="color: #080;">&#40;</span> d<span style="color: #080;">&#40;</span>N<span style="color: #080;">&#41;</span> == <span style="color: #33f;">0</span><span style="color: #080;">&#41;</span>
        <span style="color: #228B22;">% Linear complexity of S^(N+1) is L</span>
        <span style="color: #228B22;">% not sure if I need to do sthg.</span>
    <span style="color: #0000FF;">elseif</span> <span style="color: #080;">&#40;</span> d<span style="color: #080;">&#40;</span>N<span style="color: #080;">&#41;</span> == <span style="color: #33f;">1</span> <span style="color: #080;">&#41;</span>
        T = C;
        <span style="color: #228B22;">% C = C + B*D^(N-m)</span>
        <span style="color: #228B22;">% C and B have to be same size to be added</span>
        <span style="color: #228B22;">% first we pad B wih zeros</span>
        Bpadded = <span style="color: #080;">&#91;</span> B <span style="color: #0000FF;">zeros</span><span style="color: #080;">&#40;</span><span style="color: #33f;">1</span>,N-<span style="color: #33f;">1</span>-m<span style="color: #080;">&#41;</span> <span style="color: #080;">&#93;</span>;
        <span style="color: #228B22;">% lengths</span>
        lenC = <span style="color: #0000FF;">length</span><span style="color: #080;">&#40;</span>C<span style="color: #080;">&#41;</span>;
        lenB = <span style="color: #0000FF;">length</span><span style="color: #080;">&#40;</span>Bpadded<span style="color: #080;">&#41;</span>;
        <span style="color: #0000FF;">if</span> <span style="color: #080;">&#40;</span> lenC &gt; lenB <span style="color: #080;">&#41;</span>
            <span style="color: #228B22;">% insert zeros in the beginning</span>
            Bpadded = <span style="color: #080;">&#91;</span> <span style="color: #0000FF;">zeros</span><span style="color: #080;">&#40;</span><span style="color: #33f;">1</span>,lenC-lenB<span style="color: #080;">&#41;</span> Bpadded <span style="color: #080;">&#93;</span>;
        <span style="color: #0000FF;">end</span>
        <span style="color: #0000FF;">if</span> <span style="color: #080;">&#40;</span> lenC &lt; lenB <span style="color: #080;">&#41;</span>
            <span style="color: #228B22;">% make C longer</span>
            C = <span style="color: #080;">&#91;</span> <span style="color: #0000FF;">zeros</span><span style="color: #080;">&#40;</span><span style="color: #33f;">1</span>,lenB-lenC<span style="color: #080;">&#41;</span> C <span style="color: #080;">&#93;</span>;
        <span style="color: #0000FF;">end</span>
        <span style="color: #228B22;">% both are equal length so we can add</span>
        C = C + Bpadded;
&nbsp;
        <span style="color: #0000FF;">if</span> <span style="color: #080;">&#40;</span> L &lt;= <span style="color: #080;">&#40;</span>N-<span style="color: #33f;">1</span><span style="color: #080;">&#41;</span>/<span style="color: #33f;">2</span> <span style="color: #080;">&#41;</span>
            L = N - L;
            m = N - <span style="color: #33f;">1</span>;
            B = T;
        <span style="color: #0000FF;">end</span>
    <span style="color: #0000FF;">end</span>
&nbsp;
    N = N + <span style="color: #33f;">1</span>;
<span style="color: #0000FF;">end</span></pre></div></div>

<p>Let&#8217;s see if it works:</p>

<div class="wp_syntax"><div class="code"><pre class="matlab" style="font-family:monospace;">&gt;&gt; <span style="color: #080;">&#91;</span>L C<span style="color: #080;">&#93;</span> = berlekamp<span style="color: #080;">&#40;</span>stream<span style="color: #080;">&#41;</span>
&nbsp;
L =
&nbsp;
     <span style="color: #33f;">4</span>
&nbsp;
C =
&nbsp;
     <span style="color: #33f;">1</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">1</span>     <span style="color: #33f;">1</span></pre></div></div>

<p>Now let&#8217;s use given bits in Crypto03. Depending on the bits stream the algorithm can converge better, so the best option is to start from a long group of ones (just move some bits forward from the beginning as a starting point)</p>
<p>This was the original bit stream from the PRNG:</p>
<pre>
10100000000000011000000000000010000000000000011111111111111101010101010101001100
11001100111011101110111010010110100101100011011000110111101101111011010110110101
10110010010011011011100011101101101000010110110110000011011011011111101101101101
01011011011011001101101101101110110110110110100100100100100111000111000111010000
10111101001111100101001110101000110001011001111011110010001010010100011110011100
11110101110100010100110100111100111011000101000101101111001111001001010001010001
11001111001111010001010001010011110011110011101011101011101001101001101001110110
00100111010010000111010011100000101100010111111001000011010101110000010011001011
11110001000110101011110000100110010100000111011100111111010010111010101100011010
01100100001001110111000001110100101111110100111001010100111010001100111010011110
11101001110101101001110100110110001011000100100001101111000111110110101111010100
10011010110011100010011011101000011101101001111101001001110101001110001011001110
10000110111010011111011010011101010010011101001100011101001110111101001110100101
00111010011100111010011101000101100010110000110111100100000100101000111111000110
00010101000010000011001111100000010001010111111100001100101010111110111001100101
01101000100011001001111000010001110101111100001011001010111110010001100101011100
00100011001011111000010001101010000011110110011111101011011101010110010010110011
01110001101110110100001001011011000001110010010000001011100011111110010111101010
10001101011001100001001101110111110001001011010100001110010011000001011100010000
00110100001111111011000001010101101111110011001001010100010001110011000011110100
01000001010011110000001100010100000001000011000000001111101111111110101001010101
01100111001100110111010001000100101100001111000110111110101111011010100110101101
10011101100100100010110111000111100100101111010111000110101100101111011001000110
10110111000010011011010000011101101100000010110110111111100100100101010111000111
00110010111101000100011010110000111101100100000101001000111111001110000101010001
01111100110000110101000100000100110000111111000100000101010000111111001100000101
01000100000011001111000000010001010000000011110011111111101011101010101001101001
10011000100111011101111000101101001010000110110001100000100100001000000111000001
11111101000000101010110000000110011011111111011101101010101101
</pre>

<div class="wp_syntax"><div class="code"><pre class="matlab" style="font-family:monospace;">&gt;&gt; <span style="color: #080;">&#91;</span>L C<span style="color: #080;">&#93;</span> = berlekamp<span style="color: #080;">&#40;</span>prngData<span style="color: #080;">&#41;</span>
&nbsp;
L =
&nbsp;
    <span style="color: #33f;">15</span>
&nbsp;
C =
&nbsp;
     <span style="color: #33f;">1</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">1</span>     <span style="color: #33f;">1</span></pre></div></div>

<p>I tried with different subsets of the bits from the PRNG and sometimes I had some curious results.</p>

<div class="wp_syntax"><div class="code"><pre class="matlab" style="font-family:monospace;">&gt;&gt; <span style="color: #080;">&#91;</span>L C<span style="color: #080;">&#93;</span> = berlekamp<span style="color: #080;">&#40;</span>prngData2<span style="color: #080;">&#41;</span>
&nbsp;
L =
&nbsp;
    <span style="color: #33f;">15</span>
&nbsp;
C =
&nbsp;
     <span style="color: #33f;">1</span>     <span style="color: #33f;">2</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">0</span>     <span style="color: #33f;">1</span>     <span style="color: #33f;">1</span></pre></div></div>

<p>That &#8220;two&#8221; could turn into a &#8220;zero&#8221; or a &#8220;one&#8221;, means it still was iterating so we could only say it could be x^15+x^14+x+1 or x^15+x+1. But if we are speaking about a cryptographic use we could almost discard the first one because is not primitive, so might not be of maximal period, which is a nice feature in this case.</p>
<p>Of course, there&#8217;s a shortcut to solve the challenge, once you decided it was LFSR-based you could take a list of primitive polynomials in modulo 2, try them all and check which one overlaps with the given bits xDD</p>
<p>Once we had the feedback polynomial we still didn&#8217;t know the seed but it doesn&#8217;t matter. We could generate all 2^15 &#8211; 1 keys and try them all.</p>
<p>This was the correct key:</p>

<div class="wp_syntax"><div class="code"><pre class="matlab" style="font-family:monospace;">&gt;&gt; key = lfsr<span style="color: #080;">&#40;</span><span style="color: #080;">&#91;</span><span style="color: #33f;">1</span> <span style="color: #33f;">1</span> <span style="color: #33f;">0</span> <span style="color: #33f;">0</span> <span style="color: #33f;">0</span> <span style="color: #33f;">0</span> <span style="color: #33f;">0</span> <span style="color: #33f;">0</span> <span style="color: #33f;">0</span> <span style="color: #33f;">0</span> <span style="color: #33f;">0</span> <span style="color: #33f;">0</span> <span style="color: #33f;">0</span> <span style="color: #33f;">0</span> <span style="color: #33f;">0</span> <span style="color: #33f;">1</span><span style="color: #080;">&#93;</span>, <span style="color: #080;">&#91;</span><span style="color: #33f;">1</span> <span style="color: #33f;">0</span> <span style="color: #33f;">1</span> <span style="color: #33f;">0</span> <span style="color: #33f;">1</span> <span style="color: #33f;">1</span> <span style="color: #33f;">0</span> <span style="color: #33f;">1</span> <span style="color: #33f;">1</span> <span style="color: #33f;">1</span> <span style="color: #33f;">0</span> <span style="color: #33f;">1</span> <span style="color: #33f;">1</span> <span style="color: #33f;">1</span> <span style="color: #33f;">1</span><span style="color: #080;">&#93;</span>, <span style="color: #33f;">128</span><span style="color: #080;">&#41;</span>;
&gt;&gt; <span style="color: #0000FF;">fprintf</span><span style="color: #080;">&#40;</span><span style="color:#A020F0;">'%d'</span>,key<span style="color: #080;">&#41;</span>
<span style="color: #33f;">11110111011010101011010010011001101100011101110110111101001011011010110001101101100100001001001000111110001110000101011110100000</span></pre></div></div>

<p>Painsec it seems they just guessed the feedback by checking the stream by hand and Int3pids did a nice script that completed the LFSR sequence although I&#8217;m not sure if it would work with any feedback.</p>
<p>To encrypt/decrypt the file I used OpenSSL, the file was a GIF with the flag &#8220;aLFSRist00WeaKz&#8221; written on it.<br />
That&#8217;s all!<br/><br/><i>&#8211;<br/>Fuente original en <a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNz">http://vierito.es/wordpress</a></i><br/><br/><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzLzIwMTAvMDQvMTkvY3J5cHRvMDQtY2hhbGxlbmdlLXdyaXRlLXVwLWZyb20tY2FtcHVzLXBhcnR5LWV1cm9wZS8=" rel=\"bookmark\" title=\"April 19, 2010\">Crypto04 challenge write-up from Campus Party Europe</a></li>
<li><a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzLzIwMTAvMDgvMzAvY2FtcHVzLXBhcnR5LTIwMTAtd2FyZ2FtZS1sZWZ0b3ZlcnMtd2lubmVyLw==" rel=\"bookmark\" title=\"August 30, 2010\">Campus Party 2010 &#8211; Wargame Leftovers winner!</a></li>
</ul>
<p><!-- Similar Posts took 5.088 ms --></p>
 <img src="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=869" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://vierito.es/wordpress/2011/01/22/breaking-lfsr-based-pseudo-random-number-generators/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>[Campus Party 09] Las crónicas</title>
		<link>http://vierito.es/wordpress/2009/09/07/campus-party-09-las-cronicas/</link>
		<comments>http://vierito.es/wordpress/2009/09/07/campus-party-09-las-cronicas/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 15:13:05 +0000</pubDate>
		<dc:creator>vierito5</dc:creator>
				<category><![CDATA[hacking]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[personal]]></category>
		<category><![CDATA[2009]]></category>
		<category><![CDATA[campus party]]></category>
		<category><![CDATA[concurso de seguridad]]></category>
		<category><![CDATA[SecurityByDefault]]></category>
		<category><![CDATA[Sistemas de Detección de Intrusos]]></category>
		<category><![CDATA[valencia]]></category>
		<category><![CDATA[wargame]]></category>

		<guid isPermaLink="false">http://vierito.es/wordpress/?p=629</guid>
		<description><![CDATA[Ya hace más de un mes que terminó la Campus Party en Valencia. Como ya comenté este año la Campus volvió a la Ciudad de las Artes y las Ciencias para bien y para mal. La carpa no tenía nada que ver con la de 2004, era mucho más grande y mejor climatizada aunque una [...]]]></description>
			<content:encoded><![CDATA[<p>Ya hace más de un mes que terminó la <a title=\"Campus Party Valencia\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=d3d3LmNhbXB1cy1wYXJ0eS5lcy8=">Campus Party</a> en Valencia. Como ya comenté <a title=\"Campus Party 2009 Valencia\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzLzIwMDkvMDYvMjUvY2FtcHVzLXBhcnR5LTA5LXBsYW5uaW5nLw==">este año la Campus volvió a la Ciudad de las Artes y las Ciencias</a> para bien y para mal. La carpa no tenía nada que ver con la de 2004, era mucho más grande y mejor climatizada aunque una de las tardes (martes o miércoles) el aire acondicionado se estropeó y menuda calina. El mayor inconveniente era la zona de tiendas&#8230; calor, ruido de los compresores, sólo un par de baños cerca, etc. Al final optamos por volvernos a dormir a casa cada noche. Como gran ventaja, volvió el &#8220;ambiente de campus&#8221;, gritos, jaleos, descerebrados soltando burradas, estabas cerca de los amigos, etc <img src='http://vierito.es/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  eso se echaba de menos en la Feria.</p>
<p>Jaime tenía sus charlas de PHP a las 10 y eso es primerísima hora en la campus, que digo! es una hora inaceptable en la campus! Intentamos llegar a tiempo para poder apoyarle pero durmiendo fuera y acostándonos tarde (más bien cerca del amanecer) era complicado estar antes de las 11. Además se nos juntaba con el suplicio de aparcar y llegar andando desde donde cristo perdió la cruz, al año que viene nos cogemos parking. Este año estuvo a buen precio (no como años anteriores) pero se nos pasó el momento o no nos lo planteamos lo suficiente. El catering a mí me pareció peor que otros años, era otra empresa y encima la CP no dió paella para todos gratis el miércoles como venía siendo tradición&#8230; ratas.</p>
<p>A diferencia de otros años, que ya el domingo disponíamos de las acreditaciones y incluso alguna vez teníamos la tienda puesta de antes, esta vez llegábamos de viaje por la tarde y no fue hasta la noche cuando estuvimos acomodados en el puesto. Así cerquita estábamos <a title=\"kuasar\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2t1YXNhci5lcy9ibG9n">kuasar</a>, Jaime, <a title=\"mageles\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL21hZ2VsZXMud29yZHByZXNzLmNvbQ==">Mageles</a>, <a title=\"TuXeD\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3R1eGVkLnNlcnZlYmxvZy5uZXQ=">TuXeD</a> (a partir del jueves), <a title=\"Ricardo Varela - phobeo\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3Bob2Jlby5jb20=">phobeo</a>, <a title=\"Ernesto Jiménez\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2VybmVzdG8tamltZW5lei5jb20v">Ernesto</a> (encantado de conocerte!), <a title=\"Carrie es el mal\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2NhcnJpZWJsb2cud29yZHByZXNzLmNvbS8=">Laura</a>, <a title=\"Ender\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2VuZGVyM25ldC53b3JkcHJlc3MuY29tLw==">Ender</a>, <a title=\"akae usa tanga rosa\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FrYWUuZXM=">akae</a> y unos cuantos más, justo en el medio de la zona de innovación. Repartidos por el resto de la campus estaban muchos más conocidos pero no terminaría nombrándolos, bueno va, a <a title=\"Flexa\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy50aGVmbGV4YS5jb20v">Flexa</a> sí, que se hizo una camiseta super molona con TOOOOODOS nuestros nicks <img src='http://vierito.es/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Sigue leyendo!</p>
<p><span id="more-629"></span></p>
<p>Hoy no os traigo un diario detallado, no hay ganas de escribir tanto y además seguro que aburriría, que con el viaje por el Bosnia y Croacia os dejé un misal, por lo menos! El año pasado sí fue un poco más extenso: <a title=\"Campus Party 2008 Parte 1\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzLzIwMDgvMDgvMzEvY2FtcHVzLXBhcnR5LTA4LWRpYXJpby1kZS1hLWJvcmRvLXBhcnRlLTEv">Campus Party 08 Parte 1</a> y <a title=\"Campus Party 2008 Parte 2\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzLzIwMDgvMDkvMDcvY2FtcHVzLXBhcnR5LTA4LWRpYXJpby1kZS1hLWJvcmRvLXBhcnRlLTIv">Campus Party 08 Parte 2</a></p>
<p>TuXeD dió su <a title=\"TuXeD - Smartcards and Side Channel\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy55b3V0dWJlLmNvbS93YXRjaD92PW45VUNJTUw3SW1r">charla sobre Smartcards y Side Channel</a> el jueves por la mañana y yo la mía el sábado sobre <a title=\"vierito5 - Sistemas de Detección de Intrusos\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzLzIwMDkvMDgvMDMvY2FtcHVzLXBhcnR5LTA5LXNpc3RlbWFzLWRlLWRldGVjY2lvbi1kZS1pbnRydXNvcy8=">Sistemas de Detección de Intrusos</a>. Hubo cosas interesantes, hasta vino <a title=\"Jose de Castro\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2pvc2VkZWNhc3Ryby5uZXQv">Jose de Castro</a> a tocar! Este año han subido a youtube bastantes <a title=\"Talleres y Conferencias - Campus Party 2009 Valencia\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy55b3V0dWJlLmNvbS92aWV3X3BsYXlfbGlzdD9wPURCRTAyNDU2Rjg2Njk2RTU=">videos con talleres y ponencias</a>.</p>
<p style="text-align: center;"><a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDA5LzA4L2phaW1lLmpwZw=="><img class="aligncenter size-medium wp-image-632" title="jaime" src="http://vierito.es/wordpress/wp-content/uploads/2009/08/jaime-480x320.jpg" alt="jaime" width="480" height="320" /></a><a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDA5LzA4L1R1WGVELmpwZw=="><img class="aligncenter size-medium wp-image-633" title="TuXeD" src="http://vierito.es/wordpress/wp-content/uploads/2009/08/TuXeD-480x320.jpg" alt="TuXeD" width="480" height="320" /></a><a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDA5LzA4L3ZpZXJpdG81XzAxLmpwZw=="><img class="size-medium wp-image-634  aligncenter" title="vierito5_01" src="http://vierito.es/wordpress/wp-content/uploads/2009/08/vierito5_01-320x480.jpg" alt="vierito5_01" width="320" height="480" /></a><a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDA5LzA4L3ZpZXJpdG81XzAyLmpwZw=="><img class="aligncenter size-medium wp-image-635" title="vierito5_02" src="http://vierito.es/wordpress/wp-content/uploads/2009/08/vierito5_02-480x320.jpg" alt="vierito5_02" width="480" height="320" /></a></p>
<p>Un año más hubo concurso de seguridad, esta vez organizado por <a title=\"SecurityByDefault\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zZWN1cml0eWJ5ZGVmYXVsdC5jb20v">SecurityByDefault</a>, a los cuales fue un placer conocer en persona. El año pasado participamos <a title=\"TuXeD\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3R1eGVkLnNlcnZlYmxvZy5uZXQ=">TuXeD</a>, <a title=\"Amine Taouirsa\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL21hcGV0aXRlbW9ydC5jb20v">Amine</a> y yo juntos y lo ganamos así que este año nos pusimos manos a la obra de nuevo. TuXeD no pudo mirarse nada hasta bien entrado el jueves y el pobre Amín trabajaba en el <a title=\"Restaurante Aleimuna\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2FsZWltdW5hLmVzLw==">restaurante</a> de sus padres  (el cual recomiendo) todos los días full-time así que no tenía más remedio conectarse desde el ordenador del restaurante por vnc a su casa y mirarse las cosillas entre que servía un plato y otro xDDD En fin, menudo plan, aún así el equipo funcionó a la perfección y nos pudimos hacer de nuevo con el primer puesto después de mucho empeño <img src='http://vierito.es/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Enhorabuena chicos!</p>
<p>El concurso estaba divido en 4 categorías: redes, web, binarios y cripto, para cubrir pruebas de todo tipo. El concurso me gustó mucho, con más nivel que otros años pero&#8230; siempre hay un pero jeje, había demasiado fuerza bruta/suerte. Si acertabas a la primera pan comido si no&#8230; 2 días perdidos, fue el &#8220;fallo/feature&#8221; más criticado por los participantes.</p>
<p>Hubo pruebas de todo tipo, algunas muy originales. Por ejemplo, en redes había obtener que orden de nmap había sido ejecutada viendo una captura o crackear la sharedKey del handshake en una autenticación RADIUS, esta prueba me gustó mucho ya que no existía/teníamos herramienta para hacerlo así que hubo que tirar del RFC y programarse un crackeador (en C). En cripto hubo que crackear un certificado pkcs12 y unos mensajes de twitter en cifrados RC4, en binarios en una había que modificar el comportamiento del programa gracias a un LD_PRELOAD y en otra era un buffer overflow en el cual había que volver a los inicios con el señor Aleph One. En una de las pruebas de web una herramienta de <a title=\"Dani Kachakil\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2thY2hha2lsLmNvbQ==">Dani Kachakil</a> (<a title=\"Dani Kachakil Solución reto criptografía\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzLzIwMDkvMDYvMDgvc29sdWNpb24tZGUtbGFzLXBydWViYXMtMTEteS0xMi1kZWwtcmV0by8=">nuestro chico maravillas</a>) nos solventó la papeleta y la web4 fue la única prueba que nos quedó por resolver porque nos quedamos atascado en un detalle&#8230; no acertar el nombre de un fichero php! Había que saltarse la directiva LIMIT de un apache y luego era un Blind SQL. Lástima. Las últimas horas del concurso fueron muy estresantes,  la noche del viernes Skull y Dade se había puesto manos a la obra hasta el amanecer y se posicionaron segundos, ellos había resuelto la web4 que valía más puntos que la cripto3 así que si resolvían una prueba más nos adelantaban. Estaban a puntito a puntito de obtener la solución de la cripto4 con la que nos adelantaban pero a falta de 15minutos pudimos sacarla nosotros y nos alejamos <img src='http://vierito.es/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Maldito LSB! Probamos decenas de herramientas! <a title=\"Rooibo - Joca\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3Jvb2liby53b3JkcHJlc3MuY29tLw==">Joca</a> y <a title=\"cucaracha\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2N1Y2FyYWNoYS5pbmVydGluYy5vcmcvdjQv">cucaracha</a> estuvieron muy muy fuertes en la competición así que felicidades a ellos también.</p>
<p>No me he extendido mucho en las pruebas del wargame pero la gente de <a title=\"SecurityByDefault\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zZWN1cml0eWJ5ZGVmYXVsdC5jb20v">SecurityByDefault</a> se han currado unos posts con las soluciones por categorías: <a title=\"Solución Redes Wargame Campus Party 2009\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zZWN1cml0eWJ5ZGVmYXVsdC5jb20vMjAwOS8wOC8xNC13YXJnYW1lLWNwMjAwOS1wcnVlYmFzLWRlLXJlZGVzLmh0bWw=">Redes</a>, <a title=\"Solución Web Wargame Campus Party 2009\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zZWN1cml0eWJ5ZGVmYXVsdC5jb20vMjAwOS8wOC8yNC13YXJnYW1lLWNwMjAwOS1wcnVlYmFzLWRlLXdlYi5odG1s">Web</a>, <a title=\"Solución Criptografía Wargame Campus Party 2009\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zZWN1cml0eWJ5ZGVmYXVsdC5jb20vMjAwOS8wOC8zNC13YXJnYW1lLWNwMjAwOS1wcnVlYmFzLWRlLmh0bWw=">Cripto</a> y <a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zZWN1cml0eWJ5ZGVmYXVsdC5jb20vMjAwOS8wOS80NC13YXJnYW1lLWNwMjAwOS1wcnVlYmFzLWRlLWJpbmFyaW9zLmh0bWw=">Binarios</a>.</p>
<p><a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDA5LzA4L3ByZW1pb3NfY3AyMDA5LmpwZw=="><img class="aligncenter size-medium wp-image-636" title="premios_cp2009" src="http://vierito.es/wordpress/wp-content/uploads/2009/08/premios_cp2009-480x320.jpg" alt="premios_cp2009" width="480" height="320" /></a><a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDA5LzA4L3ZpZXJpdG81X3dhcmdhbWUuanBn"><img class="aligncenter size-medium wp-image-637" title="vierito5_wargame" src="http://vierito.es/wordpress/wp-content/uploads/2009/08/vierito5_wargame-480x320.jpg" alt="vierito5_wargame" width="480" height="320" /></a></p>
<p>Ricardo y Ernesto participaron en un par de competiciones y se las llevaron al agua las 2, si es que están hechos unos <em>crás</em>. Luego Ricardo confesó que había amenazado a los contrincantes para que huyeran despavoridos.</p>
<p><a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDA5LzA4L1JpY2FyZG8teS1Fcm5lc3RvLmpwZw=="><img class="aligncenter size-medium wp-image-638" title="Ricardo y Ernesto" src="http://vierito.es/wordpress/wp-content/uploads/2009/08/Ricardo-y-Ernesto-480x360.jpg" alt="Ricardo y Ernesto" width="480" height="360" /></a></p>
<p>La última noche la pasamos de buen rollo en los jardines de al lado de la CAC, como tiene que ser, tirados en el césped y con spirits!</p>
<p>Os pondría más fotos y más decentes pero no tenía cámara así que sólo tengo las que salen por el flickr de la campus xDD</p>
<p>Otro año más, a poder ser mejor.<br/><br/><i>&#8211;<br/>Fuente original en <a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNz">http://vierito.es/wordpress</a></i><br/><br/><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzLzIwMDgvMDkvMDcvY2FtcHVzLXBhcnR5LTA4LWRpYXJpby1kZS1hLWJvcmRvLXBhcnRlLTIv" rel=\"bookmark\" title=\"September 7, 2008\">[Campus Party 08] Diario de a bordo &#8211; Parte 2</a></li>
<li><a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzLzIwMDkvMDYvMjUvY2FtcHVzLXBhcnR5LTA5LXBsYW5uaW5nLw==" rel=\"bookmark\" title=\"June 25, 2009\">[Campus Party 09] Planning</a></li>
<li><a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzLzIwMDgvMDgvMzEvY2FtcHVzLXBhcnR5LTA4LWRpYXJpby1kZS1hLWJvcmRvLXBhcnRlLTEv" rel=\"bookmark\" title=\"August 31, 2008\">[Campus Party 08] Diario de a bordo &#8211; Parte 1</a></li>
</ul>
<p><!-- Similar Posts took 20.079 ms --></p>
 <img src="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=629" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://vierito.es/wordpress/2009/09/07/campus-party-09-las-cronicas/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>[Campus Party 09] Planning</title>
		<link>http://vierito.es/wordpress/2009/06/25/campus-party-09-planning/</link>
		<comments>http://vierito.es/wordpress/2009/06/25/campus-party-09-planning/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 01:29:32 +0000</pubDate>
		<dc:creator>vierito5</dc:creator>
				<category><![CDATA[hacking]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[personal]]></category>
		<category><![CDATA[campus party]]></category>
		<category><![CDATA[concurso de criptografía]]></category>
		<category><![CDATA[concurso de seguridad]]></category>
		<category><![CDATA[eyeOS]]></category>
		<category><![CDATA[innovación]]></category>
		<category><![CDATA[planning]]></category>
		<category><![CDATA[SecurityByDefault]]></category>
		<category><![CDATA[seguridad y redes]]></category>
		<category><![CDATA[software libre]]></category>
		<category><![CDATA[tuxed]]></category>
		<category><![CDATA[valencia]]></category>
		<category><![CDATA[vierito5]]></category>

		<guid isPermaLink="false">http://vierito.es/wordpress/?p=488</guid>
		<description><![CDATA[Apenas queda un mes para que se inicie la Campus Party 2009 en Valencia en su decimotercera edición. Un año más vuelvo al evento colaborando con el área de&#8230; un momento&#8230; ¿qué han hecho con las áreas? En 2004 había unas cuantas áreas, todas con su contenido, en los años posteriores empezó una carrera absurda [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzL3dwLWNvbnRlbnQvdXBsb2Fkcy8yMDA5LzA2L2xvZ29fY3B2YWxlbmNpYS5naWY="><img class="size-full wp-image-494 aligncenter" title="logo_cpvalencia" src="http://vierito.es/wordpress/wp-content/uploads/2009/06/logo_cpvalencia.gif" alt="logo_cpvalencia" width="211" height="74" /></a></p>
<p>Apenas queda un mes para que se inicie la <a title=\"Campus Party 2009 Valencia\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2NhbXB1cy1wYXJ0eS5lcy8=">Campus Party</a> 2009 en Valencia en su decimotercera edición. Un año más vuelvo al evento colaborando con el área de&#8230; un momento&#8230; ¿qué han hecho con las áreas?</p>
<p>En 2004 había unas cuantas áreas, todas con su contenido, en los años posteriores empezó una carrera absurda por aumentar ese número y se inventaron unas cuantas sin utilidad ni contenido alguno. Evidentemente el año pasado ya era bastante exagerado&#8230; así que la excusa ha venido de perlas. Este año sólo habrá 4 áreas que englobarán a su vez varias de las antiguas.</p>
<p>Frase de la organización: <em><strong>Juntamos lo mejor de cada área para tí</strong>.</em></p>
<p>Realidad: <em><strong>Ponemos cuatro áreas pero sólo un _escenario_ por área, así sólo tenemos que pagar un cuarto de los contenidos de los años anteriores porque no hay tiempo real para meterlos y nos ahorramos una pasta</strong>.</em> Cosas de la crisis.</p>
<p>La solución buena de verdad hubiera sido eliminar las áreas que no aportan contenido y reducir así el número, pero no coger y hacer una Campus Party <em>descafeinada</em> (aunque el poco contenido que haya sea bueno, eh?? xDD). Ellos como excusa dicen &#8220;menos pero mejor&#8221;, yo digo &#8220;lo mismo e igual de mejor&#8221;, maneras de verlo.</p>
<h3>¡Pero vayamos al ajo! ¡Dale al Read More!</h3>
<p><span id="more-488"></span></p>
<p>Este año el área de Innovación engloba Software Libre, Seguridad y Redes (nueva) y Desarrolladores, bueno va,  y CP Lab y Telefonica I+D. Me voy a centrar en las 2 primeras, que son las que quedan en casa. Software Libre viene a ser lo mismo de siempre pero como el plato fuerte de sus actividades estaban relacionadas con la seguridad pues parece que han decidido crear esa zona nueva.</p>
<p><strong>En la zona de <a title=\"Seguridad y Redes Campus Party 2009\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5jYW1wdXMtcGFydHkuZXMvaW5kZXgucGhwL3NlZ3VyaWRhZHlyZWRlcy5odG1s">Seguridad y Redes</a>:</strong></p>
<p>- <a title=\"TuXeD\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3R1eGVkLnNlcnZlYmxvZy5uZXQv">TuXeD</a> nos traerá una conferencia sobre <strong>SmartCards y RFID</strong>. Ataques lógicos y laterales y esas cosas que le gustan. Para saber de qué va el tema no dudéis en echarle un vistazo a su blog.</p>
<p>- <a title=\"It Should Work - Javi Moreno\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzLw==">Yo</a> daré una conferencia sobre <strong>Sistemas de Detección de Intrusos.</strong> Un poquito de Snort y alguna otra cosa.</p>
<p>- Rapul repite con la <strong>Competición de Criptografía</strong>.</p>
<p>- <a title=\"SecurityByDefault\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5zZWN1cml0eWJ5ZGVmYXVsdC5jb20v">SecurityByDefault</a> se encargará del <strong>Concurso de Seguridad</strong>. En un principio lo iba a hacer el niño cabezon a.k.a chandra pero bueno, cosas del directo&#8230; No tenemos pistas sobre cómo estará enfocado. Además darán una charla sobre <strong>Seguridad en Redes Sociales</strong>, o al menos eso tengo entendido porque por la web de Campus Party no aclara mucho.</p>
<p><strong>En la zona de <a title=\"Software Libre Campus Party 2009\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3d3dy5jYW1wdXMtcGFydHkuZXMvaW5kZXgucGhwL1NvZnR3YXJlTGlicmUuaHRtbA==">Software Libre</a>:</strong></p>
<p>- Jaime continuará con su <strong>taller de PHP</strong>.</p>
<p>- La gente de<strong> <a title=\"eyeOS\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL2V5ZW9zLm9yZy8=">eyeOS</a> presentará su proyecto</strong>, no sé quién hará la charla pero si queréis echarle un vistazo podéis visitar su web o leer <a title=\"La historia de eyeOS por Jose Carlos\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3Jvb2liby53b3JkcHJlc3MuY29tLzIwMDkvMDMvMTUvbGEtaGlzdG9yaWEtZGUtZXllb3MtZW4taW1hZ2VuZXMv">este post</a> que ya escribió <a title=\"Rooibo - Jose Carlos Norte\" href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3Jvb2liby53b3JkcHJlc3MuY29tLw==">Jose Carlos</a> sobre la historia en su blog.</p>
<p><strong>Can&#8217;t wait!</strong><br/><br/><i>&#8211;<br/>Fuente original en <a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNz">http://vierito.es/wordpress</a></i><br/><br/><strong>Similar Posts:</strong>
<ul class="similar-posts">
<li><a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzLzIwMDgvMDcvMTAvY2FtcHVzLXBhcnR5LTA4LXRhbGxlci1kZS1hbnRlbmFzLXktY2hhcmxhLXNvYnJlLXNlcnZpZG9yZXMv" rel=\"bookmark\" title=\"July 10, 2008\">[Campus Party 08] Taller de antenas y charla sobre servidores</a></li>
<li><a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzLzIwMDkvMDkvMDcvY2FtcHVzLXBhcnR5LTA5LWxhcy1jcm9uaWNhcy8=" rel=\"bookmark\" title=\"September 7, 2009\">[Campus Party 09] Las crónicas</a></li>
<li><a href="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?url=aHR0cDovL3ZpZXJpdG8uZXMvd29yZHByZXNzLzIwMDgvMDgvMDkvZW4tYmVybGluLw==" rel=\"bookmark\" title=\"August 9, 2008\">En Berlin!</a></li>
</ul>
<p><!-- Similar Posts took 5.992 ms --></p>
 <img src="http://vierito.es/wordpress/wp-content/plugins/wordpress-feed-statistics/feed-statistics.php?view=1&post_id=488" width="1" height="1" style="display: none;" />]]></content:encoded>
			<wfw:commentRss>http://vierito.es/wordpress/2009/06/25/campus-party-09-planning/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

