YARA · Volexity threat-intel
VOLEXITY_Malware_Any_Pupyrat_B
Detects the PUPYRAT malware family, a cross-platform RAT written in Python.
- Autor
- threatintel@volexity.com
- Datum
- 2022-04-07
- Geändert
- 2025-03-21
- Score / Qualität
- 75 / 80
Was diese Regel erkennt
Detects the PUPYRAT malware family, a cross-platform RAT written in Python.
Sie definiert 12 Muster (12 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
rule VOLEXITY_Malware_Any_Pupyrat_B : FILE MEMORY
{
meta:
= "Detects the PUPYRAT malware family, a cross-platform RAT written in Python."
= "threatintel@volexity.com"
= "ec8d0448-f47d-5c6e-bcf9-8f40ae83a96f"
= "2022-04-07"
= "2025-03-21"
= "https://github.com/n1nj4sec/pupy"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2022/2022-06-15 DriftingCloud - Zero-Day Sophos Firewall Exploitation and an Insidious Breach/indicators/yara.yar#L121-L158"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
= "7474a6008b99e45686678f216af7d6357bb70a054c6d9b05e1817c8d80d536b4"
= "f5b5f35ee783ff1163072591c6d48a85894729156935650a0fd166ae22a2ea00"
= 75
= 80
= "FILE, MEMORY"
= "all"
= "all"
= "file,memory"
= "critical"
= "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
= 6689
= 4
strings:
$elf1 = "LD_PRELOAD=%s HOOK_EXIT=%d CLEANUP=%d exec %s 1>/dev/null 2>/dev/null" ascii
$elf2 = "reflective_inject_dll" fullword ascii
$elf3 = "ld_preload_inject_dll" fullword ascii
$pupy1 = "_pupy.error" ascii
$pupy2 = "pupy://" ascii
$s1 = "Args not passed" ascii
$s2 = "Too many args" ascii
$s3 = "Can't execute" ascii
$s4 = "mexec:stdin" ascii
$s5 = "mexec:stdout" ascii
$s6 = "mexec:stderr" ascii
$s7 = "LZMA error" ascii
condition:
any of ( $elf* ) or all of ( $pupy* ) or all of ( $s* )
}
Strings (12 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $elf1 | Text | "LD_PRELOAD=%s HOOK_EXIT=%d CLEANUP=%d exec %s 1>/dev/null 2>/dev/null" | ascii |
| $elf2 | Text | "reflective_inject_dll" | fullword ascii |
| $elf3 | Text | "ld_preload_inject_dll" | fullword ascii |
| $pupy1 | Text | "_pupy.error" | ascii |
| $pupy2 | Text | "pupy://" | ascii |
| $s1 | Text | "Args not passed" | ascii |
| $s2 | Text | "Too many args" | ascii |
| $s3 | Text | "Can't execute" | ascii |
| $s4 | Text | "mexec:stdin" | ascii |
| $s5 | Text | "mexec:stdout" | ascii |
| $s6 | Text | "mexec:stderr" | ascii |
| $s7 | Text | "LZMA error" | ascii |
Bedingung
any of ( $elf* ) or all of ( $pupy* ) or all of ( $s* )In Worten (Heuristik)
- Alle Muster aus ( $pupy* ) müssen treffen.
- Alle Muster aus ( $s* ) müssen treffen.
- Mindestens ein Muster aus ( $elf* ) muss 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).
- 7474a6008b99e45686678f216af7d6357bb70a054c6d9b05e1817c8d80d536b4
Lizenz & Namensnennung
Autor: threatintel@volexity.com
Quell-Repository: Volexity threat-intel @ 3a9d0b5245
Lizenz: BSD 2-Clause License (in den Metadaten der Regel angegeben)
“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”
Copyright-Hinweis: Copyright 2022 by Volexity, Inc.
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: ec8d0448-f47d-5c6e-bcf9-8f40ae83a96f
Metadaten
| os | all |
|---|---|
| os_arch | all |
| scan_context | file,memory |
| severity | critical |
| rule_id | 6689 |
| version | 4 |
Verwandte Regeln
- MalwareVolexity threat-intel· threatintel@volexity.com· 2021-11-17
- MalwareVolexity threat-intel· threatintel@volexity.com· 2021-05-25
- MalwareVolexity threat-intel· threatintel@volexity.com· 2024-02-22
- MalwareVolexity threat-intel· threatintel@volexity.com· 2024-03-28
- MalwareVolexity threat-intel· threatintel@volexity.com· 2022-03-30
- MalwareVolexity threat-intel· threatintel@volexity.com· 2021-11-17
- MalwareVolexity threat-intel· threatintel@volexity.com· 2021-11-17
- MalwareVolexity threat-intel· threatintel@volexity.com· 2021-11-17