Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
February 09, 2012, 11:10:24 AM

Pages: [1]   Go Down
  Print  
Author Topic: web site hacked  (Read 1329 times)
dongna
Pong! (the videogame) Master
*****
Offline Offline

Posts: 22


« on: August 10, 2009, 11:51:15 AM »

Like many others here, my web site appears to have been hacked. I got the common folders of porno, frames added to .htm files, etc.

I've cleaned up my site as best as I know how (it's not very big), changed my account password, and yet the site continues to be hacked.

I'm missing something.

I read the security thread that Mitch has pointed several other people to. I see the following list of files/folders that should be present on new accounts:

/etc
/mail
/public_html
/public_html/cgi-bin
/public_html/.htaccess
/public_ftp
/tmp
/www
/.lastlogin
/.contactemail

and possibly:

/.fantasicodata
/.cpanel
/.cpanel-datastore
/.htpasswd

I have all of those, with the following in addition. I would like to have someone confirm that if any of the following folders/files are something that I don't recognize, that it would be safe to delete.

/.spamassassin
/.sqmaildata
/.trash
/.access-logs
/.logs
/MM-CASETEST4291
.contactmail
.cpanel-ducache
.ftpquota
.htaccess
.spamassassinenable
n.sql

I'm thinking some of these could be legitimate and I don't want to just delete them without knowing what they are.
Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12838


WWW
« Reply #1 on: August 10, 2009, 12:52:01 PM »

All of those seem to be related to cPanel/your hosting account, so should be safe to keep those.  This one:

MM_CASETEST4291

Looks like it is created by Dreamweaver. It is designed to create a folder, then delete it. - or so says the web page info I found about it several places. 

Have you scanned your own PC with an anti-virus program and perhaps one of the free online solutions as a second opinion?  You can find some good anti-virus (both free downloads and free online tools) here:

http://www.web-hosting-newsletter.com/2009/06/15/gumblar-exploit-and-what-every-webmaster-should-know/

Let us know once you have gotten that done, and what it found (if anything).
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
dongna
Pong! (the videogame) Master
*****
Offline Offline

Posts: 22


« Reply #2 on: August 10, 2009, 01:13:06 PM »

I am using Dreamweaver for my site, so that one file is probably OK then?

My PC got hit with some nasty malware a couple months back... I have long since eradicated it from my PC. However, during the time I was infected (probably before I realized it) I most likely uploaded infected files to my web site. Google was kind enough to alert me that my site was not meeting their standards. Smile As I stated, I found numerous infections on my site which I cleaned up. However, even though I've changed my account password, specific things that I know I've fixed keep returning-- things like inserted frames in htm files.

I'm thinking there is a back door that is still open somewhere on my site, and I'm trying to get help in locating it.
Logged
Mitch
Berserker Poster
*****
Offline Offline

Posts: 12838


WWW
« Reply #3 on: August 10, 2009, 01:16:56 PM »

Yeah, if you have Dreamweaver - I would say that file isn't going to hurt anything.

It wouldn't hurt to scan again, just to be on the safe side - using both methods.  The Gumblar issue was really popular about a month or two back (that is when it was most active across the Web) so that would match up time wise.  My main concern is you get everything on the hosting side cleaned up, there is still something bad lurking around your PC, and you have to go through this whole song and dance again. 

It might also be a good idea, if you have another PC that you know is clean of any viruses, malware and the like, to work from that machine getting your site back to normal. 
Logged

New to Web Site Hosting? Check Out the Lunarpages Blog Hosting Guide!


Follow us @lunarpages on Twitter!
Important Threads: Read This Before Posting! | Lunarforums Rules! | Mitch's Link of the Day!
Also, be sure to check out and subscribe to the Lunartics Blog and the Lunarpages Newsletter !

Need Web Hosting Help? Check out the Lunarpages Web Hosting Wiki. It has tons of tips, tutorials and resources!
dongna
Pong! (the videogame) Master
*****
Offline Offline

Posts: 22


« Reply #4 on: August 10, 2009, 01:39:39 PM »

Mitch,

Thanks for the advice. I scan daily with AVG and Spybot... no infections reported going on several months now.

I also have other web sites hosted with Lunarpages that I update on a daily basis that are all just fine. The site in question is a small, basically static site that isn't updated at all (unless an error is discovered or something). Furthermore, I use my PC basically 10 hours/day at work, and I haven't had anything weird going on since that infection several months ago. So I'm pretty confident that my PC is clean.

So what happens is I find an infection, say an inserted frame. I delete the frame. The site displays as it should. I don't touch the site for a week or so. Then I visit the site and notice that there is a whitespace border along the top (which I have since learned is an indication that a frame has been inserted). I check the htm file in question... sure enough-- frame inserted. I have repeated this cycle several times now.
Logged
wektech
Master Jedi
*****
Offline Offline

Posts: 1031



WWW
« Reply #5 on: August 10, 2009, 02:11:27 PM »

I would change your ftp passwords. It would also not hurt to scan your PC with some more tools besides AVG and SPYBOT S&D for any spyware that may be reporting your FTP passwords. I have seen Spybot show an infected PC as clean. As you seem to be using free tools, I would recommend Malware Bytes AntiMalware (The free trial version just scans and cleans, but does not protect) and/or SuperAntiSpyware (same restrictions). Both these tools scan the entire hard drive for issues while spybot looks in known locations for spyware.
Logged

Earl
Trekkie
**
Offline Offline

Posts: 16


WWW
« Reply #6 on: August 10, 2009, 02:21:05 PM »

Pretty certain mines been hacked as well, and it all started last week when I tried to upload a new template from wordpress......it's been nothing but a headache ever since. Now everything I have hosted here on the servers is not showing when clicking links. No forum, no blog, and no homepage, nothing but a google search page.

Can't even get a redirect done the way I want it to make a simple blogspot into my homepage. Beginning to wish I had never renewed for another year just last month and saved myself some funds.

Can blame myself a lot I guess for biting off more than I know how to do, but the first year was trouble free.  Sad Next year I'll just stick with buying the domains from google apps and using blogspot for it all. So much easier for someone like myself with limited knowledge.
Logged

dongna
Pong! (the videogame) Master
*****
Offline Offline

Posts: 22


« Reply #7 on: August 10, 2009, 03:38:17 PM »

I would change your ftp passwords. It would also not hurt to scan your PC with some more tools besides AVG and SPYBOT S&D for any spyware that may be reporting your FTP passwords. I have seen Spybot show an infected PC as clean. As you seem to be using free tools, I would recommend Malware Bytes AntiMalware (The free trial version just scans and cleans, but does not protect) and/or SuperAntiSpyware (same restrictions). Both these tools scan the entire hard drive for issues while spybot looks in known locations for spyware.
Good call, wektech (you too, Mitch!). I had Malwarebytes installed from before as that was the software that eventually eradicated the infection I had a couple of months ago. Although I had installed it and kept it on my system, I was not running it regularly. On your advice, I did a scan and it did detect a couple of infections that the other software was apparently missing.

Now that that has been found and hopefully cleaned up, I will see how it goes.
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: