WEBSHELL_Compiled_Webshell_Mar2021_1
Description
Triggers on temporary pe files containing strings commonly used in webshells.
Query · yara
strings:
$x1 = /App_Web_[a-zA-Z0-9]{7,8}.dll/ ascii wide fullword
$a1 = "~/aspnet_client/" ascii wide nocase
$a2 = "~/auth/" ascii wide nocase
$b1 = "JScriptEvaluate" ascii wide fullword
$c1 = "get_Request" ascii wide fullword
$c2 = "get_Files" ascii wide fullword
$c3 = "get_Count" ascii wide fullword
$c4 = "get_Item" ascii wide fullword
$c5 = "get_Server" ascii wide fullword
condition:
uint16(0) == 0x5a4d and filesize > 5KB and filesize < 40KB and all of ($x*) and 1 of ($a*) and ( all of ($b*) or all of ($c*) )