YARA · Signature Base (Florian Roth / Nextron)
SIGNATURE_BASE_HKTL_NET_GUID_Njrat
Detects VB.NET red/black-team tools via typelibguid
- Author
- Arnim Rupp (https://github.com/ruppde)
- Date
- 2020-12-30
- Modified
- 2025-08-15
- Score / Quality
- 75 / 85
What this rule detects
Detects VB.NET red/black-team tools via typelibguid
Associated malware family: Njrat.
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_Njrat : FILE
{
meta:
= "Detects VB.NET red/black-team tools via typelibguid"
= "Arnim Rupp (https://github.com/ruppde)"
= "2140d69e-fb15-50a2-ba85-b7c8293003fb"
= "2020-12-30"
= "2025-08-15"
= "https://github.com/mwsrc/njRAT"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/yara/gen_github_net_redteam_tools_guids.yar#L3982-L4000"
= "https://github.com/Neo23x0/signature-base/blob/94a1c48d7ab499879287ff611dfe7f9c56376030/LICENSE"
= "fc54c34e2d908e617781ffe8b4c5538304830cfec317ed2eab4157f72bbbf059"
= 75
= 85
= "FILE"
= "Detection Rule License 1.1 https://github.com/Neo23x0/signature-base/blob/master/LICENSE"
strings:
$typelibguid0lo = "5a542c1b-2d36-4c31-b039-26a88d3967da" ascii wide
$typelibguid1lo = "6b07082a-9256-42c3-999a-665e9de49f33" ascii wide
$typelibguid2lo = "c0a9a70f-63e8-42ca-965d-73a1bc903e62" ascii wide
$typelibguid3lo = "70bd11de-7da1-4a89-b459-8daacc930c20" ascii wide
$typelibguid4lo = "fc790ee5-163a-40f9-a1e2-9863c290ff8b" ascii wide
$typelibguid5lo = "cb3c28b2-2a4f-4114-941c-ce929fec94d3" ascii wide
condition:
( uint16( 0 ) == 0x5A4D and uint32( uint32( 0x3C ) ) == 0x00004550 ) and any of them
}
Strings (6 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $typelibguid0lo | text | "5a542c1b-2d36-4c31-b039-26a88d3967da" | ascii wide |
| $typelibguid1lo | text | "6b07082a-9256-42c3-999a-665e9de49f33" | ascii wide |
| $typelibguid2lo | text | "c0a9a70f-63e8-42ca-965d-73a1bc903e62" | ascii wide |
| $typelibguid3lo | text | "70bd11de-7da1-4a89-b459-8daacc930c20" | ascii wide |
| $typelibguid4lo | text | "fc790ee5-163a-40f9-a1e2-9863c290ff8b" | ascii wide |
| $typelibguid5lo | text | "cb3c28b2-2a4f-4114-941c-ce929fec94d3" | 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: 2140d69e-fb15-50a2-ba85-b7c8293003fb
Tags:FILE
Related rules
- Hack toolSignature Base (Florian Roth / Nextron)· Arnim Rupp· 2021-01-22
- MalwareSEKOIA.IO Community· Sekoia.io· 2022-08-22
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-10-03
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-10-03
- MalwareEmbee Research· Matthew @ Embee_Research· 2023-10-03
- MalwareditekSHen detection· ditekSHen· 2020-11-06
- SECUINFRA_DROPPER_Njrat_VBSMetadata onlyMalwareSecuInfra Falcon Team· SECUINFRA Falcon Team· 2022-02-27
- SECUINFRA_MAL_NjratMetadata onlyMalwareSecuInfra Falcon Team· SECUINFRA Falcon Team· 2022-02-27