View Full Version : We've been hacked and I don't know the first thing about it
terracore
11-03-2008, 08:56 PM
Here is the link to my site:
www.AvianNation.com
And it's been hacked. Any suggestions on how to fix this? I'm afraid to log into my admin panel as I have to enter my password and I don't know who's password that they might have. Obviously it is one of the admins. Right?
This sucks, so any help would be good.
New info:
The site was hacked by ALQAISER and the hack "theme" was some sort of pro-muslim thing complete with graphics and music and some kind of warning.
I'm not sure who they are or their motivation (it's a forum about parrots, hardly controversial). I also don't know how the hack occured. The database seemed untouched. I really know nothing about computers or coding. I was already running the latest version of VB (3.7.3 patch 1) and wasn't sure what to do to fix this problem or get the board running again so I went through the motions like I was upgrading it (even though its already the latest version) and thankfully that seemed to restore everything to normal. Since I don't know the vulnerability that caused this, and may still exist, I did the common sense things like changing passwords, etc. I also deactivated the following mods:
CYB- CHATBOX
CYB- PAYPAL DONATE
CYB- AUTO BIRTHDAY GREETER
WHO HAS VISITED TODAY
PASSIVE VID
If anybody can look at the board aviannation.com and see if there is anything I can do to close a vulnerability let me know. Also if they think one of those mods had anything to do with it? Can I reactivate them?
UKBusinessLive
11-03-2008, 09:15 PM
have you a backup made of your site, normally they just change the index.php file, Change this first and see, but if you do regular backups of your server, then upload this backup and you'll find everything will be OK. You need to double check all your FTP accounts and change your Passwords, Also make sure of the types of uploads members can do.
These types of hacking often happen when a hacker uploads a piece of code in the gist of an image
good luck with the backup, or if you have an index.php file add that first see what happens
keep us up to date
Blaine0002
11-03-2008, 09:16 PM
What i would reccommend is that you restore one of the mysql databases (that you of course made right?) and remove all addons you have. Request that your other admins change their passwords immediately, or change them for them.
snakes1100
11-03-2008, 09:17 PM
Well, unfortunately its hard to tell what method he used to get in, that looks like either a template hack via the db or a file hack, typically global.php seeing as its every page.
If its a tempalte hack, do a search on the DB via phpmyadmin with keywords from the page source of the hacked page.
Logging into your admincp will most likely not work anyways.
I would suggest you globally disable your hacks in config.php, which is most likely the way he got in anyways.
Upload the default vb files and upgrade the site to the latest version of vb.
THERE IS NO NEED TO RESTORE FROM A BACKUP, THIS IS A EASY TO FIX.
terracore
11-04-2008, 03:30 AM
New info:
The site was hacked by ALQAISER and the hack "theme" was some sort of pro-muslim thing complete with graphics and music and some kind of warning.
I'm not sure who they are or their motivation (it's a forum about parrots, hardly controversial). I also don't know how the hack occured. The database seemed untouched. I really know nothing about computers or coding. I was already running the latest version of VB (3.7.3 patch 1) and wasn't sure what to do to fix this problem or get the board running again so I went through the motions like I was upgrading it (even though its already the latest version) and thankfully that seemed to restore everything to normal. Since I don't know the vulnerability that caused this, and may still exist, I did the common sense things like changing passwords, etc. I also deactivated the following mods:
CYB- CHATBOX
CYB- PAYPAL DONATE
CYB- AUTO BIRTHDAY GREETER
WHO HAS VISITED TODAY
PASSIVE VID
If anybody can look at the board aviannation.com and see if there is anything I can do to close a vulnerability let me know. Also if they think one of those mods had anything to do with it? Can I reactivate them?
--------------- Added 1225776663 at 1225776663 ---------------
have you a backup made of your site, normally they just change the index.php file, Change this first and see, but if you do regular backups of your server, then upload this backup and you'll find everything will be OK. You need to double check all your FTP accounts and change your Passwords, Also make sure of the types of uploads members can do.
These types of hacking often happen when a hacker uploads a piece of code in the gist of an image
good luck with the backup, or if you have an index.php file add that first see what happens
keep us up to date
The index.php file wasn't the problem- it appeared unchanged. I changed it out with an older backup version and it didn't help.
--------------- Added 1225776773 at 1225776773 ---------------
Well, unfortunately its hard to tell what method he used to get in, that looks like either a template hack via the db or a file hack, typically global.php seeing as its every page.
If its a tempalte hack, do a search on the DB via phpmyadmin with keywords from the page source of the hacked page.
Logging into your admincp will most likely not work anyways.
I would suggest you globally disable your hacks in config.php, which is most likely the way he got in anyways.
Upload the default vb files and upgrade the site to the latest version of vb.
THERE IS NO NEED TO RESTORE FROM A BACKUP, THIS IS A EASY TO FIX.
I did the phpmyadmin you suggested, I could not find any keywords.
You are right, I could not log into the admincp.
I couldn't figure out what you meant by the config.php.
Your comment about easy fix didn't lead directly to a solution but it certainly helped me.
Digital Jedi
11-04-2008, 03:39 AM
I'm not sure who they are or their motivation (it's a forum about parrots, hardly controversial).
They don't need any. Seldom is it a personal attack. They just see a site, see a vulnerability and abuse it...because they can. Hacking is usually out of the most childish of motivations. The same thing that makes a bully pick on smaller kids in school.
I don't think any of those mods have security vulnerabilities, as quite a large number of sites use them. Make sure all of your sites folders are protected by an index file. Changing your administrators passwords was a good idea as well, in case one of them was compromised.
UKBusinessLive
11-04-2008, 04:59 AM
Hi terracore
Just checked this morning and see you got your site back :D
it's a forum about parrots, hardly controversial Perhaps they don't like parrots :D:D
Seriously its good that you managed to fix it, as for your mods I've used CYB's mods on my site and i've never had a problem with them,
Might be an idea to check your file/folders permissions on your server also;)
FILE permissions shouldn't be higher than 644
FOLDER permissions shouldn't be higher than 755
AzaDiyaR
11-04-2008, 10:31 AM
FILE permissions 444
FOLDER permissions 555
never be hacked ;)
snakes1100
11-04-2008, 10:35 AM
FILE permissions 444
FOLDER permissions 555
never be hacked ;)
Those file & folder permissions will NOT work on every server, especially cheap anal vhosted servers.
--------------- Added 1225802852 at 1225802852 ---------------
I did the phpmyadmin you suggested, I could not find any keywords.
You are right, I could not log into the admincp.
I couldn't figure out what you meant by the config.php.
Your comment about easy fix didn't lead directly to a solution but it certainly helped me.
Sorry Terra
To better explain it, typically those hackers are using injection & i would guess there is a security hole in your system some place, either a addon mod or another php file for a script unrelated to vb actually.
1. Search your DB using keywords fro mthe hackers page he has put up on your site, view the page source and search for instance, the name of the hack/group or anyother keyword you find in the source, like "hacked", typically you'll find them in the template table.
2. Seeing as it was every page of your site, if a php file was modified, its typically global.php, not index.php as ALL the pages are changed.
Alfa1
11-04-2008, 03:13 PM
Contact your host. browse the logs and make sure to secure all security risks. Even if they do not want to.
Remove all unneeded files and programs from your server.
Close all ports that do not need to be open and restrict ports that only you need to your IP. Only allow ftp from your IP address.
Follow these instructions as well: http://www.vbulletin.com/forum/showthread.php?t=172234
For everything that you install, check http://www.securityfocus.com/vulnerabilities and also search google for the name of the software and the words 'exploit OR vulnerability'
terracore
11-05-2008, 01:33 AM
at this URL I found a list of reported sites defaced by this "hacker":
http://www.zone-h.org/component/option,com_attacks/Itemid,160/filter_defacer,ALQAISER/
terracore
11-06-2008, 04:38 AM
Thanks for all the help. I did all the things mentioned and got hacked again! I noticed 3.7.4 came out so I upgraded to that. The only other thing I can think of was vb ad management? So I disabled that one too.
I checked the chmod of my files and directories.... they all look good. My impex files were still there from the original setup so I deleted those. password protected the admincp and modcp directories, etc.
Still not sure what else to do to keep them at bay.
Digital Jedi
11-07-2008, 04:21 AM
Have you contacted your host to make sure it isn't a server side vulnerability that's being exploited?
terracore
11-08-2008, 01:02 AM
Have you contacted your host to make sure it isn't a server side vulnerability that's being exploited?
Yes. Of course they say that their hosting is absolutely perfect and the problem MUST be with vbulletin.
veenuisthebest
11-08-2008, 01:22 AM
Follow all the steps mentioned in this guide. Do put .htaccess with "deny from all" in includes and install folder.
https://vborg.vbsupport.ru/showthread.php?t=193930
If problem still persists, then 100% the hack attempt is from server side.
terracore
11-15-2008, 06:46 PM
Thanks- I had never been told to protect the includes folder before.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.