Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Apt_Kimsuky_Sharptongue_Strings

Detects SharpTongue variants.

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

Was diese Regel erkennt

Detects SharpTongue variants.

Zugehörige Malware-Familie: Kimsuky.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

apt-kimsuky-sharptongue-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Kimsuky_Sharptongue_Strings : FILE
{
	meta:
		description = "Detects SharpTongue variants."
		author = "Sekoia.io"
		id = "56027edb-4e6e-40ec-a1b9-36c52b0dd3ec"
		date = "2022-07-29"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_kimsuky_sharptongue_strings.yar#L1-L18"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "a7a9045485f6e713a8ae1bc87cd1296d64905b18e5d13d6e2b9a95328181af54"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$s1 = "Post0.Open" ascii wide
		$s2 = ".php?op=" ascii wide
		$s3 = "s=s&Mid(c,ix*d+jx+1,1)" ascii wide
		$s4 = "curl -o " ascii wide

	condition:
		$s2 in ( @s1 .. @s1 + 200 ) or $s2 in ( @s4 .. @s4 + 200 ) or $s3 and filesize < 500KB
}

Strings (4 Muster)

BezeichnerTypWertModifikatoren
$s1Text"Post0.Open"ascii wide
$s2Text".php?op="ascii wide
$s3Text"s=s&Mid(c,ix*d+jx+1,1)"ascii wide
$s4Text"curl -o "ascii wide

Bedingung

$s2 in ( @s1 .. @s1 + 200 ) or $s2 in ( @s4 .. @s4 + 200 ) or $s3 and filesize < 500KB

In Worten (Heuristik)

  • Die Datei muss kleiner als 500KB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Muster $s2 muss im Bereich @s1 .. @s1 + 200 liegen.
  • Muster $s2 muss im Bereich @s4 .. @s4 + 200 liegen.
  • Muster $s3 muss vorhanden sein.

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: 56027edb-4e6e-40ec-a1b9-36c52b0dd3ec

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE

Weitere Kimsuky-Regeln