Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Loader_Win_Svcready_Imports

Finds samples of the SVCReady loader

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

Ce que détecte cette règle

Finds samples of the SVCReady loader

Famille de malware associée : Svcready.

Cibles : PE Windows.

Elle définit 2 motifs (2 texte, 0 hex, 0 regex). Modules YARA utilisés : pe.

Résumé généré à partir des métadonnées et de la condition de la règle.

Source de la règle

Inclut les imports nécessaires pour la compiler seule.

loader-win-svcready-imports.yarDetection Rule License 1.1
import "pe"

rule SEKOIA_Loader_Win_Svcready_Imports : FILE
{
	meta:
		description = "Finds samples of the SVCReady loader"
		author = "Sekoia.io"
		id = "e89aa736-acee-4881-b367-a9abfe9784ec"
		date = "2022-06-08"
		modified = "2024-12-19"
		reference = "https://threatresearch.ext.hp.com/svcready-a-new-loader-reveals-itself/"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/loader_win_svcready_imports.yar#L3-L25"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "f210c5363d19dbc822b8476f8ecfd86184af8f1c36819a6c868f171152e7cb74"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str0 = "Svc:RunPEDllNative" ascii
		$str1 = "RunPEDllNative::" ascii

	condition:
		uint16( 0 ) == 0x5A4D and filesize > 200KB and filesize < 2MB and pe.imports ( "GDI32.dll" , "Ellipse" ) and pe.imports ( "GDI32.dll" , "SelectObject" ) and pe.imports ( "GDI32.dll" , "GetStockObject" ) and pe.imports ( "GDI32.dll" ) == 3 and all of them
}

Chaînes (2 motifs)

IdentifiantTypeValeurModificateurs
$str0texte"Svc:RunPEDllNative"ascii
$str1texte"RunPEDllNative::"ascii

Condition

uint16( 0 ) == 0x5A4D and filesize > 200KB and filesize < 2MB and pe.imports ( "GDI32.dll" , "Ellipse" ) and pe.imports ( "GDI32.dll" , "SelectObject" ) and pe.imports ( "GDI32.dll" , "GetStockObject" ) and pe.imports ( "GDI32.dll" ) == 3 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).
  • Le fichier doit faire plus de 200KB.
  • Tous les motifs de la règle doivent être trouvés.
  • Utilise le module pe.
  • Vérifie des fonctions ou bibliothèques importées.

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: e89aa736-acee-4881-b367-a9abfe9784ec

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE