Skip to content

YARA · Signature Base (Florian Roth / Nextron)

SIGNATURE_BASE_HKTL_NET_GUID_Asyncrat_C_Sharp

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

Summary generated from the rule's metadata and condition.

Rule source

hktl-net-guid-asyncrat-c-sharp.yarDetection Rule License 1.1
rule SIGNATURE_BASE_HKTL_NET_GUID_Asyncrat_C_Sharp : FILE
{
	meta:
		description = "Detects c# red/black-team tools via typelibguid"
		author = "Arnim Rupp (https://github.com/ruppde)"
		id = "858a079d-71e8-516e-a2a9-f0969edc758b"
		date = "2020-12-13"
		modified = "2025-08-15"
		reference = "https://github.com/NYAN-x-CAT/AsyncRAT-C-Sharp"
		source_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_github_net_redteam_tools_guids.yar#L2136-L2159"
		license_url = "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
		logic_hash = "ac6319ecfbfc2ddb096b8674a9b494d9460181ebaa2b32ee337d46f6dd33f21d"
		score = 75
		quality = 85
		tags = "FILE"
		license = "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"

	strings:
		$typelibguid0lo = "619b7612-dfea-442a-a927-d997f99c497b" ascii wide
		$typelibguid1lo = "424b81be-2fac-419f-b4bc-00ccbe38491f" ascii wide
		$typelibguid2lo = "37e20baf-3577-4cd9-bb39-18675854e255" ascii wide
		$typelibguid3lo = "dafe686a-461b-402b-bbd7-2a2f4c87c773" ascii wide
		$typelibguid4lo = "ee03faa9-c9e8-4766-bd4e-5cd54c7f13d3" ascii wide
		$typelibguid5lo = "8bfc8ed2-71cc-49dc-9020-2c8199bc27b6" ascii wide
		$typelibguid6lo = "d640c36b-2c66-449b-a145-eb98322a67c8" ascii wide
		$typelibguid7lo = "8de42da3-be99-4e7e-a3d2-3f65e7c1abce" ascii wide
		$typelibguid8lo = "bee88186-769a-452c-9dd9-d0e0815d92bf" ascii wide
		$typelibguid9lo = "9042b543-13d1-42b3-a5b6-5cc9ad55e150" ascii wide
		$typelibguid10lo = "6aa4e392-aaaf-4408-b550-85863dd4baaf" ascii wide

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

Strings (11 patterns)

IdentifierTypeValueModifiers
$typelibguid0lotext"619b7612-dfea-442a-a927-d997f99c497b"ascii wide
$typelibguid1lotext"424b81be-2fac-419f-b4bc-00ccbe38491f"ascii wide
$typelibguid2lotext"37e20baf-3577-4cd9-bb39-18675854e255"ascii wide
$typelibguid3lotext"dafe686a-461b-402b-bbd7-2a2f4c87c773"ascii wide
$typelibguid4lotext"ee03faa9-c9e8-4766-bd4e-5cd54c7f13d3"ascii wide
$typelibguid5lotext"8bfc8ed2-71cc-49dc-9020-2c8199bc27b6"ascii wide
$typelibguid6lotext"d640c36b-2c66-449b-a145-eb98322a67c8"ascii wide
$typelibguid7lotext"8de42da3-be99-4e7e-a3d2-3f65e7c1abce"ascii wide
$typelibguid8lotext"bee88186-769a-452c-9dd9-d0e0815d92bf"ascii wide
$typelibguid9lotext"9042b543-13d1-42b3-a5b6-5cc9ad55e150"ascii wide
$typelibguid10lotext"6aa4e392-aaaf-4408-b550-85863dd4baaf"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: 858a079d-71e8-516e-a2a9-f0969edc758b

Tags:FILE