YARA · SEKOIA.IO Community
SEKOIA_Backdoor_Win_Sidewinder_Cobaltstrike_2022_09
Detect the SideWinder malware
- Autor
- Sekoia.io
- Fecha
- 2022-10-24
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Detect the SideWinder malware
Familia de malware asociada: Sidewinder, Cobalt Strike.
Objetivos: PE de Windows.
Define 1 patrones (0 de texto, 1 hex, 0 regex). Módulos YARA usados: pe, hash.
YARA-X dice: warning[deprecated_field]: field `number_of_sections` is deprecated
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
Incluye los imports necesarios para compilarla por sí sola.
import "pe"
import "hash"
rule SEKOIA_Backdoor_Win_Sidewinder_Cobaltstrike_2022_09
{
meta:
= "Detect the SideWinder malware"
= "Sekoia.io"
= "b5e8f87a-4a2c-49bb-aa98-bf3fb5056b23"
= "2022-10-24"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/backdoor_win_sidewinder_cobaltstrike_2022_09.yar#L4-L29"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "f2b719170783c1bfaa4c4772e5cff73797be3056204566844c236d1857869e4c"
= 75
= 80
= ""
= "1.0"
= "TLP:CLEAR"
strings:
$s1 = {65004e004500560045005200200047004f004e004e00410020004700490056004500200059004f0055002000550050002100}
condition:
$s1 or pe.imphash ( ) == "b1e345b2d78e4b82617d995d18100790" or for any i in ( 0 .. pe.number_of_sections -1 ) : ( hash.md5 ( pe.sections [ i ] . raw_data_offset , pe.sections [ i ] . raw_data_size ) == "ac989507d4af352fa354560efef99ba6" or hash.md5 ( pe.sections [ i ] . raw_data_offset , pe.sections [ i ] . raw_data_size ) == "8090b29a44c750b7b21287f9639fe747" or hash.md5 ( pe.sections [ i ] . raw_data_offset , pe.sections [ i ] . raw_data_size ) == "ea8693d6bacf3e7876f717a3d8abc433" )
}
Cadenas (1 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | hex | {65004e004500560045005200200047004f004e004e00410020004700490056004500200059004f0055002000550050002100} |
Condición
$s1 or pe.imphash ( ) == "b1e345b2d78e4b82617d995d18100790" or for any i in ( 0 .. pe.number_of_sections -1 ) : ( hash.md5 ( pe.sections [ i ] . raw_data_offset , pe.sections [ i ] . raw_data_size ) == "ac989507d4af352fa354560efef99ba6" or hash.md5 ( pe.sections [ i ] . raw_data_offset , pe.sections [ i ] . raw_data_size ) == "8090b29a44c750b7b21287f9639fe747" or hash.md5 ( pe.sections [ i ] . raw_data_offset , pe.sections [ i ] . raw_data_size ) == "ea8693d6bacf3e7876f717a3d8abc433" )En palabras sencillas (Heurística)
- Un bucle for comprueba una propiedad sobre varias coincidencias o elementos.
- El patrón $s1 debe estar presente.
- Usa el módulo pe.
- Usa el módulo hash.
- Compara un hash del archivo o de una parte.
- Comprueba el hash de importaciones PE (imphash).
- Comprueba secciones PE (nombres, número o propiedades).
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Referencias
Licencia y atribución
Autor: Sekoia.io
Repositorio de origen: SEKOIA.IO Community @ a438a5901a
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: b5e8f87a-4a2c-49bb-aa98-bf3fb5056b23
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Reglas relacionadas
- MalwareSignature Base (Florian Roth / Nextron)· X__Junior· 2026-02-02
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareVolexity threat-intel· threatintel@volexity.com· 2021-05-25
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareTrellix Advanced Research Center· Felix Bilstein - yara-signator at cocacoding dot com· 2020-07-19
- ARKBIRD_SOLG_MAL_Cobaltstrike_Oct_2021_1Solo metadatosMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-10-30
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· CodeX· 2022-07-04
- Herramienta ofensivaAvast / Gen Digital IOC· Gen Threat Labs· 2021-07-08