Zum Inhalt springen

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Softcnapp

Detects SoftCNApp

MalwareSoftcnappditekSHen 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 SoftCNApp

Zugehörige Malware-Familie: Softcnapp.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

malware-win-softcnapp.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Softcnapp : FILE
{
	meta:
		description = "Detects SoftCNApp"
		author = "ditekSHen"
		id = "473442e2-d411-5e2b-948e-c7ce034a5810"
		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#L5566-L5583"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "2d7f4320282218842fa2e82906bcaf691610ad1a6ea257a2a9fc9e062229a2e8"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "\\\\.\\PIPE\\SOC%d" fullword ascii
		$s2 = "Mozilla/5.0 (Windows NT 6.1)" fullword ascii
		$s3 = "Param: sl=%d; sl=%d; sl=%d; sl=%d; sl=%d;" fullword ascii
		$s4 = ".?AVCHPPlugin@@" fullword ascii
		$s5 = ".?AVCHPCmd@@" fullword ascii
		$s6 = ".?AVCHPExplorer@@" fullword ascii
		$s7 = "%s\\svchost.exe -O" fullword wide
		$s8 = "\"%s\\%s\" -P" fullword ascii
		$n1 = "45.63.58.34" fullword ascii
		$n2 = "127.0.0.1" fullword ascii

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

Strings (10 Muster)

BezeichnerTypWertModifikatoren
$s1Text"\\\\.\\PIPE\\SOC%d"fullword ascii
$s2Text"Mozilla/5.0 (Windows NT 6.1)"fullword ascii
$s3Text"Param: sl=%d; sl=%d; sl=%d; sl=%d; sl=%d;"fullword ascii
$s4Text".?AVCHPPlugin@@"fullword ascii
$s5Text".?AVCHPCmd@@"fullword ascii
$s6Text".?AVCHPExplorer@@"fullword ascii
$s7Text"%s\\svchost.exe -O"fullword wide
$s8Text"\"%s\\%s\" -P"fullword ascii
$n1Text"45.63.58.34"fullword ascii
$n2Text"127.0.0.1"fullword ascii

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Alle Muster aus ( $n* ) müssen treffen.
  • Mindestens 4 Muster aus ( $s* ) 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: 473442e2-d411-5e2b-948e-c7ce034a5810

Tags:FILE