YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_WEBSHELL_ASPX_Simpleseesharp
A simple ASPX Webshell that allows an attacker to write further files to disk.
- Autor
- threatintel@volexity.com
- Fecha
- 2021-03-01
- Modificada
- 2023-12-05
- Puntuación / Calidad
- 75 / 85
Qué detecta esta regla
A simple ASPX Webshell that allows an attacker to write further files to disk.
Define 2 patrones (2 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_WEBSHELL_ASPX_Simpleseesharp : WEBSHELL UNCLASSIFIED FILE
{
meta:
= "A simple ASPX Webshell that allows an attacker to write further files to disk."
= "threatintel@volexity.com"
= "469fdf5c-e09e-5d44-a2e6-0864dcd0e18a"
= "2021-03-01"
= "2023-12-05"
= "https://www.volexity.com/blog/2021/03/02/active-exploitation-of-microsoft-exchange-zero-day-vulnerabilities/"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_hafnium.yar#L121-L136"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "893cd3583b49cb706b3e55ecb2ed0757b977a21f5c72e041392d1256f31166e2"
= "6f62249a68bae94e5cbdb4319ea5cde9dc071ec7a4760df3aafe78bc1e072c30"
= 75
= 85
= "WEBSHELL, UNCLASSIFIED, FILE"
strings:
$header = "<%@ Page Language=\"C#\" %>"
$body = "<% HttpPostedFile thisFile = Request.Files[0];thisFile.SaveAs(Path.Combine"
condition:
$header at 0 and $body and filesize < 1KB
}
Cadenas (2 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $header | texto | "<%@ Page Language=\"C#\" %>" | |
| $body | texto | "<% HttpPostedFile thisFile = Request.Files[0];thisFile.SaveAs(Path.Combine" |
Condición
$header at 0 and $body and filesize < 1KBEn palabras sencillas (Heurística)
- El archivo debe ocupar menos de 1KB (un límite barato que descarta archivos grandes).
- El patrón $header debe estar en el offset 0.
- El patrón $body debe estar presente.
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).
- 893cd3583b49cb706b3e55ecb2ed0757b977a21f5c72e041392d1256f31166e2
Licencia y atribución
Autor: threatintel@volexity.com
Repositorio de origen: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Licencia: Detection Rule License 1.1 (licencia del repositorio)
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: 469fdf5c-e09e-5d44-a2e6-0864dcd0e18a
Etiquetas:WEBSHELLUNCLASSIFIEDFILE
Reglas relacionadas
- APT / actorSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-04-23
- APT / actorSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-06-22
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-05-25
- APT / actorSignature Base (Florian Roth / Nextron)· threatintel@volexity.com· 2021-06-23