YARA · SEKOIA.IO Community
SEKOIA_Rat_Win_Remcos
DEPRECATED : Find Remcos RAT samples based on specific strings
- Autor
- Sekoia.io
- Fecha
- 2023-01-29
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
DEPRECATED : Find Remcos RAT samples based on specific strings
Familia de malware asociada: Remcos.
Objetivos: PE de Windows.
Define 10 patrones (10 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
rule SEKOIA_Rat_Win_Remcos : FILE
{
meta:
= "DEPRECATED : Find Remcos RAT samples based on specific strings"
= "Sekoia.io"
= "011132f5-c5d9-4e97-bfed-0b94c9a30481"
= "2023-01-29"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/rat_win_remcos.yar#L1-L25"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "259f31d745449dc81cde698bb0ae4a20b4bbf050a1c818fbb5a891f26ca2e856"
= 75
= 80
= "FILE"
= "1.0"
= "2024-01-08"
= "TLP:CLEAR"
strings:
$str01 = "/k %windir%\\System32\\reg.exe ADD HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System /v EnableLUA /t REG_DWORD /d 0 /f" ascii
$str02 = "Disconnection occurred, retrying to connect..." ascii
$str03 = "[Following text has been pasted from clipboard:]" ascii
$str04 = "[Following text has been copied to clipboard:]" ascii
$str05 = "[Chrome StoredLogins found, cleared!]" ascii
$str06 = "PING 127.0.0.1 -n 2" ascii
$str07 = "Remcos_Mutex_Inj" ascii
$str08 = " * REMCOS v" ascii
$str09 = "Connected to C&C!" ascii
$str10 = "[Cleared all cookies & stored logins!]" ascii
condition:
uint16( 0 ) == 0x5A4D and 3 of them
}
Cadenas (10 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $str01 | texto | "/k %windir%\\System32\\reg.exe ADD HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System /v EnableLUA /t REG_DWORD /d 0 /f" | ascii |
| $str02 | texto | "Disconnection occurred, retrying to connect..." | ascii |
| $str03 | texto | "[Following text has been pasted from clipboard:]" | ascii |
| $str04 | texto | "[Following text has been copied to clipboard:]" | ascii |
| $str05 | texto | "[Chrome StoredLogins found, cleared!]" | ascii |
| $str06 | texto | "PING 127.0.0.1 -n 2" | ascii |
| $str07 | texto | "Remcos_Mutex_Inj" | ascii |
| $str08 | texto | " * REMCOS v" | ascii |
| $str09 | texto | "Connected to C&C!" | ascii |
| $str10 | texto | "[Cleared all cookies & stored logins!]" | ascii |
Condición
uint16( 0 ) == 0x5A4D and 3 of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 3 patrones de la regla.
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: 011132f5-c5d9-4e97-bfed-0b94c9a30481
Metadatos
| version | 1.0 |
|---|---|
| modification_date | 2024-01-08 |
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- MalwareSignature Base (Florian Roth / Nextron)· xstp· 2026-01-01
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-08-27
- 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