• No results found

ProteccioncontraHackingconGoogle.pdf

N/A
N/A
Protected

Academic year: 2020

Share "ProteccioncontraHackingconGoogle.pdf"

Copied!
35
0
0

Loading.... (view fulltext now)

Full text

(1)

Protección contra

Hacking con Google

Pedro Pablo Pérez García

Gonzalo Álvarez Marañón

(2)

INDICE

o

Introducción

o

Recopilación de información

o

Protección de la información

(3)

CONFERENCIAS FIST

-3-

NeuroCrypt, S.L.

Anatomía de un ataque

Recopilación de Información

Localizar el Objetivo

Acceso Remoto

Acceso Local

ADMIN

Borrado de Huellas / Pistas

Mantenimiento de Acceso

(4)

2.- Recopilación

o

Recopilación en remoto

Pasivo

– Tradicional

– Buscador

Activo

(5)

CONFERENCIAS FIST

-5-

NeuroCrypt, S.L.

2.- Recopilación

o

www.iana.org

: Asigna Direcciones

o

www.ripe.net

: Direcciones IP ( Europa )

o

www.arin.net

: Direcciones IP ( America / Africa )

o

www.apnic.net

: Direcciones IP ( Asia / Pacifico )

o

www.allwhois.com

: Todos los dominios

o

www.nic.es

: Dominios .es

(6)
(7)

CONFERENCIAS FIST

-7-

NeuroCrypt, S.L.

(8)

2.- Recopilación

Parámetros:

SITE: Sitio

FILETYPE: Tipo de fichero especifico LINK: Enlaces

CACHE: Caché de google INTITLE:Título de la página INURL: Dirección de la página RELATED: Relativo

DEFINE: Definición

PHONEBOOK: Direcciones

Caracteres:

(9)

CONFERENCIAS FIST

-9-

NeuroCrypt, S.L.

2.- Recopilación

Servidor proxy:

www.google.es/translate?u=http://www.playboy.com&langpair=en|en

Navegación anónima:

Uso del caché

Cabeza de puente:

(10)

2.- Recopilación

Crawl:

site: www.microsoft.com

site: microsoft.com –www.microsoft.com

Listados:

intitle: Index.of/admin

intitle: index.of apache server at allintitle: "index of/root"

Páginas por defecto:

intitle:test.page.for.apache "it worked"

allintitle:Netscape FastTrack Server Home Page

intitle:"Welcome to Windows 2000 Internet Services" intitle:welcome.to.IIS.4.0

allintitle:Welcome to Windows XP Server Internet Services allintitle:"Welcome to Internet Information Server"

(11)

CONFERENCIAS FIST

-11-

NeuroCrypt, S.L.

(12)

2.- Recopilación

Documentos:

intitle:"Apache HTTP Server" intitle:"documentation"

Errores:

intitle:"Error using Hypernews" "Server Software" "HTTP_USER_AGENT=Googlebot"

"HTTP_USER_AGENT=Googlebot" TNS_ADMIN

CGI Scanner:

inurl:/iisadmpwd/

PortScanning:

inurl:5800

"VNC Desktop" inurl:5800 inurl:webmin inurl:10000

(13)

CONFERENCIAS FIST

-13-

NeuroCrypt, S.L.

(14)

2.- Recopilación

Login:

inurl:/admin/login.asp

Específicos como MS Outlook OWA :

inurl:/outlook "Exchange Users Only“

+intitle:Outlook Web Access -inurl:microsoft allintitle:Outlook Web Access Logon

¿OTROS?

ColdFusion página administrador

Citrix Metaframe

(15)

CONFERENCIAS FIST

-15-

NeuroCrypt, S.L.

(16)

2.- Recopilación

Otros :

inurl:"auth_user_file.txt" "Index of /admin"

"Index of /password" "Index of /mail"

"Index of /" +passwd

"Index of /" +password.txt "Index of /" +.htaccess

(17)

CONFERENCIAS FIST

-17-

NeuroCrypt, S.L.

(18)

2.- Recopilación

Otros :

allintitle: "index of/admin" allintitle: "index of/root"

allintitle: sensitive filetype:doc allintitle: restricted filetype :mail

allintitle: restricted filetype:doc site:gov

inurl:passwd filetype:txt inurl:admin filetype:db inurl:iisadmin inurl:"auth_user_file.txt" inurl:"wwwroot/*." “WS_FTP.LOG“

top secret site:mil confidential site:mil

(19)

CONFERENCIAS FIST

-19-

NeuroCrypt, S.L.

(20)

2.- Recopilación

Otros :

intitle:"Index of" .sh_history intitle:"Index of" .bash_history intitle:"index of" passwd

intitle:"index of" people.lst intitle:"index of" pwd.db intitle:"index of" etc/shadow intitle:"index of" spwd

intitle:"index of" master.passwd intitle:"index of" htpasswd

