YARA · SEKOIA.IO Community
SEKOIA_Apt_Turla_Comlook
Detects Class and Method names used inside ComLook
- Auteur
- Sekoia.io
- Date
- 2023-10-30
- Modifiée
- 2024-12-19
- Score / Qualité
- 75 / 80
Ce que détecte cette règle
Detects Class and Method names used inside ComLook
Famille de malware associée : Comlook.
Cibles : PE Windows.
Elle définit 14 motifs (14 texte, 0 hex, 0 regex).
Résumé généré à partir des métadonnées et de la condition de la règle.
Source de la règle
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* )
}
Chaînes (14 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $ClassName1 | texte | "AgentConfig" | |
| $ClassName2 | texte | "CommandPerforming" | |
| $MethodName1 | texte | "CmdCommand" | |
| $MethodName2 | texte | "GetConfigCommand" | |
| $MethodName3 | texte | "GetFileCommand" | |
| $MethodName4 | texte | "PutFileCommand" | |
| $MethodName5 | texte | "SetConfigCommand" | |
| $MethodName6 | texte | "AgentProtocol" | |
| $Log1 | texte | "CONFIG_SERVERS_LIST_PARSING_ERROR" | ascii wide |
| $Log2 | texte | "GET_UIDS_TO_CHECK_PARSING_ERROR" | ascii wide |
| $Log3 | texte | "PAYLOAD_PARSING_FILEPATH_AND_FILE_ERROR" | ascii wide |
| $Log4 | texte | "COMMAND_EMPTY_ERROR" | ascii wide |
| $Log5 | texte | "IMAP_USERNAME_FORMAT_INCORRECT" | ascii wide |
| $Log6 | texte | "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* )En clair (Heuristique)
- Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
- Le fichier doit faire moins de 10MB (garde-fou peu coûteux qui écarte les gros fichiers).
- Au moins un motif de ( $ClassName* ) doit être trouvé.
- Au moins un motif de ( $MethodName* ) doit être trouvé.
- Au moins un motif de ( $Log* ) doit être trouvé.
Tester cette règle dans votre navigateur
Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.
Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.
Références
Licence et attribution
Auteur : Sekoia.io
Dépôt source : SEKOIA.IO Community @ a438a5901a
Licence : Detection Rule License 1.1 (licence du dépôt)
Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.
Identifiant de règle: c3bf886b-f952-47f9-aff6-3cd74c27077d
Métadonnées
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Règles liées
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-10
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-10-21
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-27
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-09-23
- APT / acteurSEKOIA.IO Community· Sekoia.io· 2024-06-11