Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Apt_Toddycat_Waexp_Strings

Detects WAExp based on strings

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

Ce que détecte cette règle

Detects WAExp based on strings

Cibles : PE Windows, ELF Linux.

Elle définit 3 motifs (3 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-toddycat-waexp-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Toddycat_Waexp_Strings : FILE
{
	meta:
		description = "Detects WAExp based on strings"
		author = "Sekoia.io"
		id = "1bbb3e81-14a9-4bda-b647-b6f5255e9a16"
		date = "2024-04-23"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_toddycat_waexp_strings.yar#L1-L18"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "4377183b326329fb14ae3911fbb1e29cde220d7b247d048fba4bbbda9de8938d"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "[>] Profile:" wide ascii
		$ = "[+] All Done" wide ascii
		$ = "[+] Files:" wide ascii

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

Chaînes (3 motifs)

IdentifiantTypeValeurModificateurs
$texte"[>] Profile:"wide ascii
$texte"[+] All Done"wide ascii
$texte"[+] Files:"wide ascii

Condition

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

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).
  • Tous les 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: 1bbb3e81-14a9-4bda-b647-b6f5255e9a16

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE