Aller au contenu

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_MAL_RANSOM_Gentlemen_Jun26_1

Detects The Gentlemen ransomware Windows locker (Storm-2697), a self-propagating Go-based encryptor

MalwareSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compile avec YARA-X
Auteur
Aryu-RU
Date
2026-06-16
Score / Qualité
80 / 85

Ce que détecte cette règle

Detects The Gentlemen ransomware Windows locker (Storm-2697), a self-propagating Go-based encryptor

Cibles : PE Windows.

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

mal-ransom-gentlemen-jun26-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_MAL_RANSOM_Gentlemen_Jun26_1 : FILE
{
	meta:
		description = "Detects The Gentlemen ransomware Windows locker (Storm-2697), a self-propagating Go-based encryptor"
		author = "Aryu-RU"
		id = "e93ade6d-c558-426c-b8b5-c6034baf6693"
		date = "2026-06-16"
		modified = "2026-06-16"
		reference = "https://www.microsoft.com/en-us/security/blog/2026/05/28/the-gentlemen-ransomware-dissecting-a-self-propagating-go-encryptor/"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_ransom_gentlemen.yar#L2-L26"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		hash = "22b38dad7da097ea03aa28d0614164cd25fafeb1383dbc15047e34c8050f6f67"
		hash = "f918535f974591ef031bd0f30a8171e3da27a6754e6426a8ba095f83195661c8"
		logic_hash = "0821108fe45c60138cdfb5f79278b7f15c650dad7d94ba8abc559439a49f2c51"
		score = 80
		quality = 85
		tags = "FILE"

	strings:
		$x1 = "README-GENTLEMEN.txt" ascii
		$x2 = "gentlemen.bmp" ascii
		$x3 = "gentlemen_system" ascii
		$s1 = "[+] Encryption started" ascii
		$s2 = "Encrypt only mapped" ascii
		$s3 = "Silent mode" ascii

	condition:
		uint16( 0 ) == 0x5A4D and filesize < 30MB and ( 2 of ( $x* ) or ( 1 of ( $x* ) and 2 of ( $s* ) ) )
}

Chaînes (6 motifs)

IdentifiantTypeValeurModificateurs
$x1texte"README-GENTLEMEN.txt"ascii
$x2texte"gentlemen.bmp"ascii
$x3texte"gentlemen_system"ascii
$s1texte"[+] Encryption started"ascii
$s2texte"Encrypt only mapped"ascii
$s3texte"Silent mode"ascii

Condition

uint16( 0 ) == 0x5A4D and filesize < 30MB and ( 2 of ( $x* ) or ( 1 of ( $x* ) and 2 of ( $s* ) ) )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Le fichier doit faire moins de 30MB (garde-fou peu coûteux qui écarte les gros fichiers).
  • Au moins 2 motifs de ( $x* ) doivent être trouvés.
  • Au moins 1 motifs de ( $x* ) doivent être trouvés.
  • Au moins 2 motifs de ( $s* ) doivent être trouvés.

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

Hashes d’échantillons

Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).

  • 22b38dad7da097ea03aa28d0614164cd25fafeb1383dbc15047e34c8050f6f67
  • f918535f974591ef031bd0f30a8171e3da27a6754e6426a8ba095f83195661c8

Licence et attribution

Auteur : Aryu-RU

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: e93ade6d-c558-426c-b8b5-c6034baf6693

Tags:FILE