Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_HKTL_NET_GUID_Clr_Meterpreter

Detects c# red/black-team tools via typelibguid

Hack toolMeterpreterSignature 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

Associated malware family: Meterpreter.

Targets: Windows PE.

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

Summary generated from the rule's metadata and condition.

Rule source

hktl-net-guid-clr-meterpreter.yarDetection Rule License 1.1
rule SIGNATURE_BASE_HKTL_NET_GUID_Clr_Meterpreter : FILE
{
	meta:
		description = "Detects c# red/black-team tools via typelibguid"
		author = "Arnim Rupp (https://github.com/ruppde)"
		id = "1d8a9717-4d80-5fb1-9c57-9b5f6c5a18b0"
		date = "2020-12-13"
		modified = "2025-08-15"
		reference = "https://github.com/OJ/clr-meterpreter"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_github_net_redteam_tools_guids.yar#L1155-L1173"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "5d48897457c5f3ea7a9c24a24ab63207c3841bc3ac444d1c42987cb291f05941"
		score = 75
		quality = 85
		tags = "FILE"
		license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"

	strings:
		$typelibguid0lo = "6840b249-1a0e-433b-be79-a927696ea4b3" ascii wide
		$typelibguid1lo = "67c09d37-ac18-4f15-8dd6-b5da721c0df6" ascii wide
		$typelibguid2lo = "e05d0deb-d724-4448-8c4c-53d6a8e670f3" ascii wide
		$typelibguid3lo = "c3cc72bf-62a2-4034-af66-e66da73e425d" ascii wide
		$typelibguid4lo = "7ace3762-d8e1-4969-a5a0-dcaf7b18164e" ascii wide
		$typelibguid5lo = "3296e4a3-94b5-4232-b423-44f4c7421cb3" ascii wide

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

Strings (6 patterns)

IdentifierTypeValueModifiers
$typelibguid0lotext"6840b249-1a0e-433b-be79-a927696ea4b3"ascii wide
$typelibguid1lotext"67c09d37-ac18-4f15-8dd6-b5da721c0df6"ascii wide
$typelibguid2lotext"e05d0deb-d724-4448-8c4c-53d6a8e670f3"ascii wide
$typelibguid3lotext"c3cc72bf-62a2-4034-af66-e66da73e425d"ascii wide
$typelibguid4lotext"7ace3762-d8e1-4969-a5a0-dcaf7b18164e"ascii wide
$typelibguid5lotext"3296e4a3-94b5-4232-b423-44f4c7421cb3"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: 1d8a9717-4d80-5fb1-9c57-9b5f6c5a18b0

Tags:FILE

More Meterpreter rules