YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Neptune
Detects Neptune keylogger / infostealer
- Autor
- ditekSHen
- Fecha
- 2020-11-06
- Modificada
- 2024-11-01
- Puntuación / Calidad
- 75 / 75
Qué detecta esta regla
Detects Neptune keylogger / infostealer
Familia de malware asociada: Neptune.
Objetivos: PE de Windows.
Define 15 patrones (15 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_Neptune : FILE
{
meta:
= "Detects Neptune keylogger / infostealer"
= "ditekSHen"
= "0f619bea-f00b-5078-95a4-83306e3e87b4"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L7931-L7953"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "e3298bf55f89180ed7e9f7ad35b59d39284a5143fd69fa2a4fbc27d91fb2fbd3"
= 75
= 75
= "FILE"
strings:
$x1 = "your keylogger has been freshly installed on" wide
$x2 = "Attached is a screenshot of the victim" wide
$x3 = "color: rgb(2, 84, 138);'>Project Neptune</span><br>" wide
$x4 = ">{Monitor Everything}</span><br><br>" wide
$x5 = "[First Run] Neptune" wide
$x6 = "Neptune - " wide
$s1 = "Melt" fullword wide
$s2 = "Hide" fullword wide
$s3 = "SDDate+" fullword wide
$s4 = "DelOff+" fullword wide
$s5 = "MsgFalse+" fullword wide
$s6 = "Clipboard:" fullword wide
$s7 = "information is valid and working!" wide
$s8 = ".exe /k %windir%\\System32\\reg.exe ADD HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System /v EnableLUA /t REG_DWORD /d 0 /f" wide
$s9 = "http://www.exampleserver.com/directfile.exe" fullword wide
condition:
uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or 7 of ( $s* ) or ( 1 of ( $x* ) and 5 of ( $s* ) ) )
}
Cadenas (15 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $x1 | texto | "your keylogger has been freshly installed on" | wide |
| $x2 | texto | "Attached is a screenshot of the victim" | wide |
| $x3 | texto | "color: rgb(2, 84, 138);'>Project Neptune</span><br>" | wide |
| $x4 | texto | ">{Monitor Everything}</span><br><br>" | wide |
| $x5 | texto | "[First Run] Neptune" | wide |
| $x6 | texto | "Neptune - " | wide |
| $s1 | texto | "Melt" | fullword wide |
| $s2 | texto | "Hide" | fullword wide |
| $s3 | texto | "SDDate+" | fullword wide |
| $s4 | texto | "DelOff+" | fullword wide |
| $s5 | texto | "MsgFalse+" | fullword wide |
| $s6 | texto | "Clipboard:" | fullword wide |
| $s7 | texto | "information is valid and working!" | wide |
| $s8 | texto | ".exe /k %windir%\\System32\\reg.exe ADD HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System /v EnableLUA /t REG_DWORD /d 0 /f" | wide |
| $s9 | texto | "http://www.exampleserver.com/directfile.exe" | fullword wide |
Condición
uint16( 0 ) == 0x5a4d and ( 2 of ( $x* ) or 7 of ( $s* ) or ( 1 of ( $x* ) and 5 of ( $s* ) ) )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- Deben coincidir al menos 2 patrones de ( $x* ).
- Deben coincidir al menos 7 patrones de ( $s* ).
- Deben coincidir al menos 1 patrones de ( $x* ).
- Deben coincidir al menos 5 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: 0f619bea-f00b-5078-95a4-83306e3e87b4
Etiquetas:FILE
Reglas relacionadas
- RUSSIANPANDA_Neptune_LoaderSolo metadatosMalwareRussianPanda· RussianPanda· 2024-01-17
- 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