Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Rat_Win_Remcos

DEPRECATED : Find Remcos RAT samples based on specific strings

MalwareRemcosSEKOIA.IO CommunityDetection Rule License 1.1Kompiliert mit YARA-X
Autor
Sekoia.io
Datum
2023-01-29
Geändert
2024-12-19
Score / Qualität
75 / 80

Was diese Regel erkennt

DEPRECATED : Find Remcos RAT samples based on specific strings

Zugehörige Malware-Familie: Remcos.

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

rat-win-remcos.yarDetection Rule License 1.1
rule SEKOIA_Rat_Win_Remcos : FILE
{
	meta:
		description = "DEPRECATED : Find Remcos RAT samples based on specific strings"
		author = "Sekoia.io"
		id = "011132f5-c5d9-4e97-bfed-0b94c9a30481"
		date = "2023-01-29"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/rat_win_remcos.yar#L1-L25"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "259f31d745449dc81cde698bb0ae4a20b4bbf050a1c818fbb5a891f26ca2e856"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		modification_date = "2024-01-08"
		classification = "TLP:CLEAR"

	strings:
		$str01 = "/k %windir%\\System32\\reg.exe ADD HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System /v EnableLUA /t REG_DWORD /d 0 /f" ascii
		$str02 = "Disconnection occurred, retrying to connect..." ascii
		$str03 = "[Following text has been pasted from clipboard:]" ascii
		$str04 = "[Following text has been copied to clipboard:]" ascii
		$str05 = "[Chrome StoredLogins found, cleared!]" ascii
		$str06 = "PING 127.0.0.1 -n 2" ascii
		$str07 = "Remcos_Mutex_Inj" ascii
		$str08 = " * REMCOS v" ascii
		$str09 = "Connected to C&C!" ascii
		$str10 = "[Cleared all cookies & stored logins!]" ascii

	condition:
		uint16( 0 ) == 0x5A4D and 3 of them
}

Strings (10 Muster)

BezeichnerTypWertModifikatoren
$str01Text"/k %windir%\\System32\\reg.exe ADD HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Policies\\System /v EnableLUA /t REG_DWORD /d 0 /f"ascii
$str02Text"Disconnection occurred, retrying to connect..."ascii
$str03Text"[Following text has been pasted from clipboard:]"ascii
$str04Text"[Following text has been copied to clipboard:]"ascii
$str05Text"[Chrome StoredLogins found, cleared!]"ascii
$str06Text"PING 127.0.0.1 -n 2"ascii
$str07Text"Remcos_Mutex_Inj"ascii
$str08Text" * REMCOS v"ascii
$str09Text"Connected to C&C!"ascii
$str10Text"[Cleared all cookies & stored logins!]"ascii

Bedingung

uint16( 0 ) == 0x5A4D and 3 of them

In Worten (Heuristik)

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

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: 011132f5-c5d9-4e97-bfed-0b94c9a30481

Metadaten

version1.0
modification_date2024-01-08
classificationTLP:CLEAR

Tags:FILE

Weitere Remcos-Regeln