I have 3 servers working as a proxy load balance. Someone has gained access to them and is somehow creating an index.html in my webroot containing advertisement and an iframe on my main index.php file.
I'm not sure how they are doing this because even if I delete the index.html file across all of the server I can return half a day later to see that it has been done again.
I noticed that there was a web shell script on the server and deleted it. I also changed sshd_config so that only one user is able to login and all other accounts can't. Somehow they are still accessing the servers and making these changes. History doesn't show anything.
I need to get this resolved ASAP.
Can anyone make any suggestions?
Thanks!