YARA · SEKOIA.IO Community
SEKOIA_Rootkit_Win_Purplefox_Svchost_Txt
Detects Purple Fox payloads used during end-2021 and 2022 campaigns based on characteristics shared by TrendMicro details.
- Auteur
- Sekoia.io
- Date
- 2022-03-28
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects Purple Fox payloads used during end-2021 and 2022 campaigns based on characteristics shared by TrendMicro details.
Famille de malware associée : Purplefox.
Elle définit 6 motifs (6 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
rule SEKOIA_Rootkit_Win_Purplefox_Svchost_Txt : FILE
{
meta:
= "Detects Purple Fox payloads used during end-2021 and 2022 campaigns based on characteristics shared by TrendMicro details."
= "Sekoia.io"
= "e992d574-6a44-4bea-97e2-6d5579ce8d02"
= "2022-03-28"
= "2024-12-19"
= "https://www.trendmicro.com/en_us/research/22/c/purple-fox-uses-new-arrival-vector-and-improves-malware-arsenal.html"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/rootkit_win_purplefox_svchost_txt.yar#L1-L22"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "a1de949cb2e898ed031f5c796f7152af12dfae5431dfaf269f25ebe72f0ae004"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$str0 = "C:\\ProgramData\\dll.dll,luohua" wide
$str1 = "C:\\ProgramData\\7z.exe" wide
$str2 = "F:\\hidden-master\\x64\\Debug\\QAssist.pdb" ascii
$str3 = "F:\\Root\\sources\\MedaiUpdateV8\\Release\\MedaiUpdateV8.pdb" ascii
$str4 = "cmd.exe /c RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255" ascii
$str5 = "del /s /f %appdata%\\Mozilla\\Firefox\\Profiles\\*.db" ascii
condition:
4 of ( $str* ) and filesize > 7000KB and filesize < 9500KB
}
Chaînes (6 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $str0 | texte | "C:\\ProgramData\\dll.dll,luohua" | wide |
| $str1 | texte | "C:\\ProgramData\\7z.exe" | wide |
| $str2 | texte | "F:\\hidden-master\\x64\\Debug\\QAssist.pdb" | ascii |
| $str3 | texte | "F:\\Root\\sources\\MedaiUpdateV8\\Release\\MedaiUpdateV8.pdb" | ascii |
| $str4 | texte | "cmd.exe /c RunDll32.exe InetCpl.cpl,ClearMyTracksByProcess 255" | ascii |
| $str5 | texte | "del /s /f %appdata%\\Mozilla\\Firefox\\Profiles\\*.db" | ascii |
Condition
4 of ( $str* ) and filesize > 7000KB and filesize < 9500KBEn clair (Heuristique)
- Le fichier doit faire moins de 9500KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Le fichier doit faire plus de 7000KB.
- Au moins 4 motifs de ( $str* ) 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é.
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: e992d574-6a44-4bea-97e2-6d5579ce8d02
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-03-28
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-03-28
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- 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