YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_SUSP_PS1_JAB_Pattern_Jun22_1
Detects suspicious UTF16 and Base64 encoded PowerShell code that starts with a $ sign and a single char variable
- Autor
- Florian Roth (Nextron Systems)
- Fecha
- 2022-06-10
- Modificada
- 2023-12-05
- Puntuación / Calidad
- 70 / 85
Qué detecta esta regla
Detects suspicious UTF16 and Base64 encoded PowerShell code that starts with a $ sign and a single char variable
Define 4 patrones (0 de texto, 4 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_SUSP_PS1_JAB_Pattern_Jun22_1 : FILE
{
meta:
= "Detects suspicious UTF16 and Base64 encoded PowerShell code that starts with a $ sign and a single char variable"
= "Florian Roth (Nextron Systems)"
= "9ecca7d9-3b63-5615-a223-5efa1c53510e"
= "2022-06-10"
= "2023-12-05"
= "Internal Research"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_susp_ps_jab.yar#L2-L29"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "9ad61dca5c945ed87642668e3b834b12c813af244437903a5abb5c69459b9456"
= 70
= 85
= "FILE"
strings:
$xc1 = { 4a 41 42 ?? 41 43 41 41 50 51 41 67 41 }
$xc2 = { 4a 00 41 00 42 00 ?? 00 41 00 43 00 41 00 41 00 50 00 51 00 41 00 67 00 41 }
$xc3 = { 4a 41 42 ?? 41 44 30 41 }
$xc4 = { 4a 00 41 00 42 00 ?? 00 41 00 44 00 30 00 41 }
condition:
filesize < 30MB and 1 of them
}
Cadenas (4 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $xc1 | hex | { 4a 41 42 ?? 41 43 41 41 50 51 41 67 41 } | |
| $xc2 | hex | { 4a 00 41 00 42 00 ?? 00 41 00 43 00 41 00 41 00 50 00 51 00 41 00 67 00 41 } | |
| $xc3 | hex | { 4a 41 42 ?? 41 44 30 41 } | |
| $xc4 | hex | { 4a 00 41 00 42 00 ?? 00 41 00 44 00 30 00 41 } |
Condición
filesize < 30MB and 1 of themEn palabras sencillas (Heurística)
- El archivo debe ocupar menos de 30MB (un límite barato que descarta archivos grandes).
- Deben coincidir al menos 1 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.
Licencia y atribución
Autor: Florian Roth (Nextron Systems)
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: 9ecca7d9-3b63-5615-a223-5efa1c53510e
Etiquetas:FILE
Reglas relacionadas
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2022-09-17
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-04-06
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2020-06-27
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-12-10
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-10-12
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-08-25
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-12-10
- Sospechoso / huntingSignature Base (Florian Roth / Nextron)· Florian Roth (Nextron Systems)· 2021-12-10