YARA · SEKOIA.IO Community
SEKOIA_Implant_Macos_Geacon
Finds Geacon samples based on specific strings
- 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: macOS-Mach-O.
Sie definiert 18 Muster (18 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
implant-macos-geacon.yarDetection Rule License 1.1
rule SEKOIA_Implant_Macos_Geacon : FILE
{
meta:
= "Finds Geacon samples based on specific strings"
= "Sekoia.io"
= "a7784bfa-66a7-47df-b88b-d98217d8cca5"
= "2024-01-11"
= "2024-12-19"
= "https://www.sentinelone.com/blog/geacon-brings-cobalt-strike-capabilities-to-macos-threat-actors/"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/implant_macos_geacon.yar#L1-L35"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "284574d185d3777a373f4a19e0870eec5245fb8ea5ebd6124bc281f8c74e0998"
= 75
= 80
= "FILE"
= "1.0"
= "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:
uint32( 0 ) == 0xFEEDFACF and ( ( 1 of ( $gea* ) and 2 of ( $str* ) ) or 8 of ( $str* ) )
}
Strings (18 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $gea01 | Text | "geacon/config.init" | ascii |
| $gea02 | Text | "geacon_pro-master/config/config.go" | ascii |
| $gea03 | Text | "geacon_plus-main/config/config.go" | ascii |
| $gea04 | Text | "command type %d is not support by geacon now" | ascii |
| $gea05 | Text | "main/sysinfo.GeaconID" | ascii |
| $str01 | Text | "command.StealToken" | ascii |
| $str02 | Text | "command.MakeToken" | ascii |
| $str03 | Text | "command/misc.go" | ascii |
| $str04 | Text | "config/c2profile.go" | ascii |
| $str05 | Text | "crypt.AesCBCDecrypt" | ascii |
| $str06 | Text | "packet.File_Browse" | ascii |
| $str07 | Text | "packet.FirstBlood" | ascii |
| $str08 | Text | "packet.ParseCommandShell" | ascii |
| $str09 | Text | "packet.ParseCommandUpload" | ascii |
| $str10 | Text | "packet.PushResult" | ascii |
| $str11 | Text | "sysinfo.GetComputerName" | ascii |
| $str12 | Text | "sysinfo.IsOSX64" | ascii |
| $str13 | Text | "util..inittask" | ascii |
Bedingung
uint32( 0 ) == 0xFEEDFACF and ( ( 1 of ( $gea* ) and 2 of ( $str* ) ) or 8 of ( $str* ) )In Worten (Heuristik)
- Die Datei muss mit einer Mach-O-/Fat-Signatur beginnen — eine macOS-Programmdatei.
- 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.
Lizenz & Namensnennung
Autor: Sekoia.io
Quell-Repository: SEKOIA.IO Community @ a438a5901a
Lizenz: Detection Rule License 1.1 (Repository-Lizenz)
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: a7784bfa-66a7-47df-b88b-d98217d8cca5
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-16
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-08-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-04-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-07-23
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-10-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20
- MalwareSEKOIA.IO Community· Sekoia.io· 2024-03-20