Zum Inhalt springen

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_SUSP_BAT_OBFUSC_Jul24_1

Detects indicators of obfuscation in Windows Batch files

Verdächtig / HuntingSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Kompiliert mit YARA-X
Autor
Florian Roth
Datum
2024-07-12
Geändert
2024-12-12
Score / Qualität
70 / 85

Was diese Regel erkennt

Detects indicators of obfuscation in Windows Batch files

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

susp-bat-obfusc-jul24-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_SUSP_BAT_OBFUSC_Jul24_1 : FILE
{
	meta:
		description = "Detects indicators of obfuscation in Windows Batch files"
		author = "Florian Roth"
		id = "801e7efc-2c31-5590-afcd-9e11072c9c65"
		date = "2024-07-12"
		modified = "2024-12-12"
		reference = "https://x.com/0xToxin/status/1811656147943752045"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/susp_bat_obfusc_jul24.yar#L2-L16"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "683f4651eb8c5b74eca16e7f97c5c44f0d70f045ea49f1f3726cb6975aba2ab9"
		score = 70
		quality = 85
		tags = "FILE"

	strings:
		$s1 = "&&set "

	condition:
		filesize < 300KB and uint32( 0 ) == 0x20746573 and $s1 in ( 0 .. 32 )
}

Strings (1 Muster)

BezeichnerTypWertModifikatoren
$s1Text"&&set "

Bedingung

filesize < 300KB and uint32( 0 ) == 0x20746573 and $s1 in ( 0 .. 32 )

In Worten (Heuristik)

  • Die Datei muss kleiner als 300KB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Muster $s1 muss im Bereich 0 .. 32 liegen.

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: Florian Roth

Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

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: 801e7efc-2c31-5590-afcd-9e11072c9c65

Tags:FILE