YARA · SEKOIA.IO Community
SEKOIA_Apt_Dark_Pink_Pdb_Path
Detects PDB path of some Dark Pink sample
- Auteur
- Sekoia.io
- Date
- 2023-01-16
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 76
Ce que détecte cette règle
Detects PDB path of some Dark Pink sample
Famille de malware associée : Darkpink.
Cibles : PE Windows, ELF Linux.
Elle définit 2 motifs (2 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-dark-pink-pdb-path.yarDetection Rule License 1.1
rule SEKOIA_Apt_Dark_Pink_Pdb_Path : FILE
{
meta:
= "Detects PDB path of some Dark Pink sample"
= "Sekoia.io"
= "695586dc-66de-4f9d-814a-2d81261a7357"
= "2023-01-16"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_dark_pink_pdb_path.yar#L1-L17"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "f67e0d50975697424313acc77a9c86e1c2b41fde1663e4f5d8f4765acb997775"
= 75
= 76
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = "C:\\Users\\hoang\\source\\repos\\Cucky\\Cucky\\obj\\Release\\net46\\Cucky.pdb" wide ascii
$s2 = "C:\\Users\\build\\source\\repos\\CtealWebCredential\\Release\\CtealWebCredential.pdb" wide ascii
condition:
( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a ) and filesize < 5MB and any of them
}
Chaînes (2 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "C:\\Users\\hoang\\source\\repos\\Cucky\\Cucky\\obj\\Release\\net46\\Cucky.pdb" | wide ascii |
| $s2 | texte | "C:\\Users\\build\\source\\repos\\CtealWebCredential\\Release\\CtealWebCredential.pdb" | wide ascii |
Condition
( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a ) and filesize < 5MB and any of themEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Le fichier doit commencer par l’en-tête ELF — un exécutable Linux/Unix.
- Le fichier doit faire moins de 5MB (garde-fou peu coûteux qui écarte les gros fichiers).
- Au moins un motif de la règle doit être trouvé.
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: 695586dc-66de-4f9d-814a-2d81261a7357
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2023-02-22
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2023-06-05
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2023-01-17
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2024-10-31
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-27