YARA · SEKOIA.IO Community
SEKOIA_Apt_Implant_Xdealer_Linux_Variant_Strings
Detects XDealer linux variant
- Autor
- Sekoia.io
- Datum
- 2024-03-22
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Detects XDealer linux variant
Ziele: Linux-ELF.
Sie definiert 7 Muster (7 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
apt-implant-xdealer-linux-variant-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Implant_Xdealer_Linux_Variant_Strings : FILE
{
meta:
= "Detects XDealer linux variant"
= "Sekoia.io"
= "42690513-753f-4296-b641-4d3b59a5e5e1"
= "2024-03-22"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_implant_xdealer_linux_variant_strings.yar#L1-L21"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "400beb53d0f7b7727962175c7c4f8dfccdfed56bb3978d3e847147e8ad7644fb"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "ls -l /proc/%s/exe"
$ = "Linux_%s_%s_%u"
$ = "chkconfig --add"
$ = "cmd over return [%s]"
$ = "touch -d"
$ = "%s can't be opened/n"
$ = "/proc/%s/status"
condition:
uint32be( 0 ) == 0x7f454c46 and 3 of them and filesize < 1MB
}
Strings (7 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $ | Text | "ls -l /proc/%s/exe" | |
| $ | Text | "Linux_%s_%s_%u" | |
| $ | Text | "chkconfig --add" | |
| $ | Text | "cmd over return [%s]" | |
| $ | Text | "touch -d" | |
| $ | Text | "%s can't be opened/n" | |
| $ | Text | "/proc/%s/status" |
Bedingung
uint32be( 0 ) == 0x7f454c46 and 3 of them and filesize < 1MBIn Worten (Heuristik)
- Die Datei muss mit dem ELF-Header beginnen — eine Linux/Unix-Programmdatei.
- Die Datei muss kleiner als 1MB sein (eine günstige Grenze, die große Dateien ausschließt).
- Mindestens 3 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.
Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.
Referenzen
Lizenz & Namensnennung
Autor: Sekoia.io
Quell-Repository: SEKOIA.IO Community @ a438a5901a
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: 42690513-753f-4296-b641-4d3b59a5e5e1
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-06-11
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-03-06