Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Janelarat

Detects JanelaRAT

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

Was diese Regel erkennt

Detects JanelaRAT

Zugehörige Malware-Familie: Janelarat.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-janelarat.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Janelarat : FILE
{
	meta:
		description = "Detects JanelaRAT"
		author = "ditekSHen"
		id = "6a49eeda-307f-5429-aa24-658223360239"
		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#L10919-L10939"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "9f10112b6ffa382b03511e7b6c8757438d5910ee2c24d650d05bb53abfff3860"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$x1 = "<Janela>k__" ascii
		$x2 = "janela" fullword ascii
		$x3 = "\\CSHARP\\RAT\\" ascii
		$s1 = "<SystemInfos>k__" ascii
		$s2 = "<SendKeepAlives>b__" ascii
		$s3 = "hookStruct" fullword ascii
		$s4 = "[^a-zA-Z]" fullword wide
		$s5 = "GetRecycled" fullword ascii
		$s6 = "import \"bcl.proto\";" wide
		$s7 = "\\KL_FINAL\\" ascii
		$s8 = "\\KL_FASEAVAST" ascii
		$s9 = "\\kl c++" ascii
		$s10 = "VisaoAPP" ascii wide

	condition:
		uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 2 of ( $x* ) and 3 of ( $s* ) ) or ( 1 of ( $x* ) and 5 of ( $s* ) ) or ( 6 of ( $s* ) ) )
}

Strings (13 Muster)

BezeichnerTypWertModifikatoren
$x1Text"<Janela>k__"ascii
$x2Text"janela"fullword ascii
$x3Text"\\CSHARP\\RAT\\"ascii
$s1Text"<SystemInfos>k__"ascii
$s2Text"<SendKeepAlives>b__"ascii
$s3Text"hookStruct"fullword ascii
$s4Text"[^a-zA-Z]"fullword wide
$s5Text"GetRecycled"fullword ascii
$s6Text"import \"bcl.proto\";"wide
$s7Text"\\KL_FINAL\\"ascii
$s8Text"\\KL_FASEAVAST"ascii
$s9Text"\\kl c++"ascii
$s10Text"VisaoAPP"ascii wide

Bedingung

uint16( 0 ) == 0x5a4d and ( all of ( $x* ) or ( 2 of ( $x* ) and 3 of ( $s* ) ) or ( 1 of ( $x* ) and 5 of ( $s* ) ) or ( 6 of ( $s* ) ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $x* ) müssen treffen.
  • Mindestens 2 Muster aus ( $x* ) müssen treffen.
  • Mindestens 3 Muster aus ( $s* ) müssen treffen.
  • Mindestens 1 Muster aus ( $x* ) müssen treffen.
  • Mindestens 5 Muster aus ( $s* ) müssen treffen.
  • Mindestens 6 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: 6a49eeda-307f-5429-aa24-658223360239

Tags:FILE