Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_HKTL_NET_GUID_Altman

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

Summary generated from the rule's metadata and condition.

Rule source

hktl-net-guid-altman.yarDetection Rule License 1.1
rule SIGNATURE_BASE_HKTL_NET_GUID_Altman : FILE
{
	meta:
		description = "Detects c# red/black-team tools via typelibguid"
		author = "Arnim Rupp (https://github.com/ruppde)"
		id = "21acc8af-9497-5842-90a9-7a9300585d5d"
		date = "2020-12-28"
		modified = "2025-08-15"
		reference = "https://github.com/keepwn/Altman"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_github_net_redteam_tools_guids.yar#L3680-L3710"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "4d7046ac7a0deebb33a33995f4c2b9c6b65d4821262d55aecd8e00379ba93b00"
		score = 75
		quality = 85
		tags = "FILE"
		license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"

	strings:
		$typelibguid0lo = "64cdcd2b-7356-4079-af78-e22210e66154" ascii wide
		$typelibguid1lo = "f1dee29d-ca98-46ea-9d13-93ae1fda96e1" ascii wide
		$typelibguid2lo = "33568320-56e8-4abb-83f8-548e8d6adac2" ascii wide
		$typelibguid3lo = "470ec930-70a3-4d71-b4ff-860fcb900e85" ascii wide
		$typelibguid4lo = "9514574d-6819-44f2-affa-6158ac1143b3" ascii wide
		$typelibguid5lo = "0f3a9c4f-0b11-4373-a0a6-3a6de814e891" ascii wide
		$typelibguid6lo = "9624b72e-9702-4d78-995b-164254328151" ascii wide
		$typelibguid7lo = "faae59a8-55fc-48b1-a9b5-b1759c9c1010" ascii wide
		$typelibguid8lo = "37af4988-f6f2-4f0c-aa2b-5b24f7ed3bf3" ascii wide
		$typelibguid9lo = "c82aa2fe-3332-441f-965e-6b653e088abf" ascii wide
		$typelibguid10lo = "6e531f6c-2c89-447f-8464-aaa96dbcdfff" ascii wide
		$typelibguid11lo = "231987a1-ea32-4087-8963-2322338f16f6" ascii wide
		$typelibguid12lo = "7da0d93a-a0ae-41a5-9389-42eff85bb064" ascii wide
		$typelibguid13lo = "a729f9cc-edc2-4785-9a7d-7b81bb12484c" ascii wide
		$typelibguid14lo = "55a1fd43-d23e-4d72-aadb-bbd1340a6913" ascii wide
		$typelibguid15lo = "d43f240d-e7f5-43c5-9b51-d156dc7ea221" ascii wide
		$typelibguid16lo = "c2e6c1a0-93b1-4bbc-98e6-8e2b3145db8e" ascii wide
		$typelibguid17lo = "714ae6f3-0d03-4023-b753-fed6a31d95c7" ascii wide

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

Strings (18 patterns)

IdentifierTypeValueModifiers
$typelibguid0lotext"64cdcd2b-7356-4079-af78-e22210e66154"ascii wide
$typelibguid1lotext"f1dee29d-ca98-46ea-9d13-93ae1fda96e1"ascii wide
$typelibguid2lotext"33568320-56e8-4abb-83f8-548e8d6adac2"ascii wide
$typelibguid3lotext"470ec930-70a3-4d71-b4ff-860fcb900e85"ascii wide
$typelibguid4lotext"9514574d-6819-44f2-affa-6158ac1143b3"ascii wide
$typelibguid5lotext"0f3a9c4f-0b11-4373-a0a6-3a6de814e891"ascii wide
$typelibguid6lotext"9624b72e-9702-4d78-995b-164254328151"ascii wide
$typelibguid7lotext"faae59a8-55fc-48b1-a9b5-b1759c9c1010"ascii wide
$typelibguid8lotext"37af4988-f6f2-4f0c-aa2b-5b24f7ed3bf3"ascii wide
$typelibguid9lotext"c82aa2fe-3332-441f-965e-6b653e088abf"ascii wide
$typelibguid10lotext"6e531f6c-2c89-447f-8464-aaa96dbcdfff"ascii wide
$typelibguid11lotext"231987a1-ea32-4087-8963-2322338f16f6"ascii wide
$typelibguid12lotext"7da0d93a-a0ae-41a5-9389-42eff85bb064"ascii wide
$typelibguid13lotext"a729f9cc-edc2-4785-9a7d-7b81bb12484c"ascii wide
$typelibguid14lotext"55a1fd43-d23e-4d72-aadb-bbd1340a6913"ascii wide
$typelibguid15lotext"d43f240d-e7f5-43c5-9b51-d156dc7ea221"ascii wide
$typelibguid16lotext"c2e6c1a0-93b1-4bbc-98e6-8e2b3145db8e"ascii wide
$typelibguid17lotext"714ae6f3-0d03-4023-b753-fed6a31d95c7"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: 21acc8af-9497-5842-90a9-7a9300585d5d

Tags:FILE