summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien (jvoisin) Voisin2016-02-25 18:31:06 +0100
committerJulien (jvoisin) Voisin2016-02-25 18:31:06 +0100
commit7c845c3352aea9a66d4da2b23c341e06b0e52599 (patch)
tree8112db67679cd27b7b12da9391d0214d0826e9a5
parent477a1ee9253ca1ad031bcd921207a85861bc651b (diff)
Misc additions
-rw-r--r--php-malware-finder/malwares.yara13
1 files changed, 7 insertions, 6 deletions
diff --git a/php-malware-finder/malwares.yara b/php-malware-finder/malwares.yara
index 64c327b..fc78c31 100644
--- a/php-malware-finder/malwares.yara
+++ b/php-malware-finder/malwares.yara
@@ -84,11 +84,12 @@ private rule base64
84private rule hex 84private rule hex
85{ 85{
86 strings: 86 strings:
87 $eval = "\\x65\\x76\\x61\\x6C\\x28" nocase 87 $globals = "\\x47\\x4c\\x4f\\x42\\x41\\x4c\\x53" nocase
88 $exec = "\\x65\\x78\\x65\\x63" nocase 88 $eval = "\\x65\\x76\\x61\\x6C\\x28" nocase
89 $system = "\\x73\\x79\\x73\\x74\\x65\\x6d" nocase 89 $exec = "\\x65\\x78\\x65\\x63" nocase
90 $preg_replace = "\\x70\\x72\\x65\\x67\\x5f\\x72\\x65\\x70\\x6c\\x61\\x63\\x65" nocase 90 $system = "\\x73\\x79\\x73\\x74\\x65\\x6d" nocase
91 $http_user_agent = "\\x48\\124\\x54\\120\\x5f\\125\\x53\\105\\x52\\137\\x41\\107\\x45\\116\\x54" nocase 91 $preg_replace = "\\x70\\x72\\x65\\x67\\x5f\\x72\\x65\\x70\\x6c\\x61\\x63\\x65" nocase
92 $http_user_agent = "\\x48\\124\\x54\\120\\x5f\\125\\x53\\105\\x52\\137\\x41\\107\\x45\\116\\x54" nocase
92 93
93 condition: 94 condition:
94 any of them 95 any of them
@@ -201,7 +202,7 @@ rule DodgyStrings
201 $ = "WinExec" 202 $ = "WinExec"
202 $ = "b374k" fullword nocase 203 $ = "b374k" fullword nocase
203 $ = "backdoor" fullword nocase 204 $ = "backdoor" fullword nocase
204 $ = "c99shell" fullword nocase 205 $ = /(c99|r57|fx29)shell/
205 $ = "cmd.exe" fullword nocase 206 $ = "cmd.exe" fullword nocase
206 $ = "defaced" fullword nocase 207 $ = "defaced" fullword nocase
207 $ = "evilc0ders" fullword nocase 208 $ = "evilc0ders" fullword nocase