Aller au contenu

YARA · ditekSHen detection

DITEKSHEN_INDICATOR_TOOL_Avbypass_Aviator

Detects AVIator, which is a backdoor generator utility, which uses cryptographic and injection techniques in order to bypass AV detection. This was observed to bypass Win.Trojan.AZorult. This rule works for binaries and memory.

Suspect / chasseAzorultditekSHen detectionBSD 2-Clause LicenseCompile avec YARA-X
Auteur
ditekSHen
Date
2020-11-06
Modifiée
2024-09-25
Score / Qualité
75 / 75

Ce que détecte cette règle

Detects AVIator, which is a backdoor generator utility, which uses cryptographic and injection techniques in order to bypass AV detection. This was observed to bypass Win.Trojan.AZorult. This rule works for binaries and memory.

Famille de malware associée : Azorult.

Cibles : PE Windows.

Elle définit 18 motifs (16 texte, 0 hex, 2 regex).

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

Source de la règle

indicator-tool-avbypass-aviator.yarBSD 2-Clause License
rule DITEKSHEN_INDICATOR_TOOL_Avbypass_Aviator : FILE
{
	meta:
		description = "Detects AVIator, which is a backdoor generator utility, which uses cryptographic and injection techniques in order to bypass AV detection. This was observed to bypass Win.Trojan.AZorult. This rule works for binaries and memory."
		author = "ditekSHen"
		id = "2bddd64e-baca-58cb-ba52-27487cc4ded5"
		date = "2020-11-06"
		modified = "2024-09-25"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/indicator_tools.yar#L214-L240"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "1fb497eec2b0cd4051b5ddd53463f1da511c0a7b72d54a0bc68736a99fdc6143"
		score = 75
		quality = 75
		tags = "FILE"

	strings:
		$s1 = "msfvenom -p windows/meterpreter" ascii wide
		$s2 = "payloadBox.Text" ascii wide
		$s3 = "APCInjectionCheckBox" ascii wide
		$s4 = "Thread Hijacking (Shellcode Arch: x86, OS Arch: x86)" ascii wide
		$s5 = "injectExistingApp.Text" ascii wide
		$s6 = "Stable execution but can be traced by most AVs" ascii wide
		$s7 = "AV/\\tor" ascii wide
		$s8 = "AvIator.Properties.Resources" ascii wide
		$s9 = "Select injection technique" ascii wide
		$s10 = "threadHijacking_option" ascii wide
		$pwsh1 = "Convert.ToByte(Payload_Encrypted_Without_delimiterChar[" ascii wide
		$pwsh2 = "[DllImport(\"kernel32.dll\", SetLastError = true)]" ascii wide
		$pwsh3 = "IntPtr RtlAdjustPrivilege(" ascii wide
		$pwsh4 = /InjectShellcode\.(THREADENTRY32|CONTEXT64|WriteProcessMemory\(|CloseHandle\(|CONTEXT_FLAGS|CONTEXT\(\);|Thread32Next\()/ ascii wide
		$pwsh5 = "= Payload_Encrypted.Split(',');" ascii wide
		$pwsh6 = "namespace NativePayload_Reverse_tcp" ascii wide
		$pwsh7 = "byte[] Finall_Payload = Decrypt(KEY, _X_to_Bytes);" ascii wide
		$pwsh8 = /ConstantsAndExtCalls\.(WriteProcessMemory\(|CreateRemoteThread\()/ ascii wide

	condition:
		( uint16( 0 ) == 0x5a4d and ( 3 of ( $s* ) or 2 of ( $pwsh* ) ) ) or ( 3 of ( $s* ) or 2 of ( $pwsh* ) )
}

Chaînes (18 motifs)

IdentifiantTypeValeurModificateurs
$s1texte"msfvenom -p windows/meterpreter"ascii wide
$s2texte"payloadBox.Text"ascii wide
$s3texte"APCInjectionCheckBox"ascii wide
$s4texte"Thread Hijacking (Shellcode Arch: x86, OS Arch: x86)"ascii wide
$s5texte"injectExistingApp.Text"ascii wide
$s6texte"Stable execution but can be traced by most AVs"ascii wide
$s7texte"AV/\\tor"ascii wide
$s8texte"AvIator.Properties.Resources"ascii wide
$s9texte"Select injection technique"ascii wide
$s10texte"threadHijacking_option"ascii wide
$pwsh1texte"Convert.ToByte(Payload_Encrypted_Without_delimiterChar["ascii wide
$pwsh2texte"[DllImport(\"kernel32.dll\", SetLastError = true)]"ascii wide
$pwsh3texte"IntPtr RtlAdjustPrivilege("ascii wide
$pwsh4regex/InjectShellcode\.(THREADENTRY32|CONTEXT64|WriteProcessMemory\(|CloseHandle\(|CONTEXT_FLAGS|CONTEXT\(\);|Thread32Next\()/ascii wide
$pwsh5texte"= Payload_Encrypted.Split(',');"ascii wide
$pwsh6texte"namespace NativePayload_Reverse_tcp"ascii wide
$pwsh7texte"byte[] Finall_Payload = Decrypt(KEY, _X_to_Bytes);"ascii wide
$pwsh8regex/ConstantsAndExtCalls\.(WriteProcessMemory\(|CreateRemoteThread\()/ascii wide

Condition

( uint16( 0 ) == 0x5a4d and ( 3 of ( $s* ) or 2 of ( $pwsh* ) ) ) or ( 3 of ( $s* ) or 2 of ( $pwsh* ) )

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Au moins 3 motifs de ( $s* ) doivent être trouvés.
  • Au moins 2 motifs de ( $pwsh* ) 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 : ditekSHen

Dépôt source : ditekSHen detection @ e76c93dcde

Licence : BSD 2-Clause License (licence du dépôt)

Mention de copyright : Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

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: 2bddd64e-baca-58cb-ba52-27487cc4ded5

Tags:FILE