Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_HKTL_NET_GUID_Random_Csharptools

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-21
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 7 patterns (7 text, 0 hex, 0 regex).

Summary generated from the rule's metadata and condition.

Rule source

hktl-net-guid-random-csharptools.yarDetection Rule License 1.1
rule SIGNATURE_BASE_HKTL_NET_GUID_Random_Csharptools : FILE
{
	meta:
		description = "Detects c# red/black-team tools via typelibguid"
		author = "Arnim Rupp (https://github.com/ruppde)"
		id = "ad8b5573-ad20-50cd-927b-a6401b10e653"
		date = "2020-12-21"
		modified = "2025-08-15"
		reference = "https://github.com/xorrior/Random-CSharpTools"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_github_net_redteam_tools_guids.yar#L2481-L2500"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "633cfdc2f1950f36474e15cb186fc4673e7cbc9417fdbee61409b14be94bc6cb"
		score = 75
		quality = 85
		tags = "FILE"
		license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"

	strings:
		$typelibguid0lo = "f7fc19da-67a3-437d-b3b0-2a257f77a00b" ascii wide
		$typelibguid1lo = "47e85bb6-9138-4374-8092-0aeb301fe64b" ascii wide
		$typelibguid2lo = "c7d854d8-4e3a-43a6-872f-e0710e5943f7" ascii wide
		$typelibguid3lo = "d6685430-8d8d-4e2e-b202-de14efa25211" ascii wide
		$typelibguid4lo = "1df925fc-9a89-4170-b763-1c735430b7d0" ascii wide
		$typelibguid5lo = "817cc61b-8471-4c1e-b5d6-c754fc550a03" ascii wide
		$typelibguid6lo = "60116613-c74e-41b9-b80e-35e02f25891e" ascii wide

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

Strings (7 patterns)

IdentifierTypeValueModifiers
$typelibguid0lotext"f7fc19da-67a3-437d-b3b0-2a257f77a00b"ascii wide
$typelibguid1lotext"47e85bb6-9138-4374-8092-0aeb301fe64b"ascii wide
$typelibguid2lotext"c7d854d8-4e3a-43a6-872f-e0710e5943f7"ascii wide
$typelibguid3lotext"d6685430-8d8d-4e2e-b202-de14efa25211"ascii wide
$typelibguid4lotext"1df925fc-9a89-4170-b763-1c735430b7d0"ascii wide
$typelibguid5lotext"817cc61b-8471-4c1e-b5d6-c754fc550a03"ascii wide
$typelibguid6lotext"60116613-c74e-41b9-b80e-35e02f25891e"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: ad8b5573-ad20-50cd-927b-a6401b10e653

Tags:FILE