YARA · SEKOIA.IO Community
SEKOIA_Tool_Swor
Detects swor
- Auteur
- Sekoia.io
- Date
- 2024-09-09
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects swor
Cibles : PE Windows.
Elle définit 5 motifs (5 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
tool-swor.yarDetection Rule License 1.1
rule SEKOIA_Tool_Swor : FILE
{
meta:
= "Detects swor"
= "Sekoia.io"
= "75ce2ed7-2972-4e04-98dc-451acf80c842"
= "2024-09-09"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_swor.yar#L1-L24"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "d3f92b3349109fc6de26f5e40800fec15308c27fa4fe81fe42af5030637a3a63"
= "bcd1c0afece740b82b606aad8bdebcc88b72ae61df6513318215a217021efab4"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$old_sword_s1 = "Failed to open payload file: "
$old_sword_s2 = "Failed to open config file: "
$sword_s1 = "open encrypted file error: "
$sword_s2 = "open config file error: "
$enum_calendar = "EnumCalendarInfo"
condition:
uint16be( 0 ) == 0x4d5a and $enum_calendar and ( 2 of ( $old_sword_s* ) or 2 of ( $sword_s* ) ) and filesize < 1MB and true
}
Chaînes (5 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $old_sword_s1 | texte | "Failed to open payload file: " | |
| $old_sword_s2 | texte | "Failed to open config file: " | |
| $sword_s1 | texte | "open encrypted file error: " | |
| $sword_s2 | texte | "open config file error: " | |
| $enum_calendar | texte | "EnumCalendarInfo" |
Condition
uint16be( 0 ) == 0x4d5a and $enum_calendar and ( 2 of ( $old_sword_s* ) or 2 of ( $sword_s* ) ) and filesize < 1MB and trueEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Le fichier doit faire moins de 1MB (garde-fou peu coûteux qui écarte les gros fichiers).
- Au moins 2 motifs de ( $old_sword_s* ) doivent être trouvés.
- Au moins 2 motifs de ( $sword_s* ) doivent être trouvés.
- Le motif $enum_calendar doit être présent.
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
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).
- d3f92b3349109fc6de26f5e40800fec15308c27fa4fe81fe42af5030637a3a63
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: 75ce2ed7-2972-4e04-98dc-451acf80c842
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2024-09-06
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2024-02-29
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2023-12-05
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2023-11-15
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2023-08-23
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2022-02-08
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2022-07-22
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2022-09-09