YARA · SEKOIA.IO Community
SEKOIA_Tool_Htran_Strings
Detects HTran based on strings
- Auteur
- Sekoia.io
- Date
- 2022-09-09
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects HTran based on strings
Famille de malware associée : Htran.
Cibles : PE Windows.
Elle définit 6 motifs (6 texte, 0 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
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
}
Chaînes (6 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | texte | "-slave <ConnectHost> <ConnectPort> <TransmitHost> <TransmitPort>" | |
| $ | texte | "-tran <ConnectPort> <TransmitHost> <TransmitPort>" | |
| $ | texte | "-listen <ConnectPort> <TransmitPort>" | |
| $ | texte | "[-] There is a error...Create a new connection." | |
| $ | texte | "[+] Start Transmit (%s:%d <-> %s:%d) ......" | |
| $ | texte | "[+] Accept a Client on port %d from %s" |
Condition
uint16be( 0 ) == 0x4d5a and filesize < 1MB and 3 of themEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Le fichier doit faire moins de 1MB (garde-fou peu coûteux qui écarte les gros fichiers).
- Au moins 3 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é.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
Références
Licence et attribution
Auteur : Sekoia.io
Dépôt source : SEKOIA.IO Community @ a438a5901a
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: 0184937e-eefa-4c6d-ae00-9b0af80dc7db
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2024-09-06
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2024-02-29
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2023-12-05
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2023-11-15
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2023-08-23
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2022-02-08
- Outil offensifSEKOIA.IO Community· Sekoia.io· 2022-07-22