The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Website defacement, suggested fixes?

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

  1. iso99

    iso99 Well-Known Member

    Joined:
    Jan 5, 2011
    Messages:
    87
    Likes Received:
    2
    Trophy Points:
    8
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    You could try reviewing the domain access logs for this domain name (/usr/local/apache/domlogs/$domain.com) 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.
     
Loading...

Share This Page