YARA · ditekSHen detection
DITEKSHEN_MALWARE_Win_Nglite
Detects NGLite
- Autor
- ditekSHen
- Datum
- 2020-11-06
- Geändert
- 2024-11-01
- Score / Qualität
- 75 / 75
Was diese Regel erkennt
Detects NGLite
Zugehörige Malware-Familie: Nglite.
Ziele: Windows-PE.
Sie definiert 15 Muster (15 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
malware-win-nglite.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Nglite : FILE
{
meta:
= "Detects NGLite"
= "ditekSHen"
= "b014ed4f-57b1-597e-befc-6e7f80855201"
= "2020-11-06"
= "2024-11-01"
= "https://github.com/ditekshen/detection"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L8646-L8668"
= "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
= "d83663908949f69018461c73cf7137cf4ab16cc057cfe47942e6de0415ab5447"
= 75
= 75
= "FILE"
strings:
$x1 = "/lprey/main.go" ascii
$x2 = "/NGLiteV1.01/lprey/" ascii
$x3 = "/ng.com/lprey/" ascii
$x4 = "/mnt/hgfs/CrossC2-2.2/src/" ascii
$x5 = "WHATswrongwithUu" ascii
$s1 = "main.Preylistener" fullword ascii
$s2 = "main.Runcommand" fullword ascii
$s3 = "main.RandomPass" fullword ascii
$s4 = "main.AesEncode" fullword ascii
$s5 = "main.RsaEncode" fullword ascii
$s6 = "main.AesDecode" fullword ascii
$s7 = "main.initonce" fullword ascii
$s8 = "main.SendOnce" fullword ascii
$s9 = "main.clientConf" fullword ascii
$s10 = "main.Sender" fullword ascii
condition:
( uint16( 0 ) == 0x5a4d or uint16( 0 ) == 0x457f or uint16( 0 ) == 0xfacf ) and ( ( 1 of ( $x* ) and 2 of ( $s* ) ) or ( 6 of ( $s* ) ) )
}
Strings (15 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $x1 | Text | "/lprey/main.go" | ascii |
| $x2 | Text | "/NGLiteV1.01/lprey/" | ascii |
| $x3 | Text | "/ng.com/lprey/" | ascii |
| $x4 | Text | "/mnt/hgfs/CrossC2-2.2/src/" | ascii |
| $x5 | Text | "WHATswrongwithUu" | ascii |
| $s1 | Text | "main.Preylistener" | fullword ascii |
| $s2 | Text | "main.Runcommand" | fullword ascii |
| $s3 | Text | "main.RandomPass" | fullword ascii |
| $s4 | Text | "main.AesEncode" | fullword ascii |
| $s5 | Text | "main.RsaEncode" | fullword ascii |
| $s6 | Text | "main.AesDecode" | fullword ascii |
| $s7 | Text | "main.initonce" | fullword ascii |
| $s8 | Text | "main.SendOnce" | fullword ascii |
| $s9 | Text | "main.clientConf" | fullword ascii |
| $s10 | Text | "main.Sender" | fullword ascii |
Bedingung
( uint16( 0 ) == 0x5a4d or uint16( 0 ) == 0x457f or uint16( 0 ) == 0xfacf ) and ( ( 1 of ( $x* ) and 2 of ( $s* ) ) or ( 6 of ( $s* ) ) )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Mindestens 1 Muster aus ( $x* ) müssen treffen.
- Mindestens 2 Muster aus ( $s* ) müssen treffen.
- Mindestens 6 Muster aus ( $s* ) 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.
Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.
Referenzen
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: b014ed4f-57b1-597e-befc-6e7f80855201
Tags:FILE
Verwandte Regeln
- ARKBIRD_SOLG_MAL_Nglite_Nov_2021_1Nur MetadatenMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-11-09
- ARKBIRD_SOLG_MAL_Nglite_Nov_2021_2Nur MetadatenMalwareArkbird SOLG (DailyIOC)· Arkbird_SOLG· 2021-11-08
- 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