YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_Hvs_APT37_Webshell_Template_Query_Asp
Webshell named template-query.aspimg.asp used by APT37
- Autor
- Moritz Oettle
- Fecha
- 2020-12-15
- Modificada
- 2023-12-05
- Puntuación / Calidad
- 75 / 85
Qué detecta esta regla
Webshell named template-query.aspimg.asp used by APT37
Define 9 patrones (9 de texto, 0 hex, 0 regex).
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule SIGNATURE_BASE_Hvs_APT37_Webshell_Template_Query_Asp : FILE
{
meta:
= "Webshell named template-query.aspimg.asp used by APT37"
= "Moritz Oettle"
= "dc006b46-4c51-59cd-8b7d-adbfec86cd2e"
= "2020-12-15"
= "2023-12-05"
= "https://www.hvs-consulting.de/media/downloads/ThreatReport-Lazarus.pdf"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_lazarus_dec20.yar#L97-L120"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "961a66d01c86fa5982e0538215b17fb9fae2991331dfea812b8c031e2ceb0d90"
= "d8bd017e9103bddb0b8a86effa8a4b0617b54bd643bcc36b6f678a3e60f8559f"
= 75
= 85
= "FILE"
= "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"
strings:
$g1 = "server.scripttimeout=600" fullword ascii
$g2 = "response.buffer=true" fullword ascii
$g3 = "response.expires=-1" fullword ascii
$g4 = "session.timeout=600" fullword ascii
$a1 = "redhat hacker" ascii
$a2 = "want_pre.asp" ascii
$a3 = "vgo=\"admin\"" ascii
$a4 = "ywc=false" ascii
$s1 = "public br,ygv,gbc,ydo,yka,wzd,sod,vmd" fullword ascii
condition:
filesize > 70KB and filesize < 200KB and ( ( 1 of ( $s* ) ) or ( 2 of ( $a* ) ) or ( 3 of ( $g* ) ) )
}
Cadenas (9 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $g1 | texto | "server.scripttimeout=600" | fullword ascii |
| $g2 | texto | "response.buffer=true" | fullword ascii |
| $g3 | texto | "response.expires=-1" | fullword ascii |
| $g4 | texto | "session.timeout=600" | fullword ascii |
| $a1 | texto | "redhat hacker" | ascii |
| $a2 | texto | "want_pre.asp" | ascii |
| $a3 | texto | "vgo=\"admin\"" | ascii |
| $a4 | texto | "ywc=false" | ascii |
| $s1 | texto | "public br,ygv,gbc,ydo,yka,wzd,sod,vmd" | fullword ascii |
Condición
filesize > 70KB and filesize < 200KB and ( ( 1 of ( $s* ) ) or ( 2 of ( $a* ) ) or ( 3 of ( $g* ) ) )En palabras sencillas (Heurística)
- El archivo debe ocupar menos de 200KB (un límite barato que descarta archivos grandes).
- El archivo debe ocupar más de 70KB.
- Deben coincidir al menos 1 patrones de ( $s* ).
- Deben coincidir al menos 2 patrones de ( $a* ).
- Deben coincidir al menos 3 patrones de ( $g* ).
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).
- 961a66d01c86fa5982e0538215b17fb9fae2991331dfea812b8c031e2ceb0d90
Licencia y atribución
Autor: Moritz Oettle
Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licencia: Detection Rule License 1.1 (indicada en los metadatos de la regla)
“Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE”
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: dc006b46-4c51-59cd-8b7d-adbfec86cd2e
Etiquetas:FILE
Reglas relacionadas
- WebshellSignature Base (Florian Roth / Nextron)· Moritz Oettle· 2021-09-04
- WebshellSignature Base (Florian Roth / Nextron)· Moritz Oettle· 2021-09-04
- WebshellSignature Base (Florian Roth / Nextron)· Moritz Oettle· 2020-12-15
- MalwareSignature Base (Florian Roth / Nextron)· Moritz Oettle· 2022-02-07
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Moritz Oettle· 2024-10-22