Aller au contenu

YARA · BlackBerry Research & Intelligence (via Open-Source-YARA-rules)

BLACKBERRY_Mal_Win32_Onyx_Strain_Chaos_Ransomware_2022

Detects Onyx Ransomware build off of Chaos Builder v4

MalwareBlackBerry Research & Intelligence (via Open-Source-YARA-rules)Apache License 2.0Compile avec YARA-X
Auteur
BlackBerry Threat Research
Date
2022-05-10
Modifiée
2022-07-07
Score / Qualité
75 / 85

Ce que détecte cette règle

Detects Onyx Ransomware build off of Chaos Builder v4

Cibles : PE Windows.

Elle définit 3 motifs (3 texte, 0 hex, 0 regex). Modules YARA utilisés : pe.

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

Source de la règle

Inclut les imports nécessaires pour la compiler seule.

mal-win32-onyx-strain-chaos-ransomware-2022.yarApache License 2.0
import "pe"

rule BLACKBERRY_Mal_Win32_Onyx_Strain_Chaos_Ransomware_2022 : FILE
{
	meta:
		description = "Detects Onyx Ransomware build off of Chaos Builder v4"
		author = "BlackBerry Threat Research"
		id = "8c30c316-9fd3-5ad9-aea1-d93229cd9ca1"
		date = "2022-05-10"
		modified = "2022-07-07"
		reference = "https://blogs.blackberry.com/en/2022/05/yashma-ransomware-tracing-the-chaos-family-tree"
		source_url = "https://github.com/mikesxrs/Open-Source-YARA-rules/blob/ec0056f767db98bf6d5fd63877ad51fb54d350e9/Blackberry/Mal_Win32_Onyx_Strain_Chaos_Ransomware_2022.yar#L3-L28"
		license_url = "N/A"
		logic_hash = "2df2f36167710a4de4ff3fda8036472b1972b4175a0d14f8b06e0ad045eb5038"
		score = 75
		quality = 85
		tags = "FILE"
		license = "This Yara rule is provided under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0) and open to any user or organization, as long as you use it under this license and ensure originator credit in any derivative to The BlackBerry Research & Intelligence Team"

	strings:
		$s1 = "(?:[13]{1}[a-km-zA-HJ-NP-Z1-9]{26,33}|bc1[a-z0-9]{39,59})" wide
		$s2 = "All of your files are currently encrypted by ONYX strain." wide
		$s3 = "Inform your supervisors and stay calm!" wide

	condition:
		uint16( 0 ) == 0x5a4d and pe.data_directories [ pe.IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR ] . size != 0 and all of ( $s* )
}

Chaînes (3 motifs)

IdentifiantTypeValeurModificateurs
$s1texte"(?:[13]{1}[a-km-zA-HJ-NP-Z1-9]{26,33}|bc1[a-z0-9]{39,59})"wide
$s2texte"All of your files are currently encrypted by ONYX strain."wide
$s3texte"Inform your supervisors and stay calm!"wide

Condition

uint16( 0 ) == 0x5a4d and pe.data_directories [ pe.IMAGE_DIRECTORY_ENTRY_COM_DESCRIPTOR ] . size != 0 and all of ( $s* )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Tous les motifs de ( $s* ) doivent être trouvés.
  • Utilise le module pe.

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 : BlackBerry Threat Research

Dépôt source : BlackBerry Research & Intelligence (via Open-Source-YARA-rules) @ ec0056f767

Licence : Apache License 2.0 (indiquée dans les métadonnées de la règle)

“This Yara rule is provided under the Apache License 2.0 (https://www.apache.org/licenses/LICENSE-2.0) and open to any user or organization, as long as you use it under this license and ensure originator credit in any derivative to The BlackBerry Research & Intelligence Team”

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: 8c30c316-9fd3-5ad9-aea1-d93229cd9ca1

Tags:FILE