1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Site hacked with phishing sites

Discussion in 'Security' started by mediait, Oct 6, 2007.

  1. #1
    I got an email from someone called the RSA Anti-Fraud Command Center
    saying I was hosting a phishing site on my domain and to get it off. When I looked at my FTP there were 3 subdomains with folders and files that shouldn't be there.

    How does this happen, and what can I do to prevent it happening again.

    How can someone create sub domains and then populate them with files and folders? If they had my login details wouldn't they have changed them so I couldn't get in?

    I use a hosting plan, so does that the mean the host server is not secure?

    I have had lots of different hosts over the years and never had this happen before.

    I'd appreciate any help.

    Thanks.
     
    mediait, Oct 6, 2007 IP
  2. chickens

    chickens Peon

    Messages:
    242
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It could be various things; most commonly it would be a remote explloit on your site somewhere. If someone can run a php shell script from your site via a cross site scripting (XSS) problem then they can get access to anything on your site. They can then create anything they want on your site.

    Another attack could be the entire server. Since you are running a shared server (I believe that is what you meant) then I would think the entire server would be compromised. If I was attacking a server I would create my own account on the server and you would not see anything.

    If you have a good host I would contact them and let them know whats going on. They can then look at the logs and see whats going on. If your host is not great they might not do anything.
     
    chickens, Oct 6, 2007 IP
  3. dnahosting

    dnahosting Active Member

    Messages:
    385
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    60
    #3
    there was probably some writable folders on the server somewhere. Did you have a blog or something that you had installed some plugins or other themes? Like there are vulnerabilites if there are some writable folders someone can exploit via an xss to upload a malicious script that gives them access to basically everything on the server
     
    dnahosting, Oct 6, 2007 IP
  4. Fedorpheux

    Fedorpheux Active Member

    Messages:
    710
    Likes Received:
    16
    Best Answers:
    0
    Trophy Points:
    80
    #4
    My guess is that somebody found an easy exploit somewhere and decided to take advantage of it while it lasted.
    The only solution is to just be careful with what scripts you run on your site(s).
     
    Fedorpheux, Oct 7, 2007 IP
  5. jkrish41

    jkrish41 Banned

    Messages:
    2,416
    Likes Received:
    111
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Just make sure you always check for latest upgrades of the software, and also checking exploits sites once a day make sure none of your scripts are on there, even though there are 0 days, but they won't be used on you USUALLY unless you are a big company/site.
     
    jkrish41, Oct 7, 2007 IP
  6. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #6
    It simply means, your account or possibly the server is compromised.

    Ask your host to check the logs and they may be able to help.
     
    inworx, Oct 20, 2007 IP
  7. toby

    toby Notable Member

    Messages:
    6,923
    Likes Received:
    269
    Best Answers:
    0
    Trophy Points:
    285
    #7
    probably that dude has access to your cpanel account i.e. your username and password is easy to guess.

    It happended to me once.
     
    toby, Oct 25, 2007 IP
  8. jkjazz

    jkjazz Peon

    Messages:
    1,717
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    0
    #8
    OK, I have been fighting the phishers for a while.

    Look over all of your folders and change the setting from 777 to 755.

    My server was also running an old version of php. My web host upgraded to a newer version. I lost my chatroom in the process, but at least my sites are still up.

    Look for tar files that you don't recognize. I don't know what they are, but somehow the phishers upload them and they unzip into directories that contain the phishing pages.

    Good luck!

    O crap, I just saw that this thread is 3 weeks old. Maybe this advice will help someone else.
     
    jkjazz, Oct 25, 2007 IP