Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Apt_Malware_Pocoproxy

Detects strings in PocoProxy

APT / AkteurSEKOIA.IO CommunityDetection Rule License 1.1Kompiliert mit YARA-X
Autor
Sekoia.io
Datum
2024-08-13
Geändert
2024-12-19
Score / Qualität
75 / 80

Was diese Regel erkennt

Detects strings in PocoProxy

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

apt-malware-pocoproxy.yarDetection Rule License 1.1
rule SEKOIA_Apt_Malware_Pocoproxy : FILE
{
	meta:
		description = "Detects strings in PocoProxy"
		author = "Sekoia.io"
		id = "8b37e37f-339e-4f8b-b792-435096f56af0"
		date = "2024-08-13"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_malware_pocoproxy.yar#L1-L25"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		hash = "2b89f15012512002c656ff821bbbeca0"
		hash = "8d850fed6bb1f3b60365ed656c6791c5"
		logic_hash = "217f4eabb5ff4534878b6dd192ae446e651d8510f03ceb501eb33e91199c15a8"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = "-listen" ascii fullword
		$ = "-connect" ascii fullword
		$ = "-proxy" ascii fullword
		$ = "%d-%d-%d %d:%d:%d" ascii fullword
		$ = "%S://%S:%u%S" wide
		$ = "\\r\\n[%u(%u/%u/%u/%u)]==> %S  %S>> %S:%d connect ok." wide
		$ = "\\r\\nnconnect to %S:%d faild." wide
		$ = "\\r\\nI'm listen %S:%d,welcome..." wide

	condition:
		uint16be( 0 ) == 0x4d5a and 5 of them
}

Strings (8 Muster)

BezeichnerTypWertModifikatoren
$Text"-listen"ascii fullword
$Text"-connect"ascii fullword
$Text"-proxy"ascii fullword
$Text"%d-%d-%d %d:%d:%d"ascii fullword
$Text"%S://%S:%u%S"wide
$Text"\\r\\n[%u(%u/%u/%u/%u)]==> %S %S>> %S:%d connect ok."wide
$Text"\\r\\nnconnect to %S:%d faild."wide
$Text"\\r\\nI'm listen %S:%d,welcome..."wide

Bedingung

uint16be( 0 ) == 0x4d5a and 5 of them

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 5 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

Proben-Hashes

Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).

  • 2b89f15012512002c656ff821bbbeca0
  • 8d850fed6bb1f3b60365ed656c6791c5

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: 8b37e37f-339e-4f8b-b792-435096f56af0

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE