Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Apt_Ta428_Tmanger_Strings

Detects Tmanger malware

APT / acteurTmangerSEKOIA.IO CommunityDetection Rule License 1.1Compile avec YARA-X
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:
		description = "Detects Tmanger malware"
		author = "Sekoia.io"
		id = "f600404d-3f93-4e3f-bba7-9f519f67c6cb"
		date = "2022-09-06"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_ta428_tmanger_strings.yar#L1-L26"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "e045f38367fa7f3cdcc908e60de4386889c7878c95b1a40f63fd70683699b0f1"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "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)

IdentifiantTypeValeurModificateurs
$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 them

En 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.

Ouvrir dans l’éditeur

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)

Règle d’origine

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

version1.0
classificationTLP:CLEAR

Tags:FILE