Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Linux_UNK01

Detects unknown/unidentified Linux malware

MalwareUNK01ditekSHen 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: UNK01.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-linux-unk01.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Linux_UNK01 : FILE
{
	meta:
		description = "Detects unknown/unidentified Linux malware"
		author = "ditekSHen"
		id = "24c6ff35-9378-5a6b-90d1-9740917b1b72"
		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#L2815-L2836"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "8bb4822c1c7e0f52726ecafafa696d83c741257587f351360c5295163c245450"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$f1 = "%sresponse.php?status" ascii
		$f2 = "%supstream.php?mid=%s&os=%s" ascii fullword
		$f3 = "%supstream.php?tid=%" ascii
		$f4 = "%sindex.php?token=%.32s&flag=%d&name=%s" ascii fullword
		$f5 = "%sactive_off.php?id=%d&uniqu=%d" ascii fullword
		$s1 = "lock:%i usable num:%i n:%i" fullword ascii
		$s2 = "tid:%.*s tNumber:%i" fullword ascii
		$s3 = "init.php" fullword ascii
		$s4 = "mod_drone" fullword ascii
		$s5 = "new_mid" fullword ascii
		$s6 = "&exists[]=" fullword ascii
		$s7 = "&mod[]=" fullword ascii
		$s8 = "shutdown" fullword ascii
		$s9 = "&mac[]=%02X%02X%02X%02X%02X%02X" fullword ascii

	condition:
		uint16( 0 ) == 0x457f and ( 3 of ( $f* ) or 6 of ( $s* ) )
}

Strings (14 Muster)

BezeichnerTypWertModifikatoren
$f1Text"%sresponse.php?status"ascii
$f2Text"%supstream.php?mid=%s&os=%s"ascii fullword
$f3Text"%supstream.php?tid=%"ascii
$f4Text"%sindex.php?token=%.32s&flag=%d&name=%s"ascii fullword
$f5Text"%sactive_off.php?id=%d&uniqu=%d"ascii fullword
$s1Text"lock:%i usable num:%i n:%i"fullword ascii
$s2Text"tid:%.*s tNumber:%i"fullword ascii
$s3Text"init.php"fullword ascii
$s4Text"mod_drone"fullword ascii
$s5Text"new_mid"fullword ascii
$s6Text"&exists[]="fullword ascii
$s7Text"&mod[]="fullword ascii
$s8Text"shutdown"fullword ascii
$s9Text"&mac[]=%02X%02X%02X%02X%02X%02X"fullword ascii

Bedingung

uint16( 0 ) == 0x457f and ( 3 of ( $f* ) or 6 of ( $s* ) )

In Worten (Heuristik)

  • Mindestens 3 Muster aus ( $f* ) 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: 24c6ff35-9378-5a6b-90d1-9740917b1b72

Tags:FILE