Sitio personal de Ariel M. Liguori De Gottig

Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Tuesday, March 10

Hardening, hay cosas que debemos tener en cuenta.

Hoy he leído en el blog de segu-info una noticia acerca de "Hardening básico de GNU/Linux e instalación y configuración básica de Snort" en donde en realidad lo que hay es un video que nos muestra como proteger en simples pasos nuestro S.O.
He aquí algo que pasa por mi mente cada vez que hablo o leo de "Hardening", acaso no queremos todos que nuestro sistema sea seguro? entonces porque no nos interesamos en ver como sería un apropiado hardening del SO que poseemos.
Puede que muchos lo vean como una reflexión que se logra con el paso del tiempo y de la experiencia, sin embargo creo yo que debe ser todo lo contrario ya que es esencial y básico proteger nuestro sistema e inclusive el más novato de todos debe estar familiarizado con los pasos a seguir para lograr esa meta. Leer más...

Thursday, November 27

Distros de Linux relacionadas con SI

Clikéa en "Leer más" para ver la inmensa lista :-)

Security Distros
Here is the full list of Security Distros and their descriptions. Select the tool that best fits your needs.


BackTrack

BackTrack is a distribution based off of what used to be WHAX and Auditor . It is a full size distro built off of SLAX.
BackTrack Main Discuss Download Status: Active


Damn Vulnerable Linux ( DVL )

"Damn Vulnerable Linux (DVL) is a Linux-based tool for IT-Security. It was initiated for training tasks during university lessons by the IITAC (International Institute for Training, Assessment, and Certification) and S²e - Secure Software Engineering in cooperation with the French Reverse Engineering Team." - DamnVulnerableLinux.org
Damn Vulnerable Linux ( DVL ) Main Discuss Download Status: Active


DEFT

DEFT (acronym of "Digital Evidence & Forensic Toolkit) is a customized distribution of the Kubuntu live Linux CD. It is a very easy to use system that includes an excellent hardware detection and the best open source applications dedicated to incident response and computer forensics. -Deft.yourside.it
DEFT Main Discuss Download Status: Active


FCCU

The Gnu/Linux boot CD-Rom is made by the Belgian Federal Computer Crime Unit (FCCU)
It's based on the KNOPPIX Live CD version 4.02 by Klaus Knopper.
The main purpose of the CD : help the forensic analyze of computers
All scripts made by the FCCU begin with the "fccu" prefix -lnx4n6.be
FCCU Main Download Status: Active


Frenzy

"Frenzy is a "portable system administrator toolkit," LiveCD based on FreeBSD. It generally contains software for hardware tests, file system check, security check and network setup and analysis. Size of ISO-image is 200 MBytes (3" CD)"
-http://frenzy.org.ua/eng/
Frenzy Main Discuss Download Status: Active

grml

"grml is a bootable CD (Live-CD) based on Knoppix and Debian. grml includes a collection of GNU/Linux software especially for users of texttools and system administrators. grml provides automatic hardware detection. You can use grml for example as a rescue system, for analyzing systems/networks or as a working environment." -http://grml.org/
grml Main Discuss Download Status: Active


Hakin9

"a bootable distribution containing all the tools and materials needed for practising methods and techniques described in the hackin9 magazine"
-http://www.hakin9.org/en/index.php?page=hakin9_live-
Hakin9 Main Discuss Download Status: Active


Helix

"Helix is a customized distribution of the Knoppix Live Linux CD. Helix is more than just a bootable live CD. You can still boot into a customized Linux environment that includes customized linux kernels, excellent hardware detection and many applications dedicated to Incident Response and Forensics."
-http://www.e-fense.com/helix/-
Helix Main Discuss Download Status: Active


HeX

HeX is a live security distribution that focuses on security monitoring and forensics.
HeX Main Discuss Download Status: Active


KCPentrix

" The Kcpentrix Project was founded in May 2005 , KCPentrix 1.0 was liveCD designed to be a standalone Penetration testing toolkit for pentesters, security analysts and System administrators" - KCPentrix.com
KCPentrix Main Discuss Download Status: Active


Knoppix-NSM

"knoppix-nsm is dedicated to providing a framework for individuals wanting to learn about Network Security Monitoring or who want to qucikly and reliably deploy NSM in their network. Our goal is to provide an introduction to NSM and a distribution that can be used as a launch pad to bigger things." -www.securixlive.com
Knoppix-NSM Main Discuss Download Status: Active


Network Security Toolkit ( NST )

"This bootable ISO live CD is based on Fedora. The toolkit was designed to provide easy access to best-of-breed Open Source Network Security Applications and should run on most x86 platforms." -networksecuritytoolkit.org
Network Security Toolkit ( NST ) Main Discuss Download Status: Active


nUbuntu

"The main goal of nUbuntu is to create a distribution which is derived from the Ubuntu distribution, and add packages related to security testing, and remove unneeded packages, such as Gnome, Openoffice.org, and Evolution." - nubuntu.org
nUbuntu Main Discuss Download Status: Active


Ophcrack

"The ophcrack LiveCD contains a small linux system (SLAX6), ophcrackOphcrack.sourceforge.net
Ophcrack Main Discuss Download Status: Active
for linux and rainbow tables for alphanumerical passwords.The liveCD cracks passwords automatically, no installation necessary, no admin password necessary (as long as you can boot from CD). Windows Vista SAM can also be cracked." -


OWASP Labrat

"The OWASP Live CD (LabRat) is a bootable CD akin to knoppix but dedicated to Application Security. It shall serve as a vehicle and distrubition medium for OWASP tools and guides." -OWASP.org
OWASP Labrat Main Discuss Download Status: Active


Protech

Protech is a specially designed Linux distribution for security technicians and programmers.
It's imcomparable usability and stability makes this a unique product. -Techm4sters
Protech Main Discuss Download Status: Active


Stagos FSE

"Stagos FSE aims to be a computer forensic framework based on FLOSS operating system. Builds from Ubuntu, it has many feature to do forensics stuff. It supports read variant filesystem, include ntfs. It also support read some forensic imaging file from another forensic software such like ENCASE." -linuxforums.org
Stagos FSE Main Download Status: Active


Arudius

Arudius is a Linux live CD with tools that try to address the network security aspect (penetration testing and vulnerability analysis) of information assurance. It is based on Slackware (Zenwalk) for i386 systems and targets the information security audience.
Arudius Main Discuss Download Status: Inactive


Auditor

"The Auditor security collection is a Live-System based on KNOPPIX. With no installation whatsoever, the analysis platform is started directly from the CD-Rom and is fully accessible within minutes. Independent of the hardware in use, the Auditor security collection offers a standardised working environment, so that the build-up of know-how and remote support is made easier." - http://www.remote-exploit.org/index.php/Auditor_main-
Auditor Main Discuss Download Status: Inactive


FIRE

"FIRE is a portable bootable cdrom based distribution with the goal of providing an immediate environment to perform forensic analysis, incident response, data recovery, virus scanning and vulnerability assessment."
-http://fire.dmzs.com-
FIRE Main Discuss Download Status: Inactive


INSERT

"INSERT is a complete, bootable linux system. It comes with a graphical user interface running the fluxbox window manager while still being sufficiently small to fit on a credit card-sized CD-ROM."
-http://www.inside-security.de/insert_en.html-
INSERT Main Discuss Download Status: Inactive


Knoppix-STD

"STD is a Linux-based Security Tool. Actually, it is a collection of hundreds if not thousands of open source security tools. It's a Live Linux Distro, which means it runs from a bootable CD in memory without changing the native operating system of the host computer." - http://www.knoppix-std.org/-
Knoppix-STD Main Discuss Download Status: Inactive


Local Area Security ( LAS )


Local Area Security ( LAS ) Main Discuss Download Status: Inactive


NavynOS

"Navyn OS is a gnu/linux distribution based on Gentoo. Gentoo isn't a typical distribution like Debian or Slackware, it doesn't even have an installer, it is similar to making your own distribution. The main part of Gentoo is portage, a set of scripts for installing and removing programs." -http://navynos.linux.pl/
NavynOS Main Discuss Download Status: Inactive


Operator

"Operator is a complete Linux (Debian) distribution that runs from a single bootable CD and runs entirely in RAM." - www.ussysadmin.com/operator/

Operator Main Discuss Download Status: Inactive


Pentoo

"Pentoo is a penetration testing LiveCD distribution based on Gentoo. It features a lot of tools for auditing and testing a network, from scanning and discovering to exploiting vulnerabilities."
-http://www.pentoo.ch/-PENTOO-.html-
Pentoo Main Discuss Download Status: Inactive


PHLAK

"PHLAK is a modular live security Linux distribution (a.k.a LiveCD). PHLAK comes with two light gui's (fluxbox and XFCE4), many security tools, and a spiral notebook full of security documentation. PHLAK is a derivative of Morphix, created by Alex de Landgraaf." - http://www.phlak.org/modules/news/-
PHLAK Main Discuss Download Status: Inactive


