open source security

5 Proyectos de seguridad Open Source que me han salvado la vida

… y uno que me mola muchísimo.
En la entrada de esta semana quería dejaros un listado de herramientas de seguridad open source que en algún momento me han sacado de algún problema, han hecho mi trabajo más fácil, me han resultado interesantes o me han servido para sacar adelante un reto en un CTF.

Radare2

r2logo3La primera herramienta de la os quiero hablar es Radare2. Seguramente la más conocida dentro de la comunidad hispanohablante ya que su desarrollador es .cat y es un habitual dando charlas en los diversos congresos de seguridad que tienen lugar en España.
Para los que no conozcan Radare2, se podría resumir en que es un framework para realizar ingeniería inversa. Una de las cosas que más me gusta de Radare es el soporte a arquitecturas y formatos de ficheros marcianos que otros programas de ingeniería inversa no soportan nativamente. Según su documentación:


Architectures:
6502, 8051, CRIS, H8/300, LH5801, T8200, arc, arm, avr, bf, blackfin, csr, dalvik, dcpu16, gameboy, i386, i4004, i8080, m68k, malbolge, mips, msil, msp430, nios II, powerpc, rar, sh, snes, sparc, tms320 (c54x c55x c55+), V810, x86-64, zimg, risc-v.
File Formats:
bios, CGC, dex, elf, elf64, filesystem, java, fatmach0, mach0, mach0-64, MZ, PE, PE+, TE, COFF, plan9, dyldcache, Commodore VICE emulator, Game Boy (Advance), Nintendo DS ROMs and Nintendo 3DS FIRMs.

Una de las peculiaridades de Radare2 es que está en constante desarrollo. Si te has descargado Radare2 al empezar a leer este artículo, será mejor que vayas haciendo checkout otra vez porque seguramente a estas alturas estés desactualizado. Para estar, más o menos, al día de lo que pasa en Radare2 puedes seguir el proyecto en Twitter o echar un ojo al blog de vez en cuando.

Osquery

logo-bigEsta herramienta me llamo la atención desde el momento en que la vi en acción en un taller en BruCON. Se trata de un programa desarrollado por el equipo de respuesta ante incidentes de Facebook para poder realizar actividades de live response en sistemas OS X y Linux.
Osquery nos permite realizar consultas al sistema utilizando la sintaxis de SQLite. Estas consultas son muchas veces independientes del sistema operativo, lo que permite el acceso a la información de distintos sistemas utilizando la misma consulta.
Además de la consola interactiva desde la que lanzar consultas, Osquery te permite ejecutar un servicio que va a realizar consultas periódicamente y escribir los cambios en un log que luego pueden ser procesados por un correlador en busca de comportamientos anómalos.

Loki

lokiiconLoki es un escáner simple de indicadores de compromiso (IOC). En el momento de escribir este artículo, Loki sólo soporta los siguientes tipos de IOC:

  • Nombre de fichero (expresión regular)
  • Hash de un fichero
  • Conexiones contra direcciones IP/dominios
  • Reglas YARA

Loki llama la atención principalmente por ser el hermano pequeño de Thor. Thor es un escáner de IOCs, pero esta vez no es simple y su funcionalidad es mucho mayor… pero no es open source. Aun así Thor está haciendo ruido en la comunidad DFIR por su velocidad a la hora de escanear el sistema de ficheros, característica que comparte con Loki y que hace a este más interesante.
Además, con un poquito que te manejes con python, ampliar las capacidades de Loki es realmente sencillo.

Snort/Suricata

