Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Apt_Andariel_Nestdoor_Variants_Strings

Detects Nestdoor based on (weak) strings

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

Ce que détecte cette règle

Detects Nestdoor based on (weak) strings

Cibles : PE Windows, 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

apt-andariel-nestdoor-variants-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Andariel_Nestdoor_Variants_Strings : FILE
{
	meta:
		description = "Detects Nestdoor based on (weak) strings"
		author = "Sekoia.io"
		id = "dcfc48ad-f17b-4224-912b-b01740080fea"
		date = "2024-06-17"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_andariel_nestdoor_variants_strings.yar#L1-L21"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "bc01138d1fc079c2b778175742e121f10cb47f29cc4eb04d38b4f0f5740f05a4"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$v_11 = "Error occurs while reading" wide
		$v_12 = "{DECIMAL}" wide
		$v_13 = "lnk_" wide
		$v_21 = "Cannot connect with your ip and your operating system." wide
		$v_22 = "del /q /f %1" ascii
		$v_23 = "/f /tn %2" ascii

	condition:
		( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a ) and ( all of ( $v_1* ) or all of ( $v_2* ) )
}

Chaînes (6 motifs)

IdentifiantTypeValeurModificateurs
$v_11texte"Error occurs while reading"wide
$v_12texte"{DECIMAL}"wide
$v_13texte"lnk_"wide
$v_21texte"Cannot connect with your ip and your operating system."wide
$v_22texte"del /q /f %1"ascii
$v_23texte"/f /tn %2"ascii

Condition

( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a ) and ( all of ( $v_1* ) or all of ( $v_2* ) )

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.
  • Tous les motifs de ( $v_1* ) doivent être trouvés.
  • Tous les motifs de ( $v_2* ) 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: dcfc48ad-f17b-4224-912b-b01740080fea

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE