YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_WEBSHELL_ASPX_Compiled_Sharepoint_Drop_CVE_2025_53770_Jul25_2
Detects compiled ASPX web shell dropped during the exploitation of SharePoint RCE vulnerability CVE-2025-53770
- Autor
- Florian Roth, Marius Benthin
- Datum
- 2025-07-20
- Geändert
- 2025-07-25
- Score / Qualität
- 75 / 83
Was diese Regel erkennt
Detects compiled ASPX web shell dropped during the exploitation of SharePoint RCE vulnerability CVE-2025-53770
Ziele: Windows-PE.
Sie definiert 7 Muster (3 Text, 0 Hex, 4 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule SIGNATURE_BASE_WEBSHELL_ASPX_Compiled_Sharepoint_Drop_CVE_2025_53770_Jul25_2 : CVE_2025_53770 FILE
{
meta:
= "Detects compiled ASPX web shell dropped during the exploitation of SharePoint RCE vulnerability CVE-2025-53770"
= "Florian Roth, Marius Benthin"
= "00a844ab-aede-53bf-820f-d43a5d96426d"
= "2025-07-20"
= "2025-07-25"
= "https://research.eye.security/sharepoint-under-siege/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_sharepoint_jul25.yar#L23-L53"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "8d3d3f3a17d233bc8562765e61f7314ca7a08130ac0fb153ffd091612920b0f2"
= "d8ca5e5d6400ac34ac4cc138efa89d2ec4d5c0e968a78fa3ba5dbc04c7550649"
= "7e9b77da1f51d03ee2f96bc976f6aeb781f801cf633862a4b8c356cbb555927d"
= "df11e5bd293cf094f3a147b54ecaafbe0804d7d575fcc22f38e77ab155c7ebdc"
= 75
= 83
= "CVE-2025-53770, FILE"
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
}
Strings (7 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $x1 | Regex | /App_Web_spinstall\d{0,1}.aspx/ | wide |
| $x2 | Regex | /spinstall[\w]?[\._]aspx/ | ascii |
| $x3 | Regex | /\/_layouts\/1[0-9]\/spinstall/ | wide |
| $x4 | Regex | /\/_layouts\/1[0-9]\/ghostfile/ | wide |
| $s1 | Text | "System.Web.Configuration.MachineKeySection" | wide |
| $s2 | Text | "Page_load" | ascii fullword |
| $s3 | Text | "GetApplicationConfig" | wide fullword |
Bedingung
uint16( 0 ) == 0x5a4d and filesize < 20KB and ( 1 of ( $x* ) or all of ( $s* ) ) or 2 of ( $x* ) or 4 of themIn Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Die Datei muss kleiner als 20KB sein (eine günstige Grenze, die große Dateien ausschließt).
- Alle Muster aus ( $s* ) müssen treffen.
- Mindestens 1 Muster aus ( $x* ) müssen treffen.
- Mindestens 2 Muster aus ( $x* ) müssen treffen.
- Mindestens 4 Muster aus der Regel müssen treffen.
Diese Regel im Browser testen
Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.
Proben-Hashes
Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).
- 8d3d3f3a17d233bc8562765e61f7314ca7a08130ac0fb153ffd091612920b0f2
- d8ca5e5d6400ac34ac4cc138efa89d2ec4d5c0e968a78fa3ba5dbc04c7550649
- 7e9b77da1f51d03ee2f96bc976f6aeb781f801cf633862a4b8c356cbb555927d
Lizenz & Namensnennung
Autor: Florian Roth, Marius Benthin
Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Lizenz: Detection Rule License 1.1 (Repository-Lizenz)
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: 00a844ab-aede-53bf-820f-d43a5d96426d
Tags:CVE_2025_53770FILE
Verwandte Regeln
- WebshellSignature Base (Florian Roth / Nextron)· Florian Roth· 2025-07-20