YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_HKTL_EXPL_POC_NET_Sharepoint_CVE_2023_29357_Sep23_1
Detects a C# POC to exploit CVE-2023-29357 on Microsoft SharePoint servers
- Autor
- Florian Roth
- Fecha
- 2023-10-01
- Modificada
- 2023-12-05
- Puntuación / Calidad
- 80 / 85
Qué detecta esta regla
Detects a C# POC to exploit CVE-2023-29357 on Microsoft SharePoint servers
Objetivos: PE de Windows.
Define 8 patrones (8 de texto, 0 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule SIGNATURE_BASE_HKTL_EXPL_POC_NET_Sharepoint_CVE_2023_29357_Sep23_1 : CVE_2023_29357 FILE
{
meta:
= "Detects a C# POC to exploit CVE-2023-29357 on Microsoft SharePoint servers"
= "Florian Roth"
= "aa6aeb00-b162-538c-a670-cbff525dd8f1"
= "2023-10-01"
= "2023-12-05"
= "https://github.com/LuemmelSec/CVE-2023-29357"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_sharepoint_cve_2023_29357.yar#L37-L62"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "cf621cc9c5074f531df61623b09db68478e94ae6a9a7acc26aa8d9dde79bd30c"
= 80
= 85
= "CVE-2023-29357, FILE"
strings:
$x1 = "{f22d2de0-606b-4d16-98d5-421f3f1ba8bc}" ascii wide
$x2 = "{F22D2DE0-606B-4D16-98D5-421F3F1BA8BC}" ascii wide
$s1 = "Bearer"
$s2 = "hashedprooftoken"
$s3 = "/_api/web/"
$s4 = "X-PROOF_TOKEN"
$s5 = "00000003-0000-0ff1-ce00-000000000000"
$s6 = "IsSiteAdmin"
condition:
uint16( 0 ) == 0x5a4d and filesize < 800KB and ( 1 of ( $x* ) or all of ( $s* ) )
}
Cadenas (8 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | texto | "{f22d2de0-606b-4d16-98d5-421f3f1ba8bc}" | ascii wide |
| $x2 | texto | "{F22D2DE0-606B-4D16-98D5-421F3F1BA8BC}" | ascii wide |
| $s1 | texto | "Bearer" | |
| $s2 | texto | "hashedprooftoken" | |
| $s3 | texto | "/_api/web/" | |
| $s4 | texto | "X-PROOF_TOKEN" | |
| $s5 | texto | "00000003-0000-0ff1-ce00-000000000000" | |
| $s6 | texto | "IsSiteAdmin" |
Condición
uint16( 0 ) == 0x5a4d and filesize < 800KB and ( 1 of ( $x* ) or all of ( $s* ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- El archivo debe ocupar menos de 800KB (un límite barato que descarta archivos grandes).
- Deben coincidir todos los patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $x* ).
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Referencias
Licencia y atribución
Autor: Florian Roth
Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licencia: Detection Rule License 1.1 (licencia del repositorio)
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: aa6aeb00-b162-538c-a670-cbff525dd8f1
Etiquetas:CVE_2023_29357FILE
Reglas relacionadas
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-10-01
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-06-08
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Florian Roth· 2026-05-05
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Florian Roth· 2025-09-30
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Florian Roth· 2025-05-22
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Florian Roth· 2022-08-17
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Florian Roth· 2025-10-26
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-04-15