Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Apt_Unknown_Sessionmanageriis_Strings

Detects the IIS SessionManager backdoor

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

Ce que détecte cette règle

Detects the IIS SessionManager backdoor

Famille de malware associée : Session Manager.

Cibles : PE Windows.

Elle définit 7 motifs (7 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-unknown-sessionmanageriis-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Unknown_Sessionmanageriis_Strings : FILE
{
	meta:
		description = "Detects the IIS SessionManager backdoor"
		author = "Sekoia.io"
		id = "7d55dd82-509f-444d-a1ba-6417b51f392f"
		date = "2022-07-04"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_unknown_sessionmanageriis_strings.yar#L1-L23"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "b1058b07c8e40431f8f3841b5ad49b4d6ead21a91d014f24c083f37eeacc5ac5"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "Wokring OK"
		$ = "Delete File Success :"
		$ = "Delete File Error :"
		$ = "SM_SESSION="
		$ = "SM_SESSIONID"
		$ = "attachment; filename ="
		$ = "CHttpModule::"

	condition:
		uint16be( 0 ) == 0x4d5a and filesize > 100KB and filesize < 400KB and 4 of them
}

Chaînes (7 motifs)

IdentifiantTypeValeurModificateurs
$texte"Wokring OK"
$texte"Delete File Success :"
$texte"Delete File Error :"
$texte"SM_SESSION="
$texte"SM_SESSIONID"
$texte"attachment; filename ="
$texte"CHttpModule::"

Condition

uint16be( 0 ) == 0x4d5a and filesize > 100KB and filesize < 400KB and 4 of them

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Le fichier doit faire moins de 400KB (garde-fou peu coûteux qui écarte les gros fichiers).
  • Le fichier doit faire plus de 100KB.
  • Au moins 4 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: 7d55dd82-509f-444d-a1ba-6417b51f392f

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE