Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Snatch

Detects Snatch / GoRansome / MauriGo ransomware

MalwareSnatchditekSHen detectionBSD 2-Clause LicenseKompiliert mit YARA-X
Autor
ditekSHen
Datum
2020-11-06
Geändert
2024-11-01
Score / Qualität
75 / 73

Was diese Regel erkennt

Detects Snatch / GoRansome / MauriGo ransomware

Zugehörige Malware-Familie: Snatch.

Ziele: Windows-PE.

Sie definiert 22 Muster (22 Text, 0 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

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* ) ) ) )
}

Strings (22 Muster)

BezeichnerTypWertModifikatoren
$s1Text"main.encryptFile"ascii
$s2Text"main.encryptFileExt"ascii
$s3Text"main.deleteShadowCopy"ascii
$s4Text"main.Shadow"fullword ascii
$s5Text"main.RecoverMe"fullword ascii
$s6Text"main.EncryptWithPublicKey"ascii
$s7Text"main.EncoderLookupDir"fullword ascii
$s8Text"main.ALIGNUP"fullword ascii
$s9Text"main.encrypt"fullword ascii
$s10Text"github.com/mauri870/ransomware"ascii
$m1Text"Dear You, ALl Your files On YOUR network computers are encrypted"ascii
$m2Text"You have to pay the ransom of %s USD in bitcoins to the address"ascii
$m3Text"REMEMBER YOU FILES ARE IN SAVE HANDS AND WILL BE RESTORED OR RECOVERED ONCE PAYMENT IS DONE"ascii
$m4Text":HELP FEEED A CHILD:"ascii
$m5Text">SYSTEM NETWORK ENCRYPTED<"ascii
$m6Text"YOUR IDENTIFICATION : %s"ascii
$m7Text"convince you of our honesty"ascii
$m8Text"use TOR browser to talk with support"ascii
$m9Text"encrypted and attackers are taking"ascii
$p1Text"/Go/src/kitty/kidrives/"ascii
$p2Text"/LGoGo/encoder.go"ascii nocase
$p3Text"/Go/src/kitty/kidata/"ascii

Bedingung

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* ) ) ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $p* ) müssen treffen.
  • Mindestens 3 Muster aus ( $s* ) müssen treffen.
  • Mindestens 2 Muster aus ( $m* ) müssen treffen.
  • Mindestens 1 Muster aus ( $m* ) müssen treffen.
  • Mindestens 1 Muster aus ( $s* ) müssen treffen.

Diese Regel im Browser testen

Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.

Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.

Im Editor öffnen

Referenzen

Lizenz & Namensnennung

Autor: ditekSHen

Quell-Repository: ditekSHen detection @ e76c93dcde

Lizenz: BSD 2-Clause License (Repository-Lizenz)

Copyright-Hinweis: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: 00dce673-b909-571f-8117-c5d4ce73fb31

Tags:FILE