Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Remove Sites from Compromised Server?

Discussion in 'Security' started by Muhamed Asil, Oct 13, 2018.

  1. Muhamed Asil

    Muhamed Asil Member

    Joined:
    Jun 29, 2018
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    The accounts which hosted on my server and installed WordPress stopped and redirect to spam websites and sending spam emails.
    the server seems hacked. what should I do please?
     
  2. Anupam SG

    Anupam SG Active Member

    Joined:
    Aug 29, 2018
    Messages:
    38
    Likes Received:
    15
    Trophy Points:
    8
    Location:
    Earth
    cPanel Access Level:
    Root Administrator
    If the server is hacked you may need to wipe the server, unless you are able to ascertain which all directories are infected.
     
  3. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,161
    Likes Received:
    474
    Trophy Points:
    233
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    HI @Muhamed Asil


    In a lot of cases, this originates from a WordPress installation having a vulnerable plugin or theme. While difficult to clean I don't think it (unless root compromised) would be necessary to wipe the entire server and start fresh.

    I would suggest reading over some of WordPress's articles on how to resolve issues that come about such as this but ultimately you need to remove the source of the issue, audit your files and potentially use a malware scanner such as ClamAV or Linux Malware Detect (there's a bunch of others too) to check the integrity of the files.

    If you're at a complete loss then I would suggest contacting a qualified system administrator for assistance. If you don't have one you might find one here: System Administration Services | cPanel Forums

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice