YARA · Volexity threat-intel
VOLEXITY_Apt_Malware_Py_Upstyle
Detect the UPSTYLE webshell.
- Autor
- threatintel@volexity.com
- Fecha
- 2024-04-11
- Modificada
- 2024-04-12
- Puntuación / Calidad
- 75 / 80
Qué detecta esta regla
Detect the UPSTYLE webshell.
Define 6 patrones (6 de texto, 0 hex, 0 regex).
YARA-X dice: warning[duplicate_pattern_value]: duplicate pattern value
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule VOLEXITY_Apt_Malware_Py_Upstyle : UTA0218 FILE MEMORY
{
meta:
= "Detect the UPSTYLE webshell."
= "threatintel@volexity.com"
= "45726f35-8b3e-5095-b145-9e7f6da6838b"
= "2024-04-11"
= "2024-04-12"
= "TIB-20240412"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/2024/2024-04-12 Palo Alto Networks GlobalProtect/indicators/rules.yar#L1-L34"
= "https://github.com/volexity/threat-intel/blob/3a9d0b52459877ee866a9a0ba06e60059b778c77/LICENSE.txt"
= "3de2a4392b8715bad070b2ae12243f166ead37830f7c6d24e778985927f9caac"
= "0d59d7bddac6c22230187ef6cf7fa22bca93759edc6f9127c41dc28a2cea19d8"
= "4dd4bd027f060f325bf6a90d01bfcf4e7751a3775ad0246beacc6eb2bad5ec6f"
= "51923600b23d23f4ce29eac7f5ab9f7e1ddb45bed5f6727ddec4dcb75872e473"
= 75
= 80
= "UTA0218, FILE, MEMORY"
= "linux"
= "all"
= "file,memory"
= "critical"
= "See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt"
= 10429
= 2
strings:
$stage1_str1 = "/opt/pancfg/mgmt/licenses/PA_VM"
$stage1_str2 = "exec(base64."
$stage2_str1 = "signal.signal(signal.SIGTERM,stop)"
$stage2_str2 = "exec(base64."
$stage3_str1 = "write(\"/*\"+output+\"*/\")"
$stage3_str2 = "SHELL_PATTERN"
condition:
all of ( $stage1* ) or all of ( $stage2* ) or all of ( $stage3* )
}
Cadenas (6 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $stage1_str1 | texto | "/opt/pancfg/mgmt/licenses/PA_VM" | |
| $stage1_str2 | texto | "exec(base64." | |
| $stage2_str1 | texto | "signal.signal(signal.SIGTERM,stop)" | |
| $stage2_str2 | texto | "exec(base64." | |
| $stage3_str1 | texto | "write(\"/*\"+output+\"*/\")" | |
| $stage3_str2 | texto | "SHELL_PATTERN" |
Condición
all of ( $stage1* ) or all of ( $stage2* ) or all of ( $stage3* )En palabras sencillas (Heurística)
- Deben coincidir todos los patrones de ( $stage1* ).
- Deben coincidir todos los patrones de ( $stage2* ).
- Deben coincidir todos los patrones de ( $stage3* ).
Prueba esta regla en tu navegador
Arrastra un archivo para escanearlo con esta regla usando YARA-X compilado a WebAssembly. No se sube nada.
Hashes de muestras
Hashes de las muestras que el autor lista en los metadatos de la regla (búscalos en tu plataforma de threat intelligence).
- 3de2a4392b8715bad070b2ae12243f166ead37830f7c6d24e778985927f9caac
- 0d59d7bddac6c22230187ef6cf7fa22bca93759edc6f9127c41dc28a2cea19d8
- 4dd4bd027f060f325bf6a90d01bfcf4e7751a3775ad0246beacc6eb2bad5ec6f
Licencia y atribución
Autor: threatintel@volexity.com
Repositorio de origen: Volexity threat-intel @ 3a9d0b5245
Licencia: BSD 2-Clause License (indicada en los metadatos de la regla)
“See license at https://github.com/volexity/threat-intel/blob/main/LICENSE.txt”
Aviso de copyright: Copyright 2022 by Volexity, Inc.
Obtenida a través de YARA Forge 20260927, que añade a los nombres el prefijo de la fuente y campos meta normalizados.
Id de la regla: 45726f35-8b3e-5095-b145-9e7f6da6838b
Metadatos
| os | linux |
|---|---|
| os_arch | all |
| scan_context | file,memory |
| severity | critical |
| rule_id | 10429 |
| version | 2 |
Reglas relacionadas
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2024-07-30
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2023-07-21
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2023-08-17
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2023-03-30
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2022-11-03
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2022-11-02
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2022-11-03
- APT / actorVolexity threat-intel· threatintel@volexity.com· 2022-11-03