The site is down at the moment as i am restoring the php files from backup. but dam every php file on the entire site is infected with the code above. I am looking for ways to prevent it in future.
There are only 10 types of people. those that understand binary and those that do not.
I never meant for my post to imply that upgrading the recent version of Joomla! would solve the current problems, but running an out of date Joomla! version only leaves you open to attacks.
Try to check web server logs files. It is a must for you to determine the area of entry to block the hole. I also recommend using a Joomla firewall extension. I use Defender and have work wonders.
There are many articles regarding hardening your web server.
Two tools that have worked for me:
APF firewall
BFT (detecs and blocks excesive unauthorized login atempts)
However, please note that you must feel confident of your skills as you can lock-out yourself. Many security actions depend on the platform you are using (Windows, Linux).
Hope you can restore and block the intruders away.
Thanks, everyone..
I have restored the site and so far it looks safe. I realized i had not implemented the .htaccess file on this web site and have done so.
My web server is Ubuntu server with LAMP and i have approximately 100 joomla web sites on it and the only one that was infected so far that i can tell was this one. but like i said the .htaccess file was not set on this site and the files and directories were set to full access i have changed this as well.
I will check out the APF firewall and BTF and report back my findings etc..
Thanks again
There are only 10 types of people. those that understand binary and those that do not.