Skip to content

YARA · ditekSHen detection

DITEKSHEN_MALWARE_Win_Hawkeyev9

Detects HawkEyeV9 payload

MalwareHawkeyeditekSHen detectionBSD 2-Clause LicenseCompiles with YARA-X
Author
ditekshen
Date
2020-11-06
Modified
2024-11-01
Score / Quality
75 / 75

What this rule detects

Detects HawkEyeV9 payload

Associated malware family: Hawkeye.

It defines 17 patterns (17 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

malware-win-hawkeyev9.yarBSD 2-Clause License
rule DITEKSHEN_MALWARE_Win_Hawkeyev9
{
	meta:
		description = "Detects HawkEyeV9 payload"
		author = "ditekshen"
		id = "ca59aa45-fb55-5f9a-a224-8bd2b72ce5ac"
		date = "2020-11-06"
		modified = "2024-11-01"
		reference = "https://github.com/ditekshen/detection"
		source_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/yara/malware.yar#L2768-L2793"
		license_url = "https://github.com/ditekshen/detection/blob/e76c93dcdedff04076380ffc60ea54e45b313635/LICENSE.txt"
		logic_hash = "d24111930dd0230c01963a90c9fbbc0a0a71df170c2ca116bb329e6158cb681c"
		score = 75
		quality = 75
		tags = ""
		clamav_sig = "MALWARE.Win.Trojan.HawkEyeV9"

	strings:
		$id1 = "HawkEye Keylogger - Reborn v9 - {0} Logs - {1} \\ {2}" wide
		$id2 = "HawkEye Keylogger - Reborn v9{0}{1} Logs{0}{2} \\ {3}{0}{0}{4}" wide
		$str1 = "_PasswordStealer" ascii
		$str2 = "_KeyStrokeLogger" ascii
		$str3 = "_ScreenshotLogger" ascii
		$str4 = "_ClipboardLogger" ascii
		$str5 = "_WebCamLogger" ascii
		$str6 = "_AntiVirusKiller" ascii
		$str7 = "_ProcessElevation" ascii
		$str8 = "_DisableCommandPrompt" ascii
		$str9 = "_WebsiteBlocker" ascii
		$str10 = "_DisableTaskManager" ascii
		$str11 = "_AntiDebugger" ascii
		$str12 = "_WebsiteVisitorSites" ascii
		$str13 = "_DisableRegEdit" ascii
		$str14 = "_ExecutionDelay" ascii
		$str15 = "_InstallStartupPersistance" ascii

	condition:
		int16 ( 0 ) == 0x5a4d and ( 1 of ( $id* ) or 5 of ( $str* ) )
}

Strings (17 patterns)

IdentifierTypeValueModifiers
$id1text"HawkEye Keylogger - Reborn v9 - {0} Logs - {1} \\ {2}"wide
$id2text"HawkEye Keylogger - Reborn v9{0}{1} Logs{0}{2} \\ {3}{0}{0}{4}"wide
$str1text"_PasswordStealer"ascii
$str2text"_KeyStrokeLogger"ascii
$str3text"_ScreenshotLogger"ascii
$str4text"_ClipboardLogger"ascii
$str5text"_WebCamLogger"ascii
$str6text"_AntiVirusKiller"ascii
$str7text"_ProcessElevation"ascii
$str8text"_DisableCommandPrompt"ascii
$str9text"_WebsiteBlocker"ascii
$str10text"_DisableTaskManager"ascii
$str11text"_AntiDebugger"ascii
$str12text"_WebsiteVisitorSites"ascii
$str13text"_DisableRegEdit"ascii
$str14text"_ExecutionDelay"ascii
$str15text"_InstallStartupPersistance"ascii

Condition

int16 ( 0 ) == 0x5a4d and ( 1 of ( $id* ) or 5 of ( $str* ) )

In plain words (Heuristic)

  • At least 1 patterns in ( $id* ) must match.
  • At least 5 patterns in ( $str* ) must match.

Test this rule in your browser

Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

References

Licence & attribution

Author: ditekshen

Source repository: ditekSHen detection @ e76c93dcde

Licence: BSD 2-Clause License (repository licence)

Copyright notice: Copyright 2021 by ditekSHen (https://github.com/ditekshen/detection).

Original rule

Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.

Rule id: ca59aa45-fb55-5f9a-a224-8bd2b72ce5ac

Metadata

clamav_sigMALWARE.Win.Trojan.HawkEyeV9