Zum Inhalt springen

YARA · SEKOIA.IO Community

SEKOIA_Implant_Win_Geacon

Finds Geacon samples based on specific strings

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

Was diese Regel erkennt

Finds Geacon samples based on specific strings

Ziele: Windows-PE.

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

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

implant-win-geacon.yarDetection Rule License 1.1
rule SEKOIA_Implant_Win_Geacon : FILE
{
	meta:
		description = "Finds Geacon samples based on specific strings"
		author = "Sekoia.io"
		id = "064eabe0-aee5-4e5e-9f5e-69b32b1ba0da"
		date = "2024-01-11"
		modified = "2024-12-19"
		reference = "https://www.sentinelone.com/blog/geacon-brings-cobalt-strike-capabilities-to-macos-threat-actors/"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/implant_win_geacon.yar#L1-L35"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "74b0d2fbb8b7f6666543ba4fdfd9f9d2064d3a89d21c90d794b57f0009199fea"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$gea01 = "geacon/config.init" ascii
		$gea02 = "geacon_pro-master/config/config.go" ascii
		$gea03 = "geacon_plus-main/config/config.go" ascii
		$gea04 = "command type %d is not support by geacon now" ascii
		$gea05 = "main/sysinfo.GeaconID" ascii
		$str01 = "command.StealToken" ascii
		$str02 = "command.MakeToken" ascii
		$str03 = "command/misc.go" ascii
		$str04 = "config/c2profile.go" ascii
		$str05 = "crypt.AesCBCDecrypt" ascii
		$str06 = "packet.File_Browse" ascii
		$str07 = "packet.FirstBlood" ascii
		$str08 = "packet.ParseCommandShell" ascii
		$str09 = "packet.ParseCommandUpload" ascii
		$str10 = "packet.PushResult" ascii
		$str11 = "sysinfo.GetComputerName" ascii
		$str12 = "sysinfo.IsOSX64" ascii
		$str13 = "util..inittask" ascii

	condition:
		uint16( 0 ) == 0x5A4D and ( ( 1 of ( $gea* ) and 2 of ( $str* ) ) or 8 of ( $str* ) )
}

Strings (18 Muster)

BezeichnerTypWertModifikatoren
$gea01Text"geacon/config.init"ascii
$gea02Text"geacon_pro-master/config/config.go"ascii
$gea03Text"geacon_plus-main/config/config.go"ascii
$gea04Text"command type %d is not support by geacon now"ascii
$gea05Text"main/sysinfo.GeaconID"ascii
$str01Text"command.StealToken"ascii
$str02Text"command.MakeToken"ascii
$str03Text"command/misc.go"ascii
$str04Text"config/c2profile.go"ascii
$str05Text"crypt.AesCBCDecrypt"ascii
$str06Text"packet.File_Browse"ascii
$str07Text"packet.FirstBlood"ascii
$str08Text"packet.ParseCommandShell"ascii
$str09Text"packet.ParseCommandUpload"ascii
$str10Text"packet.PushResult"ascii
$str11Text"sysinfo.GetComputerName"ascii
$str12Text"sysinfo.IsOSX64"ascii
$str13Text"util..inittask"ascii

Bedingung

uint16( 0 ) == 0x5A4D and ( ( 1 of ( $gea* ) and 2 of ( $str* ) ) or 8 of ( $str* ) )

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 1 Muster aus ( $gea* ) müssen treffen.
  • Mindestens 2 Muster aus ( $str* ) müssen treffen.
  • Mindestens 8 Muster aus ( $str* ) 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: 064eabe0-aee5-4e5e-9f5e-69b32b1ba0da

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE