elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.
 
Inicio Ayuda Buscar Ingresar Registrarse
25 Mayo 2012, 19:05  


Tema destacado: Suscripción al boletín mensual de elhacker.net

+  Foro de elhacker.net
|-+  Seguridad Informática
| |-+  Bugs y Exploits (Moderador: berz3k)
| | |-+  Microsoft Windows Server Service RPC Handling Remote Code Execution Vulnerability
0 Usuarios y 4 Visitantes están viendo este tema.
Páginas: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 Ir Abajo Respuesta Imprimir
Autor Tema: Microsoft Windows Server Service RPC Handling Remote Code Execution Vulnerability  (Leído 57,840 veces)
APOKLIPTICO


Desconectado Desconectado

Mensajes: 3.781


Toys in the attic.


Ver Perfil
Microsoft Windows Server Service RPC Handling Remote Code Execution Vulnerability
« en: 23 Octubre 2008, 22:22 »

Revisando Security Focus, me tropecé con esta nueva recien salidita del horno vulnerabilidad para windows 2000/XP/2003 Server/Vista/2008 Server.

Citar
Microsoft Windows is prone to a remote-code execution vulnerability that affects RPC (Remote Procedure Call) handling in the Server service.

An attacker could exploit this issue to execute arbitrary code with SYSTEM-level privileges. Successful exploits will result in the complete compromise of vulnerable computers. This issue may be prone to widespread automated exploits. Attackers require authenticated access on Windows Vista and Server 2008 platforms to exploit this issue.

This vulnerability affects Windows 2000, Windows XP, Windows Server 2003, Windows Vista, and Windows Server 2008.

Traduzco:

Microsoft Windows es propenso a una vulnerabilidad que afecta el manejo del RPC en el servicio "Server" que permitiría la ejecución de código arbitrario.
Un atacante podría explotar esta vulnerabilidad para ejecutar codigo arbitrario con privilegios de sistema. Una explotación satisfactoria resultaria en un peligro para la computadora afectada. Esta vulnerabilidad es propensa a ser utilizada en exploits automáticos del tipo gusano. El atacante requiere acceso autenticado en Windows Vista y 2008 Server para explotar esta vulnerabilidad.

Esta vulnerabilidad afecta Windows 2000, Windows XP, Windows Server 2003, Windows Vista y Windows Server 2008.

Aparentemente hay exploits disponibles, pero yo no pude encontrar ninguno...


Para parchearse, fijensé aqui: http://www.securityfocus.com/bid/31874/solution
También se puede usar Windows Update...

Si alguien tiene idea de donde hay un exploit para investigar esta vulnerabilidad, q aparentemente revive la historia del Sasser/LovGen etc..., posteelo...
Un abrazo
APOKLIPTICO

FUENTE: http://www.securityfocus.com
« Última modificación: 13 Febrero 2009, 10:15 por sirdarckcat » En línea

AMD Phenom II 1075T X6 @ 290 Mhz x 11 (HT 2036 Mhz NB Link 2616 Mhz) 1.23 Vcore
ASUS M4A89GTD-PRO/USB3
2x2gb G-Skill RipjawsX DDR3 1600 Mhz CL7 (7-8-7-24-25-1T)
Seagate 500 Gb
XFX HD4850 512Mb GDDR3. 650 Mhz/995 Mhz 1.1 Tflops.
PaPeRrO


Desconectado Desconectado

Mensajes: 547


You Are Being Monitored


Ver Perfil
Re: Microsoft Windows Server Service RPC Handling Remote Code Execution Vulnerabilit
« Respuesta #1 en: 24 Octubre 2008, 09:55 »

Analisis del Gimmiv.A Gusano que utiliza el bug detallado en MS08-067

http://blog.threatexpert.com/2008/10/gimmiva-exploits-zero-day-vulnerability.html

PoC
http://milw0rm.com/exploits/6824
En línea
sirdarckcat
Troll Buena Onda y
CoAdmin
***
Desconectado Desconectado

Mensajes: 6.947


Lavando Platos


Ver Perfil WWW
Re: Microsoft Windows Server Service RPC Handling Remote Code Execution Vulnerabilit
« Respuesta #2 en: 24 Octubre 2008, 20:59 »

Código
#include <wchar.h>
 
// This is the decompiled function sub_5B86A51B in netapi32.dll on XP SP3
 
