Archive for debian
July 13, 2010 at 2:17 pm
· 142 words (893 chars) filed under favorites, geek, home, life, math, planet, procrastination, sorry for my english
I have a new guest in my apartment. Give a warm welcome to the Adrianus Johannes Wilhelmus Duijvestijn’s spirit.
Thanks a lot to Bartu and Rezlaj, who carried out the necessary seance that make this possible.
The complete photo set is here. If you do not have the slightest idea of what I’m talking about, take a look to Wikipedia or my previous post (Spanish only).
(esta entrada también está disponible en Español)
Permalink
July 13, 2010 at 2:17 pm
· 150 words (937 chars) filed under geek, home, life, math, planeta, procrastination
Tengo un nuevo huésped en mi departamento. Denle una cálida bienvenida al espíritu de Adrianus Johannes Wilhelmus Duijvestijn.
Muchísimas gracias a Bartu y a Rezlaj, quienes llevaron a cabo la sesión de espiritismo necesaria para hacer esto posible.
Todas las fotos están disponibles aquí. Si no tienes la menor idea de a qué se refiere esto, échale un ojo a la Wikipedia (solo en inglés) o a mi entrada anterior.
(this post is available in English too)
Permalink
March 12, 2010 at 3:57 pm
· 104 words (607 chars) filed under debian, journeys & traveling, life, planet, sorry for my english, wtf?!
I happy to announce that I bought the tickets, so…

To save on the price, the itinerary includes a couple of long waits:
- AV88 EZE-BOG: 6h 30m
- Waiting at BOG: 10h 50m
- AV20 BOG-JFK: 5h 35m
- AV21 JFK-BOG: 6h 00m
- Waiting at BOG: 9h 10m
- AV87 BOG-EZE: 6h 15m
Summarizing, almost half of the trip is waiting… :P
Permalink
November 24, 2009 at 1:22 pm
· 210 words (1214 chars) filed under planet, procrastination, python, security, social networking, sorry for my english
Este post también está escrito en español aquí.
Privacy at Facebook is heavy-duty. As a big fan of the Worlds Collide Theory I hate be tagged compulsively. I would like to select in which photos appear in my profile and feed. Since I couldn’t find that option in the setting menu, I looked for the answer in my favorite scripting language: Python.
This 60-lines-long script removes your tag from the latests photos where you has been labelled. You can download it from here. You may run it hourly (or every 15 minutes, or every 5 minutes, depends how paranoid you are) via cron or whatever.
Any improvement is welcome. It probably runs on Windows too. If you managed to do it, leave a comment for the others.
NEW VERSION! (available here).
Permalink
November 24, 2009 at 1:21 pm
· 228 words (1339 chars) filed under geek, planeta, procrastination, python, security, social networking
This post has been written in English too.
La privacidad en Facebook es un asunto complejo. Como gran suscriptor a la Teoría de Colisión de Mundos es que odio ser etiquetado en fotos de forma compulsiva. Me gustaría tener alguna forma de elegir en que fotos aparezco en mi perfil y actualizaciones. Dado que no pude encontrar tal opción entre la configuración, busqué la respuesta en mi lenguaje de scripting favorito: Python.
Este script de 60 lineas remueve tu etiqueta de las últimas fotos donde te hayan tagueado. Puede ser descargado desde aquí. Hay que correrlo cada hora (o cada 15 minutos, o cada 5, dependiendo de que tan paranoico seas) a través de cron o como sea.
Cualquier mejora es bienvenida. Posiblemente también corra en Windows. Si lograste hacer esto, deja un comentario que pueda serle útil a otros.
¡NUEVA VERSIÓN! (disponible aquí).
Permalink
September 19, 2009 at 4:02 am
· 144 words (863 chars) filed under geek, hardware, life, planet, sorry for my english
When your laptop is being repaired (and it’s still there, since August 28) you need imaginative ways to be connected.
Here is my Nokia N800 as something near to a desktop computer.

Just few notices:
- life battery is really short when you plug too many things to the USB interface.
- usbcontrol rules
- solder a female-female USB adapter is easy and funny (it came from a broken motherboard)
- after some weeks using Maemo, ideas about developing applications to it come to my mind
- the mail client and the browser included with Maemo suck
- my ocular health is being damaged
Permalink
August 13, 2009 at 5:48 pm
· 292 words (1783 chars) filed under debian, free software, journeys & traveling, lectures & talks
Todavía no termino de llegar (literalmente, que mi mochila se quedó en Madrid un día más que su dueño) y ya tengo el pasaje salir pasado mañana para Bahía Blanca.
El evento es Jornadas del Sur, durante este fin de semana largo. Hablaré sobre seguridad y empaquetado, además de encontrarme con amigos para beber y divertirse :P

