summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--php-malware-finder/malwares.yara5
1 files changed, 3 insertions, 2 deletions
diff --git a/php-malware-finder/malwares.yara b/php-malware-finder/malwares.yara
index fc78c31..a326ef3 100644
--- a/php-malware-finder/malwares.yara
+++ b/php-malware-finder/malwares.yara
@@ -63,8 +63,9 @@ rule ObfuscatedPhp
63 $weevely3 = /\$\w=\$[a-zA-Z]\('',\$\w\);\$\w\(\);/ // weevely3 launcher 63 $weevely3 = /\$\w=\$[a-zA-Z]\('',\$\w\);\$\w\(\);/ // weevely3 launcher
64 $c99_launcher = /;\$\w+\(\$\w+(,\s?\$\w+)+\);/ // http://bartblaze.blogspot.fr/2015/03/c99shell-not-dead.html 64 $c99_launcher = /;\$\w+\(\$\w+(,\s?\$\w+)+\);/ // http://bartblaze.blogspot.fr/2015/03/c99shell-not-dead.html
65 $variable_variable = /\${\$[0-9a-zA-z]+}/ 65 $variable_variable = /\${\$[0-9a-zA-z]+}/
66 $too_many_chr = /(chr\([\d]+\)\.){2,}?/ 66 $too_many_chr = /(chr\([\d]+\)\.){2,}?/ // concatenation of more than two `chr()`
67 $concat = /(\$[^\n\r]+\.){5,}?/ 67 $concat = /(\$[^\n\r]+\.){5,}?/ // concatenation of more than 5 words
68 $gif = /^GIF89/
68condition: 69condition:
69 any of them and not IsWhitelisted 70 any of them and not IsWhitelisted
70} 71}