YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_Hvs_APT37_Smb_Scanner
Unknown smb login scanner used by APT37
- Autor
- Marc Stroebel
- Datum
- 2020-12-15
- Geändert
- 2023-12-05
- Score / Qualität
- 75 / 85
Was diese Regel erkennt
Unknown smb login scanner used by APT37
Ziele: Windows-PE.
Sie definiert 15 Muster (15 Text, 0 Hex, 0 Regex).
Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.
Regelquelltext
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 )
}
Strings (15 Muster)
| Bezeichner | Typ | Wert | Modifikatoren |
|---|---|---|---|
| $s1 | Text | "Scan.exe StartIP EndIP ThreadCount logfilePath [Username Password Deep]" | fullword ascii |
| $s2 | Text | "%s - %s:(Username - %s / Password - %s" | fullword ascii |
| $s3 | Text | "Load mpr.dll Error " | fullword ascii |
| $s4 | Text | "Load Netapi32.dll Error " | fullword ascii |
| $s5 | Text | "%s U/P not Correct! - %d" | fullword ascii |
| $s6 | Text | "GetNetWorkInfo Version 1.0" | fullword wide |
| $s7 | Text | "Hello World!" | fullword wide |
| $s8 | Text | "%s Error: %ld" | fullword ascii |
| $s9 | Text | "%s U/P Correct!" | fullword ascii |
| $s10 | Text | "%s --------" | fullword ascii |
| $s11 | Text | "%s%-30s%I64d" | fullword ascii |
| $s12 | Text | "%s%-30s(DIR)" | fullword ascii |
| $s13 | Text | "%04d-%02d-%02d %02d:%02d" | fullword ascii |
| $s14 | Text | "Share: Local Path: Uses: Descriptor:" | fullword ascii |
| $s15 | Text | "Share: Type: Remark:" | fullword ascii |
Bedingung
uint16( 0 ) == 0x5a4d and filesize < 200KB and ( 10 of them )In Worten (Heuristik)
- Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
- Die Datei muss kleiner als 200KB sein (eine günstige Grenze, die große Dateien ausschließt).
- Mindestens 10 Muster aus der Regel müssen treffen.
Diese Regel im Browser testen
Legen Sie eine Datei ab, um sie mit dieser Regel und YARA-X als WebAssembly zu scannen. Nichts wird hochgeladen.
Lizenz & Namensnennung
Autor: Marc Stroebel
Quell-Repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a
Lizenz: Detection Rule License 1.1 (in den Metadaten der Regel angegeben)
“Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE”
Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.
Regel-ID: 89a5cc32-f151-583d-823d-692de2c2b084
Tags:FILE
Verwandte Regeln
- MalwareSignature Base (Florian Roth / Nextron)· Marc Stroebel· 2020-12-15
- HacktoolSignature Base (Florian Roth / Nextron)· Marc Stroebel· 2024-10-22