Aller au contenu

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_M_Hunting_Backdoor_ZIPLINE_1

This rule detects unique strings in ZIPLINE, a passive ELF backdoor that waits for incoming TCP connections to receive commands from the threat actor.

Suspect / chasseSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compile avec YARA-X
Auteur
Mandiant
Date
2024-01-11
Modifiée
2024-04-24
Score / Qualité
75 / 85

Ce que détecte cette règle

This rule detects unique strings in ZIPLINE, a passive ELF backdoor that waits for incoming TCP connections to receive commands from the threat actor.

Cibles : ELF Linux.

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

m-hunting-backdoor-zipline-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_M_Hunting_Backdoor_ZIPLINE_1 : FILE
{
	meta:
		description = "This rule detects unique strings in ZIPLINE, a passive ELF backdoor that waits for incoming TCP connections to receive commands from the threat actor."
		author = "Mandiant"
		id = "753884d6-d4c1-5e94-9d2c-f6ebb7bfaf85"
		date = "2024-01-11"
		modified = "2024-04-24"
		reference = "https://www.mandiant.com/resources/blog/suspected-apt-targets-ivanti-zero-day"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_report_ivanti_mandiant_jan24.yar#L18-L38"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "41857ba465dd1f2e1aa8c1eed36b73606385eeedf233fd480bb8a4ef15499174"
		score = 75
		quality = 85
		tags = "FILE"

	strings:
		$s1 = "SSH-2.0-OpenSSH_0.3xx" ascii
		$s2 = "$(exec $installer $@)" ascii
		$t1 = "./installer/do-install" ascii
		$t2 = "./installer/bom_files/" ascii
		$t3 = "/tmp/data/root/etc/ld.so.preload" ascii
		$t4 = "/tmp/data/root/home/etc/manifest/exclusion_list" ascii

	condition:
		uint32( 0 ) == 0x464c457f and filesize < 5MB and ( ( 1 of ( $s* ) ) or ( 3 of ( $t* ) ) )
}

Chaînes (6 motifs)

IdentifiantTypeValeurModificateurs
$s1texte"SSH-2.0-OpenSSH_0.3xx"ascii
$s2texte"$(exec $installer $@)"ascii
$t1texte"./installer/do-install"ascii
$t2texte"./installer/bom_files/"ascii
$t3texte"/tmp/data/root/etc/ld.so.preload"ascii
$t4texte"/tmp/data/root/home/etc/manifest/exclusion_list"ascii

Condition

uint32( 0 ) == 0x464c457f and filesize < 5MB and ( ( 1 of ( $s* ) ) or ( 3 of ( $t* ) ) )

En clair (Heuristique)

  • Le fichier doit commencer par l’en-tête ELF — un exécutable Linux/Unix.
  • Le fichier doit faire moins de 5MB (garde-fou peu coûteux qui écarte les gros fichiers).
  • Au moins 1 motifs de ( $s* ) doivent être trouvés.
  • Au moins 3 motifs de ( $t* ) 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 : Mandiant

Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

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: 753884d6-d4c1-5e94-9d2c-f6ebb7bfaf85

Tags:FILE