YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_EXPL_Citrix_Netscaler_ADC_Forensicartifacts_CVE_2023_3519_Jul23_3
Detects forensic artifacts found after an exploitation of Citrix NetScaler ADC CVE-2023-3519
- Autor
- Florian Roth
- Fecha
- 2023-07-24
- Modificada
- 2023-12-05
- Puntuación / Calidad
- 70 / 85
Qué detecta esta regla
Detects forensic artifacts found after an exploitation of Citrix NetScaler ADC CVE-2023-3519
Define 7 patrones (7 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_EXPL_Citrix_Netscaler_ADC_Forensicartifacts_CVE_2023_3519_Jul23_3 : CVE_2023_3519 FILE
{
meta:
= "Detects forensic artifacts found after an exploitation of Citrix NetScaler ADC CVE-2023-3519"
= "Florian Roth"
= "2f40b423-f1da-5711-ac4f-18de77cd52d0"
= "2023-07-24"
= "2023-12-05"
= "https://www.mandiant.com/resources/blog/citrix-zero-day-espionage"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_citrix_netscaler_adc_exploitation_cve_2023_3519.yar#L43-L61"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "e78e1a788503b841ed0f4e5cd415eb35d8911092778120d7fd061ed20820da37"
= 70
= 85
= "CVE-2023-3519, FILE"
strings:
$x1 = "cat /flash/nsconfig/ns.conf >>" ascii
$x2 = "cat /nsconfig/.F1.key >>" ascii
$x3 = "openssl base64 -d < /tmp/" ascii
$x4 = "cp /usr/bin/bash /var/tmp/bash" ascii
$x5 = "chmod 4775 /var/tmp/bash"
$x6 = "pwd;pwd;pwd;pwd;pwd;"
$x7 = "(&(servicePrincipalName=*)(UserAccountControl:1.2.840.113556.1.4.803:=512)(!(UserAccountControl:1.2.840.113556.1.4.803:=2))(!(objectCategory=computer)))"
condition:
filesize < 10MB and 1 of them
}
Cadenas (7 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | texto | "cat /flash/nsconfig/ns.conf >>" | ascii |
| $x2 | texto | "cat /nsconfig/.F1.key >>" | ascii |
| $x3 | texto | "openssl base64 -d < /tmp/" | ascii |
| $x4 | texto | "cp /usr/bin/bash /var/tmp/bash" | ascii |
| $x5 | texto | "chmod 4775 /var/tmp/bash" | |
| $x6 | texto | "pwd;pwd;pwd;pwd;pwd;" | |
| $x7 | texto | "(&(servicePrincipalName=*)(UserAccountControl:1.2.840.113556.1.4.803:=512)(!(UserAccountControl:1.2.840.113556.1.4.803:=2))(!(objectCategory=computer)))" |
Condición
filesize < 10MB and 1 of themEn palabras sencillas (Heurística)
- El archivo debe ocupar menos de 10MB (un límite barato que descarta archivos grandes).
- Deben coincidir al menos 1 patrones de la regla.
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
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: 2f40b423-f1da-5711-ac4f-18de77cd52d0
Etiquetas:CVE_2023_3519FILE
Reglas relacionadas
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-07-21
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-07-27
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-03-30
- WebshellSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-07-24
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-03-30
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2026-05-08
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2025-10-25
- ExploitSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-03-30