Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Apt_Implant_Xdealer_Linux_Variant_Strings

Detects XDealer linux variant

APT / acteurSEKOIA.IO CommunityDetection Rule License 1.1Compile avec YARA-X
Auteur
Sekoia.io
Date
2024-03-22
Modifiée
2024-12-19
Score / Qualité
75 / 80

Ce que détecte cette règle

Detects XDealer linux variant

Cibles : ELF Linux.

Elle définit 7 motifs (7 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

apt-implant-xdealer-linux-variant-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Implant_Xdealer_Linux_Variant_Strings : FILE
{
	meta:
		description = "Detects XDealer linux variant"
		author = "Sekoia.io"
		id = "42690513-753f-4296-b641-4d3b59a5e5e1"
		date = "2024-03-22"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_implant_xdealer_linux_variant_strings.yar#L1-L21"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "400beb53d0f7b7727962175c7c4f8dfccdfed56bb3978d3e847147e8ad7644fb"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "ls -l /proc/%s/exe"
		$ = "Linux_%s_%s_%u"
		$ = "chkconfig --add"
		$ = "cmd over return [%s]"
		$ = "touch   -d"
		$ = "%s can't be opened/n"
		$ = "/proc/%s/status"

	condition:
		uint32be( 0 ) == 0x7f454c46 and 3 of them and filesize < 1MB
}

Chaînes (7 motifs)

IdentifiantTypeValeurModificateurs
$texte"ls -l /proc/%s/exe"
$texte"Linux_%s_%s_%u"
$texte"chkconfig --add"
$texte"cmd over return [%s]"
$texte"touch -d"
$texte"%s can't be opened/n"
$texte"/proc/%s/status"

Condition

uint32be( 0 ) == 0x7f454c46 and 3 of them and filesize < 1MB

En clair (Heuristique)

  • Le fichier doit commencer par l’en-tête ELF — un exécutable Linux/Unix.
  • Le fichier doit faire moins de 1MB (garde-fou peu coûteux qui écarte les gros fichiers).
  • Au moins 3 motifs de la règle 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 : Sekoia.io

Dépôt source : SEKOIA.IO Community @ a438a5901a

Licence : Detection Rule License 1.1 (licence du dépôt)

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: 42690513-753f-4296-b641-4d3b59a5e5e1

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE