YARA · elceef yara-rulz
ELCEEF_Suspicious_Onenote
Detects OneNote documents with FileDataStoreObject structure containing: PE32, shortcut files (*.lnk), encoded JS, Windows Help File (*.chm), or batch script
- Auteur
- marcin@ulikowski.pl
- Date
- 2023-01-22
- Modifiée
- 2023-02-21
- Score / Qualité
- 65 / 75
Ce que détecte cette règle
Detects OneNote documents with FileDataStoreObject structure containing: PE32, shortcut files (*.lnk), encoded JS, Windows Help File (*.chm), or batch script
Elle définit 6 motifs (0 texte, 6 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 ELCEEF_Suspicious_Onenote
{
meta:
= "Detects OneNote documents with FileDataStoreObject structure containing: PE32, shortcut files (*.lnk), encoded JS, Windows Help File (*.chm), or batch script"
= "marcin@ulikowski.pl"
= "57f6fc7f-666f-5887-ac97-513588415757"
= "2023-01-22"
= "2023-02-21"
= "https://github.com/elceef/yara-rulz"
= "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/rules/Suspicious_OneNote.yara#L1-L23"
= "https://github.com/elceef/yara-rulz/blob/5683b294a12cf0c875b624933586029ae43a852f/LICENSE"
= "f408ef3fa89546483ba63f58be3f27a98795655eb4b9b6217cbe302a5ba9d5f7"
= "5306fa7940b4d67dfb031fd315b661cecb2ce81e2f34c9393e1826df0f0bbdc5"
= "e1d34ad42938a777d80f3ee4c206de14021f13ab79600168b85894fdb0867b3e"
= "9e89231578d8b9b190de3288fd10f43cf11a24963a8b0a76f0c46170deda59fd"
= "6778c59a29e25d722230163bea272ece58d2d3696fbce4347c20104e8fb735dc"
= "b65f0976b71c1e827ecce09f0c435d9ffa6a5d3b3a41401efc6a14b6259af4ad"
= 65
= 75
= ""
strings:
$magic = { ae b1 53 78 d0 29 96 d3 }
$fdso_pe32 = { a4 c4 8d 4d 0b 7a 9e ac [20] 4d 5a }
$fdso_bat = { a4 c4 8d 4d 0b 7a 9e ac [20] 40 65 63 68 6f 20 6f 66 66 }
$fdso_lnk = { a4 c4 8d 4d 0b 7a 9e ac [20] 4c 00 00 00 01 14 02 00 }
$fdso_jse = { a4 c4 8d 4d 0b 7a 9e ac [20] 23 40 7e 5e }
$fdso_chm = { a4 c4 8d 4d 0b 7a 9e ac [20] 49 54 53 46 03 }
condition:
$magic at 8 and 1 of ( $fdso_* )
}
Chaînes (6 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $magic | hex | { ae b1 53 78 d0 29 96 d3 } | |
| $fdso_pe32 | hex | { a4 c4 8d 4d 0b 7a 9e ac [20] 4d 5a } | |
| $fdso_bat | hex | { a4 c4 8d 4d 0b 7a 9e ac [20] 40 65 63 68 6f 20 6f 66 66 } | |
| $fdso_lnk | hex | { a4 c4 8d 4d 0b 7a 9e ac [20] 4c 00 00 00 01 14 02 00 } | |
| $fdso_jse | hex | { a4 c4 8d 4d 0b 7a 9e ac [20] 23 40 7e 5e } | |
| $fdso_chm | hex | { a4 c4 8d 4d 0b 7a 9e ac [20] 49 54 53 46 03 } |
Condition
$magic at 8 and 1 of ( $fdso_* )En clair (Heuristique)
- Au moins 1 motifs de ( $fdso_* ) doivent être trouvés.
- Le motif $magic doit se trouver à l’offset 8.
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).
- f408ef3fa89546483ba63f58be3f27a98795655eb4b9b6217cbe302a5ba9d5f7
- 5306fa7940b4d67dfb031fd315b661cecb2ce81e2f34c9393e1826df0f0bbdc5
- e1d34ad42938a777d80f3ee4c206de14021f13ab79600168b85894fdb0867b3e
- 9e89231578d8b9b190de3288fd10f43cf11a24963a8b0a76f0c46170deda59fd
- 6778c59a29e25d722230163bea272ece58d2d3696fbce4347c20104e8fb735dc
Licence et attribution
Auteur : marcin@ulikowski.pl
Dépôt source : elceef yara-rulz @ 5683b294a1
Licence : MIT License (licence du dépôt)
Mention de copyright : Copyright (c) 2022 Marcin Ulikowski
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: 57f6fc7f-666f-5887-ac97-513588415757
Règles liées
- Suspect / chasseelceef yara-rulz· marcin@ulikowski.pl· 2023-05-01
- Suspect / chasseelceef yara-rulz· marcin@ulikowski.pl· 2023-06-02
- Suspect / chasseelceef yara-rulz· marcin@ulikowski.pl· 2023-02-01
- Suspect / chasseelceef yara-rulz· marcin@ulikowski.pl· 2023-04-04
- Exploitelceef yara-rulz· marcin@ulikowski.pl· 2025-08-18
- Génériqueelceef yara-rulz· marcin@ulikowski.pl· 2024-04-10
- Génériqueelceef yara-rulz· marcin@ulikowski.pl· 2023-05-05
- Génériqueelceef yara-rulz· marcin@ulikowski.pl· 2023-04-17