diff options
| author | jvoisin | 2015-07-28 17:42:17 +0200 |
|---|---|---|
| committer | Mathieu Deous | 2015-10-29 14:54:45 +0100 |
| commit | 159caaf4c8d84adc103a51ba1be320811b68d550 (patch) | |
| tree | f3b77980e433bbb2896e5786a806bd65d05de2e1 | |
| parent | ce0439f3181e3014451c7bb04afa7ecc4a31a3dd (diff) | |
Add `pack` to the list
| -rw-r--r-- | malwares.yara | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/malwares.yara b/malwares.yara index c901d06..0f4a95f 100644 --- a/malwares.yara +++ b/malwares.yara | |||
| @@ -101,7 +101,7 @@ rule DodgyPhp | |||
| 101 | { | 101 | { |
| 102 | strings: | 102 | strings: |
| 103 | $vars = /\$___+/ // $__ is rarely used in legitimate scripts | 103 | $vars = /\$___+/ // $__ is rarely used in legitimate scripts |
| 104 | $execution = /(eval|assert|passthru|exec|system|win_shell_execute) *\((base64_decode|php:\/\/input|str_rot13|gz(inflate|uncompress)|getenv|\\?\$_(GET|REQUEST|POST))/ | 104 | $execution = /(eval|assert|passthru|exec|system|win_shell_execute) *\( *(base64_decode|php:\/\/input|str_rot13|gz(inflate|uncompress)|getenv|pack|\\?\$_(GET|REQUEST|POST))/ |
| 105 | $double_encoding = /(base64_decode\s*\(\s*){2}/ | 105 | $double_encoding = /(base64_decode\s*\(\s*){2}/ |
| 106 | $basedir_bypass = /(curl_init\([\"']file:[\"']|file:file:\/\/)/ | 106 | $basedir_bypass = /(curl_init\([\"']file:[\"']|file:file:\/\/)/ |
| 107 | $safemode_bypass = /\x00\/\.\.\/|LD_PRELOAD/ | 107 | $safemode_bypass = /\x00\/\.\.\/|LD_PRELOAD/ |
