Author Topic: Probably got Hacked  (Read 1836 times)

0 Members and 1 Guest are viewing this topic.

Offline Cesarin

  • Hero Member
  • Famous Huggable & Artistic Dragon
  • *****
  • Male
  • Posts: 1852
    • http://www.cesarin.furtopia.org
Probably got Hacked
« on: October 11, 2009, 05:27:29 pm »
So thanks to a warning of WhiteShepherd, I decided to check out and seems some russians entered my account (thanks god, they havent destroyed the website) and started to put weird configuration files and a halluva ammount of warez in my ftp directory.
no idea how they got in, but the files and configuraiton files are all mysql related. so I suspect it was a SQL injection?
just a warning to everyone, check out if you have an ARC or ARC2 directory in your ftp accounts.

the interesting thing is, all the files they put inside, were clearly signed by a russian "security" team. not sure if they're whitehats or blackhats.

anyway the code of one of their files just incase... (since I've deleted everything..)

Code: [Select]
     // îòêðûâàåì ôàéë äëÿ çàïèñè äàìïà
   $fp = fopen($file, "w");
   fputs ($fp, "# RST MySQL tools\n# Home page: http://rst.void.ru\n#\n# Host settings:\n# MySQL version: (".mysql_get_server_info().")\n# Date: ".
   date("F j, Y, g:i a")."\n# ".$host." (".$ip.")"." dump db \"".$db."\"\n#____________________________________________________________\n\n");
   foreach($tabs as $tab) {       
      if ($add_drop) {
         fputs($fp, "DROP TABLE IF EXISTS `".$tab."`;\n");

note how they link to rst.void.ru
-= Cesarin The White DraGoN=-
<a href="http://www.cesarin.furtopia.org" target="_blank">My Webpage</a>

Offline WhiteShepherd

  • furtopia.org Sysop!
  • *
  • Male
  • Posts: 4842
    • http://www.whiteshepherd.furtopia.org
Re: Probably got Hacked
« Reply #1 on: October 14, 2009, 09:01:34 pm »
When you use PHP applications you have to make sure that they are kept up to date.  Hackers often have programs that scan for vulnerable sites.  If they find a vulnerable PHP they can often take over that users website.

  WhiteShepherd
IRC quotes:

[05:01] <Kai_Misou> We cats sleep when we want and where we want.
[05:01] <WhiteShep> We dogs sleep WHEN we can. :/
<!--QuoteEnd--></td></tr></table><span =''><!--Quot