Zum Inhalt springen

YARA · Costin Raiu yararules

CRAIU_Susp_Ios_Shutdown

Detect shutdown.log files from sysdiags with suspicious entries

Verdächtig / HuntingCostin Raiu yararulesGNU General Public License v3.0Kompiliert mit YARA-X
Autor
Costin G. Raiu, Art of Noh, craiu@noh.ro
Datum
2023-12-28
Geändert
2024-03-05
Score / Qualität
65 / 85

Was diese Regel erkennt

Detect shutdown.log files from sysdiags with suspicious entries

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

susp-ios-shutdown.yarGNU General Public License v3.0
rule CRAIU_Susp_Ios_Shutdown
{
	meta:
		description = "Detect shutdown.log files from sysdiags with suspicious entries"
		author = "Costin G. Raiu, Art of Noh, craiu@noh.ro"
		id = "08aa1fb9-7af0-515a-91a8-09ed35e48155"
		date = "2023-12-28"
		modified = "2024-03-05"
		reference = "https://securelist.com/shutdown-log-lightweight-ios-malware-detection-method/111734/"
		source_url = "https://github.com/craiu/yararules/blob/23cf0ca22021fa3684e180a18416b9ae1b695243/files/susp_ios_shutdown.yara#L2-L25"
		license_url = "https://github.com/craiu/yararules/blob/23cf0ca22021fa3684e180a18416b9ae1b695243/LICENSE"
		logic_hash = "936101f2dddb73f6dda41be47d775199c458aa4fecdcf348ed479da620343ea1"
		score = 65
		quality = 85
		tags = ""
		version = "1.0"
		tlp = "TLP:CLEAR"

	strings:
		$a1 = "these clients are still here:"
		$b1 = "/private/var/db/"
		$b2 = "/private/var/tmp/"
		$c1 = "After "

	condition:
		($c1 at 0 ) and $a1 and ( any of ( $b* ) )
}

Strings (4 Muster)

BezeichnerTypWertModifikatoren
$a1Text"these clients are still here:"
$b1Text"/private/var/db/"
$b2Text"/private/var/tmp/"
$c1Text"After "

Bedingung

($c1 at 0 ) and $a1 and ( any of ( $b* ) )

In Worten (Heuristik)

  • Mindestens ein Muster aus ( $b* ) muss treffen.
  • Muster $c1 muss an Offset 0 stehen.
  • Muster $a1 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

Lizenz & Namensnennung

Autor: Costin G. Raiu, Art of Noh, craiu@noh.ro

Quell-Repository: Costin Raiu yararules @ 23cf0ca220

Lizenz: GNU General Public License v3.0 (Repository-Lizenz)

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: 08aa1fb9-7af0-515a-91a8-09ed35e48155

Metadaten

version1.0
tlpTLP:CLEAR