YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_EXPL_Perfctl_Oct24
Detects exploits used in relation with Perfctl malware campaigns
- Autor
- Florian Roth
- Fecha
- 2024-10-09
- Modificada
- 2024-12-12
- Puntuación / Calidad
- 80 / 85
Qué detecta esta regla
Detects exploits used in relation with Perfctl malware campaigns
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
rule SIGNATURE_BASE_MAL_EXPL_Perfctl_Oct24 : FILE
{
meta:
= "Detects exploits used in relation with Perfctl malware campaigns"
= "Florian Roth"
= "1f525eaf-445c-592e-bfa4-e9846390dd1d"
= "2024-10-09"
= "2024-12-12"
= "https://www.aquasec.com/blog/perfctl-a-stealthy-malware-targeting-millions-of-linux-servers/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_perfctl_oct24.yar#L2-L21"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "22e4a57ac560ebe1eff8957906589f4dd5934ee555ebcc0f7ba613b07fad2c13"
= "44d4683efc66b3c6c2d32be6b83a2bbc1db39c9a020365dddd27c20667bc6a66"
= 80
= 85
= "FILE"
strings:
$s1 = "Exploit failed. Target is most likely patched." ascii fullword
$s2 = "SHELL=pkexec" ascii fullword
$s3 = "/dump_" ascii fullword
$s4 = ".EYE$" ascii
condition:
uint16( 0 ) == 0x457f and filesize < 30000KB and 2 of them or all of them
}
Cadenas (4 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "Exploit failed. Target is most likely patched." | ascii fullword |
| $s2 | texto | "SHELL=pkexec" | ascii fullword |
| $s3 | texto | "/dump_" | ascii fullword |
| $s4 | texto | ".EYE$" | ascii |
Condición
uint16( 0 ) == 0x457f and filesize < 30000KB and 2 of them or all of themEn palabras sencillas (Heurística)
- El archivo debe ocupar menos de 30000KB (un límite barato que descarta archivos grandes).
- Deben coincidir todos los patrones de la regla.
- Deben coincidir al menos 2 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
Hashes de muestras
Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).
- 22e4a57ac560ebe1eff8957906589f4dd5934ee555ebcc0f7ba613b07fad2c13
Licencia y atribución
Autor: Florian Roth
Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: 1f525eaf-445c-592e-bfa4-e9846390dd1d
Etiquetas:FILE
Reglas relacionadas
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-04-15
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-02-13
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-02-13
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-04-17
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-04-17
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-11-01