From a16357a56653edc2aa0dc769a3df0bb4268dab94 Mon Sep 17 00:00:00 2001 From: Julien (jvoisin) Voisin Date: Wed, 11 May 2016 13:08:47 +0200 Subject: Fix some false-positive --- php-malware-finder/php.yar | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php-malware-finder/php.yar b/php-malware-finder/php.yar index 06e1827..2dc20e1 100644 --- a/php-malware-finder/php.yar +++ b/php-malware-finder/php.yar @@ -47,7 +47,7 @@ private rule CloudFlareBypass rule ObfuscatedPhp { strings: - $eval = /(<\?php|[;{}])\s*@?(eval|preg_replace|system|assert|passthru|(pcntl_)?exec|win_shell_execute|call_user_func(_array)?)\s*\(/ nocase // ;eval( <- this is dodgy + $eval = /(<\?php|[;{}])[ \t]*@?(eval|preg_replace|system|assert|passthru|(pcntl_)?exec|win_shell_execute|call_user_func(_array)?)\s*\(/ nocase // ;eval( <- this is dodgy $b374k = "'ev'.'al'" $align = /(\$\w+=[^;]*)*;\$\w+=@?\$\w+\(/ //b374k $weevely3 = /\$\w=\$[a-zA-Z]\('',\$\w\);\$\w\(\);/ // weevely3 launcher -- cgit v1.3