Aller au contenu

YARA · SEKOIA.IO Community

SEKOIA_Implant_Win_Havoc_Default_Strings

Finds Havoc implants based on the embedded default strings

MalwareHavocSEKOIA.IO CommunityDetection Rule License 1.1Compile avec YARA-X
Auteur
Sekoia.io
Date
2022-10-07
Modifiée
2024-12-19
Score / Qualité
75 / 80

Ce que détecte cette règle

Finds Havoc implants based on the embedded default strings

Famille de malware associée : Havoc.

Cibles : PE Windows.

Elle définit 9 motifs (9 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

implant-win-havoc-default-strings.yarDetection Rule License 1.1
rule SEKOIA_Implant_Win_Havoc_Default_Strings : FILE
{
	meta:
		description = "Finds Havoc implants based on the embedded default strings"
		author = "Sekoia.io"
		id = "955c2211-4502-4258-ba4c-0d96a5624283"
		date = "2022-10-07"
		modified = "2024-12-19"
		reference = "https://github.com/SEKOIA-IO/Community"
		source_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/yara_rules/implant_win_havoc_default_strings.yar#L1-L23"
		license_url = "https://github.com/SEKOIA-IO/Community/blob/a438a5901a211c2abdf75da9c93921ef187473d1/LICENSE.md"
		logic_hash = "dbf17e579071f265961657d73c6a2e51630b23e80376491df2e631cee5ffb1b4"
		score = 75
		quality = 80
		tags = "FILE"
		version = "1.0"
		classification = "TLP:CLEAR"

	strings:
		$str01 = "C:\\Windows\\System32\\notepad.exe" ascii
		$str02 = "C:\\Windows\\SysWOW64\\notepad.exe" ascii
		$str03 = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36" ascii
		$str04 = "POST" wide
		$str05 = "\\??\\C:\\Windows\\System32\\ntdll.dll" wide
		$str06 = "X-Havoc: true" ascii
		$str07 = "X-Havoc-Agent: Demon" ascii
		$str08 = "/text.gif" ascii
		$str09 = "SeImpersonatePrivilege" ascii

	condition:
		uint16( 0 ) == 0x5A4D and 6 of them
}

Chaînes (9 motifs)

IdentifiantTypeValeurModificateurs
$str01texte"C:\\Windows\\System32\\notepad.exe"ascii
$str02texte"C:\\Windows\\SysWOW64\\notepad.exe"ascii
$str03texte"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36"ascii
$str04texte"POST"wide
$str05texte"\\??\\C:\\Windows\\System32\\ntdll.dll"wide
$str06texte"X-Havoc: true"ascii
$str07texte"X-Havoc-Agent: Demon"ascii
$str08texte"/text.gif"ascii
$str09texte"SeImpersonatePrivilege"ascii

Condition

uint16( 0 ) == 0x5A4D and 6 of them

En clair (Heuristique)

  • Le fichier doit commencer par « MZ » — un exécutable Windows (PE).
  • Au moins 6 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 : Sekoia.io

Dépôt source : SEKOIA.IO Community @ a438a5901a

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: 955c2211-4502-4258-ba4c-0d96a5624283

Métadonnées

version1.0
classificationTLP:CLEAR

Tags:FILE

Plus de règles Havoc