PLAC

"PLAC is a business card sized bootable cdrom running linux. It has network auditing, disk recovery, and forensic analysis tools. ISO will be avialable and scripts to roll you own cd."
-http://sourceforge.net/projects/plac/-
PLAC Main Discuss Download Status: Inactive


Plan-B

"Plan-B is a bootable Linux environment without the need for a hard drive, it runs entirely in ram or from the cd, based on a basic, stripped installation of Red Hat Linux and the fundamental workings of the SuperRescue CD" -http://www.projectplanb.org/


Plan-B Main Discuss Download Status: Inactive


SENTINIX

"SENTINIX is a GNU/Linux distribution designed for monitoring, intrusion detection, vulnerability assessment, statistics/graphing and anti-spam. It's completely free; free to use, free to modify and free to distribute. SENTINIX includes the following software, installed and pre-configured; Nagios, Nagat, Snort, SnortCenter, ACID, Cacti, RRDTool, Nessus, Postfix, MailScanner, SpamAssassin, openMosix, MySQL, Apache, PHP, Perl, Python and lots more." -http://sentinix.tigerteam.se/
SENTINIX Main Discuss Download Status: Inactive


SNARL

snarl is a bootable forensics ISO based on FreeBSD and using @stake's autopsy and task as well as scmoo's list of known good checksums. -snarl.eecue.com
SNARL Main Download Status: Inactive


Talos

"Talos is a security LiveCD, based on SLAX 5.1.0 with over 90 security tools preinstalled. It runs directly from the CD without the need to install on the harddisk. Talos is currently on BETA version 0.1 and its available to download." -ISafe.gr
Talos Main Discuss Download Status: Inactive


ThePacketMaster

ThePacketMaster - Mission-Specific Live-CD Linux Distributions - thepacketmaster.com
ThePacketMaster Main Discuss Download Status: Inactive


Trinux

Minimal ramdisk linux distribution meant for network monitoring.
Trinux Main Discuss Download Status: Inactive


WarLinux

A linux distribution for WarDrivers.
WarLinux Main Discuss Download Status: Inactive


WHAX

Updated project from Whoppix. Currently discontinued and merged with BackTrack.
WHAX Main Discuss Download Status: Inactive


Whoppix

"Whoppix is a stand-alone penetration-testing live CD based on KNOPPIX. With the latest tools and exploits, it is a must for every penetration tester and security auditor. Whoppix includes several exploit archives, such as Securityfocus, Packetstorm, SecurityForest and Milw0rm, as well as a wide variety of updated security tools." -Distrowatch
Whoppix Main Discuss Download Status: Inactive


Yo no junte toda esta info, mis agradecimientos a: http://inforleon.blogspot.com/ , por recopilarnos toda la data.

Saludos,
Leer más...

Friday, May 23

SSL Debian Bug.-

Realmente no lo podia evitar, un poco de humor para los colegas de Debian. (clikeen en la imagen para agrandarla).



Muy bueno :)

Saludos, Leer más...

Tuesday, April 29

Instalando JAVA en Debian-

Realmente he lidiado con este problema y no encontre una una solucion real al problema. Por eso mismo espero que uds. puedan encontrarla aqui. Si por algun motivo queremos utilizar el Java en nuestro Debian deberemos realizar un par de pasos extras, ¿a que se debe esto? Bueno, basicamente el installer del Java es un .bin y como ya sabemos Debian no se lleva bien con ellos.

Nuestra Solucion: Convertirlo a .deb
Por suerte esto ya esta probado, documentado y nos sera extremadamente facil de realizar, siempre y cunado tengamos algunas consideraciones. Para la instalacion debemos tener lo siguiente:

1) .bin de la version de java que queremos instalar.
2) Tener instalados los paquetes: java-package ^ fakeroot

Como veran el punto 2 hace referencia a dos paquetes. El primero "java-package" permite convertir el .bin a .deb gracias al comando make-jpkg; el segundo "fakeroot" nos permite ejecutar el comando sin ser el verdadero root y, por ende, sin tener acceso a ciertos directorios delicados.
Para instalarlos bastara con un apt-get install X(java-package y desp. fakeroot)

Instalando Java:

debian#su -
Password:

debian# mkdir /usr/java
debian# cp sunjavaX.bin /usr/java/sunjavaX.bin
debian# chmod 755 /usr/java/sunjavaX.bin
debian# chown /usr/java
debian#exit
debian:/usr/java$ fakeroot make-jpkg sunjavaX.bin
....
debian:/usr/java$ ls -l
sunjavaX.bin
sunjavaX.deb

