YARA · SEKOIA.IO Community
SEKOIA_Apt_Kimsuky_Powershell_Dropper_Strings
Detects a PowerShell dropper used by Kimsuky
- Auteur
- Sekoia.io
- Date
- 2024-06-11
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects a PowerShell dropper used by Kimsuky
Famille de malware associée : Kimsuky.
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
apt-kimsuky-powershell-dropper-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Kimsuky_Powershell_Dropper_Strings : FILE
{
meta:
= "Detects a PowerShell dropper used by Kimsuky"
= "Sekoia.io"
= "8b346e05-215b-46c0-82bf-fce3a65440f3"
= "2024-06-11"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_kimsuky_powershell_dropper_strings.yar#L1-L21"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "e98f23ddf02049126786e9300e7b6661b2a74817b36e2f3a661b07b24ef4402d"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = "try { " ascii wide
$s2 = "); } catch(e){} } if ("
$s3 = "WScript.Sleep("
$s4 = " } catch(e) { }"
condition:
filesize > 500KB and $s1 at 0 and $s2 in ( filesize -1000 .. filesize ) and $s3 in ( filesize -1000 .. filesize ) and $s4 in ( filesize -1000 .. filesize )
}
Chaînes (4 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "try { " | ascii wide |
| $s2 | texte | "); } catch(e){} } if (" | |
| $s3 | texte | "WScript.Sleep(" | |
| $s4 | texte | " } catch(e) { }" |
Condition
filesize > 500KB and $s1 at 0 and $s2 in ( filesize -1000 .. filesize ) and $s3 in ( filesize -1000 .. filesize ) and $s4 in ( filesize -1000 .. filesize )En clair (Heuristique)
- Le fichier doit faire plus de 500KB.
- Le motif $s1 doit se trouver à l’offset 0.
- Le motif $s2 doit se trouver dans la plage filesize -1000 .. filesize.
- Le motif $s3 doit se trouver dans la plage filesize -1000 .. filesize.
- Le motif $s4 doit se trouver dans la plage filesize -1000 .. filesize.
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.
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)
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: 8b346e05-215b-46c0-82bf-fce3a65440f3
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-09-23
- 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