YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_Hvs_APT37_Smb_Scanner
Unknown smb login scanner used by APT37
- Autor
- Marc Stroebel
- Fecha
- 2020-12-15
- Modificada
- 2023-12-05
- Puntuación / Calidad
- 75 / 85
Qué detecta esta regla
Unknown smb login scanner used by APT37
Objetivos: PE de Windows.
Define 15 patrones (15 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_Smb_Scanner : FILE
{
meta:
= "Unknown smb login scanner used by APT37"
= "Marc Stroebel"
= "89a5cc32-f151-583d-823d-692de2c2b084"
= "2020-12-15"
= "2023-12-05"
= "https://www.hybrid-analysis.com/sample/d16163526242508d6961f061aaffe3ae5321bd64d8ceb6b2788f1570757595fc?environmentId=2"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_lazarus_dec20.yar#L2-L29"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "0bea71db7052f1c22c01cfbf710d4ed24651cbbd8b0fd29f09dfd49c4e314028"
= 75
= 85
= "FILE"
= "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"
strings:
$s1 = "Scan.exe StartIP EndIP ThreadCount logfilePath [Username Password Deep]" fullword ascii
$s2 = "%s - %s:(Username - %s / Password - %s" fullword ascii
$s3 = "Load mpr.dll Error " fullword ascii
$s4 = "Load Netapi32.dll Error " fullword ascii
$s5 = "%s U/P not Correct! - %d" fullword ascii
$s6 = "GetNetWorkInfo Version 1.0" fullword wide
$s7 = "Hello World!" fullword wide
$s8 = "%s Error: %ld" fullword ascii
$s9 = "%s U/P Correct!" fullword ascii
$s10 = "%s --------" fullword ascii
$s11 = "%s%-30s%I64d" fullword ascii
$s12 = "%s%-30s(DIR)" fullword ascii
$s13 = "%04d-%02d-%02d %02d:%02d" fullword ascii
$s14 = "Share: Local Path: Uses: Descriptor:" fullword ascii
$s15 = "Share: Type: Remark:" fullword ascii
condition:
uint16( 0 ) == 0x5a4d and filesize < 200KB and ( 10 of them )
}
Cadenas (15 patrones)
| Identificador | Tipo | Valor | Modificadores |
|---|---|---|---|
| $s1 | texto | "Scan.exe StartIP EndIP ThreadCount logfilePath [Username Password Deep]" | fullword ascii |
| $s2 | texto | "%s - %s:(Username - %s / Password - %s" | fullword ascii |
| $s3 | texto | "Load mpr.dll Error " | fullword ascii |
| $s4 | texto | "Load Netapi32.dll Error " | fullword ascii |
| $s5 | texto | "%s U/P not Correct! - %d" | fullword ascii |
| $s6 | texto | "GetNetWorkInfo Version 1.0" | fullword wide |
| $s7 | texto | "Hello World!" | fullword wide |
| $s8 | texto | "%s Error: %ld" | fullword ascii |
| $s9 | texto | "%s U/P Correct!" | fullword ascii |
| $s10 | texto | "%s --------" | fullword ascii |
| $s11 | texto | "%s%-30s%I64d" | fullword ascii |
| $s12 | texto | "%s%-30s(DIR)" | fullword ascii |
| $s13 | texto | "%04d-%02d-%02d %02d:%02d" | fullword ascii |
| $s14 | texto | "Share: Local Path: Uses: Descriptor:" | fullword ascii |
| $s15 | texto | "Share: Type: Remark:" | fullword ascii |
Condición
uint16( 0 ) == 0x5a4d and filesize < 200KB and ( 10 of them )En palabras sencillas (Heurística)
- El archivo debe empezar por «MZ»: un ejecutable de Windows (PE).
- El archivo debe ocupar menos de 200KB (un límite barato que descarta archivos grandes).
- Deben coincidir al menos 10 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: Marc Stroebel
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: 89a5cc32-f151-583d-823d-692de2c2b084
Etiquetas:FILE
Reglas relacionadas
- MalwareSignature Base (Florian Roth / Nextron)· Marc Stroebel· 2020-12-15
- Herramienta ofensivaSignature Base (Florian Roth / Nextron)· Marc Stroebel· 2024-10-22