debian:/usr/java$ su -
Password:

debian# cd /usr/java
debian# dpkg -i sunjavaX.deb

....

Listo!


Bueno, ahi ya se ha instalado correctamente la version de Java X(la que uds. deseen) en el sistema.
Espero que les sirva y funcione.

PD: Antes de hacer todo esto probar si no pueden instalr el java desde "apt-get install sun-javaX-bin", si funciona se evitaran unos buenos minutos!.

Saludos,
Ariel.
Leer más...

Friday, April 11

Integración Linux/Windows - Parte II.

Finalmente, luego de varios días de trabajo he logrado lo que quería. Como recordarán el problema que tenía era que quería validar un usuario (que estaba en un entorno Linux) con un AD dentro de una estructura PKI Windows. El problema número uno era: La PC no esta en dominio. El problema número dos: El auto-enrollment de win le dará un certificado de maquina valido.

Bueno, aquí vienen las respuestas a todo aquello.
El paso numero uno consistía en seguir unos sencillos pasos, para meter la maquina en dominio use una gran cantidad de elementos:
Kerberos Client,
Samba,
nssswitch,
WinBind.

Los pasos son bastante simples y los pueden encontrar en el Wiki Samba. Recomiendo leer toda la documentacion para no perderse en ningún archivo de configuración.

Bueno como ya dije lo primero es entrar en el dominio, lo cual implica lo siguiente:

stigma@debian/>kinit algunuserdeldomain@domain.LOCAL
Password for algunuserdeldomain@DOMAIN.LOCAL: ******

stigma@debian/>net ads join -U algunuserdeldomain

stigma@debian/>/etc/init.d/samba start
* samba -> start: smbd ... [ ok ]
* samba -> start: nmbd ... [ ok ]
* samba -> start: winbind ... [ ok ]
stigma@debian/> rc-update add samba default
* samba added to runlevel default

// Para chequear.

stigma@debian/>wbinfo -u
user1
user2
...



Listo, estamos en dominio.
Ahora nos vamos al Domain Controller del AD.
deberemos ver nuestro user, y con el administrador de certificados seremos capaces de ver en que grupo entro el user y los cert de maquina y de usuario.
Ahora nuestro Linux esta en dominio y tiene credenciales validas.

Lo que se viene ahora es la configuracion de un FreeRadius, ponerle como Realm (lease Proxy) el IAS,y asignar el mismo a nuestro user. Esa configuracion la dejo en manos de quien quiera probar, no es para nada complicada y se puede hallar toda la información necesaria en Wiki FreeRadius.

Luego de todos estos pasos con un simple intento de validación contra el freeradius seremos redirigidos al IAS el cual comprobara nuestras credenciales contra el AD. Como el certificado de maquina y de usuario es valido el resultado de la transacción sera satisfactorio.

¿Como hago para ver esto desde un sistema de monitoreo?

Muy fácil, simplemente se debe analizar linea a linea el log del radius (en realidad un tail del mismo). El mensaje de validacion correcta que se recibe desde un FreeRadius es: ACCESS-ACCEPT.

En mi caso utilizo este string en un chequeo del sitema Nagios y en caso de recibir este valor el estado de la autenticación es correcto.

Eso es todo, espero les haya servido.
Saludos.



Leer más...

Monday, April 7

Integración Linux/Windows - Parte I.

Buenas, volvi pronto.
Resulta que stoy trabajando en la integracion de sistemas de seguridad Linux a MS Windows. El problema es el siguiente:
Se posee un sitema de monitoreo que debe emular la accion de un usuario al intentar validarse via certificado contra un IAS (El cual se conecta contra un Active Directory Server).

Todo empezó bastante bien, es más creía que iba a funcionar sin pensar demasiado. Lamentablemente no es asi. El problema radica en que el equipo que posee el soft de monitoreo es un Linux, y bien, ¿que tiene eso de malo?... nada, pero todo en realidad. Al trabajar sobre una estructura PKI basada en AD de Windows, el equipo deberia estar dentro del dominio, y como se pueden dar cuenta no es el caso, pero.. ¿que implica eso?
En principio implica que el certificado que le voy asignar (el cual debe estar definido como valido tanto en el IAS como en el AD) es un certificado para maquinas windows, y la PC al no estar en dominio no lo podra "enrolar" adecuadamente, resultando en un trabajo en vano y fallido.
Aún no encuentro la solucion a este problema de integracion Linux / Windows, pero en cuanto tenga alguna novedad se las hare saber.

Slds.,


Leer más...