¿Nos vemos allá?
UPDATE Fri, 14 Aug 2009: Las fotos ya están disponibles, a excepción de las de Toledo, que están en una cámara desechable porque me olvidé la digital cuando fui.
Permalink
August 6, 2009 at 9:57 pm
· 502 words (2890 chars) filed under debian, journeys & traveling, life
Esta última quincena ha sido de lo más intensa.
Lo más destacable, por lejos, fue DebConf9. Esa semana donde las cosas se viven de forma profundamente apasionadas, donde a cada paso hay diversión y amigos. Este año tuvo lugar en Cáceres, una ciudad relativamente pequeña de Extremadura. Me dediqué, mayormente, a escuchar charlas, intentar revivir paquetes que tenía algo olvidados, y hacer mucho trabajo de security. Incluso siendo impresionantemente productivo, mi ToDoList, lejos de reducirse durante esa semana, aumentó paradógicamente su tamaño en varias veces. Trabajo y diversión en envase familiar.
Mi idea no era volverme directamente a casa de DebConf9. Por un lado, estar de este lado del charco implica un esfuerzo demasiado grande que requiere ser amortizado. Por otro, conservo la esperanza que la depresión-post-debconf pegue menos si antes de volver doy una vuelta por ahí. El hecho es que, sin un plan, coordine mi pasaje de regreso sumando dos semanas a la finalización de DebConf9. Así fue como terminé en Lisboa, gracias a José que me llevó en su auto y empujado por la promesa de un país más barato que el español.
En Lisboa pasé unos 4 días, muy lindos por cierto. Es una ciudad atípica, llena de particularidades, con gente agradable y más extranjeros que locales. Posiblemente el álbum de fotos pueda contar más detalles.
De ahí y en tren, partí a Madrid, donde estoy viviendo la última semana de este viaje. Siempre estoy de paso en Madrid, lo que es injusto, ya que nunca me hice el tiempo para visitarla como un turista más. Con el tiempo he criado algunas amistadas acá, por lo que también ocuparé estos días en ponerme al día y beber cerveza.
Mañana (en algunas horas, para ser estricto) tengo pensado ir a Toledo, así que va llegando el momento de hibernar mi laptop e irme a dormir.
Permalink
July 23, 2009 at 6:00 pm
· 139 words (799 chars) filed under debian, journeys & traveling, lectures & talks, life
Después de dos excelentes días en Madrid, tratando de recuperarme de un viaje demasiado largo, embarcamos en un bus con rumbo a Cáceres, junto con Santiago.
Ahora estoy escribiendo esto desde el hacklab 1 de DebConf9, con esa hermosa senciación de haberme encontrado con mucha gente y de estar listo para vivir esos inolvidables días al año :)
Mañana, junto con Enrico y Steve, estaremos dando una charla en el OpenDay, la cual aún no empezado a preparar, así que será una noche divertida. Posiblemente vaya a estar disponible el streaming de videos, pero aún no se en qué URL.
En breve, fotos.
UPDATE 05 Aug: Lo prometido, las fotos.
Permalink
June 11, 2009 at 1:17 pm
· 53 words (273 chars) filed under debian, journeys & traveling, planet
I got my air ticket yesterday. So, I’m able to say that I will go to DebConf9!

The only thing missing in my itinerary is a cheap way to go to Cáceres from Madrid (it will be by train, most probably)
Permalink
May 26, 2009 at 12:12 pm
· 110 words (661 chars) filed under academy, depression, life, planet, sorry for my english
If I say “I got the third place in a scholarship application”, it doesn’t look bad.

But there is money only for the first two persons. Sometimes, close is not enough. So, without money, I won’t be able to study in Europe… damn…
Maybe next year… maybe not.
Note: The application was, as you can see, for a doctoral scholarship in Spain… my broken English has no effect here…
Permalink
April 17, 2009 at 11:22 am
· 139 words (779 chars) filed under blogging, debian, ego, life, planeta
(Sé que estoy escribiendo poco, y sé que con cuestionable calidad. Esta entrada no será la excepción)
Circo Linux, un simpático blog/e-zine, me ha realizado una extensa entrevista que puede leerse aquí. Los temas que tratamos han sido de lo más variado, desde Debian hasta mi afición al go. Fue una charla amena.
Tengo varias ideas en la cabeza que merecen ser posteadas, pero poco tiempo para plasmarlas. Trataré de cambiar dicha situación en el corto plazo y levantar este blog a lo que solía ser: un lugar divertido donde perder el tiempo.
Permalink
March 15, 2009 at 10:42 pm
· 106 words (636 chars) filed under hardware, planet, sorry for my english
Some days ago, my new camera arrived. I bougth it via Amazon and the parents of a friend brought it to my country.
The selected model was a Canon PowerShot SX110 IS. My last camera was a Canon PowerShot A700. It has been in service since April 2006, until a terrible fall ended with its nice capability of taking good pictures, during the 25C3 in Berlin.
Permalink
December 19, 2008 at 10:51 am
· 145 words (848 chars) filed under journeys & traveling, lectures & talks, life, planet
The next week I’m going to Berlin (and some days to Frankfurt). I’ll be in the 25th Chaos Communication Congress (25C3).
I’ll be out of home from 24th Dec until 7th Jan. It’ll be a non-traditional holidays, be far away from family. But, in the other hand, it gonna be awesome be and talk in a CCC and spend a Christmas Eve in a plane and a New Year’s Eve in Brandenburg Gate with friends.
See you there?
Permalink
November 8, 2008 at 11:54 am
· 149 words (876 chars) filed under debian, journeys & traveling, lectures & talks
Ayer volví de Alicante, una relativamente pequeña ciudad de Valencia. Allí tuvo lugar el III Congrés de Programari Lliure – Comunitat Valenciana. Un congreso atípico, no solo por el fuerte apoyo político y económico, sino por sus asistentes. Se trata de un evento de software libre para la educación y quienes van son docentes.
La pasé muy bien. Aproveché la oportunidad para ver a Dato, comer hasta el hartazgo y visitar la ciudad. Las fotos, en un par de horas.
UPDATE 27NOV 10:56 ARTS: El álbum de fotos completo aquí.
Permalink
September 29, 2008 at 11:11 pm
· 595 words (3483 chars) filed under academy, crypto, debian, openssl, planet, security, sorry for my english
Yes, it’s me again with this DSA-1571 exploitation issue. The discovery, explanation and exploitation of the bug is now part of my final coursework for my postgraduate degree career. So, yes… sorry.
Some weeks ago I started suspecting about the attack to PFS in SSL with EDH. The key point is: the key space is dependent of the PRNG state. The bug affects the initialization of the PRNG, but the random string has not a pattern by it self. If you ask for many random numbers to the PRNG, you gonna get numbers that differ among them, since they are the output of a hash function of them self. So each random number depends on, besides the PID, the state of the PRNG pool in the moment (in other words, amount of bytes that you already pull from the PRNG pool before)
The explained attack was based in a fixed list of private exponents (which are selected randomly during the DHE handshake), presupposing that all the application call RAND_bytes() the same number of times before get it. To make the list of exponent I ran the openssl s_client with all the possible PIDs, hoping that all the applications behaves the same way.
After more tests I notice that that was an overgeneralization. The proof is in the pudding: wget and cURL, two simple CLI file retrievers, gets different exponent between them, even running with the same PID.
I was working on this when I accidentally found a really nice Eric Rescorla’s post which is deeply related with this. The post goes further and analyzes the interaction between how Apache forks off and how it generates SSL handshakes.
So, I made lists of secret exponents for wget, curl, openssl s_client and openssl s_server with a modification version of libssl (appling this messy patch) and running scripts like this:
for i in $(seq $((2**15)));
do
export MAGICPID=$i;
LD_LIBRARY_PATH="openssl.broken/" LD_PRELOAD="./getpid.so" \
wget --no-check-certificate https://localhost/ -q -O /dev/null ;
echo $i ;
done
As you can see, I used the HD Moore’s GetPID faker shared library and a normal local Apache with mod_ssl. The broken libssl (which is in .openssl.broken/) store up in /tmp/data.key a csv with command name, PID and all the DH components (g, x, y and p).
But this way is farly unconfortable for others SSL deamon servers. Have you got any better idea?
Permalink
September 19, 2008 at 12:22 pm
· 85 words (533 chars) filed under planet, sorry for my english, wtf?!

Maybe the LHC is robing the planet of angular momentum. Maybe having played with quantum gravity has unpredictable consequences. Who cares the reason, it’s my dream becoming true.
And you, haven’t got any plans for the extra day in October yet? Luckily it’s weekend.
Permalink
August 19, 2008 at 8:48 pm
· 402 words (2424 chars) filed under debian, life, openssl
Después de varias semanas sin pisar casa (Grand Canyon, Black Hat, DefCon y DebConf) detrás de mi puerta hay correo (del tradicional) en cantidad inusual. De un tiempo a esta parte, el correo no electrónico decantó en una forma de hacer llegar facturas, recibos, muestras gratis y nada más. Los sentimientos en el siglo XXI ya van por otro lado. Sin embargo, esta carta fue distinta:




Se trata del número de Agosto de Linux Magazine. El lector observador notará que no está en inglés, ni en alemán, sino en neerlandés. Me la envió
Koen Vervloesem, quien hace poco menos de 3 meses me solicitó vía correo (del electrónico) detalles sobre la
falla dsa-1571.
Obviamente lo único que soy capaz de entender es mi propio nombre, pero lo que cuenta es la intención :). Gracias Koen por el detalle, se que entenderás este post tanto como yo la nota :P.
Y hablando de correo físicamente transportado (aunque sin relación con lo anterior, que fue totalmente gratis), uno se da cuenta que vive en las antípodas del mundo donde le gustaría estar cuando recibe facturas de encomienda como esta:

Bizarro… pero cruelmente real.
Permalink
July 24, 2008 at 9:21 pm
· 82 words (475 chars) filed under lectures & talks, planet, sorry for my english
Finally, this alternative speaker became an speaker, nothing more. Maxi and I will be given a lecture during Black Hat, as you can see here.
Just think about being in the same rostrum than Fyodor makes me feel so small…
Permalink
July 20, 2008 at 2:10 am
· 1065 words (6017 chars) filed under crypto, debian, free software, openssl, planet, security, sorry for my english
( I love acronyms :-D ) Tal vez quieras leer esto en español.
At this point, all of you should know and see how the H D Moore’s toys work. Those toys attack SSH public-key authentication using clone keys and online brute force.
Furthermore, many of you know that there are other effects produced by a biased PRNG besides this one.
Strangely, I could not find more of those toys exploiting these aspects. So, I would like to show you a Wireshark patch which attacks Perfect Forward Secrecy (PFS) provided by Ephemeral Diffie Hellman (EDH).
Introduction to EDH
Let’s put it in plain words (if you know what we are talking about, ignore this and jump to the next heading):
In an insecure communications channel the parties agree a common key to cipher their dialog. This is what happens in SSL (in most of the cases, depending on the cipher suite):
- The server selects a random prime p and a generator g of the field Z*p (Let’s ignore the mathematical properties of these values). So, the components p and g are public.
- The server picks a secret random number Xs and calculates Ys=gXs mod p. Ys is public and is sent to the client (just like p and g).
- The client does something similar, selecting a secret random number Xc and calculating Yc=gXc mod p too. The client makes Yc public by sending it to the server.
- The shared secret s is the public key of the other part to the exponential of the own private number, all in p modulus. That is, for the client s=YsXcmod p and for the server s=YcXsmod p.
- With this shared secret the parties can encrypt all the following messages in a secure way.
- In the Ephemeral Diffie Hellman (EDH), the private numbers are ruled out, so s is mathematically secure and nobody can obtain it even having access to one of the parties after the aforementioned handshake.
The “exploit”
If an eavesdropper can explore the complete private key space (the all possible numbers for Xc or Xs), he/she will be able to get access to the shared secret. With it all the communication can be deciphered. That’s what this patch can do.
A Wireshark with this patch and a list of possible private keys will try to brute force the share secret. If one of the parties is using the vulnerable OpenSSL package the communication is totally insecure and will be decrypted.
- The patch for Wireshark 1.0.2 can be downloaded from here.
- Debian packages with the patch applied can be found here.
- This is a list of all 215 possible 64 and 128 bit DH private keys in systems vulnerable to the predictable OpenSSL PRNG described by DSA-1571.
- An example of a pcap file can be found here (it was built with a vulnerable client and one of the Moore toys, a hacked getpid by running $ MAGICPID=101 LD_PRELOAD=‘getpid.so’ ./vulnerable-openssl/apps/openssl s_client -connect db.debian.org:443 )
The patch was submitted in order to be committed on the Wireshark trunk. There you can find the patch against the on-develop source revision 25765.
Issues that can be improved
We (the other developers and myself) detected few things to be improved. But we will do nothing for them. So, if you want to contribute with some code, start from these items and submit the patches to the Wireshark’s bugzilla:
- When the packets are out-of-order the decipher with stop itself.
- The brute force attack should run in a background process (and with a progres bar)
- Check the length of the keys before trying to brute force them.
- The patch also implements the display of public DH parameters in the packet tree. It’s incomplete.
Credits
Paolo Abeni <paolo.abeni at email.it>
Luciano Bello <luciano at debian.org>
Maximiliano Bertacchini <mbertacchini at citefa.gov.ar>
This work was partially supported by Si6 Labs at CITEFA, Argentina.
UPDATE Jul. 21st: See more and updated info here, especially this.
Permalink
« Previous entries Next Page » Next Page »