YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_HKTL_Cobaltstrike_Beacon_XOR_Strings
Identifies XOR'd strings used in Cobalt Strike Beacon DLL
Herramienta ofensivaCobalt StrikeSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compila con YARA-X
- Autor
- Elastic
- Fecha
- 2021-03-16
- Modificada
- 2026-05-26
- Puntuación / Calidad
- 75 / 85
Qué detecta esta regla
Identifies XOR'd strings used in Cobalt Strike Beacon DLL
Familia de malware asociada: Cobalt Strike.
Define 5 patrones (5 de texto, 0 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
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* )
}
Cadenas (5 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "%02d/%02d/%02d %02d:%02d:%02d" | xor(0x01-0xff) |
| $s2 | texto | "Started service %s on %s" | xor(0x01-0xff) |
| $s3 | texto | "%s as %s\\%s: %d" | xor(0x01-0xff) |
| $fp1 | texto | "MalwareRemovalTool" | ascii wide |
| $fp2 | texto | "advanced malware removal tool" | ascii wide |
Condición
2 of ( $s* ) and not 1 of ( $fp* )En palabras sencillas (Heurística)
- Deben coincidir al menos 2 patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $fp* ).
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.
Licencia y atribución
Autor: Elastic
Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licencia: Detection Rule License 1.1 (licencia del repositorio)
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: 359160a8-cf1c-58a8-bf7f-c09a8d661308
Metadatos
| xor_s1 | %02d/%02d/%02d %02d:%02d:%02d |
|---|---|
| xor_s2 | Started service %s on %s |
| xor_s3 | %s as %s\%s: %d |
Reglas relacionadas
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Elastic· 2021-03-16
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Elastic· 2021-03-16
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· CodeX· 2022-07-04
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· gssincla@google.com· 2022-11-18
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· yara@s3c.za.net· 2021-07-08
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· yara@s3c.za.net· 2021-07-19
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-05-25
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2026-02-02