YARA · SEKOIA.IO Community
SEKOIA_Apt_Ta428_Tmanger_Strings
Detects Tmanger malware
- Auteur
- Sekoia.io
- Date
- 2022-09-06
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects Tmanger malware
Famille de malware associée : Tmanger.
Cibles : PE Windows.
Elle définit 10 motifs (10 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
apt-ta428-tmanger-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Ta428_Tmanger_Strings : FILE
{
meta:
= "Detects Tmanger malware"
= "Sekoia.io"
= "f600404d-3f93-4e3f-bba7-9f519f67c6cb"
= "2022-09-06"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_ta428_tmanger_strings.yar#L1-L26"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "e045f38367fa7f3cdcc908e60de4386889c7878c95b1a40f63fd70683699b0f1"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "sock_hmutex" wide ascii
$ = "cmd_hmutex" wide ascii
$ = "%s_%d.bmp" wide ascii
$ = "WSAStartup Error!" wide ascii
$ = "4551-8f84-08e738aec" wide ascii
$ = "Init failed!" wide ascii
$ = "GetLanIP error!" wide ascii
$ = "chcp & exit" wide ascii
$ = "GetHostname error!" wide ascii
$ = "[Num Lock]" wide ascii
condition:
uint16be( 0 ) == 0x4d5a and filesize < 200KB and 4 of them
}
Chaînes (10 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ | texte | "sock_hmutex" | wide ascii |
| $ | texte | "cmd_hmutex" | wide ascii |
| $ | texte | "%s_%d.bmp" | wide ascii |
| $ | texte | "WSAStartup Error!" | wide ascii |
| $ | texte | "4551-8f84-08e738aec" | wide ascii |
| $ | texte | "Init failed!" | wide ascii |
| $ | texte | "GetLanIP error!" | wide ascii |
| $ | texte | "chcp & exit" | wide ascii |
| $ | texte | "GetHostname error!" | wide ascii |
| $ | texte | "[Num Lock]" | wide ascii |
Condition
uint16be( 0 ) == 0x4d5a and filesize < 200KB and 4 of themEn clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Le fichier doit faire moins de 200KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Au moins 4 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: f600404d-3f93-4e3f-bba7-9f519f67c6cb
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
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-06-11