Foregenix Blog

Web Security Alert: Filesman:02 Backdoor

Posted by Benjamin Hosack on 24/03/15 12:10

This last week we have assisted a number of online clients having been compromised via the “Filesman” backdoor. This backdoor is not a new attack – in fact, it’s been very well publicized and documented over the last few years.

Who does it affect?

Filesman can affect any PHP site – that includes, Magento, WordPress, Drupal, Joomla, osCommerce etc. Usually it affects older versions of the website frameworks.

What does Filesman do?

It allows an attacker to easily access your site, make modifications and to plant additional malware infections/backdoors elsewhere on your website.

The compromised websites that we have been working with have all had their customer data stolen – including transaction data (credit and debit card details), which means that their clients are likely to see fraud on their credit/debit cards imminently.

How to identify this malware on your website

There are a great deal of examples available on many security websites - the file names may vary slightly, however this is what we have found this week:

$auth_pass = "";

$color = "#df5";

$default_action = "FilesMan";

$default_charset = "Windows-1251";

Slight variants of the content have been seen but the spelling of "FilesMan" within the first few lines of the malware clearly identify this threat.

What to do if you identify this malware on your site

You have a few options:

1. The do-it-yourself route

a. Remove the malware – delete it.

b. Run a scan of your website using FGX-Web Alert (its free for 30 days) to identify whether you have any other known nasties.

c. Update your website framework/CMS/plugins/extensions.

d. Remove inactive files/plugins/extensions.

e. Change your passwords (have a read of our Password blog post if you want some help developing a strong password).

f. Put up a Web Application Firewall – we offer this protection through FGX-Web Protect.

2. We can assist you:

a. Get in touch with our support team.

b. They will help you to get FGX-Web onto your website, remove the malware and check for other backdoors.

How to prevent being infected by this type of attack

Backdoors are usually uploaded once a vulnerability in the website has been exploited – this means that once the backdoor is on your site, your business has been hacked and compromised.

  • If you are using any of the frameworks mentioned above (Magento, WordPress, Drupal, osCommerce, Joomla) then make sure you are using the latest version.
  • Remove any inactive files/plugins/extensions.
  • If you can’t update to the latest version, we would recommend using FGX-Web Protect to provide the web application firewalling and security monitoring of your website.
  • Passwords – change your passwords and ensure that you are using strong passwords – not your mother’s maiden name!

Topics: web security, Magento