Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Apt_Kimsuky_Powershell

Powershell scripts used by Kimsuky. If size < 3KB ok. If between 3 and 15, a check is needed

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

Ce que détecte cette règle

Powershell scripts used by Kimsuky. If size < 3KB ok. If between 3 and 15, a check is needed

Famille de malware associée : Kimsuky.

Elle définit 2 motifs (2 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-kimsuky-powershell.yarDetection Rule License 1.1
rule SEKOIA_Apt_Kimsuky_Powershell : FILE
{
	meta:
		description = "Powershell scripts used by Kimsuky. If size < 3KB ok. If between 3 and 15, a check is needed"
		author = "Sekoia.io"
		id = "b7f812e0-d08b-40fe-908a-dc5765d6bc66"
		date = "2024-09-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_kimsuky_powershell.yar#L1-L21"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "6babb53d881448dc58dd7c32fcd4208a"
		hash = "29ec7a4495ea512d44d33c9847893200"
		hash = "fde68771cebd7ecd81721b0dff5b7869"
		hash = "0c3fd7f45688d5ddb9f0107877ce2fbd"
		hash = "1a1723be720c1d9cd57cf4a6a112df79"
		logic_hash = "7436d8cba8a8caaf95786c38c4ceee4426dc7e36ae3eeed5d3162310cd76091d"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = ".ToCharArray();[array]::Reverse(" ascii
		$ = ");$res = -join ($bytes -as [char[]]);Invoke-Expression $res;" ascii

	condition:
		all of them and filesize < 15KB
}

Chaînes (2 motifs)

IdentifiantTypeValeurModificateurs
$texte".ToCharArray();[array]::Reverse("ascii
$texte");$res = -join ($bytes -as [char[]]);Invoke-Expression $res;"ascii

Condition

all of them and filesize < 15KB

En clair (Heuristique)

  • Le fichier doit faire moins de 15KB (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).

  • 6babb53d881448dc58dd7c32fcd4208a
  • 29ec7a4495ea512d44d33c9847893200
  • fde68771cebd7ecd81721b0dff5b7869
  • 0c3fd7f45688d5ddb9f0107877ce2fbd
  • 1a1723be720c1d9cd57cf4a6a112df79

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: b7f812e0-d08b-40fe-908a-dc5765d6bc66

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE

Plus de règles Kimsuky