Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Linux_UNK02

Detects unknown/unidentified Linux malware

MalwareUNK02ditekSHen 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 unknown/unidentified Linux malware

Zugehörige Malware-Familie: UNK02.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-linux-unk02.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Linux_UNK02 : FILE
{
	meta:
		description = "Detects unknown/unidentified Linux malware"
		author = "ditekSHen"
		id = "6e62df0d-d329-5e52-af74-2a1f19dc4cca"
		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#L2838-L2852"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "4cde21932c27fe3c08495f557b5e086b1fb668d8b5508249891828b9ed48edd4"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$rf1 = "[]A\\A]A^A_" ascii
		$rf2 = "[A\\A]A^A_]" ascii
		$f1 = "/bin/basH" ascii fullword
		$f2 = "/proc/seH" ascii fullword
		$f3 = "/dev/ptsH" ascii fullword
		$f4 = "pqrstuvwxyzabcde" ascii fullword
		$f5 = "libnss_%s.so.%d.%d" ascii fullword

	condition:
		uint16( 0 ) == 0x457f and ( all of ( $f* ) and #rf1 > 3 and #rf2 > 3 )
}

Strings (7 Muster)

BezeichnerTypWertModifikatoren
$rf1Text"[]A\\A]A^A_"ascii
$rf2Text"[A\\A]A^A_]"ascii
$f1Text"/bin/basH"ascii fullword
$f2Text"/proc/seH"ascii fullword
$f3Text"/dev/ptsH"ascii fullword
$f4Text"pqrstuvwxyzabcde"ascii fullword
$f5Text"libnss_%s.so.%d.%d"ascii fullword

Bedingung

uint16( 0 ) == 0x457f and ( all of ( $f* ) and #rf1 > 3 and #rf2 > 3 )

In Worten (Heuristik)

  • Alle Muster aus ( $f* ) müssen treffen.
  • Muster $rf1 muss > 3-mal vorkommen.
  • Muster $rf2 muss > 3-mal vorkommen.

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: 6e62df0d-d329-5e52-af74-2a1f19dc4cca

Tags:FILE