WEBSHELL_ASPX_Compiled_Sharepoint_Drop_CVE_2025_53770_Jul25_2
Description
Detects compiled ASPX web shell dropped during the exploitation of SharePoint RCE vulnerability CVE-2025-53770
Query · yara
strings:
$x1 = /App_Web_spinstall\d{0,1}.aspx/ wide
$x2 = /spinstall[\w]?[\._]aspx/ ascii
$x3 = /\/_layouts\/1[0-9]\/spinstall/ wide
$x4 = /\/_layouts\/1[0-9]\/ghostfile/ wide
$s1 = "System.Web.Configuration.MachineKeySection" wide
$s2 = "Page_load" ascii fullword
$s3 = "GetApplicationConfig" wide fullword
condition:
uint16(0) == 0x5a4d
and filesize < 20KB
and (
1 of ($x*)
or all of ($s*)
)
or 2 of ($x*)
or 4 of them