YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_M_Hunting_Dropper_WIREFIRE_1
This rule detects WIREFIRE, a web shell written in Python that exists as trojanized logic to a component of the pulse secure appliance.
- Autor
- Mandiant
- Fecha
- 2024-01-11
- Modificada
- 2024-04-24
- Puntuación / Calidad
- 75 / 85
Qué detecta esta regla
This rule detects WIREFIRE, a web shell written in Python that exists as trojanized logic to a component of the pulse secure appliance.
Define 5 patrones (5 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_M_Hunting_Dropper_WIREFIRE_1 : FILE
{
meta:
= "This rule detects WIREFIRE, a web shell written in Python that exists as trojanized logic to a component of the pulse secure appliance."
= "Mandiant"
= "051244f0-00b1-5a4b-8c81-f4ce6f1aa22a"
= "2024-01-11"
= "2024-04-24"
= "https://www.mandiant.com/resources/blog/suspected-apt-targets-ivanti-zero-day"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_report_ivanti_mandiant_jan24.yar#L40-L58"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "6de651357a15efd01db4e658249d4981"
= "c389a666bd093cdd7700385da43c8fa58b9f3d899e658c516df0f3aca439401d"
= 75
= 85
= "FILE"
strings:
$s1 = "zlib.decompress(aes.decrypt(base64.b64decode(" ascii
$s2 = "aes.encrypt(t+('\\x00'*(16-len(t)%16))" ascii
$s3 = "Handles DELETE request to delete an existing visits data." ascii
$s4 = "request.data.decode().startswith('GIF'):" ascii
$s5 = "Utils.api_log_admin" ascii
condition:
filesize < 10KB and all of them
}
Cadenas (5 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "zlib.decompress(aes.decrypt(base64.b64decode(" | ascii |
| $s2 | texto | "aes.encrypt(t+('\\x00'*(16-len(t)%16))" | ascii |
| $s3 | texto | "Handles DELETE request to delete an existing visits data." | ascii |
| $s4 | texto | "request.data.decode().startswith('GIF'):" | ascii |
| $s5 | texto | "Utils.api_log_admin" | ascii |
Condición
filesize < 10KB and all of themEn palabras sencillas (Heurística)
- El archivo debe ocupar menos de 10KB (un límite barato que descarta archivos grandes).
- Deben coincidir todos los patrones de la regla.
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).
- 6de651357a15efd01db4e658249d4981
Licencia y atribución
Autor: Mandiant
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: 051244f0-00b1-5a4b-8c81-f4ce6f1aa22a
Etiquetas:FILE
Reglas relacionadas
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Mandiant· 2024-01-11
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Mandiant· 2024-01-11
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Mandiant· 2024-01-11
- APT / actorSignature Base (Florian Roth / Nextron)· Mandiant· 2022-04-28
- APT / actorSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / actorSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20
- APT / actorSignature Base (Florian Roth / Nextron)· Mandiant· 2023-04-20