WEBSHELL_APT_PHP_DEWMODE_UNC2546_Feb21_1
Description
Detects DEWMODE webshells
Query · yara
strings:
$x1 = "<font size=4>Cleanup Shell</font></a>';" ascii fullword
$x2 = "$(sh /tmp/.scr)"
$x3 = "@system('sudo /usr/local/bin/admin.pl --mount_cifs=" ascii
$s1 = "target=\\\"_blank\\\">Download</a></td>\";" ascii
$s2 = ",PASSWORD 1>/dev/null 2>/dev/null');" ascii
$s3 = ",base64_decode('" ascii
$s4 = "include \"remote.inc\";" ascii
$s5 = "@system('sudo /usr/local" ascii
condition:
uint16(0) == 0x3f3c and
filesize < 9KB and
( 1 of ($x*) or 2 of them ) or 3 of them