YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_HKTL_NET_GUID_Sharppack
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 8 patterns (8 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_HKTL_NET_GUID_Sharppack : FILE
{
meta:
= "Detects c# red/black-team tools via typelibguid"
= "Arnim Rupp (https://github.com/ruppde)"
= "633d074a-b8c2-5148-ad80-6226b99be818"
= "2020-12-13"
= "2025-08-15"
= "https://github.com/Lexus89/SharpPack"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_github_net_redteam_tools_guids.yar#L1371-L1391"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "43701a68c6bbb5fc1217f9b47096dcc87d2b1ffa9399ba50df9f7e99cec2c0d8"
= 75
= 85
= "FILE"
= "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"
strings:
$typelibguid1lo = "b59c7741-d522-4a41-bf4d-9badddebb84a" ascii wide
$typelibguid2lo = "fd6bdf7a-fef4-4b28-9027-5bf750f08048" ascii wide
$typelibguid3lo = "6dd22880-dac5-4b4d-9c91-8c35cc7b8180" ascii wide
$typelibguid5lo = "f3037587-1a3b-41f1-aa71-b026efdb2a82" ascii wide
$typelibguid6lo = "41a90a6a-f9ed-4a2f-8448-d544ec1fd753" ascii wide
$typelibguid7lo = "3787435b-8352-4bd8-a1c6-e5a1b73921f4" ascii wide
$typelibguid8lo = "fdd654f5-5c54-4d93-bf8e-faf11b00e3e9" ascii wide
$typelibguid9lo = "aec32155-d589-4150-8fe7-2900df4554c8" ascii wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them
}
Strings (8 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $typelibguid1lo | text | "b59c7741-d522-4a41-bf4d-9badddebb84a" | ascii wide |
| $typelibguid2lo | text | "fd6bdf7a-fef4-4b28-9027-5bf750f08048" | ascii wide |
| $typelibguid3lo | text | "6dd22880-dac5-4b4d-9c91-8c35cc7b8180" | ascii wide |
| $typelibguid5lo | text | "f3037587-1a3b-41f1-aa71-b026efdb2a82" | ascii wide |
| $typelibguid6lo | text | "41a90a6a-f9ed-4a2f-8448-d544ec1fd753" | ascii wide |
| $typelibguid7lo | text | "3787435b-8352-4bd8-a1c6-e5a1b73921f4" | ascii wide |
| $typelibguid8lo | text | "fdd654f5-5c54-4d93-bf8e-faf11b00e3e9" | ascii wide |
| $typelibguid9lo | text | "aec32155-d589-4150-8fe7-2900df4554c8" | 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.
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”
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 633d074a-b8c2-5148-ad80-6226b99be818
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