YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_LNX_Camarodragon_Horseshell_Oct23
Detects CamaroDragon's HorseShell implant for routers
- Autor
- Florian Roth
- Datum
- 2023-10-06
- Geändert
- 2023-12-05
- Score / Qualität
- 85 / 85
Was diese Regel erkennt
Detects CamaroDragon's HorseShell implant for routers
Sie definiert 10 Muster (8 Text, 2 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule SIGNATURE_BASE_MAL_LNX_Camarodragon_Horseshell_Oct23 : FILE
{
meta:
= "Detects CamaroDragon's HorseShell implant for routers"
= "Florian Roth"
= "9e54745f-146f-50a6-b30f-53aaaa6907b5"
= "2023-10-06"
= "2023-12-05"
= "https://research.checkpoint.com/2023/the-dragon-who-sold-his-camaro-analyzing-custom-router-implant/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_camaro_dragon_oct23.yar#L27-L56"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "998788472cb1502c03675a15a9f09b12f3877a5aeb687f891458a414b8e0d66c"
= "73adaa286b345cffd35e6ba017b3204d8818dcaeea8a48ca93959566461ac3ca"
= 85
= 85
= "FILE"
strings:
$x1 = "echo \"start shell '%s' failed!\" > .remote_shell.log" ascii fullword
$x2 = "*****recv NET_REQ_HORSE_SHELL REQ_CONNECT_PORT*****" ascii fullword
$s1 = "m.cremessage.com" ascii fullword
$s2 = "POST http://%s/index.php HTTP/1.1" ascii fullword
$s3 = "wzsw_encrypt_buf" ascii fullword
$s4 = "body:%d-%s" ascii fullword
$s5 = "User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident" ascii fullword
$s6 = "process_http_read_events" ascii fullword
$op1 = { c4 34 42 00 02 30 63 00 40 10 60 00 09 ae 62 00 48 8e 62 00 cc }
$op2 = { 27 f4 8c 46 27 f0 03 20 f8 09 00 60 28 21 }
condition:
uint16( 0 ) == 0x457f and filesize < 600KB and ( 1 of ( $x* ) or 3 of them ) or 5 of them
}
Strings (10 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $x1 | Text | "echo \"start shell '%s' failed!\" > .remote_shell.log" | ascii fullword |
| $x2 | Text | "*****recv NET_REQ_HORSE_SHELL REQ_CONNECT_PORT*****" | ascii fullword |
| $s1 | Text | "m.cremessage.com" | ascii fullword |
| $s2 | Text | "POST http://%s/index.php HTTP/1.1" | ascii fullword |
| $s3 | Text | "wzsw_encrypt_buf" | ascii fullword |
| $s4 | Text | "body:%d-%s" | ascii fullword |
| $s5 | Text | "User-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident" | ascii fullword |
| $s6 | Text | "process_http_read_events" | ascii fullword |
| $op1 | Hex | { c4 34 42 00 02 30 63 00 40 10 60 00 09 ae 62 00 48 8e 62 00 cc } | |
| $op2 | Hex | { 27 f4 8c 46 27 f0 03 20 f8 09 00 60 28 21 } |
Bedingung
uint16( 0 ) == 0x457f and filesize < 600KB and ( 1 of ( $x* ) or 3 of them ) or 5 of themIn Worten (Heuristik)
- Die Datei muss kleiner als 600KB sein (eine günstige Grenze, die große Dateien ausschließt).
- Mindestens 1 Muster aus ( $x* ) müssen treffen.
- Mindestens 3 Muster aus der Regel müssen treffen.
- Mindestens 5 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).
- 998788472cb1502c03675a15a9f09b12f3877a5aeb687f891458a414b8e0d66c
Lizenz & Namensnennung
Autor: Florian Roth
Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
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: 9e54745f-146f-50a6-b30f-53aaaa6907b5
Tags:FILE
Verwandte Regeln
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-04-15
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2024-02-23
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-02-13
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-02-13
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-04-17
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-04-17
- MalwareSignature Base (Florian Roth / Nextron)· Florian Roth· 2023-11-01