Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Tool_Koblas_Server_Strings

Detects Koblas server

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

Ce que détecte cette règle

Detects Koblas server

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-koblas-server-strings.yarDetection Rule License 1.1
rule SEKOIA_Tool_Koblas_Server_Strings : FILE
{
	meta:
		description = "Detects Koblas server"
		author = "Sekoia.io"
		id = "ebd891da-69dd-474c-9e08-63d0b4cc654e"
		date = "2024-05-23"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_koblas_server_strings.yar#L1-L19"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "590f3f71564c347be7b3b2a583606c3854744d0023cde464374cd7b61ec5a2d7"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "sent {sent} bytes and received {received} bytes" wide ascii
		$ = "connection denied" ascii
		$ = "loaded {} users" ascii
		$ = "listening on {}:{} for incoming connections" ascii

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

Chaînes (4 motifs)

IdentifiantTypeValeurModificateurs
$texte"sent {sent} bytes and received {received} bytes"wide ascii
$texte"connection denied"ascii
$texte"loaded {} users"ascii
$texte"listening on {}:{} for incoming connections"ascii

Condition

( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a ) 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.
  • 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: ebd891da-69dd-474c-9e08-63d0b4cc654e

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE