YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_MAL_APT_NK_Andariel_Lilithrat_Variant
Detects a variant of the Lilith RAT malware family
- Autor
- CISA.gov (modified by Florian Roth, Nextron Systems)
- Datum
- 2024-07-25
- Geändert
- 2024-07-26
- Score / Qualität
- 80 / 85
Was diese Regel erkennt
Detects a variant of the Lilith RAT malware family
Zugehörige Malware-Familie: Lilithrat.
Ziele: Windows-PE.
Sie definiert 10 Muster (10 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule SIGNATURE_BASE_MAL_APT_NK_Andariel_Lilithrat_Variant : FILE
{
meta:
= "Detects a variant of the Lilith RAT malware family"
= "CISA.gov (modified by Florian Roth, Nextron Systems)"
= "916a289b-db7b-5f09-9d3e-589c3f09101d"
= "2024-07-25"
= "2024-07-26"
= "https://www.cisa.gov/news-events/cybersecurity-advisories/aa24-207a"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_nk_andariel_jul24.yar#L143-L178"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "3ce68908468ff85683b081842fa4faa579fbf6f7dc1a7fab5dcf7eac63d90aea"
= 80
= 85
= "FILE"
strings:
$lilith_1 = "Initiate a CMD session first." ascii
$lilith_2 = "CMD is not open" ascii
$lilith_3 = "Couldn't write command" ascii
$lilith_4 = "Couldn't write to CMD: CMD not open" ascii
$unique_1 = "Upload Error!" ascii
$unique_2 = "ERROR: Downloading is already running!" ascii
$unique_3 = "ERROR: Unable to open file:" ascii
$unique_4 = "General error" ascii
$unique_5 = "CMD error" ascii
$unique_6 = "killing self" ascii
condition:
uint16( 0 ) == 0x5a4d and filesize < 150KB and ( all of ( $lilith_* ) or 4 of ( $unique_* ) or 1 of ( $lilith_4 , $unique_2 ) )
}
Strings (10 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $lilith_1 | Text | "Initiate a CMD session first." | ascii |
| $lilith_2 | Text | "CMD is not open" | ascii |
| $lilith_3 | Text | "Couldn't write command" | ascii |
| $lilith_4 | Text | "Couldn't write to CMD: CMD not open" | ascii |
| $unique_1 | Text | "Upload Error!" | ascii |
| $unique_2 | Text | "ERROR: Downloading is already running!" | ascii |
| $unique_3 | Text | "ERROR: Unable to open file:" | ascii |
| $unique_4 | Text | "General error" | ascii |
| $unique_5 | Text | "CMD error" | ascii |
| $unique_6 | Text | "killing self" | ascii |
Bedingung
uint16( 0 ) == 0x5a4d and filesize < 150KB and ( all of ( $lilith_* ) or 4 of ( $unique_* ) or 1 of ( $lilith_4 , $unique_2 ) )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Die Datei muss kleiner als 150KB sein (eine günstige Grenze, die große Dateien ausschließt).
- Alle Muster aus ( $lilith_* ) müssen treffen.
- Mindestens 4 Muster aus ( $unique_* ) müssen treffen.
- Mindestens 1 Muster aus ( $lilith_4 , $unique_2 ) 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.
Lizenz & Namensnennung
Autor: CISA.gov (modified by Florian Roth, Nextron Systems)
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: 916a289b-db7b-5f09-9d3e-589c3f09101d
Tags:FILE
Verwandte Regeln
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov (modified by Florian Roth, Nextron Systems)· 2024-07-25
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov (modified by Florian Roth, Nextron Systems)· 2024-07-25
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov (modified by Florian Roth, Nextron Systems)· 2024-07-25
- MalwareSignature Base (Florian Roth / Nextron)· CISA.gov (modified by Florian Roth, Nextron Systems)· 2024-07-25