Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Tool_Soaphound_Strings

Detects SOAPHound based on strings

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

Ce que détecte cette règle

Detects SOAPHound based on strings

Cibles : PE Windows.

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-soaphound-strings.yarDetection Rule License 1.1
rule SEKOIA_Tool_Soaphound_Strings : FILE
{
	meta:
		description = "Detects SOAPHound based on strings"
		author = "Sekoia.io"
		id = "adf48506-f07d-445a-83cc-0aed3b6b55eb"
		date = "2024-11-12"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_soaphound_strings.yar#L1-L21"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "b2a953590d75213388473fb51e6b5f2f"
		logic_hash = "14ff92230d0999a39a6e1042f5c42b5ae275d90ece3d74727e5da44c569a93eb"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "Output files generated in" wide
		$ = "(&(cn=*)(!(cn=a*))(!(cn=b*))" wide
		$ = "unicodePassword" wide
		$ = "net.tcp://localhost:9389/ActiveDirectoryWebServices/" wide

	condition:
		uint16be( 0 ) == 0x4d5a and filesize < 2MB and all of them
}

Chaînes (4 motifs)

IdentifiantTypeValeurModificateurs
$texte"Output files generated in"wide
$texte"(&(cn=*)(!(cn=a*))(!(cn=b*))"wide
$texte"unicodePassword"wide
$texte"net.tcp://localhost:9389/ActiveDirectoryWebServices/"wide

Condition

uint16be( 0 ) == 0x4d5a and filesize < 2MB and all of them

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Le fichier doit faire moins de 2MB (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

Hashes d’échantillons

Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).

  • b2a953590d75213388473fb51e6b5f2f

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: adf48506-f07d-445a-83cc-0aed3b6b55eb

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE