YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_HKTL_NET_GUID_Offensivecsharp
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 12 patterns (12 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_HKTL_NET_GUID_Offensivecsharp : FILE
{
meta:
= "Detects c# red/black-team tools via typelibguid"
= "Arnim Rupp (https://github.com/ruppde)"
= "339f6858-6076-5320-ba5f-2903e642ea42"
= "2020-12-13"
= "2025-08-15"
= "https://github.com/diljith369/OffensiveCSharp"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_github_net_redteam_tools_guids.yar#L650-L674"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "64beb345845aeb7083a2c35d94fa433e95dd810b82c0cf392dd5e3de3bb5b110"
= 75
= 85
= "FILE"
= "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"
strings:
$typelibguid0lo = "6c3fbc65-b673-40f0-b1ac-20636df01a85" ascii wide
$typelibguid1lo = "2bad9d69-ada9-4f1e-b838-9567e1503e93" ascii wide
$typelibguid2lo = "512015de-a70f-4887-8eae-e500fd2898ab" ascii wide
$typelibguid3lo = "1ee4188c-24ac-4478-b892-36b1029a13b3" ascii wide
$typelibguid4lo = "5c6b7361-f9ab-41dc-bfa0-ed5d4b0032a8" ascii wide
$typelibguid5lo = "048a6559-d4d3-4ad8-af0f-b7f72b212e90" ascii wide
$typelibguid6lo = "3412fbe9-19d3-41d8-9ad2-6461fcb394dc" ascii wide
$typelibguid7lo = "9ea4e0dc-9723-4d93-85bb-a4fcab0ad210" ascii wide
$typelibguid8lo = "6d2b239c-ba1e-43ec-8334-d67d52b77181" ascii wide
$typelibguid9lo = "42e8b9e1-0cf4-46ae-b573-9d0563e41238" ascii wide
$typelibguid10lo = "0d15e0e3-bcfd-4a85-adcd-0e751dab4dd6" ascii wide
$typelibguid11lo = "644dfd1a-fda5-4948-83c2-8d3b5eda143a" ascii wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them
}
Strings (12 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $typelibguid0lo | text | "6c3fbc65-b673-40f0-b1ac-20636df01a85" | ascii wide |
| $typelibguid1lo | text | "2bad9d69-ada9-4f1e-b838-9567e1503e93" | ascii wide |
| $typelibguid2lo | text | "512015de-a70f-4887-8eae-e500fd2898ab" | ascii wide |
| $typelibguid3lo | text | "1ee4188c-24ac-4478-b892-36b1029a13b3" | ascii wide |
| $typelibguid4lo | text | "5c6b7361-f9ab-41dc-bfa0-ed5d4b0032a8" | ascii wide |
| $typelibguid5lo | text | "048a6559-d4d3-4ad8-af0f-b7f72b212e90" | ascii wide |
| $typelibguid6lo | text | "3412fbe9-19d3-41d8-9ad2-6461fcb394dc" | ascii wide |
| $typelibguid7lo | text | "9ea4e0dc-9723-4d93-85bb-a4fcab0ad210" | ascii wide |
| $typelibguid8lo | text | "6d2b239c-ba1e-43ec-8334-d67d52b77181" | ascii wide |
| $typelibguid9lo | text | "42e8b9e1-0cf4-46ae-b573-9d0563e41238" | ascii wide |
| $typelibguid10lo | text | "0d15e0e3-bcfd-4a85-adcd-0e751dab4dd6" | ascii wide |
| $typelibguid11lo | text | "644dfd1a-fda5-4948-83c2-8d3b5eda143a" | 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: 339f6858-6076-5320-ba5f-2903e642ea42
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