YARA · Costin Raiu yararules
CRAIU_Susp_Ios_Shutdown
Detect shutdown.log files from sysdiags with suspicious entries
- Autor
- Costin G. Raiu, Art of Noh, craiu@noh.ro
- Fecha
- 2023-12-28
- Modificada
- 2024-03-05
- Puntuación / Calidad
- 65 / 85
Qué detecta esta regla
Detect shutdown.log files from sysdiags with suspicious entries
Define 4 patrones (4 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
susp-ios-shutdown.yarGNU General Public License v3.0
rule CRAIU_Susp_Ios_Shutdown
{
meta:
= "Detect shutdown.log files from sysdiags with suspicious entries"
= "Costin G. Raiu, Art of Noh, craiu@noh.ro"
= "08aa1fb9-7af0-515a-91a8-09ed35e48155"
= "2023-12-28"
= "2024-03-05"
= "https://securelist.com/shutdown-log-lightweight-ios-malware-detection-method/111734/"
= "https://github.com/craiu/yararules/blob/23cf0ca22021fa3684e180a18416b9ae1b695243/files/susp_ios_shutdown.yara#L2-L25"
= "https://github.com/craiu/yararules/blob/23cf0ca22021fa3684e180a18416b9ae1b695243/LICENSE"
= "936101f2dddb73f6dda41be47d775199c458aa4fecdcf348ed479da620343ea1"
= 65
= 85
= ""
= "1.0"
= "TLP:CLEAR"
strings:
$a1 = "these clients are still here:"
$b1 = "/private/var/db/"
$b2 = "/private/var/tmp/"
$c1 = "After "
condition:
($c1 at 0 ) and $a1 and ( any of ( $b* ) )
}
Cadenas (4 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $a1 | texto | "these clients are still here:" | |
| $b1 | texto | "/private/var/db/" | |
| $b2 | texto | "/private/var/tmp/" | |
| $c1 | texto | "After " |
Condición
($c1 at 0 ) and $a1 and ( any of ( $b* ) )En palabras sencillas (Heurística)
- Debe coincidir al menos un patrón de ( $b* ).
- El patrón $c1 debe estar en el offset 0.
- El patrón $a1 debe estar presente.
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.
Licencia y atribución
Autor: Costin G. Raiu, Art of Noh, craiu@noh.ro
Repositorio de origen: Costin Raiu yararules @ 23cf0ca220
Licencia: GNU General Public License v3.0 (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: 08aa1fb9-7af0-515a-91a8-09ed35e48155
Metadatos
| version | 1.0 |
|---|---|
| tlp | TLP:CLEAR |
Reglas relacionadas
- MalwareCostin Raiu yararules· Costin G. Raiu, Art of Noh, craiu@noh.ro· 2024-01-11
- GenéricaCostin Raiu yararules· Costin G. Raiu, Art of Noh, craiu@noh.ro· 2024-07-19
- MalwareCostin Raiu yararules· Costin G. Raiu, Art of Noh, craiu@noh.ro· 2024-03-30
- MalwareCostin Raiu yararules· Costin G. Raiu, Art of Noh, craiu@noh.ro· 2024-03-30