Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Apt_Coathanger_Beacon

Detects COATHANGER beacon

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

Was diese Regel erkennt

Detects COATHANGER beacon

Ziele: Linux-ELF.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

apt-coathanger-beacon.yarDetection Rule License 1.1
rule SEKOIA_Apt_Coathanger_Beacon : FILE
{
	meta:
		description = "Detects COATHANGER beacon"
		author = "Sekoia.io"
		id = "cc201479-016a-46d2-a9e2-41b4914ce618"
		date = "2024-02-07"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_coathanger_beacon.yar#L1-L21"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "e44496e62de8c885d5bd941819a97f4c0dd90ce2d0cfe9d042ab9590cc354ddb"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$ = {
        48 B8 47 45 54 20 2F 20 48 54
        48 89 45 B0 48 B8 54 50 2F 32 0A 48 6F 73
        48 89 45 B8 48 B8 74 3A 20 77 77 77 2E 67
        48 89 45 C0 48 B8 6F 6F 67 6C 65 2E 63 6F
        }

	condition:
		uint32( 0 ) == 0x464c457f and filesize < 5MB and any of them
}

Strings (1 Muster)

BezeichnerTypWertModifikatoren
$Hex{ 48 B8 47 45 54 20 2F 20 48 54 48 89 45 B0 48 B8 54 50 2F 32 0A 48 6F 73 48 89 45 B8 48 B8 74 3A 20 77 77 77 2E 67 48 89 45 C0 …

Bedingung

uint32( 0 ) == 0x464c457f and filesize < 5MB and any of them

In Worten (Heuristik)

  • Die Datei muss mit dem ELF-Header beginnen — eine Linux/Unix-Programmdatei.
  • Die Datei muss kleiner als 5MB sein (eine günstige Grenze, die große Dateien ausschließt).
  • Mindestens ein Muster aus der Regel muss 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: cc201479-016a-46d2-a9e2-41b4914ce618

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE