Aller au contenu

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_Hvs_APT37_Smb_Scanner

Unknown smb login scanner used by APT37

APT / acteurSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compile avec YARA-X
Auteur
Marc Stroebel
Date
2020-12-15
Modifiée
2023-12-05
Score / Qualité
75 / 85

Ce que détecte cette règle

Unknown smb login scanner used by APT37

Cibles : PE Windows.

Elle définit 15 motifs (15 texte, 0 hex, 0 regex).

Résumé généré à partir des métadonnées et de la condition de la règle.

Source de la règle

hvs-apt37-smb-scanner.yarDetection Rule License 1.1
rule SIGNATURE_BASE_Hvs_APT37_Smb_Scanner : FILE
{
	meta:
		description = "Unknown smb login scanner used by APT37"
		author = "Marc Stroebel"
		id = "89a5cc32-f151-583d-823d-692de2c2b084"
		date = "2020-12-15"
		modified = "2023-12-05"
		reference = "https://www.hybrid-analysis.com/sample/d16163526242508d6961f061aaffe3ae5321bd64d8ceb6b2788f1570757595fc?environmentId=2"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_lazarus_dec20.yar#L2-L29"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "0bea71db7052f1c22c01cfbf710d4ed24651cbbd8b0fd29f09dfd49c4e314028"
		score = 75
		quality = 85
		tags = "FILE"
		license = "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 )
}

Chaînes (15 motifs)

IdentifiantTypeValeurModificateurs
$s1texte"Scan.exe StartIP EndIP ThreadCount logfilePath [Username Password Deep]"fullword ascii
$s2texte"%s - %s:(Username - %s / Password - %s"fullword ascii
$s3texte"Load mpr.dll Error "fullword ascii
$s4texte"Load Netapi32.dll Error "fullword ascii
$s5texte"%s U/P not Correct! - %d"fullword ascii
$s6texte"GetNetWorkInfo Version 1.0"fullword wide
$s7texte"Hello World!"fullword wide
$s8texte"%s Error: %ld"fullword ascii
$s9texte"%s U/P Correct!"fullword ascii
$s10texte"%s --------"fullword ascii
$s11texte"%s%-30s%I64d"fullword ascii
$s12texte"%s%-30s(DIR)"fullword ascii
$s13texte"%04d-%02d-%02d %02d:%02d"fullword ascii
$s14texte"Share: Local Path: Uses: Descriptor:"fullword ascii
$s15texte"Share: Type: Remark:"fullword ascii

Condition

uint16( 0 ) == 0x5a4d and filesize < 200KB and ( 10 of them )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Le fichier doit faire moins de 200KB (garde-fou peu coûteux qui écarte les gros fichiers).
  • Au moins 10 motifs de la règle doivent être trouvés.

Tester cette règle dans votre navigateur

Déposez un fichier pour le scanner avec cette règle grâce à YARA-X compilé en WebAssembly. Rien n’est envoyé.

Déposez un fichier ici ou cliquez pour choisirScanné localement avec YARA-X. Fichiers jusqu’à 200 Mo.

Ouvrir dans l’éditeur

Références

Licence et attribution

Auteur : Marc Stroebel

Dépôt source : Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence : Detection Rule License 1.1 (indiquée dans les métadonnées de la règle)

“Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE”

Règle d’origine

Reprise via YARA Forge 20260927, qui préfixe les noms de règles par la source et ajoute des champs meta normalisés.

Identifiant de règle: 89a5cc32-f151-583d-823d-692de2c2b084

Tags:FILE