Aller au contenu

YARA · Cod3nym detection-rules

COD3NYM_MAL_NET_Limecrypter_Runpe_Jan24

Detects LimeCrypter RunPE module. LimeCrypter is an open source .NET based crypter and loader commonly used by threat actors

MalwareCod3nym detection-rulesDetection Rule License 1.1Compile avec YARA-X
Auteur
Jonathan Peters
Date
2024-01-16
Score / Qualité
80 / 80

Ce que détecte cette règle

Detects LimeCrypter RunPE module. LimeCrypter is an open source .NET based crypter and loader commonly used by threat actors

Cibles : PE Windows.

Elle définit 6 motifs (2 texte, 4 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-net-limecrypter-runpe-jan24.yarDetection Rule License 1.1
rule COD3NYM_MAL_NET_Limecrypter_Runpe_Jan24 : FILE
{
	meta:
		description = "Detects LimeCrypter RunPE module. LimeCrypter is an open source .NET based crypter and loader commonly used by threat actors"
		author = "Jonathan Peters"
		id = "06ecd638-0102-5762-b363-fdc390dda04b"
		date = "2024-01-16"
		modified = "2024-01-16"
		reference = "https://github.com/NYAN-x-CAT/Lime-Crypter/tree/master"
		source_url = "https://github.com/cod3nym/detection-rules//blob/86a04c4594cb48895192aad4af164f21f568c136/yara/dotnet/mal/mal_net_limecrypter_runpe.yar#L1-L22"
		license_url = "https://github.com/cod3nym/detection-rules//blob/86a04c4594cb48895192aad4af164f21f568c136/LICENSE.md"
		hash = "bcc8c679acfc3aabf22ebdb2349b1fabd351a89fd23a716d85154049d352dd12"
		logic_hash = "b01a68c60d62cf94ef16340316acb9b96d1e671c372559b86a8e6a5d8e80f7d9"
		score = 80
		quality = 80
		tags = "FILE"

	strings:
		$op1 = { 1F 1A 58 1F 1A 58 28 }
		$op2 = { 20 B3 00 00 00 8D ?? 00 00 01 13 ?? 11 ?? 16 20 02 00 01 00 }
		$op3 = { 11 0? 11 0? 20 00 30 00 00 1F 40 28 ?? 00 00 06 }
		$op4 = { 6E 20 FF 7F 00 00 6A FE 02 }
		$s1 = "RawSecurityDescriptor" ascii
		$s2 = "CommonAce" ascii

	condition:
		uint16( 0 ) == 0x5a4d and all of ( $s* ) and 2 of ( $op* )
}

Chaînes (6 motifs)

IdentifiantTypeValeurModificateurs
$op1hex{ 1F 1A 58 1F 1A 58 28 }
$op2hex{ 20 B3 00 00 00 8D ?? 00 00 01 13 ?? 11 ?? 16 20 02 00 01 00 }
$op3hex{ 11 0? 11 0? 20 00 30 00 00 1F 40 28 ?? 00 00 06 }
$op4hex{ 6E 20 FF 7F 00 00 6A FE 02 }
$s1texte"RawSecurityDescriptor"ascii
$s2texte"CommonAce"ascii

Condition

uint16( 0 ) == 0x5a4d and all of ( $s* ) and 2 of ( $op* )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Tous les motifs de ( $s* ) doivent être trouvés.
  • Au moins 2 motifs de ( $op* ) 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).

  • bcc8c679acfc3aabf22ebdb2349b1fabd351a89fd23a716d85154049d352dd12

Licence et attribution

Auteur : Jonathan Peters

Dépôt source : Cod3nym detection-rules @ 86a04c4594

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: 06ecd638-0102-5762-b363-fdc390dda04b

Tags:FILE