Aller au contenu

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_Shellcode_Apihashing_FIN8_1

Detects FIN8 Shellcode APIHashing

GénériqueSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compile avec YARA-X
Auteur
Frank Boldewin (@r3c0nst)
Date
2021-03-16
Modifiée
2023-12-05
Score / Qualité
75 / 85

Ce que détecte cette règle

Detects FIN8 Shellcode APIHashing

Elle définit 5 motifs (0 texte, 5 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

shellcode-apihashing-fin8-1.yarDetection Rule License 1.1
rule SIGNATURE_BASE_Shellcode_Apihashing_FIN8_1
{
	meta:
		description = "Detects FIN8 Shellcode APIHashing"
		author = "Frank Boldewin (@r3c0nst)"
		id = "bca5601c-2998-545b-8dd0-ec3c861e6291"
		date = "2021-03-16"
		modified = "2023-12-05"
		reference = "https://www.bitdefender.com/files/News/CaseStudies/study/394/Bitdefender-PR-Whitepaper-BADHATCH-creat5237-en-EN.pdf"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/apt_fin8.yar#L1-L19"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "5d47119a588aa69b3e241618d6dbb9df6117a6751bbff39a1f95340bc26611a7"
		score = 75
		quality = 85
		tags = ""

	strings:
		$APIHashing32bit1 = {81 F7 99 5D 52 69 81 F3 30 D7 00 AB}
		$APIHashing32bit2 = {68 F2 55 03 88 68 65 19 6D 1E}
		$APIHashing32bit3 = {68 9B 59 27 21 C1 E9 17 33 4C 24 10 68 37 5C 32 F4}
		$APIHashing64bit1 = {49 BF 65 19 6D 1E F2 55 03 88 49 BE 37 5C 32 F4 9B 59 27 21}
		$APIHashing64bit2 = {48 B8 99 5D 52 69 30 D7 00 AB}

	condition:
		all of ( $APIHashing32bit* ) or all of ( $APIHashing64bit* )
}

Chaînes (5 motifs)

IdentifiantTypeValeurModificateurs
$APIHashing32bit1hex{81 F7 99 5D 52 69 81 F3 30 D7 00 AB}
$APIHashing32bit2hex{68 F2 55 03 88 68 65 19 6D 1E}
$APIHashing32bit3hex{68 9B 59 27 21 C1 E9 17 33 4C 24 10 68 37 5C 32 F4}
$APIHashing64bit1hex{49 BF 65 19 6D 1E F2 55 03 88 49 BE 37 5C 32 F4 9B 59 27 21}
$APIHashing64bit2hex{48 B8 99 5D 52 69 30 D7 00 AB}

Condition

all of ( $APIHashing32bit* ) or all of ( $APIHashing64bit* )

En clair (Heuristique)

  • Tous les motifs de ( $APIHashing32bit* ) doivent être trouvés.
  • Tous les motifs de ( $APIHashing64bit* ) 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 : Frank Boldewin (@r3c0nst)

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

Licence : Detection Rule License 1.1 (licence du dépôt)

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: bca5601c-2998-545b-8dd0-ec3c861e6291