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!

Website defacement, suggested fixes?

Discussion in 'Security' started by iso99, Jun 13, 2014.

  1. iso99

    iso99 Well-Known Member

    Jan 5, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    One of my client's website is getting defaced regularly these days. Yes, it is an unsecured script but they are preparing to release a new version soon. It's a custom coded system.

    At this time, what can we do to prevent attacks?

    Any way to catch IP of culprit?
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    You could try reviewing the domain access logs for this domain name (/usr/local/apache/domlogs/$ to see if you can determine the source of the attack. However, attackers will often change their IP address, so generally it's better to address the vulnerability in the script itself. Also, ensure you use Mod_Security with a useful ruleset and CSF if you don't already. The "Security Advisor" option in WHM will provide general advice on securing certain aspects of your system.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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