YARA · SEKOIA.IO Community
SEKOIA_Apt_Turla_Comlook
Detects Class and Method names used inside ComLook
- Autor
- Sekoia.io
- Datum
- 2023-10-30
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Detects Class and Method names used inside ComLook
Zugehörige Malware-Familie: Comlook.
Ziele: Windows-PE.
Sie definiert 14 Muster (14 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
apt-turla-comlook.yarDetection Rule License 1.1
rule SEKOIA_Apt_Turla_Comlook : FILE
{
meta:
= "Detects Class and Method names used inside ComLook"
= "Sekoia.io"
= "c3bf886b-f952-47f9-aff6-3cd74c27077d"
= "2023-10-30"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_turla_comlook.yar#L1-L31"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "882a2efda4c3888c34a2802797c9eac4ab8b96774f2eea19e586ff9c8adb9292"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ClassName1 = "AgentConfig"
$ClassName2 = "CommandPerforming"
$MethodName1 = "CmdCommand"
$MethodName2 = "GetConfigCommand"
$MethodName3 = "GetFileCommand"
$MethodName4 = "PutFileCommand"
$MethodName5 = "SetConfigCommand"
$MethodName6 = "AgentProtocol"
$Log1 = "CONFIG_SERVERS_LIST_PARSING_ERROR" ascii wide
$Log2 = "GET_UIDS_TO_CHECK_PARSING_ERROR" ascii wide
$Log3 = "PAYLOAD_PARSING_FILEPATH_AND_FILE_ERROR" ascii wide
$Log4 = "COMMAND_EMPTY_ERROR" ascii wide
$Log5 = "IMAP_USERNAME_FORMAT_INCORRECT" ascii wide
$Log6 = "NO_MESSAGES_TO_RETRIEVE" ascii wide
condition:
uint16be( 0 ) == 0x4d5a and filesize < 10MB and any of ( $ClassName* ) and any of ( $MethodName* ) and any of ( $Log* )
}
Strings (14 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $ClassName1 | Text | "AgentConfig" | |
| $ClassName2 | Text | "CommandPerforming" | |
| $MethodName1 | Text | "CmdCommand" | |
| $MethodName2 | Text | "GetConfigCommand" | |
| $MethodName3 | Text | "GetFileCommand" | |
| $MethodName4 | Text | "PutFileCommand" | |
| $MethodName5 | Text | "SetConfigCommand" | |
| $MethodName6 | Text | "AgentProtocol" | |
| $Log1 | Text | "CONFIG_SERVERS_LIST_PARSING_ERROR" | ascii wide |
| $Log2 | Text | "GET_UIDS_TO_CHECK_PARSING_ERROR" | ascii wide |
| $Log3 | Text | "PAYLOAD_PARSING_FILEPATH_AND_FILE_ERROR" | ascii wide |
| $Log4 | Text | "COMMAND_EMPTY_ERROR" | ascii wide |
| $Log5 | Text | "IMAP_USERNAME_FORMAT_INCORRECT" | ascii wide |
| $Log6 | Text | "NO_MESSAGES_TO_RETRIEVE" | ascii wide |
Bedingung
uint16be( 0 ) == 0x4d5a and filesize < 10MB and any of ( $ClassName* ) and any of ( $MethodName* ) and any of ( $Log* )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Die Datei muss kleiner als 10MB sein (eine günstige Grenze, die große Dateien ausschließt).
- Mindestens ein Muster aus ( $ClassName* ) muss treffen.
- Mindestens ein Muster aus ( $MethodName* ) muss treffen.
- Mindestens ein Muster aus ( $Log* ) 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.
Referenzen
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: c3bf886b-f952-47f9-aff6-3cd74c27077d
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-06-11