YARA · SEKOIA.IO Community
SEKOIA_Apt_Cottonsandstorm_Win_Implant
Detects a simple win implant used by Cotton Sandstorm
- Autor
- Sekoia.io
- Datum
- 2024-11-05
- Geändert
- 2024-12-19
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Detects a simple win implant used by Cotton Sandstorm
Ziele: Windows-PE.
Sie definiert 8 Muster (8 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule SEKOIA_Apt_Cottonsandstorm_Win_Implant : FILE
{
meta:
= "Detects a simple win implant used by Cotton Sandstorm"
= "Sekoia.io"
= "04a5255c-f9bb-4612-b0e2-ed0326867055"
= "2024-11-05"
= "2024-12-19"
= "https://github.com/SEKOIA-IO/Community"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/apt_cottonsandstorm_win_implant.yar#L1-L24"
= "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
= "f797d71ed07d6e05556300e4ce0f2927"
= "dcb25ee236ca52f23cc6bfdbcedcbc6d407e88f06341e684f202a59954733ade"
= 75
= 80
= "FILE"
= "1.0"
= "TLP:CLEAR"
strings:
$ = "DIR =>" wide
$ = "type=machines&md5=" wide
$ = "File =>" wide
$ = "&ip=" wide fullword
$ = "&un=" wide fullword
$ = "&cp=" wide fullword
$ = "myFile\";filename=" ascii
$ = "ifB75BcjsRBhy2et" ascii
condition:
uint16be( 0 ) == 0x4d5a and 4 of them and filesize < 500KB
}
Strings (8 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $ | Text | "DIR =>" | wide |
| $ | Text | "type=machines&md5=" | wide |
| $ | Text | "File =>" | wide |
| $ | Text | "&ip=" | wide fullword |
| $ | Text | "&un=" | wide fullword |
| $ | Text | "&cp=" | wide fullword |
| $ | Text | "myFile\";filename=" | ascii |
| $ | Text | "ifB75BcjsRBhy2et" | ascii |
Bedingung
uint16be( 0 ) == 0x4d5a and 4 of them and filesize < 500KBIn Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Die Datei muss kleiner als 500KB sein (eine günstige Grenze, die große Dateien ausschließt).
- Mindestens 4 Muster aus der Regel 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.
Referenzen
Proben-Hashes
Hashes der Proben, die der Autor in den Metadaten der Regel nennt (in Ihrer Threat-Intelligence-Plattform nachschlagen).
- f797d71ed07d6e05556300e4ce0f2927
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: 04a5255c-f9bb-4612-b0e2-ed0326867055
Metadaten
| version | 1.0 |
|---|---|
| classification | TLP:CLEAR |
Tags:FILE
Verwandte Regeln
- 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
- APT / AkteurSEKOIA.IO Community· Sekoia.io· 2024-03-06