Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_HKTL_NET_GUID_Hastyseries

Detects c# red/black-team tools via typelibguid

Hack toolSignature Base (Florian Roth / Nextron)Detection Rule License 1.1Compiles with YARA-X
Author
Arnim Rupp (https://github.com/ruppde)
Date
2020-12-13
Modified
2025-08-15
Score / Quality
75 / 85

What this rule detects

Detects c# red/black-team tools via typelibguid

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

hktl-net-guid-hastyseries.yarDetection Rule License 1.1
rule SIGNATURE_BASE_HKTL_NET_GUID_Hastyseries : FILE
{
	meta:
		description = "Detects c# red/black-team tools via typelibguid"
		author = "Arnim Rupp (https://github.com/ruppde)"
		id = "0d35acf4-c763-593c-94e2-c499d3826375"
		date = "2020-12-13"
		modified = "2025-08-15"
		reference = "https://github.com/obscuritylabs/HastySeries"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_github_net_redteam_tools_guids.yar#L797-L819"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "4987c7afbf339a6a21634eb4647a0b09bfa149d330b7fb2aea2467a25e629c62"
		score = 75
		quality = 85
		tags = "FILE"
		license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"

	strings:
		$typelibguid0lo = "8435531d-675c-4270-85bf-60db7653bcf6" ascii wide
		$typelibguid1lo = "47db989f-7e33-4e6b-a4a5-c392b429264b" ascii wide
		$typelibguid2lo = "300c7489-a05f-4035-8826-261fa449dd96" ascii wide
		$typelibguid3lo = "41bf8781-ae04-4d80-b38d-707584bf796b" ascii wide
		$typelibguid4lo = "620ed459-18de-4359-bfb0-6d0c4841b6f6" ascii wide
		$typelibguid5lo = "91e7cdfe-0945-45a7-9eaa-0933afe381f2" ascii wide
		$typelibguid6lo = "c28e121a-60ca-4c21-af4b-93eb237b882f" ascii wide
		$typelibguid7lo = "698fac7a-bff1-4c24-b2c3-173a6aae15bf" ascii wide
		$typelibguid8lo = "63a40d94-5318-42ad-a573-e3a1c1284c57" ascii wide
		$typelibguid9lo = "56b8311b-04b8-4e57-bb58-d62adc0d2e68" ascii wide

	condition:
		( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them
}

Strings (10 patterns)

IdentifierTypeValueModifiers
$typelibguid0lotext"8435531d-675c-4270-85bf-60db7653bcf6"ascii wide
$typelibguid1lotext"47db989f-7e33-4e6b-a4a5-c392b429264b"ascii wide
$typelibguid2lotext"300c7489-a05f-4035-8826-261fa449dd96"ascii wide
$typelibguid3lotext"41bf8781-ae04-4d80-b38d-707584bf796b"ascii wide
$typelibguid4lotext"620ed459-18de-4359-bfb0-6d0c4841b6f6"ascii wide
$typelibguid5lotext"91e7cdfe-0945-45a7-9eaa-0933afe381f2"ascii wide
$typelibguid6lotext"c28e121a-60ca-4c21-af4b-93eb237b882f"ascii wide
$typelibguid7lotext"698fac7a-bff1-4c24-b2c3-173a6aae15bf"ascii wide
$typelibguid8lotext"63a40d94-5318-42ad-a573-e3a1c1284c57"ascii wide
$typelibguid9lotext"56b8311b-04b8-4e57-bb58-d62adc0d2e68"ascii wide

Condition

( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them

In plain words (Heuristic)

  • The file must start with “MZ” — a Windows executable (PE).
  • At least one pattern in the rule 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: Arnim Rupp (https://github.com/ruppde)

Source repository: Signature Base (Florian Roth / Nextron) @ 94a1c48d7a

Licence: Detection Rule License 1.1 (stated in the rule's own meta)

“Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE”

Original rule

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

Rule id: 0d35acf4-c763-593c-94e2-c499d3826375

Tags:FILE