Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Apt_Ta428_Tmanger_Strings

Detects Tmanger malware

APT / AkteurTmangerSEKOIA.IO CommunityDetection Rule License 1.1Kompiliert mit YARA-X
Autor
Sekoia.io
Datum
2022-09-06
Geändert
2024-12-19
Score / Qualität
75 / 80

Was diese Regel erkennt

Detects Tmanger malware

Zugehörige Malware-Familie: Tmanger.

Ziele: Windows-PE.

Sie definiert 10 Muster (10 Text, 0 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

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
}

Strings (10 Muster)

BezeichnerTypWertModifikatoren
$Text"sock_hmutex"wide ascii
$Text"cmd_hmutex"wide ascii
$Text"%s_%d.bmp"wide ascii
$Text"WSAStartup Error!"wide ascii
$Text"4551-8f84-08e738aec"wide ascii
$Text"Init failed!"wide ascii
$Text"GetLanIP error!"wide ascii
$Text"chcp & exit"wide ascii
$Text"GetHostname error!"wide ascii
$Text"[Num Lock]"wide ascii

Bedingung

uint16be( 0 ) == 0x4d5a and filesize < 200KB and 4 of them

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Die Datei muss kleiner als 200KB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Mindestens 4 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.

Im Editor öffnen

Referenzen

Lizenz & Namensnennung

Autor: Sekoia.io

Quell-Repository: SEKOIA.IO Community @ a438a5901a

Lizenz: Detection Rule License 1.1 (Repository-Lizenz)

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: f600404d-3f93-4e3f-bba7-9f519f67c6cb

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE