YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_M_Hunting_Credtheft_WARPWIRE_1
This rule detects WARPWIRE, a credential stealer written in JavaScript that is embedded into a legitimate Pulse Secure file.
- Autor
- Mandiant
- Fecha
- 2024-01-11
- Modificada
- 2024-04-24
- Puntuación / Calidad
- 75 / 77
Qué detecta esta regla
This rule detects WARPWIRE, a credential stealer written in JavaScript that is embedded into a legitimate Pulse Secure file.
Define 5 patrones (1 de texto, 4 hex, 0 regex).
YARA-X dice: warning[text_as_hex]: hex pattern could be written as text literal
Resumen generado a partir de los metadatos y la condición de la regla.
Código de la regla
rule SIGNATURE_BASE_M_Hunting_Credtheft_WARPWIRE_1 : FILE
{
meta:
= "This rule detects WARPWIRE, a credential stealer written in JavaScript that is embedded into a legitimate Pulse Secure file."
= "Mandiant"
= "9a6a8783-b531-560d-998d-8aa7c90158a8"
= "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#L102-L120"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "d0c7a334a4d9dcd3c6335ae13bee59ea"
= "8029df5998166ab3db3319b0dd765ef3356b4b44dc16d2d418015a0f7ffac97e"
= 75
= 77
= "FILE"
strings:
$s1 = {76 61 72 20 77 64 61 74 61 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 66 72 6d 4c 6f 67 69 6e 2e 75 73 65 72 6e 61 6d 65 2e 76 61 6c 75 65 3b}
$s2 = {76 61 72 20 73 64 61 74 61 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 66 72 6d 4c 6f 67 69 6e 2e 70 61 73 73 77 6f 72 64 2e 76 61 6c 75 65 3b}
$s3 = {2b 77 64 61 74 61 2b 27 26 27 2b 73 64 61 74 61 3b}
$s4 = {76 61 72 20 78 68 72 20 3d 20 6e 65 77 20 58 4d 4c 48 74 74 70 52 65 71 75 65 73 74}
$s5 = "Remember the last selected auth realm for 30 days" ascii
condition:
filesize < 8KB and all of them
}
Cadenas (5 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | hex | {76 61 72 20 77 64 61 74 61 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 66 72 6d 4c 6f 67 69 6e 2e 75 73 65 72 6e 61 6d 65 2e 76 61 6c 75 65 3b} | |
| $s2 | hex | {76 61 72 20 73 64 61 74 61 20 3d 20 64 6f 63 75 6d 65 6e 74 2e 66 72 6d 4c 6f 67 69 6e 2e 70 61 73 73 77 6f 72 64 2e 76 61 6c 75 65 3b} | |
| $s3 | hex | {2b 77 64 61 74 61 2b 27 26 27 2b 73 64 61 74 61 3b} | |
| $s4 | hex | {76 61 72 20 78 68 72 20 3d 20 6e 65 77 20 58 4d 4c 48 74 74 70 52 65 71 75 65 73 74} | |
| $s5 | texto | "Remember the last selected auth realm for 30 days" | ascii |
Condición
filesize < 8KB and all of themEn palabras sencillas (Heurística)
- El archivo debe ocupar menos de 8KB (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).
- d0c7a334a4d9dcd3c6335ae13bee59ea
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: 9a6a8783-b531-560d-998d-8aa7c90158a8
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