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
- Auteur
- Florian Roth (Nextron Systems)
- Date
- 2023-03-31
- Modifiée
- 2023-12-05
- Score / Qualité
- 80 / 85
Ce que détecte cette règle
Detects macOS malware used in the 3CX incident
Elle définit 4 motifs (4 texte, 0 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
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* ) )
}
Chaînes (4 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $a1 | texte | "com.apple.security.cs.allow-unsigned-executable-memory" | ascii |
| $a2 | texte | "com.electron.3cx-desktop-app" | ascii fullword |
| $s1 | texte | "s8T/RXMlALbXfowom9qk15FgtdI=" | ascii |
| $s2 | texte | "o8NQKPJE6voVZUIGtXihq7lp0cY=" | ascii |
Condition
uint16( 0 ) == 0xfacf and filesize < 400KB and ( all of ( $a* ) and 1 of ( $s* ) )En clair (Heuristique)
- Le fichier doit faire moins de 400KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Tous les motifs de ( $a* ) doivent être trouvés.
- Au moins 1 motifs de ( $s* ) doivent être trouvés.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Hashes d’échantillons
Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).
- 51079c7e549cbad25429ff98b6d6ca02dc9234e466dd9b75a5e05b9d7b95af72
- f7ba7f9bf608128894196cf7314f68b78d2a6df10718c8e0cd64dbe3b86bc730
Licence et attribution
Auteur : Florian Roth (Nextron Systems)
Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licence : Detection Rule License 1.1 (licence du dépôt)
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: 7a3755d4-37e5-5d3b-93aa-34edb557f2d5
Tags:FILE
Règles liées
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-03-31
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-10-25
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / acteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-24