YARA · SEKOIA.IO Community
SEKOIA_Tool_Htran_Strings
Detects HTran based on strings
- Autor
- Sekoia.io
- Datum
- 2022-09-09
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Detects HTran based on strings
Zugehörige Malware-Familie: Htran.
Ziele: Windows-PE.
Sie definiert 6 Muster (6 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
tool-htran-strings.yarDetection Rule License 1.1
rule SEKOIA_Tool_Htran_Strings : FILE
{
meta:
= "Detects HTran based on strings"
= "Sekoia.io"
= "0184937e-eefa-4c6d-ae00-9b0af80dc7db"
= "2022-09-09"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_htran_strings.yar#L1-L22"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "6a414cec8ad623c735779b9005074f88b07d88b29b23918d98a541a2612a3fa0"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "-slave <ConnectHost> <ConnectPort> <TransmitHost> <TransmitPort>"
$ = "-tran <ConnectPort> <TransmitHost> <TransmitPort>"
$ = "-listen <ConnectPort> <TransmitPort>"
$ = "[-] There is a error...Create a new connection."
$ = "[+] Start Transmit (%s:%d <-> %s:%d) ......"
$ = "[+] Accept a Client on port %d from %s"
condition:
uint16be( 0 ) == 0x4d5a and filesize < 1MB and 3 of them
}
Strings (6 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $ | Text | "-slave <ConnectHost> <ConnectPort> <TransmitHost> <TransmitPort>" | |
| $ | Text | "-tran <ConnectPort> <TransmitHost> <TransmitPort>" | |
| $ | Text | "-listen <ConnectPort> <TransmitPort>" | |
| $ | Text | "[-] There is a error...Create a new connection." | |
| $ | Text | "[+] Start Transmit (%s:%d <-> %s:%d) ......" | |
| $ | Text | "[+] Accept a Client on port %d from %s" |
Bedingung
uint16be( 0 ) == 0x4d5a and filesize < 1MB and 3 of themIn 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: 0184937e-eefa-4c6d-ae00-9b0af80dc7db
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- HacktoolSEKOIA.IO Community· Sekoia.io· 2024-09-06
- HacktoolSEKOIA.IO Community· Sekoia.io· 2024-02-29
- HacktoolSEKOIA.IO Community· Sekoia.io· 2023-12-05
- HacktoolSEKOIA.IO Community· Sekoia.io· 2023-11-15
- HacktoolSEKOIA.IO Community· Sekoia.io· 2023-08-23
- HacktoolSEKOIA.IO Community· Sekoia.io· 2022-02-08
- HacktoolSEKOIA.IO Community· Sekoia.io· 2022-07-22