WebShell_5786d7d9f4b0df731d79ed927fb5a124195fc901
Description
Detects a web shell
Query · yara
strings:
$s1 = "preg_replace(\"\\x2F\\x2E\\x2A\\x2F\\x65\",\"\\x65\\x76\\x61\\x6C\\x28\\x67\\x7A\\x69\\x6E\\x66\\x6C\\x61\\x74\\x65\\x28\\x62\\x" ascii
$s2 = "input[type=text], input[type=password]{" fullword ascii
condition:
( uint16(0) == 0x6c3c and filesize < 80KB and all of them )