YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_APT41_CN_ELF_Speculoos_Backdoor
Detects Speculoos Backdoor used by APT41
- Auteur
- Florian Roth (Nextron Systems)
- Date
- 2020-04-14
- Modifiée
- 2023-12-05
- Score / Qualité
- 90 / 85
Ce que détecte cette règle
Detects Speculoos Backdoor used by APT41
Elle définit 10 motifs (8 texte, 2 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_APT41_CN_ELF_Speculoos_Backdoor : FILE
{
meta:
= "Detects Speculoos Backdoor used by APT41"
= "Florian Roth (Nextron Systems)"
= "efe2b368-33af-5382-a5f0-0e7dd7f4dea4"
= "2020-04-14"
= "2023-12-05"
= "https://unit42.paloaltonetworks.com/apt41-using-new-speculoos-backdoor-to-target-organizations-globally/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_apt41.yar#L233-L267"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "6943fbb194317d344ca9911b7abb11b684d3dca4c29adcbcff39291822902167"
= "99c5dbeb545af3ef1f0f9643449015988c4e02bf8a7164b5d6c86f67e6dc2d28"
= "ee4cbbc5fc51fb24cbf6017dfb4763ac72a0b23a3b6e794b909e678ebfbabc03"
= 90
= 85
= "FILE"
strings:
$xc1 = { 2F 70 72 69 76 61 74 65 2F 76 61 72 00 68 77 2E
70 68 79 73 6D 65 6D 00 68 77 2E 75 73 65 72 6D
65 6D 00 4E 41 2D 4E 41 2D 4E 41 2D 4E 41 2D 4E
41 2D 4E 41 00 6C 6F 30 00 00 00 00 25 30 32 78
2D 25 30 32 78 2D 25 30 32 78 2D 25 30 32 78 2D
25 30 32 78 2D 25 30 32 78 0A 00 72 00 4E 41 00
75 6E 61 6D 65 20 2D 76 }
$s1 = "badshell" ascii fullword
$s2 = "hw.physmem" ascii fullword
$s3 = "uname -v" ascii fullword
$s4 = "uname -s" ascii fullword
$s5 = "machdep.tsc_freq" ascii fullword
$s6 = "/usr/sbin/config.bak" ascii fullword
$s7 = "enter MessageLoop..." ascii fullword
$s8 = "exit StartCBProcess..." ascii fullword
$sc1 = { 72 6D 20 2D 72 66 20 22 25 73 22 00 2F 70 72 6F
63 2F }
condition:
uint16( 0 ) == 0x457f and filesize < 600KB and 1 of ( $x* ) or 4 of them
}
Chaînes (10 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $xc1 | hex | { 2F 70 72 69 76 61 74 65 2F 76 61 72 00 68 77 2E 70 68 79 73 6D 65 6D 00 68 77 2E 75 73 65 72 6D 65 6D 00 4E 41 2D 4E 41 2D 4E 41 … | |
| $s1 | texte | "badshell" | ascii fullword |
| $s2 | texte | "hw.physmem" | ascii fullword |
| $s3 | texte | "uname -v" | ascii fullword |
| $s4 | texte | "uname -s" | ascii fullword |
| $s5 | texte | "machdep.tsc_freq" | ascii fullword |
| $s6 | texte | "/usr/sbin/config.bak" | ascii fullword |
| $s7 | texte | "enter MessageLoop..." | ascii fullword |
| $s8 | texte | "exit StartCBProcess..." | ascii fullword |
| $sc1 | hex | { 72 6D 20 2D 72 66 20 22 25 73 22 00 2F 70 72 6F 63 2F } |
Condition
uint16( 0 ) == 0x457f and filesize < 600KB and 1 of ( $x* ) or 4 of themEn clair (Heuristique)
- Le fichier doit faire moins de 600KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Au moins 1 motifs de ( $x* ) doivent être trouvés.
- Au moins 4 motifs de la règle 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).
- 6943fbb194317d344ca9911b7abb11b684d3dca4c29adcbcff39291822902167
- 99c5dbeb545af3ef1f0f9643449015988c4e02bf8a7164b5d6c86f67e6dc2d28
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: efe2b368-33af-5382-a5f0-0e7dd7f4dea4
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