intitle:"index of" members OR accounts intitle:"index of" user_carts OR user_cart

_vti_inf.html service.pwd users.pwd

authors.pwd administrators.pwd shtml.dll

shtml.exe fpcount.exe default.asp

showcode.asp sendmail.cfm getFile.cfm

(21)

CONFERENCIAS FIST

-21-

NeuroCrypt, S.L.

(22)
(23)

CONFERENCIAS FIST

-23-

NeuroCrypt, S.L.

2.- Recopilación

(24)

2.- Recopilación

(25)

CONFERENCIAS FIST

-25-

NeuroCrypt, S.L.

(26)

3.- Protección

o

Política de seguridad

o

Proteger el servidor web

o

Auditoría de hacking Google

o

Eliminación de páginas de Google

(27)

CONFERENCIAS FIST

-27-

NeuroCrypt, S.L.

Política de seguridad

o

Publicación de información en la web

o

Envío de mensajes a listas/grupos de

noticias

No archivar mensajes en grupos de noticias

No revelar información acerca de sistemas,

arquitectura, personal, etc.

o

Política de seguridad web

(28)

Proteger el servidor web

o

No hacer accesible información privada (indexación)

o

No permitir listados de directorios

o

Bloqueo de buscadores mediante robots.txt

User-agent: googlebot

Disallow: /directorio/archivos

o

No indexar:

<META NAME="GOOGLEBOT" CONTENT="NOINDEX, NOFOLLOW">

o

No almacenar en caché:

(29)

CONFERENCIAS FIST

-29-

NeuroCrypt, S.L.

Proteger el servidor web

o

Eliminación de páginas y aplicaciones

predeterminadas

Directorios, archivos y aplicaciones de ejemplo

o

Adecuada gestión de errores

Mensaje de error significativo al usuario

Información de diagnóstico al administrador

NINGUNA información al atacante

(30)

Auditoría de hacking Google

o

Gooscan

Para Linux

Viola la política de Google

o

Athena:

Para .NET

Viola la política de Google

o

Sitedigger

Similar a Athena

Basado en la API de Google

(31)

CONFERENCIAS FIST

-31-

NeuroCrypt, S.L.

Eliminación de páginas de

Google

o

Eliminación en local

o

Eliminación de la caché de Google desde

la página de eliminaciones

services.google.com/urlconsole/controller

Dirigirle al archivo robots.txt

Utilizar una directiva META

(32)

Google Hack Honeypot

o

GHH emula el comportamiento de firmas

GHDB para ser encontrado por Google

o

Por ahora sólo para Apache y PHP

o

Una vez instalado, se debe hacer que

Google lo indexe

o

Los logs registran quién visita el sitio a

través de Google (Google hackers)

(33)

CONFERENCIAS FIST

-33-

NeuroCrypt, S.L.

4.- Conclusiones

o

Auditor Google como herramienta fácil

para obtener información

o

Administrador Minimizar el grado de

(34)

¿Preguntas?

(35)

CONFERENCIAS FIST

-35-

NeuroCrypt, S.L.

Attribution. You must give the original author

credit.

For any reuse or distribution, you must make clear to others the license terms of this work.

Any of these conditions can be waived if you get permission from the author.

Your fair use and other rights are in no way affected by the above.

This work is licensed under the Creative Commons Attribution-NoDerivs License. To view a copy of this license, visit

http://creativecommons.org/licenses/by-nd/2.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA.

Creative Commons Attribution-NoDerivs 2.0

You are free:

•to copy, distribute, display, and perform this work

•to make commercial use of this work

Under the following conditions:

No Derivative Works. You may not alter, transform, or

References

Related documents

Netscape CMS 4.1; Luna CA3; RSA 2048 Gauntlet Firewall Servers Internal Directory Server Users Certs CRL Netscape CMS v4.2 RSA 2048 CA Netscape Directory Server v4.1 Servers

This document describes how to create a basic web page with Netscape/Mozilla Composer and how to publish it on the Bruin Online web server with CuteFTP.. The screenshots show the

The [System Home] and [User Homes] setting under the [Manage System] -&gt; [Server Configuration] page sets the system home directory and user home directories for OBS (the

The [System Home] and [User Homes] setting under the [Manage System] -&gt; [Server Configuration] page sets the system home directory and user home directories for AhsayOBS

FileMaker Pro databases through six popular web servers: Microsoft Personal Web Server and Internet Information Server, Netscape Enterprise Server, AppleShare IP Server, WebSTAR,

The [System Home], [Policy Home] and [User Homes] setting under the [Manage System] -&gt; [Server Configuration] page sets the system home directory, policy home directory and

Pacific Eye Specialists Attn: Medical Records 2300 California Street, Suite 300. San

• Developed and Taught various Facility Based Student Fieldwork Supervision Programs for Physical and Occupational Therapy Clinicians- (Wake Forest University Baptist Medical