int ms08_067(wchar_t* path)
{
   wchar_t* p;
   wchar_t* q;
   wchar_t* previous_slash = NULL;
   wchar_t* current_slash  = NULL;
   wchar_t  ch;
 
   // If the path starts with a server name, skip it
 
   if ((path[0] == L'\\' || path[0] == L'/') &&
       (path[1] == L'\\' || path[1] == L'/'))
   {
       p = path+2;
 
       while (*p != L'\\' || *p != L'/') {
           if (*p == L'\0')
               return 0;
           p++;
       }
 
       p++;
 
       // make path point after the server name
 
       path = p;
 
       // make sure the server name is followed by a single slash
 
       if (path[0] == L'\\' || path[0] == L'/')
           return 0;
   }
 
   if (path[0] == L'\0')   // return if the path is empty
       return 1;
 
   // Iterate through the path and canonicalize ..\ and .\

   p = path;
 
   while (1) {
       if (*p == L'\\') {
           // we have a slash
 
           if (current_slash == p-1)   // don't allow consequtive slashes
               return 0;
 
           // store the locations of the current and previous slashes
 
           previous_slash = current_slash;
           current_slash = p;
       }
       else if (*p == L'.' && (current_slash == p-1 || p == path)) {
           // we have \. or ^.
 
           if (p[1] == L'.' && (p[2] == L'\\' || p[2] == L'\0')) {
               // we have a \..\, \..$, ^..\ or ^..$ sequence
 
               if (previous_slash == NULL)
                   return 0;
 
               // example: aaa\bbb\..\ccc
               //             ^   ^  ^
               //             |   |  &p[2]
               //             |   |
               //             |   current_slash
               //             |
               //             previous_slash
 
               ch = p[2];
 
               wcscpy(previous_slash, &p[2]);
 
               if (ch == L'\0')
                   return 1;
 
               current_slash = previous_slash;
               p = previous_slash;
 
               // find the slash before p
 
               // BUG: if previous_slash points to the beginning of the
               // string, we'll go beyond the start of the buffer
               //
               // example string: \a\..\

               q = p-1;
 
               while (*q != L'\\' && q != path)
                   q--;
 
               if (*p == L'\\')
                   previous_slash = q;
               else
                   previous_slash = NULL;
           }
           else if (p[1] == L'\\') {
               // we have \.\ or ^.\
 
               if (current_slash != NULL) {
                   wcscpy(current_slash, &p[1]);
                   goto end_of_loop;
               }
               else { // current_slash == NULL
                   wcscpy(p, p+2);
                   goto end_of_loop;
               }
           }
           else if (p[1] != L'\0') {
               // we have \. or ^. followed by some other char
 
               if (current_slash != NULL) {
                   p = current_slash;
               }
               *p = L'\0';
               return 1;
           }
       }
 
       p++;
 
end_of_loop:
       if (*p == L'\0')
           return 1;
   }
}
 
// Run this program to simulate the MS08-067 vulnerability
 
int main()
{
   return ms08_067(L"\\a\\..\\");
}
 
 
http://www.phreedom.org/blog/2008/decompiling-ms08-067/
« Última modificación: 25 Octubre 2008, 19:26 por sirdarckcat » En línea

PaPeRrO


Desconectado Desconectado

Mensajes: 547


You Are Being Monitored


Ver Perfil
Re: Microsoft Windows Server Service RPC Handling Remote Code Execution Vulnerabilit
« Respuesta #3 en: 26 Octubre 2008, 17:27 »

mas cosillas
http://www.dontstuffbeansupyournose.com/?p=35
http://www.securiteam.com/exploits/6W00L15MUQ.html
En línea
leos_79

Desconectado Desconectado

Mensajes: 189


Anyway, Anyhow, Anywhere


Ver Perfil
Re: Microsoft Windows Server Service RPC Handling Remote Code Execution Vulnerabilit
« Respuesta #4 en: 26 Octubre 2008, 22:58 »

http://www.milw0rm.com/exploits/6841
fresquito fresquito
En línea
leos_79

Desconectado Desconectado

Mensajes: 189


Anyway, Anyhow, Anywhere


Ver Perfil
Re: Microsoft Windows Server Service RPC Handling Remote Code Execution Vulnerabilit
« Respuesta #5 en: 27 Octubre 2008, 00:36 »

es una vulnerabilidad de windows server, recuerden eso , tienen q tener el windows server corriendo en su pc
corriganme si me equivoco
En línea
APOKLIPTICO


Desconectado Desconectado

Mensajes: 3.781


Toys in the attic.


Ver Perfil
Re: Microsoft Windows Server Service RPC Handling Remote Code Execution Vulnerabilit
« Respuesta #6 en: 27 Octubre 2008, 00:38 »

Citar
Esta vulnerabilidad afecta Windows 2000, Windows XP, Windows Server 2003, Windows Vista y Windows Server 2008.

Parece q nos ganaron de mano leo...
En línea

AMD Phenom II 1075T X6 @ 290 Mhz x 11 (HT 2036 Mhz NB Link 2616 Mhz) 1.23 Vcore
ASUS M4A89GTD-PRO/USB3
2x2gb G-Skill RipjawsX DDR3 1600 Mhz CL7 (7-8-7-24-25-1T)
Seagate 500 Gb
XFX HD4850 512Mb GDDR3. 650 Mhz/995 Mhz 1.1 Tflops.
leos_79

Desconectado Desconectado

Mensajes: 189


Anyway, Anyhow, Anywhere


Ver Perfil
Re: Microsoft Windows Server Service RPC Handling Remote Code Execution Vulnerabilit
« Respuesta #7 en: 27 Octubre 2008, 00:41 »

no conozco los servers de MS , pero es un SO aparte? o es un programa para windows?

me auto respondo:

