Aller au contenu

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_EXPL_Keepass_CVE_2023_24055_Jan23

Detects suspicious entries in the Keepass configuration file, which could be indicator of the exploitation of CVE-2023-24055

ExploitSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compile avec YARA-X
Auteur
Florian Roth (Nextron Systems)
Date
2023-01-25
Modifiée
2023-12-05
Score / Qualité
75 / 81

Ce que détecte cette règle

Detects suspicious entries in the Keepass configuration file, which could be indicator of the exploitation of CVE-2023-24055

Elle définit 6 motifs (6 texte, 0 hex, 0 regex).

Résumé généré à partir des métadonnées et de la condition de la règle.

Source de la règle

expl-keepass-cve-2023-24055-jan23.yarDetection Rule License 1.1
rule SIGNATURE_BASE_EXPL_Keepass_CVE_2023_24055_Jan23 : CVE_2023_24055 FILE
{
	meta:
		description = "Detects suspicious entries in the Keepass configuration file, which could be indicator of the exploitation of CVE-2023-24055"
		author = "Florian Roth (Nextron Systems)"
		id = "2c031919-da19-5fd0-b21a-2e83679ad1e3"
		date = "2023-01-25"
		modified = "2023-12-05"
		reference = "https://github.com/alt3kx/CVE-2023-24055_PoC"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/expl_keepass_cve_2023_24055.yar#L2-L20"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "3ca00f317838819bb7fb80c9d00d94db498e1d3ef146b9af2664dae09302a86d"
		score = 75
		quality = 81
		tags = "CVE-2023-24055, FILE"

	strings:
		$a1 = "<TriggerCollection xmlns:xsi=" ascii wide
		$x1 = "<Parameter>KeePass XML (2.x)</Parameter>"
		$x2 = "::ReadAllBytes("
		$x3 = " -Method "
		$x4 = " bypass "
		$x5 = "powershell" nocase ascii wide fullword

	condition:
		filesize < 200KB and $a1 and 1 of ( $x* )
}

Chaînes (6 motifs)

IdentifiantTypeValeurModificateurs
$a1texte"<TriggerCollection xmlns:xsi="ascii wide
$x1texte"<Parameter>KeePass XML (2.x)</Parameter>"
$x2texte"::ReadAllBytes("
$x3texte" -Method "
$x4texte" bypass "
$x5texte"powershell"nocase ascii wide fullword

Condition

filesize < 200KB and $a1 and 1 of ( $x* )

En clair (Heuristique)

  • Le fichier doit faire moins de 200KB (garde-fou peu coûteux qui écarte les gros fichiers).
  • Au moins 1 motifs de ( $x* ) doivent être trouvés.
  • Le motif $a1 doit être présent.

Tester cette règle dans votre navigateur

Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.

Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.

Ouvrir dans l’éditeur

Références

Licence et attribution

Auteur : Florian Roth (Nextron Systems)

Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence : Detection Rule License 1.1 (licence du dépôt)

Règle d’origine

Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.

Identifiant de règle: 2c031919-da19-5fd0-b21a-2e83679ad1e3

Tags:CVE_2023_24055FILE