Unknown_8af033424f9590a15472a23cc3236e68070b952e
Description
Detects a web shell
Query · yara
strings:
$s1 = "$check = $_SERVER['DOCUMENT_ROOT']" fullword ascii
$s2 = "$fp=fopen(\"$check\",\"w+\");" fullword ascii
$s3 = "fwrite($fp,base64_decode('" ascii
condition:
( uint16(0) == 0x6324 and filesize < 6KB and ( all of ($s*) ) ) or ( all of them )