Zum Inhalt springen

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

ExploitSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Kompiliert mit YARA-X
Autor
Florian Roth
Datum
2023-07-24
Geändert
2023-12-05
Score / Qualität
70 / 85

Was diese Regel erkennt

Detects forensic artifacts found after an exploitation of Citrix NetScaler ADC CVE-2023-3519

Sie definiert 7 Muster (7 Text, 0 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

expl-citrix-netscaler-adc-forensicartifacts-cve-2023-3519-jul23-3.yarDetection Rule License 1.1
rule SIGNATURE_BASE_EXPL_Citrix_Netscaler_ADC_Forensicartifacts_CVE_2023_3519_Jul23_3 : CVE_2023_3519 FILE
{
	meta:
		description = "Detects forensic artifacts found after an exploitation of Citrix NetScaler ADC CVE-2023-3519"
		author = "Florian Roth"
		id = "2f40b423-f1da-5711-ac4f-18de77cd52d0"
		date = "2023-07-24"
		modified = "2023-12-05"
		reference = "https://www.mandiant.com/resources/blog/citrix-zero-day-espionage"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_citrix_netscaler_adc_exploitation_cve_2023_3519.yar#L43-L61"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "e78e1a788503b841ed0f4e5cd415eb35d8911092778120d7fd061ed20820da37"
		score = 70
		quality = 85
		tags = "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
}

Strings (7 Muster)

BezeichnerTypWertModifikatoren
$x1Text"cat /flash/nsconfig/ns.conf >>"ascii
$x2Text"cat /nsconfig/.F1.key >>"ascii
$x3Text"openssl base64 -d < /tmp/"ascii
$x4Text"cp /usr/bin/bash /var/tmp/bash"ascii
$x5Text"chmod 4775 /var/tmp/bash"
$x6Text"pwd;pwd;pwd;pwd;pwd;"
$x7Text"(&(servicePrincipalName=*)(UserAccountControl:1.2.840.113556.1.4.803:=512)(!(UserAccountControl:1.2.840.113556.1.4.803:=2))(!(objectCategory=computer)))"

Bedingung

filesize < 10MB and 1 of them

In Worten (Heuristik)

  • Die Datei muss kleiner als 10MB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Mindestens 1 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.

Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.

Im Editor öffnen

Referenzen

Lizenz & Namensnennung

Autor: Florian Roth

Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Lizenz: Detection Rule License 1.1 (Repository-Lizenz)

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: 2f40b423-f1da-5711-ac4f-18de77cd52d0

Tags:CVE_2023_3519FILE