suri-400x400Estos dos proyectos vienen de la mano ya que cumplen una misma función: Sistema de Detección de Intrusiones (IDS).
Mi experiencia usando estos dos sistemas es como IDS y como herramienta para analizar el alcance de un incidente en una red. Los dos proyectos pueden hacer los dos trabajos perfectamente, pero en el segundo caso yo prefiero usar Suricata antes que Snort.
La razón por la que prefiero usar Suricata es que permite una mayor granularidad a la hora de escribir reglas. Mientras que Snort te obliga a definir una regla sobre tráfico http como TCP, Suricata te permite definirla como http. Esto permite escribir reglas más estrictas y reducir el número de falsos positivos, lo que a la hora de encontrar comportamientos específicos en la red viene muy bien.
Snortpig_professor2(NOTA: La versión 3 de Snort ha salido hace poco y no sé si han cambiado algo en la sintaxis de las reglas, por lo que es posible que las reglas de Snort 3 permitan la misma granularidad que Suricata.)
Es importante saber que este tipo de productos requieren un mantenimiento en forma de actualización de reglas y, sobre todo al principio, invertir tiempo en la personalización de las reglas para que se adapten a tu entorno y no estén llenado la consola de los analistas de falsos positivos.

Volatility

vVolatility desde hace unos años se ha convertido en el estándar de facto en lo que a análisis forense de memoria se refiere.
Soporta múltiples tipos de imágenes de memoria, incluido soporte inicial para imágenes de Windows 10.
Tiene por detrás un gran soporte de la comunidad, lo que hace que cada cierto tiempo aparezcan plugins que extienden la funcionalidad de este proyecto. Además, escribir este tipo de plugins es relativamente sencillo si necesitas adaptar ciertas cosas para el análisis en el que estás trabajando.

DVRF

Este último proyecto no lo he probado aún, pero que estoy esperando tener un poco de tiempo libre para poder hincarle el diente: Damn Vulnerable Router Firmware (DVRF).
Es un proyecto diseñado para introducir a la gente en el mundo de la ingeniería inversa de firmware. Esta preparado para ser instalado en un Linksys E1550, pero si no tienes uno en casa puedes trabajar en ello usando Qemu.
Hasta han publicado también una pequeña guía con los primeros pasos que hay que dar para tener DVRF en Qemu.

Como veis hay muchos proyectos open source que nos pueden ayudar a realizar nuestro trabajo en seguridad sin invertir dinero en licencias. Estos son solo algunos de los múltiples proyectos que se usan día a día en seguridad, muchos se han quedado fuera (Metasploit, Bro, Cuckoo, Rekall…).
Por último, me gustaría que vosotros, lectores, compartierais los proyectos open source de seguridad que más os gusten o que os han salvado el día, ya sea ayudándoos a explotar una vulnerabilidad marciana, detectando un bicho que el antivirus no cazaba, o bastionando un sistema que tenía que estar en producción para ayer.
Además, si tienes un proyecto personal que te gustaría compartir y dar visibilidad, déjalo en los comentarios. Quién sabe, a lo mejor en una futura entrada sobre proyectos de seguridad open source puede aparecer en la lista, ¡o puede salir una colaboración con el blog!

Ernesto Corral
941 comentarios
  1. 8zxrNH
    8zxrNH Dice:

    Hi! I simply wish to give you a huge thumbs up for the excellent
    info you have here on this post. I am returning to your website
    for more soon.

  2. GYrlHH
    GYrlHH Dice:

    Hello! Do you know if they make any plugins to protect against hackers?
    I’m kinda paranoid about losing everything I’ve worked hard on. Any suggestions?

  3. porn
    porn Dice:

    You really make it seem so easy with your presentation but I find this topic to be actually something that I think I would never understand.

    It seems too complicated and extremely broad for me.
    I am looking forward for your next post, I will try to get the hang of it!

  4. 4E7Tgv
    4E7Tgv Dice:

    Wonderful blog! Do you have any helpful hints
    for aspiring writers? I’m hoping to start my own website
    soon but I’m a little lost on everything.
    Would you propose starting with a free platform like WordPress or go for a paid option? There are so
    many choices out there that I’m completely confused ..
    Any tips? Bless you!

  5. porn
    porn Dice:

    Excellent web site you have got here.. It’s difficult to find quality writing like
    yours nowadays. I seriously appreciate people like you!
    Take care!!

  6. mp3 download
    mp3 download Dice:

    Your style is very unique compared to other folks I’ve read stuff from. Thanks for posting when you’ve got the opportunity, Guess I’ll just bookmark this web site.

  7. tubidy music download
    tubidy music download Dice:

    Hello there, I believe your site may be having internet browser compatibility problems. When I look at your web site in Safari, it looks fine however, when opening in I.E., it has some overlapping issues. I simply wanted to provide you with a quick heads up! Besides that, fantastic website.

  8. mp3 youtube converter
    mp3 youtube converter Dice:

    After I initially commented I appear to have clicked on the -Notify me when new comments are added- checkbox and now every time a comment is added I get 4 emails with the same comment. Perhaps there is a means you can remove me from that service? Appreciate it.

  9. painel iptv
    painel iptv Dice:

    Hmm is anyone else encountering problems with the pictures on this blog loading?
    I’m trying to determine if its a problem on my end or if it’s the blog.
    Any feed-back would be greatly appreciated.

  10. oWZ98u
    oWZ98u Dice:

    It’s remarkable to visit this site and reading the views of all colleagues concerning this article, while I am also
    zealous of getting know-how.

  11. buy aged domains
    buy aged domains Dice:

    I’m impressed, I must say. Seldom do I encounter a blog that’s both educative and amusing, and without a doubt, you have hit the nail on the head. The issue is something that too few people are speaking intelligently about. Now i’m very happy that I found this during my search for something regarding this.

  12. tubidy mp3 download
    tubidy mp3 download Dice:

    I was pretty pleased to uncover this site. I need to to thank you for your time due to this fantastic read!! I definitely liked every little bit of it and i also have you book marked to look at new things on your blog.

  13. tubidy mp3
    tubidy mp3 Dice:

    Spot on with this write-up, I really believe that this web site needs a lot more attention. I’ll probably be returning to read through more, thanks for the info!

  14. tubidy mp3 juice
    tubidy mp3 juice Dice:

    Aw, this was an extremely good post. Spending some time and actual effort to make a superb article… but what can I say… I hesitate a lot and never seem to get nearly anything done.

  15. porn
    porn Dice:

    Superb post however , I was wondering if you could write a litte more on this subject?
    I’d be very grateful if you could elaborate a little bit further.
    Cheers!

  16. 4E3wIP
    4E3wIP Dice:

    These are truly fantastic ideas in regarding blogging.
    You have touched some fastidious factors here. Any way keep up wrinting.

  17. Asbestos Case
    Asbestos Case Dice:

    According to statutes, also known as laws in Asbestos Case cases, victims are given only a short time in which
    they can file a lawsuit. After a lawsuit is filed, lawyers
    for both sides collect evidence during the process known as
    discovery.

  18. Anne
    Anne Dice:

    Guide To Online Clothes Shopping Near Me: The Intermediate Guide To Online Clothes Shopping Near Me
    online clothes shopping near me (Anne)

  19. Tiffiny
    Tiffiny Dice:

    Upvc Door Repairs Near Me Tools To Streamline Your Daily Lifethe One Upvc Door Repairs Near Me Trick That Should Be Used By Everyone Be Able To
    upvc door repairs near me [Tiffiny]

  20. d32RuV
    d32RuV Dice:

    After I initially commented I appear to have clicked on the -Notify me when new comments
    are added- checkbox and from now on every time a comment is added I receive
    four emails with the exact same comment. Perhaps there is a means you
    can remove me from that service? Thanks a lot!

  21. Asbestos Law
    Asbestos Law Dice:

    A mesothelioma lawyer can help a victim recover compensation. They have extensive industrial resources
    and specialized Asbestos Law databases that they utilize to link a mesothelioma diagnosis with
    past exposure.

  22. EsGgix
    EsGgix Dice:

    My spouse and I stumbled over here coming from a
    different web page and thought I might check things
    out. I like what I see so now i am following you.

    Look forward to checking out your web page repeatedly.

  23. детское
    детское Dice:

    What’s Happening i’m new to this, I stumbled upon this I have discovered It absolutely useful
    and it has helped me out loads. I am hoping to give a contribution & aid different customers like its
    helped me. Great job.

  24. 42yGw2
    42yGw2 Dice:

    An intriguing discussion is definitely worth comment.
    I do think that you ought to write more on this subject, it may not
    be a taboo subject but generally people don’t speak about these subjects.
    To the next! Kind regards!!

  25. eldJMr
    eldJMr Dice:

    An impressive share! I’ve just forwarded this onto a co-worker who has been doing a
    little homework on this. And he actually ordered me lunch
    due to the fact that I found it for him… lol. So allow me to reword this….
    Thanks for the meal!! But yeah, thanks for spending the time to discuss this
    matter here on your web site.

  26. child porn
    child porn Dice:

    I’m amazed, I must say. Rarely do I come across a blog that’s both
    educative and interesting, and let me tell you, you’ve hit the nail on the head.
    The problem is something which too few folks are speaking intelligently about.
    Now i’m very happy I found this during my hunt for something relating to
    this.

  27. medium chat
    medium chat Dice:

    I’m amazed, I must say. Seldom do I encounter a blog that’s both educative and amusing, and let me tell you, you have hit the nail on the head. The issue is something which too few people are speaking intelligently about. I am very happy I found this in my hunt for something regarding this.

  28. Funky republic
    Funky republic Dice:

    An interesting discussion is definitely worth comment. I do believe that you ought to publish more about this subject, it might not be a taboo matter but typically people don’t speak about these topics. To the next! Best wishes!

  29. talk to a psychic
    talk to a psychic Dice:

    An intriguing discussion is worth comment. I do believe that you ought to write more about this subject matter, it may not be a taboo subject but typically people do not speak about these topics. To the next! Best wishes.

  30. rent to own
    rent to own Dice:

    I was extremely pleased to uncover this page. I want to to thank you for ones time for this particularly wonderful read!! I definitely appreciated every bit of it and I have you saved to fav to check out new information in your site.

  31. link bokep
    link bokep Dice:

    You have made some good points there. I checked on the web for more information about the issue and found most individuals will go along with your views on this website.

  32. cost
    cost Dice:

    I blog frequently and I really appreciate your information. The article has really peaked my interest. I’m going to book mark your site and keep checking for new details about once a week. I opted in for your Feed too.

  33. iptv
    iptv Dice:

    The very next time I read a blog, I hope that it doesn’t fail me just as much as this particular one. I mean, Yes, it was my choice to read, however I genuinely thought you would probably have something useful to say. All I hear is a bunch of whining about something you could fix if you were not too busy searching for attention.

  34. iptv
    iptv Dice:

    Your style is so unique in comparison to other folks I’ve read stuff from. Thank you for posting when you’ve got the opportunity, Guess I’ll just bookmark this blog.

  35. webseo.pe
    webseo.pe Dice:

    Nice post. I was checking continuously this
    blog and I’m impressed! Very helpful information particularly the last phase 🙂 I care for such information much.
    I was seeking this particular information for a very
    long time. Thank you and good luck.

  36. lehenga choli
    lehenga choli Dice:

    That is a very good tip particularly to those fresh to the blogosphere. Brief but very accurate info… Many thanks for sharing this one. A must read post.

  37. Serafina Demas
    Serafina Demas Dice:

    Hi there, I think your blog may be having web browser compatibility issues. When I take a look at your website in Safari, it looks fine but when opening in Internet Explorer, it’s got some overlapping issues. I just wanted to provide you with a quick heads up! Other than that, excellent website!

  38. jacket factories
    jacket factories Dice:

    Your style is unique in comparison to other people I have read stuff from. I appreciate you for posting when you have the opportunity, Guess I will just book mark this blog.

  39. tổng biên tập quang huy
    tổng biên tập quang huy Dice:

    Next time I read a blog, I hope that it won’t fail me as much as this one. After all, Yes, it was my choice to read, nonetheless I truly thought you would have something helpful to talk about. All I hear is a bunch of whining about something that you could possibly fix if you weren’t too busy searching for attention.

Dejar un comentario

¿Quieres unirte a la conversación?
Siéntete libre de contribuir!

Deja una respuesta

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *