Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Apt_Andariel_Dorarat_Strings

Detects Dora RAT based on strings

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

Was diese Regel erkennt

Detects Dora RAT based on strings

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

apt-andariel-dorarat-strings.yarDetection Rule License 1.1
rule SEKOIA_Apt_Andariel_Dorarat_Strings : FILE
{
	meta:
		description = "Detects Dora RAT based on strings"
		author = "Sekoia.io"
		id = "30388291-a287-489f-a060-c90a16cda217"
		date = "2024-06-17"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_andariel_dorarat_strings.yar#L1-L19"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "21e1c77d486cbf6ddaa2eca673275c7c21cc59fa9551c2eb02c526518ed5b217"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$x1 = "/encryption.go" ascii fullword
		$x2 = "/handshake.go" ascii fullword
		$x3 = "/trans_module.go" ascii fullword
		$enc_rsc = { 14 02 72 14 D3 4C 4A 49 55 36 14 DF 8D 6F 2D CF }

	condition:
		uint16be( 0 ) == 0x4d5a and ( all of ( $x* ) or $enc_rsc )
}

Strings (4 Muster)

BezeichnerTypWertModifikatoren
$x1Text"/encryption.go"ascii fullword
$x2Text"/handshake.go"ascii fullword
$x3Text"/trans_module.go"ascii fullword
$enc_rscHex{ 14 02 72 14 D3 4C 4A 49 55 36 14 DF 8D 6F 2D CF }

Bedingung

uint16be( 0 ) == 0x4d5a and ( all of ( $x* ) or $enc_rsc )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $x* ) müssen treffen.
  • Muster $enc_rsc 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: 30388291-a287-489f-a060-c90a16cda217

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE