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
- 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
rule SEKOIA_Apt_Kimsuky_Powershell : FILE
{
meta:
= "Powershell scripts used by Kimsuky. If size < 3KB ok. If between 3 and 15, a check is needed"
= "Sekoia.io"
= "b7f812e0-d08b-40fe-908a-dc5765d6bc66"
= "2024-09-23"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_kimsuky_powershell.yar#L1-L21"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "6babb53d881448dc58dd7c32fcd4208a"
= "29ec7a4495ea512d44d33c9847893200"
= "fde68771cebd7ecd81721b0dff5b7869"
= "0c3fd7f45688d5ddb9f0107877ce2fbd"
= "1a1723be720c1d9cd57cf4a6a112df79"
= "7436d8cba8a8caaf95786c38c4ceee4426dc7e36ae3eeed5d3162310cd76091d"
= 75
= 80
= "FILE"
= "1.0"
= "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)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | texte | ".ToCharArray();[array]::Reverse(" | ascii |
| $ | texte | ");$res = -join ($bytes -as [char[]]);Invoke-Expression $res;" | ascii |
Condition
all of them and filesize < 15KBEn 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é.
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)
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
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-06-11
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-03-06
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-03-06
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-06-11
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2023-09-11