YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_MAL_NK_3CX_Macos_Elextron_App_Mar23_1
Detects macOS malware used in the 3CX incident
- Autor
- Florian Roth (Nextron Systems)
- Fecha
- 2023-03-31
- Modificada
- 2023-12-05
- Puntuación / Calidad
- 80 / 85
Qué detecta esta regla
Detects macOS malware used in the 3CX incident
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_APT_MAL_NK_3CX_Macos_Elextron_App_Mar23_1 : FILE
{
meta:
= "Detects macOS malware used in the 3CX incident"
= "Florian Roth (Nextron Systems)"
= "7a3755d4-37e5-5d3b-93aa-34edb557f2d5"
= "2023-03-31"
= "2023-12-05"
= "Internal Research"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_mal_3cx_compromise_mar23.yar#L306-L328"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "51079c7e549cbad25429ff98b6d6ca02dc9234e466dd9b75a5e05b9d7b95af72"
= "f7ba7f9bf608128894196cf7314f68b78d2a6df10718c8e0cd64dbe3b86bc730"
= "00dd28c3edd94e04e35ee9e3a43c30b5a0a1ad21ec8ecf2099bbeb9de2fca8d0"
= 80
= 85
= "FILE"
strings:
$a1 = "com.apple.security.cs.allow-unsigned-executable-memory" ascii
$a2 = "com.electron.3cx-desktop-app" ascii fullword
$s1 = "s8T/RXMlALbXfowom9qk15FgtdI=" ascii
$s2 = "o8NQKPJE6voVZUIGtXihq7lp0cY=" ascii
condition:
uint16( 0 ) == 0xfacf and filesize < 400KB and ( all of ( $a* ) and 1 of ( $s* ) )
}
Cadenas (4 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $a1 | texto | "com.apple.security.cs.allow-unsigned-executable-memory" | ascii |
| $a2 | texto | "com.electron.3cx-desktop-app" | ascii fullword |
| $s1 | texto | "s8T/RXMlALbXfowom9qk15FgtdI=" | ascii |
| $s2 | texto | "o8NQKPJE6voVZUIGtXihq7lp0cY=" | ascii |
Condición
uint16( 0 ) == 0xfacf and filesize < 400KB and ( all of ( $a* ) and 1 of ( $s* ) )En palabras sencillas (Heurística)
- El archivo debe ocupar menos de 400KB (un límite barato que descarta archivos grandes).
- Deben coincidir todos los patrones de ( $a* ).
- Deben coincidir al menos 1 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.
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).
- 51079c7e549cbad25429ff98b6d6ca02dc9234e466dd9b75a5e05b9d7b95af72
- f7ba7f9bf608128894196cf7314f68b78d2a6df10718c8e0cd64dbe3b86bc730
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: 7a3755d4-37e5-5d3b-93aa-34edb557f2d5
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