YARA · SEKOIA.IO Community
SEKOIA_Malware_Swordldr
Detects Swordldr. Maybe chunk_1 is too restrictive
- Auteur
- Sekoia.io
- Date
- 2024-09-25
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects Swordldr. Maybe chunk_1 is too restrictive
Cibles : PE Windows.
Elle définit 10 motifs (0 texte, 10 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_Malware_Swordldr : FILE
{
meta:
= "Detects Swordldr. Maybe chunk_1 is too restrictive"
= "Sekoia.io"
= "4068c007-50f4-4913-a352-4a40dd4e452b"
= "2024-09-25"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/malware_swordldr.yar#L1-L29"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "d0cc758082e303275cbb8cd6b2048eff"
= "7aa57da44718cd88f7d37b33a5d3ad74"
= "9e408181b9122925c0ff9efdaed688e659596b58b9108c0f280d9bc1624d73cb"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = { CC CC CC CC B0 01 C3 CC CC CC CC }
$ = { CC CC CC CC B0 02 C3 CC CC CC CC }
$ = { CC CC CC CC B0 03 C3 CC CC CC CC }
$ = { CC CC CC CC B0 04 C3 CC CC CC CC }
$ = { CC CC CC CC B0 05 C3 CC CC CC CC }
$ = { CC CC CC CC B0 06 C3 CC CC CC CC }
$ = { CC CC CC CC B0 07 C3 CC CC CC CC }
$ = { CC CC CC CC B0 08 C3 CC CC CC CC }
$ = { CC CC CC CC B0 09 C3 CC CC CC CC }
$chunk_1 = {
48 63 44 24 40 44 8B 44 86 04 48 63 44 24 40 45 23 ?? 45 03 C0 8B 54 86 04 48 63 44 24 40 41 2B D0 41 03 ?? 89 54 86 04
}
condition:
uint16be( 0 ) == 0x4d5a and 4 of them and #chunk_1 > 5
}
Chaînes (10 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | hex | { CC CC CC CC B0 01 C3 CC CC CC CC } | |
| $ | hex | { CC CC CC CC B0 02 C3 CC CC CC CC } | |
| $ | hex | { CC CC CC CC B0 03 C3 CC CC CC CC } | |
| $ | hex | { CC CC CC CC B0 04 C3 CC CC CC CC } | |
| $ | hex | { CC CC CC CC B0 05 C3 CC CC CC CC } | |
| $ | hex | { CC CC CC CC B0 06 C3 CC CC CC CC } | |
| $ | hex | { CC CC CC CC B0 07 C3 CC CC CC CC } | |
| $ | hex | { CC CC CC CC B0 08 C3 CC CC CC CC } | |
| $ | hex | { CC CC CC CC B0 09 C3 CC CC CC CC } | |
| $chunk_1 | hex | { 48 63 44 24 40 44 8B 44 86 04 48 63 44 24 40 45 23 ?? 45 03 C0 8B 54 86 04 48 63 44 24 40 41 2B D0 41 03 ?? 89 54 86 04 } |
Condition
uint16be( 0 ) == 0x4d5a and 4 of them and #chunk_1 > 5En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Au moins 4 motifs de la règle doivent être trouvés.
- Le motif $chunk_1 doit apparaître > 5 fois.
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).
- d0cc758082e303275cbb8cd6b2048eff
- 7aa57da44718cd88f7d37b33a5d3ad74
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: 4068c007-50f4-4913-a352-4a40dd4e452b
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20