Zum Inhalt springen

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.1Kompiliert mit YARA-X
Autor
Sekoia.io
Datum
2022-10-07
Geändert
2024-12-19
Score / Qualität
75 / 80

Was diese Regel erkennt

Finds Havoc implants based on the embedded default strings

Zugehörige Malware-Familie: Havoc.

Ziele: Windows-PE.

Sie definiert 9 Muster (9 Text, 0 Hex, 0 Regex).

Zusammenfassung aus den Metadaten und der Bedingung der Regel erzeugt.

Regelquelltext

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
}

Strings (9 Muster)

BezeichnerTypWertModifikatoren
$str01Text"C:\\Windows\\System32\\notepad.exe"ascii
$str02Text"C:\\Windows\\SysWOW64\\notepad.exe"ascii
$str03Text"Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36"ascii
$str04Text"POST"wide
$str05Text"\\??\\C:\\Windows\\System32\\ntdll.dll"wide
$str06Text"X-Havoc: true"ascii
$str07Text"X-Havoc-Agent: Demon"ascii
$str08Text"/text.gif"ascii
$str09Text"SeImpersonatePrivilege"ascii

Bedingung

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

In Worten (Heuristik)

  • Die Datei muss mit „MZ“ beginnen — eine Windows-Programmdatei (PE).
  • Mindestens 6 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.

Datei hier ablegen oder klicken zum AuswählenLokal mit YARA-X gescannt. Dateien bis 200 MB.

Im Editor öffnen

Referenzen

Lizenz & Namensnennung

Autor: Sekoia.io

Quell-Repository: SEKOIA.IO Community @ a438a5901a

Lizenz: Detection Rule License 1.1 (Repository-Lizenz)

Originalregel

Gespiegelt über YARA Forge 20260927, das Regelnamen mit der Quelle präfixiert und normalisierte Meta-Felder ergänzt.

Regel-ID: 955c2211-4502-4258-ba4c-0d96a5624283

Metadaten

version1.0
classificationTLP:CLEAR

Tags:FILE

Weitere Havoc-Regeln