YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_HKTL_NET_GUID_Deviceguardbypasses
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 6 patterns (6 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule SIGNATURE_BASE_HKTL_NET_GUID_Deviceguardbypasses : FILE
{
meta:
= "Detects c# red/black-team tools via typelibguid"
= "Arnim Rupp (https://github.com/ruppde)"
= "3790faac-b5be-5999-b35f-71a2ef02b6ed"
= "2020-12-13"
= "2025-08-15"
= "https://github.com/tyranid/DeviceGuardBypasses"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_github_net_redteam_tools_guids.yar#L1817-L1835"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "aff1a0236c532d5822a440f1d9a0a0265b422ebe0b53d799d53e838aef5f64ad"
= 75
= 85
= "FILE"
= "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"
strings:
$typelibguid0lo = "f318466d-d310-49ad-a967-67efbba29898" ascii wide
$typelibguid1lo = "3705800f-1424-465b-937d-586e3a622a4f" ascii wide
$typelibguid2lo = "256607c2-4126-4272-a2fa-a1ffc0a734f0" ascii wide
$typelibguid3lo = "4e6ceea1-f266-401c-b832-f91432d46f42" ascii wide
$typelibguid4lo = "1e6e9b03-dd5f-4047-b386-af7a7904f884" ascii wide
$typelibguid5lo = "d85e3601-0421-4efa-a479-f3370c0498fd" ascii wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them
}
Strings (6 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $typelibguid0lo | text | "f318466d-d310-49ad-a967-67efbba29898" | ascii wide |
| $typelibguid1lo | text | "3705800f-1424-465b-937d-586e3a622a4f" | ascii wide |
| $typelibguid2lo | text | "256607c2-4126-4272-a2fa-a1ffc0a734f0" | ascii wide |
| $typelibguid3lo | text | "4e6ceea1-f266-401c-b832-f91432d46f42" | ascii wide |
| $typelibguid4lo | text | "1e6e9b03-dd5f-4047-b386-af7a7904f884" | ascii wide |
| $typelibguid5lo | text | "d85e3601-0421-4efa-a479-f3370c0498fd" | 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: 3790faac-b5be-5999-b35f-71a2ef02b6ed
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