Community Supporter?
What's HTML?
Gender:
Posts: 493
4892 credits Members referred : 0
www.demonhale.com
« on: Apr 26, 2007, 04:34:23 AM »
What do you think of http://www.zone-h.org ... They list a bunch of Hackers and Defacements Attack, 3 sites I operate have been listed here before... and my recent one by this guy and his forum at http://www.numberonehack.org/ ... (anyway you can hide there links on the post since they actually like publicity)...
In this light I have a question, I have a prevention for html inject on my scripts, but how can I protect against them actually putting an index.html file inside my folders when my main index page is on index.php... How can I point my server just to read my index.php rather than the index.html? I think I can do that with htaccess? But im not totally a pro with the access file though, just tried to learn it in the past 6 months...
Community Supporter?
What's HTML?
Gender:
Posts: 493
4892 credits Members referred : 0
www.demonhale.com
« Reply #2 on: Apr 26, 2007, 09:12:39 AM »
Yep I do use DirectoryIndex on my htaccess, but the problem is the hackers are able to create an index.html file on the root folder... How do I prevent this...
Yep I do use DirectoryIndex on my htaccess, but the problem is the hackers are able to create an index.html file on the root folder... How do I prevent this...
Community Supporter?
What's HTML?
Gender:
Posts: 493
4892 credits Members referred : 0
www.demonhale.com
« Reply #4 on: Apr 26, 2007, 09:28:48 AM »
Thanks for the Answers, yes I want to secure my server, but the problem is not on the server, maybe it's on my scripts...As I checked, theres frequent access on my php file, and maybe there is an open exploit. anyways, I hope I can plug the holes soon...
Thanks for the Answers, yes I want to secure my server, but the problem is not on the server, maybe it's on my scripts...As I checked, theres frequent access on my php file, and maybe there is an open exploit. anyways, I hope I can plug the holes soon...
I am a metal monkey!
Administrator Community Supporter?
Jedai Sword Master
Gender:
Posts: 7945
40623 credits Members referred : 3
« Reply #8 on: Apr 26, 2007, 10:51:23 AM »
Have you contacted your host?
Those turks fellas probably are those that I know because I think they used the same trick on you.
1) There is an XSS vulnerability in your site or in another site of your server. Something like include $_GET['something'] ; 2) Check your crontab entries. They use it to get more permissions 3) Check the /tmp directory. They upload a service there (a perl script) that do this job (creating an index.html on every wwwroot directory)
Those turks fellas probably are those that I know because I think they used the same trick on you.
1) There is an XSS vulnerability in your site or in another site of your server. Something like include $_GET['something'] ; 2) Check your crontab entries. They use it to get more permissions 3) Check the /tmp directory. They upload a service there (a perl script) that do this job (creating an index.html on every wwwroot directory)
Hope that helps
Good Tip, will check on first two, checked on 3rd one, didn't find anything...
Community Supporter?
What's HTML?
Gender:
Posts: 493
4892 credits Members referred : 0
www.demonhale.com
« Reply #13 on: Apr 26, 2007, 12:59:43 PM »
actually on those 3 sites, the two subdirectories and the first attack was a full home page defacement, the home page defacement was due to an insecure host... the subdirectory attacks I think and might be due to my sloppy PHP security...