summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--php-malware-finder/malwares.yara2
1 files changed, 1 insertions, 1 deletions
diff --git a/php-malware-finder/malwares.yara b/php-malware-finder/malwares.yara
index c5af397..7610d18 100644
--- a/php-malware-finder/malwares.yara
+++ b/php-malware-finder/malwares.yara
@@ -104,7 +104,7 @@ rule DodgyPhp
104{ 104{
105 strings: 105 strings:
106 $vars = /\$__+/ // $__ is rarely used in legitimate scripts 106 $vars = /\$__+/ // $__ is rarely used in legitimate scripts
107 $execution = /(eval|assert|passthru|exec|system|win_shell_execute|base64_decode)*?\s*\(\s*(base64_decode|php:\/\/input|str_rot13|gz(inflate|uncompress)|getenv|pack|\\?\$_(GET|REQUEST|POST))/ 107 $execution = /(eval|assert|passthru|exec|system|win_shell_execute|base64_decode)\s*\(\s*(base64_decode|php:\/\/input|str_rot13|gz(inflate|uncompress)|getenv|pack|\\?\$_(GET|REQUEST|POST))/
108 $basedir_bypass = /(curl_init\([\"']file:[\"']|file:file:\/\/)/ 108 $basedir_bypass = /(curl_init\([\"']file:[\"']|file:file:\/\/)/
109 $safemode_bypass = /\x00\/\.\.\/|LD_PRELOAD/ 109 $safemode_bypass = /\x00\/\.\.\/|LD_PRELOAD/
110 $shellshock = /putenv\(["']PHP_[^=]=\(\) { [^}] };/ 110 $shellshock = /putenv\(["']PHP_[^=]=\(\) { [^}] };/