Aller au contenu

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.1Compile avec YARA-X
Auteur
Sekoia.io
Date
2023-06-09
Modifiée
2024-12-19
Score / Qualité
75 / 80

Ce que détecte cette règle

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

Famille de malware associée : Gobrat.

Cibles : ELF Linux.

Elle définit 1 motifs (1 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

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
}

Chaînes (1 motifs)

IdentifiantTypeValeurModificateurs
$s1texte"Z:/Go/awesomeProject3/main.go"wide ascii

Condition

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

En clair (Heuristique)

  • Le fichier doit commencer par l’en-tête ELF — un exécutable Linux/Unix.
  • Le fichier doit faire moins de 4000KB (garde-fou peu coûteux qui écarte les gros fichiers).
  • Le motif $s1 doit être présent.

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

Hashes d’échantillons

Hashes des échantillons listés par l’auteur dans les métadonnées de la règle (à rechercher dans votre plateforme de threat intelligence).

  • 36cb17d9d118bd9692106c8aafab2462aacf1cdad3a6afb0e4f1de898a7db0e1
  • 28a714f7cec4445dbd507b85016c8e96ed5e378bcabe2e422c499975122b3f03
  • 1e80a084ab89da2375bc3cc2f5a37975edff709ef29a3fa2b4df4ccb6d5afe10

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

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE

Plus de règles Gobrat