Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Pingback

Detects PingBack ICMP backdoor

MalwarePingbackditekSHen detectionBSD 2-Clause LicenseKompiliert mit YARA-X
Autor
ditekSHen
Datum
2020-11-06
Geändert
2024-11-01
Score / Qualität
75 / 75

Was diese Regel erkennt

Detects PingBack ICMP backdoor

Zugehörige Malware-Familie: Pingback.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-pingback.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Pingback : FILE
{
	meta:
		description = "Detects PingBack ICMP backdoor"
		author = "ditekSHen"
		id = "ecb313b6-f923-5b6d-a4d7-a4650817ed84"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L5742-L5761"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "c5fa9ecefca1188ba5e81c0518f74023884ad0f66718fc030601cb458bdf2f12"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "Sniffer ok!" fullword ascii
		$s2 = "recv icmp packet!" fullword ascii
		$s3 = "WSASocket() failed: %d" fullword ascii
		$s4 = "file on remote computers success" ascii
		$s5 = "listen port error!" fullword ascii
		$s6 = "\\PingBackService" ascii
		$c1 = "exec" fullword ascii
		$c2 = "rexec" fullword ascii
		$c3 = "exep" fullword ascii
		$c4 = "download" fullword ascii
		$c5 = "upload" fullword ascii
		$c6 = "shell" fullword ascii

	condition:
		uint16( 0 ) == 0x5a4d and ( 3 of ( $s* ) or all of ( $c* ) or ( 4 of ( $c* ) and 2 of ( $s* ) ) )
}

Strings (12 Muster)

BezeichnerTypWertModifikatoren
$s1Text"Sniffer ok!"fullword ascii
$s2Text"recv icmp packet!"fullword ascii
$s3Text"WSASocket() failed: %d"fullword ascii
$s4Text"file on remote computers success"ascii
$s5Text"listen port error!"fullword ascii
$s6Text"\\PingBackService"ascii
$c1Text"exec"fullword ascii
$c2Text"rexec"fullword ascii
$c3Text"exep"fullword ascii
$c4Text"download"fullword ascii
$c5Text"upload"fullword ascii
$c6Text"shell"fullword ascii

Bedingung

uint16( 0 ) == 0x5a4d and ( 3 of ( $s* ) or all of ( $c* ) or ( 4 of ( $c* ) and 2 of ( $s* ) ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $c* ) müssen treffen.
  • Mindestens 3 Muster aus ( $s* ) müssen treffen.
  • Mindestens 4 Muster aus ( $c* ) müssen treffen.
  • Mindestens 2 Muster aus ( $s* ) 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: ditekSHen

Quell-Repository: ditekSHen detection @ e76c93dcde

Lizenz: BSD 2-Clause License (Repository-Lizenz)

Copyright-Hinweis: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Originalregel

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

Regel-ID: ecb313b6-f923-5b6d-a4d7-a4650817ed84

Tags:FILE