Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Linux_UNK01

Detects unknown/unidentified Linux malware

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

Ce que détecte cette règle

Detects unknown/unidentified Linux malware

Famille de malware associée : UNK01.

Elle définit 14 motifs (14 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-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* ) )
}

Chaînes (14 motifs)

IdentifiantTypeValeurModificateurs
$f1texte"%sresponse.php?status"ascii
$f2texte"%supstream.php?mid=%s&os=%s"ascii fullword
$f3texte"%supstream.php?tid=%"ascii
$f4texte"%sindex.php?token=%.32s&flag=%d&name=%s"ascii fullword
$f5texte"%sactive_off.php?id=%d&uniqu=%d"ascii fullword
$s1texte"lock:%i usable num:%i n:%i"fullword ascii
$s2texte"tid:%.*s tNumber:%i"fullword ascii
$s3texte"init.php"fullword ascii
$s4texte"mod_drone"fullword ascii
$s5texte"new_mid"fullword ascii
$s6texte"&exists[]="fullword ascii
$s7texte"&mod[]="fullword ascii
$s8texte"shutdown"fullword ascii
$s9texte"&mac[]=%02X%02X%02X%02X%02X%02X"fullword ascii

Condition

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

En clair (Heuristique)

  • Au moins 3 motifs de ( $f* ) doivent être trouvés.
  • Au moins 6 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: 24c6ff35-9378-5a6b-90d1-9740917b1b72

Tags:FILE