Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Distribution: Fedora 3,4- Ubuntu 6.06 to 8.10, Gentoo and Arch
My website home page php file was changed
Last night, I decided to close down my website after 3 months, due to lack of interesting contents and low security. Today, when I woke up, I realized that someone else read my mind and did the job for me.
What happened was that he changed index.php on my host to some static html with some funny messages on it. I knew that my website was not safe against XSS attacks, so my first guess was that they use XSS attacks. However, I don't have any input form on my home page.
I went to cPanel and checked the modification date of index.php and in my wonder it was for a few days ago when I updated it by myself. Note that, The permission of file was 644.
Since the hacker left his email and his nickname, after googling I found a website, where it showed all attacks by him. Then all of a sudden, I noticed that my weblog under a subdomain of my website was hacked, too.
My weblog is a wordpress one. After downloading everything on my computer and doing a grep, I found that wp-config.php was changed to the same static page. Also, the modification date was for Dec 11, 2009 when I installed the weblog.
I'm very confused now. I can't even figure out what the problem is. Since it happened to both my code and wordpress, there could be something wrong with either PHP or my host.
Any idea what just happened to me?
PS. I'm going to totally forget about PHP and develop my new application on Django.
Interesting, who was the host? What version of Apache, php, etc. Was the host running this is always a great chance to see if anything can be learned, at minimum about a particular hosts security, lol.