Anyone at Blueh0st hacked by b0gel AGAIN!

Status
Not open for further replies.

ghettogong

Regular Member
Joined
Oct 7, 2009
Messages
299
Reaction score
28
Just found all my index files are replaced by this fuckin hacker named b0gel!!!!

It seems this only happens with blueh0st customers

People with blueh0st put your protection on now

People that are iffected already please share how to solve this shit.

Firstly how did they get in, through which component?

Some security measures you can do is to:
- change permission to 444 on index, configuration,htacces files
- change ftp pass and username
- change cpanel pass and username
 
Any old versions of wordpress, drupal, joomla or other cms on your acct?
 
Any old versions of wordpress, drupal, joomla or other cms on your acct?

fuck a backdoor? What to ask blueh0st to protect my stuff?

the attack came through a joomla 1.5.8 install, but now upgraded to 1.5.20
Posted via Mobile Device
 
Huhhhhh...? Yesterday i checked this thread and their were 2 replys from "Nick"....and now they are gone?
Posted via Mobile Device
 
>What to ask blueh0st to protect my stuff?

It's up to you to keep the scripts you run up to date and secure.
 
Problem with this theory is that his site was probably up to date and secure.

From working in shared hosting, we were instructed to pack a machine full until it would overload, then we'd move the /var/ directory (mySQL DB's) to the secondary hard drive to reduce I/O, and other little tricks. It's all about overselling in a shared environment.

What this means you have probably 2,000-4,000 other websites on the same shared web server depending on if they allow addon-domains, and the hardware stats of the server. The better chance is that another domain was infected, a security aspect of the server wasn't installed (Mod_security, suPHP, or a myriad of others) and the hacker didn't rm -rf the server, but simply wanted to post the URLs for bragging rights.

So really on a shared hosting server, you're only as safe as the oldest WP blog on there. And remember, there are *at least* 1,000-1,500 sites.


-K

Yeah, not keeping the apps up to date and making clients upgrade with risk of their current offer of it going down as a routine maint. practice, it can be risky.

I own a hosting service for my clients and very rarely ever have an issue. All 100% of my support reports are sessions of clients not knowing how to use something in control panel or having some 3rd party app not install correctly.

Reason for the success is that I got hacked once, when I started the company 12 years ago and I built a multi-server network, with fresh dedicated ips rotated out and added into the mix. It is a pain in the butt, however, it has made it so that even if a hack were to get an app on one of my machines, it is something like 50k:1 odds against them to ever land on that same point again.

It runs on the same style of ip switching concept of an isp service, where each time you ping a given site, you don't get the same ip address nor access server point.

As a really outstanding side-effect though...my client's sites maintain 99% connectivity, with that 1% for their own human interaction of taking the pages down, screwing up the file path, etc.

If you can afford it, go dedicated at the very least and you will prevent those things from happening as often by taking out the multiple/shared user aspect of it.
 
Last edited:
i'm using bluehost too. how do you know if you're hacked?? i don't see any weird things in my sites although i saw some funny comments that are autoapproved. when i installed akismet they stopped.

what are the signs that your site is hacked?
 
Did you do the joomla install using BLuehosts Fantastico, if so they have had many a problem with it and simple scripts install. If it were me I would move to a real host instead of them. Bluehost is no place to host a site that you actually plan on making money with. As one of their people told me "were great if you want to host pictures of your grandkids, just not much more"
 
Problem with this theory is that his site was probably up to date and secure.

-K

If you had taken the time to actually read the thread, you'd see the OP already stated the attack came through an older Joomla install vulnerability on his account.

I've used various different shared hosting providers for 12 years, concurrently. In this 12 years, I've had individual accounts hacked 4 different times. Each time, I had a site on my account with an old CMS install that I hadn't bothered to update.

I don't know about bottom tier shared hosting, but with the ones I've been using, I've only been compromised due to my own lack of prevention/maintenance.
 
Step 1) Get VPS for cheap
Step 2) Install mod_security with your LAMP configuration
Step 3) Add / modify your php.ini file with the follow changes:

Code:
disable_functions = show_source, system, passthru, exec, phpinfo, popen, proc_open, allow_url_fopen

; Whether to allow the treatment of URLs as files.
allow_url_fopen = Off
From working in hosting for over 7 years, mod_security will block more than 99% of web exploits, even with a default configuration. I had my own custom ruleset for CPanel servers out there for 3 years that was across 100k domains, but it was a 1.x ruleset.

With php.ini disabling the most commonly exploited commands when a phpshell is spawned you will also be safer, but the better setting is turning fopen URLs off. This means no XSS attacks like ?x=theirdomain/script.txt (XML RPC encountered a huge exploit when I was working on CPanel servers, stopped it dead from spreading same day with Mod_security.

The problem with just chmodding your files is that the hacker probably is exploiting shell to gain root privileges. There's a good chance your machine has php safe directories setup so a rogue script in one /home directory can't overwrite all of them. If I'm right and the guy keeps exploiting root, he will overwrite your files regardless. Reading this from a security linux admin standpoint, the fact it's happened twice is cause to move your site ASAP.

HostingPanama - these guys aren't cheap, but they're pretty fast, and in Panama if you couldn't guess. I'm sure other offshore providers exist that can offer an easy setup CPanel VPS.

I guess what I'm saying in total, is the only way to stay as truly secure as you can be is by keeping your programs updated, running your own dedicated or VPS (and keeping apache and PHP up to date) as well as running Mod_security and a secured PHP.

If anyone has web hosting security / dedicated server security questions of any kind, just P/M, I'd be happy to help out.


Cheers!

-K

Thanks so much man!

So i have done done the php.ini and updated all my WP and joomla blogs. I still have to ask blueh0st for the mod_security...dont know if they will enable this, however have a question:

Now that i implemented all the security measures the hackers cannot strike again if the files are already in my FTP, cause mod_security will prevent the XSS atacks right?
 
i'm using bluehost too. how do you know if you're hacked?? i don't see any weird things in my sites although i saw some funny comments that are autoapproved. when i installed akismet they stopped.

what are the signs that your site is hacked?

Nothing to do with comments. When you are hacked by this attack, your index files will be replaced by some javascript and you may loose all files of 1 specific site were they came through at first
 
Status
Not open for further replies.
Back
Top