Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Tool_Win_Gosecretsdump

Finds gosecretsdump EXE based on strings

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

Was diese Regel erkennt

Finds gosecretsdump EXE based on strings

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

tool-win-gosecretsdump.yarDetection Rule License 1.1
rule SEKOIA_Tool_Win_Gosecretsdump : FILE
{
	meta:
		description = "Finds gosecretsdump EXE based on strings"
		author = "Sekoia.io"
		id = "9225fe95-e37c-48ff-b5b5-680f255349bd"
		date = "2024-06-10"
		modified = "2024-12-19"
		reference = "https://github.com/C-Sto/gosecretsdump/releases"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_win_gosecretsdump.yar#L1-L27"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "957b0deae745e4fda5a790acc391cebf9d193efb2a19ad5eb18c54da8c17bcfa"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str01 = "github.com/C-Sto/gosecretsdump" ascii
		$str02 = "/pkg/esent" ascii
		$str03 = "/pkg/ditreader" ascii
		$str04 = "/pkg/samreader" ascii
		$str05 = "ntdsFileLocation" ascii
		$str06 = "NTDSLoc" ascii
		$str07 = "SAMEntries" ascii
		$str08 = "SAMHashAES" ascii
		$str09 = "NTLMHash" ascii
		$str10 = "HasNoLMHashPolicy" ascii
		$str11 = "PreviousIncBackup" ascii
		$str12 = "Esent_record" ascii

	condition:
		uint16( 0 ) == 0x5A4D and 7 of them
}

Strings (12 Muster)

BezeichnerTypWertModifikatoren
$str01Text"github.com/C-Sto/gosecretsdump"ascii
$str02Text"/pkg/esent"ascii
$str03Text"/pkg/ditreader"ascii
$str04Text"/pkg/samreader"ascii
$str05Text"ntdsFileLocation"ascii
$str06Text"NTDSLoc"ascii
$str07Text"SAMEntries"ascii
$str08Text"SAMHashAES"ascii
$str09Text"NTLMHash"ascii
$str10Text"HasNoLMHashPolicy"ascii
$str11Text"PreviousIncBackup"ascii
$str12Text"Esent_record"ascii

Bedingung

uint16( 0 ) == 0x5A4D and 7 of them

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 7 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: 9225fe95-e37c-48ff-b5b5-680f255349bd

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE