YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_MAL_LNX_Redmenshen_Bpfdoor_Controller_May22_3
Detects BPFDoor implants used by Chinese actor Red Menshen
- Autor
- Florian Roth (Nextron Systems)
- Fecha
- 2022-05-08
- Modificada
- 2023-12-05
- Puntuación / Calidad
- 85 / 85
Qué detecta esta regla
Detects BPFDoor implants used by Chinese actor Red Menshen
Define 3 patrones (3 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_APT_MAL_LNX_Redmenshen_Bpfdoor_Controller_May22_3 : FILE
{
meta:
= "Detects BPFDoor implants used by Chinese actor Red Menshen"
= "Florian Roth (Nextron Systems)"
= "91c2153a-a6e0-529e-852c-61f799838798"
= "2022-05-08"
= "2023-12-05"
= "https://doublepulsar.com/bpfdoor-an-active-chinese-global-surveillance-tool-54b078f1a896"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/mal_lnx_implant_may22.yar#L102-L119"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "144526d30ae747982079d5d340d1ff116a7963aba2e3ed589e7ebc297ba0c1b3"
= "fa0defdabd9fd43fe2ef1ec33574ea1af1290bd3d763fdb2bed443f2bd996d73"
= "afec0bfeddf5c5c2abc1a3173f636c385437e5d7c0b68665f6274011113a6a9c"
= 85
= 85
= "FILE"
strings:
$s1 = "hald-addon-acpi: listening on acpi kernel interface /proc/acpi/event" ascii fullword
$s2 = "/sbin/mingetty /dev" ascii fullword
$s3 = "pickup -l -t fifo -u" ascii fullword
condition:
uint16( 0 ) == 0x457f and filesize < 200KB and 2 of them or all of them
}
Cadenas (3 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "hald-addon-acpi: listening on acpi kernel interface /proc/acpi/event" | ascii fullword |
| $s2 | texto | "/sbin/mingetty /dev" | ascii fullword |
| $s3 | texto | "pickup -l -t fifo -u" | ascii fullword |
Condición
uint16( 0 ) == 0x457f and filesize < 200KB and 2 of them or all of themEn palabras sencillas (Heurística)
- El archivo debe ocupar menos de 200KB (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.
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).
- 144526d30ae747982079d5d340d1ff116a7963aba2e3ed589e7ebc297ba0c1b3
- fa0defdabd9fd43fe2ef1ec33574ea1af1290bd3d763fdb2bed443f2bd996d73
Licencia y atribución
Autor: Florian Roth (Nextron Systems)
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: 91c2153a-a6e0-529e-852c-61f799838798
Etiquetas:FILE
Reglas relacionadas
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-03-31
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-10-25
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / actorSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-24