YARA · SEKOIA.IO Community
SEKOIA_Apt_Agent_Racoon_Strings
Detects Agent Racoon used by CL-STA-0002
- Auteur
- Sekoia.io
- Date
- 2023-12-05
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects Agent Racoon used by CL-STA-0002
Famille de malware associée : Agentracoon.
Cibles : PE Windows.
Elle définit 8 motifs (8 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-agent-racoon-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Agent_Racoon_Strings : FILE
{
meta:
= "Detects Agent Racoon used by CL-STA-0002"
= "Sekoia.io"
= "ec89f1db-0ba8-48c8-8c1a-c38c410f3e39"
= "2023-12-05"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_agent_racoon_strings.yar#L1-L24"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "4e32606edffab0907e343ab2fef8642c0064d83c2933531619f9dee8957d2fe4"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "Command failed:" wide
$ = "Not uploaded:" wide
$ = "Not downloaded:" wide
$ = "xn--cc" wide
$ = "xn--ac" wide
$ = "xn--bc" wide
$ = "cmd.exe" wide
$ = ".xn--" wide
condition:
uint16be( 0 ) == 0x4d5a and filesize < 1MB and all of them
}
Chaînes (8 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | texte | "Command failed:" | wide |
| $ | texte | "Not uploaded:" | wide |
| $ | texte | "Not downloaded:" | wide |
| $ | texte | "xn--cc" | wide |
| $ | texte | "xn--ac" | wide |
| $ | texte | "xn--bc" | wide |
| $ | texte | "cmd.exe" | wide |
| $ | texte | ".xn--" | wide |
Condition
uint16be( 0 ) == 0x4d5a and filesize < 1MB and all of themEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Le fichier doit faire moins de 1MB (garde-fou peu coûteux qui écarte les gros fichiers).
- Tous les 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é.
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: ec89f1db-0ba8-48c8-8c1a-c38c410f3e39
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- MalwareditekSHen detection· ditekShen· 2020-11-06
- 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
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-06-11