YARA · SEKOIA.IO Community
SEKOIA_Apt_Implant_Xdealer_Strings
Detects XDealer based on strings
- Autor
- Sekoia.io
- Datum
- 2024-03-22
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Detects XDealer based on strings
Ziele: Windows-PE.
Sie definiert 5 Muster (5 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
apt-implant-xdealer-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Implant_Xdealer_Strings : FILE
{
meta:
= "Detects XDealer based on strings"
= "Sekoia.io"
= "06ef72ca-b4e3-493b-8e01-d34b98259c6d"
= "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_strings.yar#L1-L20"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "13c0bbc933f68164b0fe1c2768148bb649b1755bed0cfbc6ed90188fab6876d5"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "unknow_PC"
$ = "rdp-tcp#"
$ = "Din_%s_%s_%u_"
$ = "nslookup %s %s"
$ = "XFByb2dyYW1EYXRhXA=="
condition:
uint16be( 0 ) == 0x4d5a and 3 of them and filesize < 1MB
}
Strings (5 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $ | Text | "unknow_PC" | |
| $ | Text | "rdp-tcp#" | |
| $ | Text | "Din_%s_%s_%u_" | |
| $ | Text | "nslookup %s %s" | |
| $ | Text | "XFByb2dyYW1EYXRhXA==" |
Bedingung
uint16be( 0 ) == 0x4d5a and 3 of them and filesize < 1MBIn Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- 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: 06ef72ca-b4e3-493b-8e01-d34b98259c6d
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