webshell_e8eaf8da94012e866e51547cd63bb996379690bf
Description
Detects a web shell
Query · yara
strings:
$x1 = "@exec('./bypass/ln -s /etc/passwd 1.php');" fullword ascii
$x2 = "echo \"<iframe src=mysqldumper/index.php width=100% height=100% frameborder=0></iframe> \";" fullword ascii
$x3 = "@exec('tar -xvf mysqldumper.tar.gz');" fullword ascii
condition:
( uint16(0) == 0x213c and filesize < 100KB and 1 of ($x*) ) or ( 2 of them )