Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Tool_Iodine_Strings

Detects iodine based on strings

Outil offensifSEKOIA.IO CommunityDetection Rule License 1.1Compile avec YARA-X
Auteur
Sekoia.io
Date
2024-02-02
Modifiée
2024-12-19
Score / Qualité
75 / 80

Ce que détecte cette règle

Detects iodine based on strings

Cibles : PE Windows, ELF Linux.

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

tool-iodine-strings.yarDetection Rule License 1.1
rule SEKOIA_Tool_Iodine_Strings : FILE
{
	meta:
		description = "Detects iodine based on strings"
		author = "Sekoia.io"
		id = "029766cc-80fb-423d-adc5-8867c438c5d3"
		date = "2024-02-02"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_iodine_strings.yar#L1-L20"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "049b5af42d204061bd7e0c0294bb0abea492647dce8ec63fa3f296d1a19cb246"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "Sending DNS queries for %s to %s"
		$ = "No tun devices found, trying utun"
		$ = "iodine IP over DNS tunneling client"
		$ = "topdomain is the FQDN that is delegated to the tunnel endpoint."

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

Chaînes (4 motifs)

IdentifiantTypeValeurModificateurs
$texte"Sending DNS queries for %s to %s"
$texte"No tun devices found, trying utun"
$texte"iodine IP over DNS tunneling client"
$texte"topdomain is the FQDN that is delegated to the tunnel endpoint."

Condition

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

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • 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: 029766cc-80fb-423d-adc5-8867c438c5d3

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE