Unusual php file in my all websites

Posted October 31, 2016 1.8k views

I have a file called q.php that has appeared in all my websites hosted in the same server. Does anyone know what the file does?

I noticed this when I got an email from

The email says:

Dear Sir/Madam,

CERT-In is tracking defacement of Indian websites on regular basis.

We have found that the website "" hosted on IP has been defaced on 30.09.2016 by the hacker group "Aris Dot ID".

The URL of the defaced website is:

Content of q.php file:

I deleted the file from all my websites. But I am not sure what extra security should I implement for this.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

It seems that you’ve been hacked.
But lucky you, it was not a “bad” hacker, he just added a file as a proof that he was there.
You should check your firewall, change your ssh password, disable ftp if you don’t need it, look at any server side scripts if there is updates, and updates any softwares that you are using.