YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_HKTL_NET_GUID_Dotnet_Gargoyle
Detects c# red/black-team tools via typelibguid
- 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 3 patterns (3 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_HKTL_NET_GUID_Dotnet_Gargoyle : FILE
{
meta:
= "Detects c# red/black-team tools via typelibguid"
= "Arnim Rupp (https://github.com/ruppde)"
= "5efd0c83-cb65-5bda-b55e-4a89db5f337c"
= "2020-12-13"
= "2025-08-15"
= "https://github.com/countercept/dotnet-gargoyle"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_github_net_redteam_tools_guids.yar#L1614-L1629"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "c7ad2c6c775ed6355dd93b06e31e04916277564301b45fe13b69d3e25dcd7bad"
= 75
= 85
= "FILE"
= "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"
strings:
$typelibguid0lo = "76435f79-f8af-4d74-8df5-d598a551b895" ascii wide
$typelibguid1lo = "5a3fc840-5432-4925-b5bc-abc536429cb5" ascii wide
$typelibguid2lo = "6f0bbb2a-e200-4d76-b8fa-f93c801ac220" ascii wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them
}
Strings (3 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $typelibguid0lo | text | "76435f79-f8af-4d74-8df5-d598a551b895" | ascii wide |
| $typelibguid1lo | text | "5a3fc840-5432-4925-b5bc-abc536429cb5" | ascii wide |
| $typelibguid2lo | text | "6f0bbb2a-e200-4d76-b8fa-f93c801ac220" | ascii wide |
Condition
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of themIn 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.
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”
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 5efd0c83-cb65-5bda-b55e-4a89db5f337c
Tags:FILE
Related rules
- Hack toolSignature Base (Florian Roth / Nextron)· Arnim Rupp (https://github.com/ruppde)· 2020-12-13
- Hack toolSignature Base (Florian Roth / Nextron)· Arnim Rupp (https://github.com/ruppde)· 2020-12-30
- Hack toolSignature Base (Florian Roth / Nextron)· Arnim Rupp (https://github.com/ruppde)· 2020-12-28
- Hack toolSignature Base (Florian Roth / Nextron)· Arnim Rupp (https://github.com/ruppde)· 2020-12-13
- Hack toolSignature Base (Florian Roth / Nextron)· Arnim Rupp (https://github.com/ruppde)· 2020-12-13
- Hack toolSignature Base (Florian Roth / Nextron)· Arnim Rupp (https://github.com/ruppde)· 2020-12-30
- Hack toolSignature Base (Florian Roth / Nextron)· Arnim Rupp (https://github.com/ruppde)· 2020-12-28
- Hack toolSignature Base (Florian Roth / Nextron)· Arnim Rupp (https://github.com/ruppde)· 2020-12-13