YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_HKTL_Cobaltstrike_Beacon_XOR_Strings
Identifies XOR'd strings used in Cobalt Strike Beacon DLL
Outil offensifCobalt StrikeSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compile avec YARA-X
- Auteur
- Elastic
- Date
- 2021-03-16
- Modifiée
- 2026-05-26
- Score / Qualité
- 75 / 85
Ce que détecte cette règle
Identifies XOR'd strings used in Cobalt Strike Beacon DLL
Famille de malware associée : Cobalt Strike.
Elle définit 5 motifs (5 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
hktl-cobaltstrike-beacon-xor-strings.yarDetection Rule License 1.1
rule SIGNATURE_BASE_HKTL_Cobaltstrike_Beacon_XOR_Strings
{
meta:
= "Identifies XOR'd strings used in Cobalt Strike Beacon DLL"
= "Elastic"
= "359160a8-cf1c-58a8-bf7f-c09a8d661308"
= "2021-03-16"
= "2026-05-26"
= "https://www.elastic.co/blog/detecting-cobalt-strike-with-memory-signatures"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_cobaltstrike.yar#L69-L90"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "214f0400863783ab4294d8acc820cf00ab9941d193b2b843f877207b9912d799"
= 75
= 85
= ""
= "%02d/%02d/%02d %02d:%02d:%02d"
= "Started service %s on %s"
= "%s as %s\\%s: %d"
strings:
$s1 = "%02d/%02d/%02d %02d:%02d:%02d" xor(0x01-0xff)
$s2 = "Started service %s on %s" xor(0x01-0xff)
$s3 = "%s as %s\\%s: %d" xor(0x01-0xff)
$fp1 = "MalwareRemovalTool" ascii wide
$fp2 = "advanced malware removal tool" ascii wide
condition:
2 of ( $s* ) and not 1 of ( $fp* )
}
Chaînes (5 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $s1 | texte | "%02d/%02d/%02d %02d:%02d:%02d" | xor(0x01-0xff) |
| $s2 | texte | "Started service %s on %s" | xor(0x01-0xff) |
| $s3 | texte | "%s as %s\\%s: %d" | xor(0x01-0xff) |
| $fp1 | texte | "MalwareRemovalTool" | ascii wide |
| $fp2 | texte | "advanced malware removal tool" | ascii wide |
Condition
2 of ( $s* ) and not 1 of ( $fp* )En clair (Heuristique)
- Au moins 2 motifs de ( $s* ) doivent être trouvés.
- Au moins 1 motifs de ( $fp* ) 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.
Licence et attribution
Auteur : Elastic
Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: 359160a8-cf1c-58a8-bf7f-c09a8d661308
Métadonnées
| xor_s1 | %02d/%02d/%02d %02d:%02d:%02d |
|---|---|
| xor_s2 | Started service %s on %s |
| xor_s3 | %s as %s\%s: %d |
Règles liées
- Outil offensifSignature Base (Florian Roth / Nextron)· Elastic· 2021-03-16
- Outil offensifSignature Base (Florian Roth / Nextron)· Elastic· 2021-03-16
- Outil offensifSignature Base (Florian Roth / Nextron)· CodeX· 2022-07-04
- Outil offensifSignature Base (Florian Roth / Nextron)· gssincla@google.com· 2022-11-18
- Outil offensifSignature Base (Florian Roth / Nextron)· yara@s3c.za.net· 2021-07-08
- Outil offensifSignature Base (Florian Roth / Nextron)· yara@s3c.za.net· 2021-07-19
- Outil offensifSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-05-25
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2026-02-02