- es el servicio "server" de los sistemas operativos windows detallados arriba
 y el windows server es otro sistema operativo afectado por este bug

ahora tengo todo claro :D

« Última modificación: 27 Octubre 2008, 05:18 por leos_79 » En línea
Eazy

Desconectado Desconectado

Mensajes: 229


Eazy [FM-Team]


Ver Perfil WWW
Re: Microsoft Windows Server Service RPC Handling Remote Code Execution Vulnerabilit
« Respuesta #8 en: 27 Octubre 2008, 16:58 »

me auto respondo:

*se aleja despacio*
En línea

[/url]
leos_79

Desconectado Desconectado

Mensajes: 189


Anyway, Anyhow, Anywhere


Ver Perfil
Re: Microsoft Windows Server Service RPC Handling Remote Code Execution Vulnerabilit
« Respuesta #9 en: 27 Octubre 2008, 18:07 »

jajaj la respondi por si a alguien le servia jaja

<offtopic>
resulta q ahora somos todos cuerdos , :P
es necesaria la locura en este mundito jajaja
saludos!
</offtopic>
En línea
Sierpe_777

Desconectado Desconectado

Mensajes: 25


Ver Perfil
Re: Microsoft Windows Server Service RPC Handling Remote Code Execution Vulnerabilit
« Respuesta #10 en: 27 Octubre 2008, 20:27 »

alguien a logrado compilar el codigo fuente de milworns? la idea seria meterle un payload pero que nos de un shell reverso

si alguien lo ha hecho yo tengo el payload ya creado listo para usarse
En línea
oPen syLar


Desconectado Desconectado

Mensajes: 686


The Best of You..


Ver Perfil WWW
Re: Microsoft Windows Server Service RPC Handling Remote Code Execution Vulnerab
« Respuesta #11 en: 27 Octubre 2008, 22:01 »

sabia que aca podia conseguir algo... xD hace rato que estaba tras la pista de este exploit... xD

el de milworm ya te viene compilado... liberaron 2 exploit.... uno sin casi nada... ni con .h necesarios... y otro con el binario y todos sus jugueticos...!

probe en un winXP sp2 (el unico parche que le falta es ese) pero nada....

Maybe Patched!

tiene que tener activo los servicios....

Examinador de equipos
Estacion de trabajo
Servidor


esto en ambas pcs... (pc atancante - pc atacada)

a alguien le funciono el exploit....??
« Última modificación: 27 Octubre 2008, 22:19 por oPen syLar » En línea

framework C++ http://bit.ly/AB0Qz1
worm C++ http://bit.ly/AdWRtl
POP3 cracker http://bit.ly/x2SZxW
Mail dumper (HTTP) http://bit.ly/xMN6pF
alzehimer_cerebral


Desconectado Desconectado

Mensajes: 515



Ver Perfil WWW
Re: Microsoft Windows Server Service RPC Handling Remote Code Execution Vulnerabilit
« Respuesta #12 en: 27 Octubre 2008, 22:29 »

Yo tengo una maquina en mi red local que tiene dichos servicios activos. 

Si alguien me explica como darle uso al siguiente xploit:

No me importaria postear los resultados.

Salu2

alzehimer_cerebral
En línea

Servicios Informaticos Valencia - www.ag-solutions.es
Mi blog - www.alvarogarciasolano.com
oPen syLar


Desconectado Desconectado

Mensajes: 686


The Best of You..


Ver Perfil WWW
Re: Microsoft Windows Server Service RPC Handling Remote Code Execution Vulnerab
« Respuesta #13 en: 27 Octubre 2008, 22:39 »

el de milworm ya te viene compilado... liberaron 2 exploit.... uno sin casi nada... ni con .h necesarios... y otro con el binario y todos sus jugueticos...!
« Última modificación: 27 Octubre 2008, 22:40 por oPen syLar » En línea

framework C++ http://bit.ly/AB0Qz1
worm C++ http://bit.ly/AdWRtl
POP3 cracker http://bit.ly/x2SZxW
Mail dumper (HTTP) http://bit.ly/xMN6pF
PaPeRrO


Desconectado Desconectado

Mensajes: 547


You Are Being Monitored


Ver Perfil
Re: Microsoft Windows Server Service RPC Handling Remote Code Execution Vulnerabilit
« Respuesta #14 en: 27 Octubre 2008, 22:44 »


probe en un winXP sp2 (el unico parche que le falta es ese) pero nada....

Maybe Patched!

tiene que tener activo los servicios....

Examinador de equipos
Estacion de trabajo
Servidor


esto en ambas pcs... (pc atancante - pc atacada)

a alguien le funciono el exploit....??
a mi me ha funcionado, vigila que no este activado el firewall, y si esta activado activa la opcion de compartir carpetas.
« Última modificación: 27 Octubre 2008, 22:45 por PaPeRrO » En línea
Páginas: [1] 2 3 4 5 6 7 8 9 10 11 12 13 14 Ir Arriba Respuesta Imprimir 

Ir a:  

Powered by SMF 1.1.16 | SMF © 2006-2008, Simple Machines