YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_APT_APT41_CN_ELF_Speculoos_Backdoor
Detects Speculoos Backdoor used by APT41
- Autor
- Florian Roth (Nextron Systems)
- Datum
- 2020-04-14
- Geändert
- 2023-12-05
- Score / Qualität
- 90 / 85
Was diese Regel erkennt
Detects Speculoos Backdoor used by APT41
Sie definiert 10 Muster (8 Text, 2 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
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
}
Strings (10 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $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 | Text | "badshell" | ascii fullword |
| $s2 | Text | "hw.physmem" | ascii fullword |
| $s3 | Text | "uname -v" | ascii fullword |
| $s4 | Text | "uname -s" | ascii fullword |
| $s5 | Text | "machdep.tsc_freq" | ascii fullword |
| $s6 | Text | "/usr/sbin/config.bak" | ascii fullword |
| $s7 | Text | "enter MessageLoop..." | ascii fullword |
| $s8 | Text | "exit StartCBProcess..." | ascii fullword |
| $sc1 | Hex | { 72 6D 20 2D 72 66 20 22 25 73 22 00 2F 70 72 6F 63 2F } |
Bedingung
uint16( 0 ) == 0x457f and filesize < 600KB and 1 of ( $x* ) or 4 of themIn Worten (Heuristik)
- Die Datei muss kleiner als 600KB sein (eine günstige Grenze, die große Dateien ausschließt).
- Mindestens 1 Muster aus ( $x* ) müssen treffen.
- Mindestens 4 Muster aus der Regel müssen treffen.
Diese Regel im Browser testen
Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.
Proben-Hashes
Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).
- 6943fbb194317d344ca9911b7abb11b684d3dca4c29adcbcff39291822902167
- 99c5dbeb545af3ef1f0f9643449015988c4e02bf8a7164b5d6c86f67e6dc2d28
Lizenz & Namensnennung
Autor: Florian Roth (Nextron Systems)
Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Lizenz: Detection Rule License 1.1 (Repository-Lizenz)
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: efe2b368-33af-5382-a5f0-0e7dd7f4dea4
Tags:FILE
Verwandte Regeln
- APT / AkteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / AkteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / AkteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / AkteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2023-03-31
- APT / AkteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-10-25
- APT / AkteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-01-16
- APT / AkteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-25
- APT / AkteurSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-02-24