Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Tool_Ssf_Strings

Detects SSF based on strings

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

Was diese Regel erkennt

Detects SSF based on strings

Ziele: Windows-PE, Linux-ELF.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

tool-ssf-strings.yarDetection Rule License 1.1
rule SEKOIA_Tool_Ssf_Strings : FILE
{
	meta:
		description = "Detects SSF based on strings"
		author = "Sekoia.io"
		id = "47fc3df8-a153-4045-a5f0-ed30df662984"
		date = "2024-05-31"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/tool_ssf_strings.yar#L1-L23"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "a6fa09a25c90e00466a2b59f8c604084996224c93021ad72ed8705bf05da5d97"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "could NOT read SSF reply"
		$ = "SSF reply NOT ok {}"
		$ = "SSF reply OK"
		$ = "SSF protocol error {}"
		$ = "SSF reply ok"
		$ = "SSF version NOT read {}"
		$ = "SSF version {}"
		$ = "SSF version NOT supported {}"

	condition:
		( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a ) and 4 of them
}

Strings (8 Muster)

BezeichnerTypWertModifikatoren
$Text"could NOT read SSF reply"
$Text"SSF reply NOT ok {}"
$Text"SSF reply OK"
$Text"SSF protocol error {}"
$Text"SSF reply ok"
$Text"SSF version NOT read {}"
$Text"SSF version {}"
$Text"SSF version NOT supported {}"

Bedingung

( uint32be( 0 ) == 0x7f454c46 or uint16be( 0 ) == 0x4d5a ) and 4 of them

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Die Datei muss mit dem ELF-Header beginnen — eine Linux/Unix-Programmdatei.
  • Mindestens 4 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: 47fc3df8-a153-4045-a5f0-ed30df662984

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE