Web Hosting Forum | Lunarpages


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



Login with username, password and session length
May 24, 2012, 09:56:47 AM

Pages: [1]   Go Down
  Print  
Author Topic: Was your site hacked at 3am on August 12th?  (Read 1885 times)
russellg
Trekkie
**
Offline Offline

Posts: 10


« on: August 12, 2009, 11:01:36 PM »

All of my index files were hacked at about 3am this morning (August 12th, 2009) with an iframe tag inserted.  After not finding anything suspicious in the web logs, I checked the FTP logs (under the FTP Manager icon of the Control Panel).  Then I found it.  Someone logged in with my primary FTP username, and then proceeded to download each index file one by one, modify it, and upload it back.  The strange thing was that every file access showed a different source IP address -- even for the same file.  So a particular file was downloaded by one IP, then uploaded a few seconds later by a different IP.  So obviously they were masking their IP somehow.  I'm assuming it was some kind of bot.

The thing I'm really concerned about here is that it was my FTP account.  I have a very secure PC, with an up-to-date virus scanner that scans the whole PC nightly, a firewall, and a router.  I don't use wireless, nobody uses this PC but me, and my FTP client doesn't store the passwords in plain text.  I just don't see how anyone could have gotten the username and password from my PC.

This same thing happened recently to two other people I know.  One of them was at the same time today, around 3am.  The other was about a month ago.  I can't figure out how someone is getting all of our usernames and passwords.  Surely we can't all be infected with a keylogger that our virus scanners are missing.

Anyone else notice their index.html and index.php files modified today?

Russell
Logged
katrina1
Guest
« Reply #1 on: August 13, 2009, 03:12:38 AM »

Change the password right away to something random with no full words in it, at least 8 characters, uppercase and lowercase, with at least a couple different numbers. They may have hacked the password.
Logged
russellg
Trekkie
**
Offline Offline

Posts: 10


« Reply #2 on: August 13, 2009, 07:39:12 AM »

Change the password right away to something random with no full words in it, at least 8 characters, uppercase and lowercase, with at least a couple different numbers. They may have hacked the password.

Hi, and thanks for the reply.

Yes, I'm sure that's good advice, and that was definitely the first thing I did after discovering this, but I already had a very secure password. It was 14 characters with a number, and not in the dictionary.  So I can only think of a few ways that someone could have gotten it:

1. They monitored my FTP connection, and got the username and password in plain text.

    This seems very unlikely since I don't use wifi and I'm the only one that uses this PC at home.  Someone at Time Warner Cable, my ISP?  Seems equally unlikely.

2. They guessed the username and used a brute force attack against the Lunarpages FTP server to get the password.

    Almost impossible, especially since Lunarpages' server would have blocked a repeated brute force attack.

3. They gained access to the FileZilla (FTP client) encrypted password file on my PC and decrypted it.

    Also unlikely, since my AVG virus scanner hasn't detected anything, I have a firewall and a router, and anyway, the file is encrypted.

4. They used a keylogger on my PC, that my virus scanner hasn't detected.

   Again, seems unlikely, and I don't normally type in my password when I connect via FTP.

5. They got my username and password when I logged into the Lunarpages web site.

   I'm not sure how this would happen, but I mention it because the username they used was my primary FTP account, even though I had created several other FTP accounts.  I don't think this is a coincidence.  Since the primary FTP account uses the same username and password as my web username and password, I wonder if they could have gotten it somehow when I logged into the Lunarpages web site.  It wouldn't have been the Control Panel, because it's protected via htaccess (the browser prompts you with a popup window), but logging into the main web site is different.

6. They compromised Lunarpages' username and password information.

   This seems unlikely as well, and I'm not pointing any fingers here, just pointing out that it's one of the possibilities, just like problems on my PC are possibilities.  But it would explain why three separate accounts owned by three separate people on three separate servers have been hacked recently using the same method of entry: FTP usernames and passwords.  Normally I would have thought that it was impossible, because typically Linux servers are setup so that the passwords are stored using a one-way encryption.  You can't decrypt them back to their original text, so the plain text version isn't displayed anywhere.  But this isn't the case on Lunarpages.  For example, go to the FTP Manager icon in your Control Panel, then to FTP Accounts, and hold the mouse cursor over the links to the raw FTP logs at the bottom of the page.  You'll see your plain text password included in the URL.  Of course, I have to be logged in to see this, but my point is that the password is definitely being stored on their system in a way that it can be displayed as plain text.  I could be completely wrong, but it's just something I noticed.

Any other ideas?

Thanks,
Russell
Logged
wektech
Master Jedi
*****
Offline Offline

Posts: 1031



WWW
« Reply #3 on: August 13, 2009, 10:52:05 AM »

I noticed you mentioned several times that you were using AVG for computer protection but no mention of what you were using to supplement for malware protection. I would suggest you scan the computer with Malware Bytes Antimalware program and/or superantispyware and see if AVG missed something. AVG often misses keyboard loggers and the like.
Logged

MNM
Galactic Royalty
*****
Offline Offline

Posts: 261


Hosted on server: TYR


WWW
« Reply #4 on: August 13, 2009, 11:39:36 AM »

I'm reading this time and time again in the forums. It has not happened to me so I don't know what the security issue is. The only thing I can say is I use Lastpass.com to generate my passwords and they are so extravagant that it could never be hacked. The program also submits the password for me so a key logger would never work.

So in short, I also use extreme security and have never had a problem.

However... it is a bit disconcerning reading about this same issue with so many people. It makes me extremely cautious when dealing with my account and when and how I log in.

My private thoughts on the matter are that it is not a key logger because nobody had any other issues with their bank accounts being compromised. A successful key logger would surely log that, and similar, information as well.
Logged

russellg
Trekkie
**
Offline Offline

Posts: 10


« Reply #5 on: August 13, 2009, 01:47:01 PM »

I would suggest you scan the computer with Malware Bytes Antimalware program and/or superantispyware and see if AVG missed something.

Thanks.  I did a complete scan of my hard drive with both of those programs just now.  Antimalware found nothing, and SuperAntiSpyware only found adware cookies, nothing else.

I agree that it's probably unlikely that I'm a victim of a keylogger, because there would probably be evidence of more malicious hacking than just inserting invisible frames into my web pages.  But now I know for sure, anyway.

I searched every file I have on the server (forum and blog config files included), as well as all the data in my MySQL databases, and didn't find my old FTP password listed anywhere.  That leads me to believe that it wasn't a script attack that was used to get my account info, because the scripts didn't have access to it anyway.

I still believe there's something else going on here that's not on my end, but haven't figured it out yet.  Any other theories are welcome.

Thanks,
Russell
Logged
Hopeless
Newbie
*
Offline Offline

Posts: 5


« Reply #6 on: August 17, 2009, 10:31:15 AM »

* - post removed, please keep all discussion of the NobodyCoder issue in it's own thread that has been created for it.  Thanks!
« Last Edit: August 17, 2009, 10:34:59 AM by Mitch » Logged
Pages: [1]   Go Up
  Print  
 
Jump to: