Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Snatch

Detects Snatch / GoRansome / MauriGo ransomware

MalwareSnatchditekSHen detectionBSD 2-Clause LicenseCompile avec YARA-X
Auteur
ditekSHen
Date
2020-11-06
Modifiée
2024-11-01
Score / Qualité
75 / 73

Ce que détecte cette règle

Detects Snatch / GoRansome / MauriGo ransomware

Famille de malware associée : Snatch.

Cibles : PE Windows.

Elle définit 22 motifs (22 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

malware-win-snatch.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Snatch : FILE
{
	meta:
		description = "Detects Snatch / GoRansome / MauriGo ransomware"
		author = "ditekSHen"
		id = "00dce673-b909-571f-8117-c5d4ce73fb31"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L5062-L5091"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "bf8c33a7203458c80a43944c3117bb897b1702f0024271904d9be682cbd695fc"
		score = 75
		quality = 73
		tags = "FILE"

	strings:
		$s1 = "main.encryptFile" ascii
		$s2 = "main.encryptFileExt" ascii
		$s3 = "main.deleteShadowCopy" ascii
		$s4 = "main.Shadow" fullword ascii
		$s5 = "main.RecoverMe" fullword ascii
		$s6 = "main.EncryptWithPublicKey" ascii
		$s7 = "main.EncoderLookupDir" fullword ascii
		$s8 = "main.ALIGNUP" fullword ascii
		$s9 = "main.encrypt" fullword ascii
		$s10 = "github.com/mauri870/ransomware" ascii
		$m1 = "Dear You, ALl Your files On YOUR network computers are encrypted" ascii
		$m2 = "You have to pay the ransom of %s USD in bitcoins to the address" ascii
		$m3 = "REMEMBER YOU FILES ARE IN SAVE HANDS AND WILL BE RESTORED OR RECOVERED ONCE PAYMENT IS DONE" ascii
		$m4 = ":HELP FEEED A CHILD:" ascii
		$m5 = ">SYSTEM NETWORK ENCRYPTED<" ascii
		$m6 = "YOUR IDENTIFICATION : %s" ascii
		$m7 = "convince you of our honesty" ascii
		$m8 = "use TOR browser to talk with support" ascii
		$m9 = "encrypted and attackers are taking" ascii
		$p1 = "/Go/src/kitty/kidrives/" ascii
		$p2 = "/LGoGo/encoder.go" ascii nocase
		$p3 = "/Go/src/kitty/kidata/" ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 3 of ( $s* ) or 2 of ( $m* ) or ( 1 of ( $m* ) and 1 of ( $s* ) ) or ( all of ( $p* ) and ( 1 of ( $s* ) or 1 of ( $m* ) ) ) )
}

Chaînes (22 motifs)

IdentifiantTypeValeurModificateurs
$s1texte"main.encryptFile"ascii
$s2texte"main.encryptFileExt"ascii
$s3texte"main.deleteShadowCopy"ascii
$s4texte"main.Shadow"fullword ascii
$s5texte"main.RecoverMe"fullword ascii
$s6texte"main.EncryptWithPublicKey"ascii
$s7texte"main.EncoderLookupDir"fullword ascii
$s8texte"main.ALIGNUP"fullword ascii
$s9texte"main.encrypt"fullword ascii
$s10texte"github.com/mauri870/ransomware"ascii
$m1texte"Dear You, ALl Your files On YOUR network computers are encrypted"ascii
$m2texte"You have to pay the ransom of %s USD in bitcoins to the address"ascii
$m3texte"REMEMBER YOU FILES ARE IN SAVE HANDS AND WILL BE RESTORED OR RECOVERED ONCE PAYMENT IS DONE"ascii
$m4texte":HELP FEEED A CHILD:"ascii
$m5texte">SYSTEM NETWORK ENCRYPTED<"ascii
$m6texte"YOUR IDENTIFICATION : %s"ascii
$m7texte"convince you of our honesty"ascii
$m8texte"use TOR browser to talk with support"ascii
$m9texte"encrypted and attackers are taking"ascii
$p1texte"/Go/src/kitty/kidrives/"ascii
$p2texte"/LGoGo/encoder.go"ascii nocase
$p3texte"/Go/src/kitty/kidata/"ascii

Condition

uint16( 0 ) == 0x5a4d and ( 3 of ( $s* ) or 2 of ( $m* ) or ( 1 of ( $m* ) and 1 of ( $s* ) ) or ( all of ( $p* ) and ( 1 of ( $s* ) or 1 of ( $m* ) ) ) )

En clair (Heuristique)

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

Licence et attribution

Auteur : ditekSHen

Dépôt source : ditekSHen detection @ e76c93dcde

Licence : BSD 2-Clause License (licence du dépôt)

Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

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: 00dce673-b909-571f-8117-c5d4ce73fb31

Tags:FILE