Sinisterly
help please My site is hacked by gabby the crows crew - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Computers (https://sinister.ly/Forum-Computers)
+--- Forum: Antivirus & Protection (https://sinister.ly/Forum-Antivirus-Protection)
+--- Thread: help please My site is hacked by gabby the crows crew (/Thread-help-please-My-site-is-hacked-by-gabby-the-crows-crew)

Pages: 1 2 3


RE: help please My site is hacked by gabby the crows crew - leen12 - 08-15-2013

no i dont have a backup the site is only 12 days old =s lol

i tried to upload the origional files but it returned the same..

you think i should just wipe everything or what? =s


RE: help please My site is hacked by gabby the crows crew - bluedog.tar.gz - 08-15-2013

(08-15-2013, 01:29 AM)leen12 Wrote: no i dont have a backup the site is only 12 days old =s lol

i tried to upload the origional files but it returned the same..

you think i should just wipe everything or what? =s

Look in the templates or ctrl + f through the files.


RE: help please My site is hacked by gabby the crows crew - leen12 - 08-15-2013

ok i found how they did it anyway.. i think..

it seems they uploaded a jpg that was infected..
the file is infected by some kind of phpConfusedhell-dc[trj]


RE: help please My site is hacked by gabby the crows crew - bluedog.tar.gz - 08-15-2013

(08-15-2013, 01:52 AM)leen12 Wrote: ok i found how they did it anyway.. i think..

it seems they uploaded a jpg that was infected..

Must be a backdoor.
Remove everything, upload the new clean files.
Update password & install some extra-security.

Also using a CDN such as CloudFlare is recommended.


RE: help please My site is hacked by gabby the crows crew - leen12 - 08-15-2013

hey sorry i updated the post can you take a look?

how do i add extra security can you help me please?


RE: help please My site is hacked by gabby the crows crew - necrojones - 08-15-2013

Anti-virus, add a firewall and lock down all unnecessary ports, run a acunetix aimed at your site, if possible force only complex passwords.


RE: help please My site is hacked by gabby the crows crew - gabby - 08-16-2013

hi,. im gabby,.. ^_^
this is ur site right,.?
sorry for ur site,.. but im not target it,..
thats random attack on phpVibe 3.1,..
am developing bot n im just test my bot for own it,.
it just use xss script on ur "edit-profile.php" Smile

ok,.. for pacthing,. u can do this :
open vibe-cp/users.php
add this at the beginning, right after:

Code:
<?php include_once("header.php");

add:

Code:
function antixss_light($text) { //Remove external scripts $search = array( '@<script[^>]*?>.*?</script>@si', // Strip out javascript '@<style[^>]*?>.*?</style>@siU', // Strip style tags properly '@<![\s\S]*?--[ \t\n\r]*>@' // Strip multi-line comments ); $tx_output = preg_replace($search, '', $text); //Deep remove the rest $injections = array('link','script','iframe','object','applet','embed','onblur','onchange','onclick','ondblclick','onfocus','onkeydown','onkeypress','onkeyup','onload','onmousedown','onmousemove','onmouseout','onmouseover','onmouseup','onreset','onselect','onsubmit','onunload', 'src', 'href'); $output = str_replace($injections, '', $tx_output); return strip_tags($output, '<ul><ol><li><code><cite><strong><p>'); }

find:

Code:
<?php echo $rrow['display_name'];?>

and change it to

Code:
<?php echo antixss_light($rrow['display_name']);?>

browse to the admin users page, find the user in case, delete it.
empty cache in site/cache
you should be fine.

Or alternatively (if you don't want to clear cache) you can do the same on tpl/sidebar.tpl.php (copy function to top) and change:

Code:
'.$row["display_name"].'

to

Code:
'.antixss_light($row["display_name"]).'

just it,.. n sorry for my bad english,. ^_^


RE: help please My site is hacked by gabby the crows crew - leen12 - 08-22-2013

(08-16-2013, 08:47 AM)gabby Wrote: hi,. im gabby,.. ^_^
this is ur site right,.?
sorry for ur site,.. but im not target it,..
thats random attack on phpVibe 3.1,..
am developing bot n im just test my bot for own it,.
it just use xss script on ur "edit-profile.php" Smile

ok,.. for pacthing,. u can do this :
open vibe-cp/users.php
add this at the beginning, right after:

Code:
<?php include_once("header.php");

add:

Code:
function antixss_light($text) { //Remove external scripts $search = array( '@<script[^>]*?>.*?</script>@si', // Strip out javascript '@<style[^>]*?>.*?</style>@siU', // Strip style tags properly '@<![\s\S]*?--[ \t\n\r]*>@' // Strip multi-line comments ); $tx_output = preg_replace($search, '', $text); //Deep remove the rest $injections = array('link','script','iframe','object','applet','embed','onblur','onchange','onclick','ondblclick','onfocus','onkeydown','onkeypress','onkeyup','onload','onmousedown','onmousemove','onmouseout','onmouseover','onmouseup','onreset','onselect','onsubmit','onunload', 'src', 'href'); $output = str_replace($injections, '', $tx_output); return strip_tags($output, '<ul><ol><li><code><cite><strong><p>'); }

find:

Code:
<?php echo $rrow['display_name'];?>

and change it to

Code:
<?php echo antixss_light($rrow['display_name']);?>

browse to the admin users page, find the user in case, delete it.
empty cache in site/cache
you should be fine.

Or alternatively (if you don't want to clear cache) you can do the same on tpl/sidebar.tpl.php (copy function to top) and change:

Code:
'.$row["display_name"].'

to

Code:
'.antixss_light($row["display_name"]).'

just it,.. n sorry for my bad english,. ^_^

hey gabby

yep thats the one =P

thanks for the reply and thanks for the info really appreciated..
as for the attack or the bot im not really too annoyed i didnt lose much just a few things =)

thanks for all the help i will try an add this code to fix it..

ps i could do with some help possibly if you would ever be interested


RE: help please My site is hacked by gabby the crows crew - lehieu77 - 10-07-2013

I'm using wordpress.
My website is hacked by gabby.
A text added before title for admin-cp, page, post is "hacked by gabby".
How do to fix it ?


RE: help please My site is hacked by gabby the crows crew - gabby - 10-18-2013

(10-07-2013, 05:59 PM)lehieu77 Wrote: I'm using wordpress.
My website is hacked by gabby.
A text added before title for admin-cp, page, post is "hacked by gabby".
How do to fix it ?

wordpress again,. :Laughing:
im forget i've that bot... btw sorry,. it just simple tweaking on ur site,. using ur "wp-config"

for fix it,. u can do like this,. login to ur site,.. go to widgets,. u will find the following code in the text widget.
Code:
document.documentElement.innerHTML = unescape ( 'bla bla bla' );

remove all code n ur site will back,. than reset ur widget...

now,. how to protect from other,..??
login to your cpanell,. give chmod 400 / 404 to "wp-config.php"
n dont use default password from hosting for ur cpanell... n remember,. use trusted plugins, dont use stupid themes with timthumb vuln / unauthorised upload form on it,.. :Thumbs-Up:
hope u'll not get hacked again,. :Cool: