YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Turian
Hunt for Turian / Qurian
- Autor
- ditekSHen
- Datum
- 2020-11-06
- Geändert
- 2024-11-01
- Score / Qualität
- 75 / 75
Was diese Regel erkennt
Hunt for Turian / Qurian
Zugehörige Malware-Familie: Turian.
Ziele: Windows-PE.
Sie definiert 18 Muster (18 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule DITEKSHEN_MALWARE_Win_Turian : FILE
{
meta:
= "Hunt for Turian / Qurian"
= "ditekSHen"
= "eafa9442-a01b-5044-bc47-634297a3efcc"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L6315-L6343"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "d1218ab9d608ee0212e880204e4d7d75f29f03b77248bca7648d111d67405759"
= "87f4263381c5e93fcba0873aa3bb9a1db4b21225141cd7f06be30f5777a47806"
= 75
= 75
= "FILE"
= "windowsupdate[.]dyndns[.]info"
= "58[.]158[.]177[.]102"
strings:
$s1 = "%s a -m5 -hp1qaz@WSX3edc -r %s %s\\*.*" ascii wide
$s2 = "%s a -m5 -hpMyHost-1 -r %s %s\\*.*" ascii wide
$s3 = "%s a -m5 -hp1qaz@WSX3edc -ta%04d%02d%02d000000 -r %s c:" ascii wide
$s4 = "%s a -m5 -hpMyHost-1 -ta%04d%02d%02d000000 -r %s c:"
$s5 = "cmd /c dir /s /O:D %s>>\"%s\"" ascii wide
$s6 = "\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run /v %s /t REG_SZ /d \"%s\" /f" fullword ascii
$s7 = "Not Connect!" fullword ascii
$p1 = "RECYCLER\\S-1-3-33-854245398-2067806209-0000980848-2003\\" ascii wide
$p2 = "%sRECYCLER.{S-1-3-33-854245398-2067806209-0000980848-2003}\\" ascii wide
$p3 = "\\RECYCLER.{S-1-3-33-854245398-2067806209-0000980848-2003}\\" ascii wide
$p4 = "\\RECYCLER.{645ff040-5081-101b-9f08-00aa002f954e}\\" ascii wide
$p5 = "%sRECYCLER.{645ff040-5081-101b-9f08-00aa002f954e}\\" ascii wide
$c1 = "CONNECT %s:%u HTTP/1." ascii wide
$c2 = "User-Agent: Mozilla/4.0" ascii wide
$m1 = "winsupdatetw" fullword ascii wide
$m2 = "clientsix" fullword ascii wide
$m3 = "updatethres" fullword ascii wide
$m4 = "uwatchdaemon" fullword ascii wide
condition:
uint16( 0 ) == 0x5a4d and ( 3 of ( $s* ) or ( all of ( $c* ) and ( 2 of ( $s* ) or 1 of ( $m* ) or 1 of ( $p* ) ) ) or ( 1 of ( $m* ) and 1 of ( $s* ) and ( 1 of ( $c* ) or 1 of ( $p* ) ) ) )
}
Strings (18 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $s1 | Text | "%s a -m5 -hp1qaz@WSX3edc -r %s %s\\*.*" | ascii wide |
| $s2 | Text | "%s a -m5 -hpMyHost-1 -r %s %s\\*.*" | ascii wide |
| $s3 | Text | "%s a -m5 -hp1qaz@WSX3edc -ta%04d%02d%02d000000 -r %s c:" | ascii wide |
| $s4 | Text | "%s a -m5 -hpMyHost-1 -ta%04d%02d%02d000000 -r %s c:" | |
| $s5 | Text | "cmd /c dir /s /O:D %s>>\"%s\"" | ascii wide |
| $s6 | Text | "\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run /v %s /t REG_SZ /d \"%s\" /f" | fullword ascii |
| $s7 | Text | "Not Connect!" | fullword ascii |
| $p1 | Text | "RECYCLER\\S-1-3-33-854245398-2067806209-0000980848-2003\\" | ascii wide |
| $p2 | Text | "%sRECYCLER.{S-1-3-33-854245398-2067806209-0000980848-2003}\\" | ascii wide |
| $p3 | Text | "\\RECYCLER.{S-1-3-33-854245398-2067806209-0000980848-2003}\\" | ascii wide |
| $p4 | Text | "\\RECYCLER.{645ff040-5081-101b-9f08-00aa002f954e}\\" | ascii wide |
| $p5 | Text | "%sRECYCLER.{645ff040-5081-101b-9f08-00aa002f954e}\\" | ascii wide |
| $c1 | Text | "CONNECT %s:%u HTTP/1." | ascii wide |
| $c2 | Text | "User-Agent: Mozilla/4.0" | ascii wide |
| $m1 | Text | "winsupdatetw" | fullword ascii wide |
| $m2 | Text | "clientsix" | fullword ascii wide |
| $m3 | Text | "updatethres" | fullword ascii wide |
| $m4 | Text | "uwatchdaemon" | fullword ascii wide |
Bedingung
uint16( 0 ) == 0x5a4d and ( 3 of ( $s* ) or ( all of ( $c* ) and ( 2 of ( $s* ) or 1 of ( $m* ) or 1 of ( $p* ) ) ) or ( 1 of ( $m* ) and 1 of ( $s* ) and ( 1 of ( $c* ) or 1 of ( $p* ) ) ) )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Alle Muster aus ( $c* ) müssen treffen.
- Mindestens 3 Muster aus ( $s* ) müssen treffen.
- Mindestens 2 Muster aus ( $s* ) müssen treffen.
- Mindestens 1 Muster aus ( $m* ) müssen treffen.
- Mindestens 1 Muster aus ( $p* ) müssen treffen.
- Mindestens 1 Muster aus ( $s* ) müssen treffen.
- Mindestens 1 Muster aus ( $c* ) 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).
- d1218ab9d608ee0212e880204e4d7d75f29f03b77248bca7648d111d67405759
Lizenz & Namensnennung
Autor: ditekSHen
Quell-Repository: ditekSHen detection @ e76c93dcde
Lizenz: BSD 2-Clause License (Repository-Lizenz)
Copyright-Hinweis: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: eafa9442-a01b-5044-bc47-634297a3efcc
Metadaten
| cnc_domain | windowsupdate[.]dyndns[.]info |
|---|---|
| cnc_ip | 58[.]158[.]177[.]102 |
Tags:FILE
Verwandte Regeln
- MalwareMalpedia signator rules· Felix Bilstein - yara-signator at cocacoding dot com· 2026-05-04
- MalwareditekSHen detection· ditekSHen· 2034-02-17
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareditekSHen detection· ditekSHen· 2020-11-06