YARA · Embee Research
EMBEERESEARCH_Win_Cobalt_Strike_Loader_Shellcode_Jun_2023
Detection of an encoder observed with Cobalt Strike shellcode
- Auteur
- Matthew @ Embee_research
- Date
- 2023-07-03
- Score / Qualité
- 75 / 75
Ce que détecte cette règle
Detection of an encoder observed with Cobalt Strike shellcode
Famille de malware associée : Cobalt Strike.
Elle définit 3 motifs (1 texte, 2 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
win-cobalt-strike-loader-shellcode-jun-2023.yarDetection Rule License 1.1
rule EMBEERESEARCH_Win_Cobalt_Strike_Loader_Shellcode_Jun_2023 : FILE
{
meta:
= "Detection of an encoder observed with Cobalt Strike shellcode"
= "Matthew @ Embee_research"
= "ea52b9e7-f2bd-5c9f-9ee1-506baa48be84"
= "2023-07-03"
= "2023-07-03"
= "https://github.com/embee-research/Yara-detection-rules/"
= "https://github.com/embee-research/Yara-detection-rules//blob/ac56d6f6fd2a30c8cb6e5c0455d6519210a8b0f4/Rules/win_cobalt_shellcode_encoder_jun_2023.yar#L1-L21"
= "N/A"
= "42b4b9ab681f3164168de84e76bcd8161865fa9e5871d70a6de534b23896e4f0"
= 75
= 75
= "FILE"
= ""
strings:
$get_enc_offset = {8b 88 c0 00 00 00 8b 90 c4 00 00 00 48 8d b0 c8 00 00 00}
$decode_loop = {ac 83 e1 03 d2 c8 ff c1 aa ff ca 75 f3}
$b64_initial_bytes = "SInISIlMJAiLiMAAAACLkMQAAABIjbDIAAAA" wide ascii
condition:
(( $get_enc_offset and $decode_loop ) or $b64_initial_bytes ) and filesize < 10000KB
}
Chaînes (3 motifs)
| Identifiant | Type | Valeur | Modificateurs |
|---|---|---|---|
| $get_enc_offset | hex | {8b 88 c0 00 00 00 8b 90 c4 00 00 00 48 8d b0 c8 00 00 00} | |
| $decode_loop | hex | {ac 83 e1 03 d2 c8 ff c1 aa ff ca 75 f3} | |
| $b64_initial_bytes | texte | "SInISIlMJAiLiMAAAACLkMQAAABIjbDIAAAA" | wide ascii |
Condition
(( $get_enc_offset and $decode_loop ) or $b64_initial_bytes ) and filesize < 10000KBEn clair (Heuristique)
- Le fichier doit faire moins de 10000KB (garde-fou peu coûteux qui écarte les gros fichiers).
- Le motif $get_enc_offset doit être présent.
- Le motif $decode_loop doit être présent.
- Le motif $b64_initial_bytes doit être présent.
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.
Licence et attribution
Auteur : Matthew @ Embee_research
Dépôt source : Embee Research @ ac56d6f6fd
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: ea52b9e7-f2bd-5c9f-9ee1-506baa48be84
Métadonnées
| vendor |
|---|
Tags:FILE
Règles liées
- Outil offensifEmbee Research· Matthew @ Embee_Research· 2023-11-04
- Outil offensifSignature Base (Florian Roth / Nextron)· CodeX· 2022-07-04
- Outil offensifAvast / Gen Digital IOC· Gen Threat Labs· 2021-07-08
- Outil offensifAvast / Gen Digital IOC· Gen Threat Labs· 2021-07-08
- Outil offensifAvast / Gen Digital IOC· Gen Threat Labs· 2021-07-08
- Outil offensifAvast / Gen Digital IOC· Gen Threat Labs· 2021-07-08
- Outil offensifAvast / Gen Digital IOC· Gen Threat Labs· 2021-07-08
- Outil offensifAvast / Gen Digital IOC· Gen Threat Labs· 2021-07-08