Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Rat_Lin_Gobrat_2023

This rule detect samples that are downloaded on the GobRAT C2 URL path /a, /b and /c.

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

Was diese Regel erkennt

This rule detect samples that are downloaded on the GobRAT C2 URL path /a, /b and /c.

Zugehörige Malware-Familie: Gobrat.

Ziele: Linux-ELF.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

rat-lin-gobrat-2023.yarDetection Rule License 1.1
rule SEKOIA_Rat_Lin_Gobrat_2023 : FILE
{
	meta:
		description = "This rule detect samples that are downloaded on the GobRAT C2 URL path /a, /b and /c."
		author = "Sekoia.io"
		id = "ca36a586-f87f-445f-95dc-52d447c1d2a2"
		date = "2023-06-09"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/rat_lin_gobrat_2023.yar#L1-L20"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "36cb17d9d118bd9692106c8aafab2462aacf1cdad3a6afb0e4f1de898a7db0e1"
		hash = "28a714f7cec4445dbd507b85016c8e96ed5e378bcabe2e422c499975122b3f03"
		hash = "1e80a084ab89da2375bc3cc2f5a37975edff709ef29a3fa2b4df4ccb6d5afe10"
		logic_hash = "b9831cefded9e48ef169aa56c18628a9871760ae613f75b232019b4798944e16"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$s1 = "Z:/Go/awesomeProject3/main.go" wide ascii

	condition:
		uint32( 0 ) == 0x464c457f and filesize < 4000KB and $s1
}

Strings (1 Muster)

BezeichnerTypWertModifikatoren
$s1Text"Z:/Go/awesomeProject3/main.go"wide ascii

Bedingung

uint32( 0 ) == 0x464c457f and filesize < 4000KB and $s1

In Worten (Heuristik)

  • Die Datei muss mit dem ELF-Header beginnen — eine Linux/Unix-Programmdatei.
  • Die Datei muss kleiner als 4000KB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Muster $s1 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

Proben-Hashes

Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).

  • 36cb17d9d118bd9692106c8aafab2462aacf1cdad3a6afb0e4f1de898a7db0e1
  • 28a714f7cec4445dbd507b85016c8e96ed5e378bcabe2e422c499975122b3f03
  • 1e80a084ab89da2375bc3cc2f5a37975edff709ef29a3fa2b4df4ccb6d5afe10

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: ca36a586-f87f-445f-95dc-52d447c1d2a2

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE

Weitere Gobrat-Regeln