YARA · SEKOIA.IO Community
SEKOIA_Crimeware_Njrat_Strings
Detects njRAT based on some strings
- Autor
- Sekoia.io
- Fecha
- 2022-08-22
- Modificada
- 2024-12-19
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Detects njRAT based on some strings
Familia de malware asociada: Njrat.
Objetivos: PE de Windows.
Define 8 patrones (8 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
crimeware-njrat-strings.yarDetection Rule License 1.1
rule SEKOIA_Crimeware_Njrat_Strings : FILE
{
meta:
= "Detects njRAT based on some strings"
= "Sekoia.io"
= "215807ae-fbcb-478d-8941-e0787b883669"
= "2022-08-22"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/crimeware_njrat_strings.yar#L1-L24"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "47102adde81682c3c1c856c3495c6f98a9e39aa052eac2ab0a803dab44d19c26"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "set cdaudio door closed" wide
$ = "set cdaudio door open" wide
$ = "ping 0" wide
$ = "[endof]" wide
$ = "TiGeR-Firewall" wide
$ = "NetSnifferCs" wide
$ = "IPBlocker" wide
$ = "Sandboxie Control" wide
condition:
uint16be( 0 ) == 0x4d5a and filesize < 1MB and 5 of them
}
Cadenas (8 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $ | texto | "set cdaudio door closed" | wide |
| $ | texto | "set cdaudio door open" | wide |
| $ | texto | "ping 0" | wide |
| $ | texto | "[endof]" | wide |
| $ | texto | "TiGeR-Firewall" | wide |
| $ | texto | "NetSnifferCs" | wide |
| $ | texto | "IPBlocker" | wide |
| $ | texto | "Sandboxie Control" | wide |
Condición
uint16be( 0 ) == 0x4d5a and filesize < 1MB and 5 of themEn palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- El archivo debe ocupar menos de 1MB (un límite barato que descarta archivos grandes).
- Deben coincidir al menos 5 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.
Arrastra un archivo aquí o haz clic para elegirSe escanea en local con YARA-X. Archivos de hasta 200 MB.
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: 215807ae-fbcb-478d-8941-e0787b883669
Metadatos
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Etiquetas:FILE
Reglas relacionadas
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-10-03
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-10-03
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-10-03
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- SECUINFRA_DROPPER_Njrat_VBSSolo metadatosMalwareSecuInfra Falcon Team· SECUINFRA Falcon Team· 2022-02-27
- SECUINFRA_MAL_NjratSolo metadatosMalwareSecuInfra Falcon Team· SECUINFRA Falcon Team· 2022-02-27
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Arnim Rupp· 2021-01-22
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Arnim Rupp (https://github.com/ruppde)· 2020-12-30