YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Nodachi
Detects Nodachi infostealer
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects Nodachi infostealer
Familia de malware asociada: Nodachi.
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
rule DITEKSHEN_MALWARE_Win_Nodachi : FILE
{
meta:
= "Detects Nodachi infostealer"
= "ditekSHen"
= "bce0c44d-7e75-5c51-ba93-75bd81896921"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L6957-L6972"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "c8a262b862a47d5c0c9bd76b722aa4ceb55dd365b5dca35a61318d8a1c53269d"
= 75
= 75
= "FILE"
strings:
$x1 = "//AppData//Roaming//kavachdb//kavach.db" ascii
$s1 = "/upload/drive/v3/files/{fileId}" ascii
$s2 = "main.getTokenFromWeb" ascii
$s3 = "main.tokenFromFile" ascii
$s4 = "/goLazagne/" ascii
$s5 = "/extractor/withoutdrive/main.go" ascii
$s6 = "struct { Hostname string \"json:\\\"hostname\\\"\"; EncryptedUsername string \"json:\\\"encryptedUsername\\\"\"; EncryptedPassword string \"json:\\\"encryptedPassword\\\"\" }" ascii
$s7 = "C://Users//public//cred.json" ascii
condition:
uint16( 0 ) == 0x5a4d and ( ( 1 of ( $x* ) and 3 of ( $s* ) ) or ( 4 of ( $s* ) ) )
}
Cadenas (8 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | texto | "//AppData//Roaming//kavachdb//kavach.db" | ascii |
| $s1 | texto | "/upload/drive/v3/files/{fileId}" | ascii |
| $s2 | texto | "main.getTokenFromWeb" | ascii |
| $s3 | texto | "main.tokenFromFile" | ascii |
| $s4 | texto | "/goLazagne/" | ascii |
| $s5 | texto | "/extractor/withoutdrive/main.go" | ascii |
| $s6 | texto | "struct { Hostname string \"json:\\\"hostname\\\"\"; EncryptedUsername string \"json:\\\"encryptedUsername\\\"\"; EncryptedPassword string \"json:\\\"encryptedP … | ascii |
| $s7 | texto | "C://Users//public//cred.json" | ascii |
Condición
uint16( 0 ) == 0x5a4d and ( ( 1 of ( $x* ) and 3 of ( $s* ) ) or ( 4 of ( $s* ) ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 1 patrones de ( $x* ).
- Deben coincidir al menos 3 patrones de ( $s* ).
- Deben coincidir al menos 4 patrones de ( $s* ).
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: ditekSHen
Repositorio de origen: ditekSHen detection @ e76c93dcde
Licencia: BSD 2-Clause License (licencia del repositorio)
Aviso de copyright: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
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: bce0c44d-7e75-5c51-ba93-75bd81896921
Etiquetas:FILE
Reglas relacionadas
- Sospechoso / huntingditekSHen detection· ditekSHen· 2021-01-21
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06