YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Dlagent07
Detects delf downloader agent
- Auteur
- ditekSHen
- Date
- 2020-11-06
- Modifiée
- 2024-11-01
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detects delf downloader agent
Famille de malware associée : Dlagent07.
Cibles : PE Windows.
Elle définit 11 motifs (5 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 DITEKSHEN_MALWARE_Win_Dlagent07 : FILE
{
meta:
= "Detects delf downloader agent"
= "ditekSHen"
= "a45afe84-15ae-528a-ad7e-ab9f03045789"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L4849-L4867"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "1e0001d18524d0d34ad876e67e2c4dc0495ee18a73c34f53f97367876e27b406"
= 75
= 75
= "FILE"
strings:
$s1 = "C:\\Users\\Public\\Libraries\\temp" fullword ascii
$s2 = "SOFTWARE\\Borland\\Delphi" ascii
$s3 = "Mozilla/5.0(compatible; WinInet)" fullword ascii
$o1 = { f3 a5 e9 6b ff ff ff 5a 5d 5f 5e 5b c3 a3 00 40 }
$o2 = { e8 83 d5 ff ff 8b 15 34 40 41 00 89 10 89 58 04 }
$o3 = { c3 8b c0 53 51 e8 f1 ff ff ff 8b d8 85 db 74 3e }
$o4 = { e8 5c e2 ff ff 8b c3 e8 b9 ff ff ff 89 04 24 83 }
$o5 = { 85 c0 74 1f e8 62 ff ff ff a3 98 40 41 00 e8 98 }
$o6 = { 85 c0 74 19 e8 be ff ff ff 83 3d 98 40 41 00 ff }
$x1 = "22:40:08 \"> <rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"> <rdf:Description rdf:about=\"\"" ascii
$x2 = "uuid:A9BD8E384B2FDE118D26E6EE744C235C\" stRef:documentID=\"uuid:A8BD8E384B2FDE118D26E6EE744C235C\"/>" ascii
condition:
uint16( 0 ) == 0x5a4d and ( ( 2 of ( $s* ) and 5 of ( $o* ) ) or ( all of ( $s* ) and 2 of ( $o* ) ) or ( all of ( $x* ) and 2 of them ) )
}
Chaînes (11 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "C:\\Users\\Public\\Libraries\\temp" | fullword ascii |
| $s2 | texte | "SOFTWARE\\Borland\\Delphi" | ascii |
| $s3 | texte | "Mozilla/5.0(compatible; WinInet)" | fullword ascii |
| $o1 | hex | { f3 a5 e9 6b ff ff ff 5a 5d 5f 5e 5b c3 a3 00 40 } | |
| $o2 | hex | { e8 83 d5 ff ff 8b 15 34 40 41 00 89 10 89 58 04 } | |
| $o3 | hex | { c3 8b c0 53 51 e8 f1 ff ff ff 8b d8 85 db 74 3e } | |
| $o4 | hex | { e8 5c e2 ff ff 8b c3 e8 b9 ff ff ff 89 04 24 83 } | |
| $o5 | hex | { 85 c0 74 1f e8 62 ff ff ff a3 98 40 41 00 e8 98 } | |
| $o6 | hex | { 85 c0 74 19 e8 be ff ff ff 83 3d 98 40 41 00 ff } | |
| $x1 | texte | "22:40:08 \"> <rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\"> <rdf:Description rdf:about=\"\"" | ascii |
| $x2 | texte | "uuid:A9BD8E384B2FDE118D26E6EE744C235C\" stRef:documentID=\"uuid:A8BD8E384B2FDE118D26E6EE744C235C\"/>" | ascii |
Condition
uint16( 0 ) == 0x5a4d and ( ( 2 of ( $s* ) and 5 of ( $o* ) ) or ( all of ( $s* ) and 2 of ( $o* ) ) or ( all of ( $x* ) and 2 of them ) )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Tous les motifs de ( $s* ) doivent être trouvés.
- Tous les motifs de ( $x* ) doivent être trouvés.
- Au moins 2 motifs de ( $s* ) doivent être trouvés.
- Au moins 5 motifs de ( $o* ) doivent être trouvés.
- Au moins 2 motifs de ( $o* ) doivent être trouvés.
- Au moins 2 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
Licence et attribution
Auteur : ditekSHen
Dépôt source : ditekSHen detection @ e76c93dcde
Licence : BSD 2-Clause License (licence du dépôt)
Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
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: a45afe84-15ae-528a-ad7e-ab9f03045789
Tags:FILE
Règles liées
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06