← Back to SOC feed Coverage →

Detects c# red/black-team tools via typelibguid

yara LOW Yara-Rules
communitynet_guid
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at Yara-Rules →
Retrieved: 2026-07-21T11:00:01Z · Confidence: medium

Hunt Hypothesis

This hunt identifies adversary activity by correlating specific typelibguid values associated with known C# Red and Black team tools to distinguish legitimate security operations from potential malicious reconnaissance or lateral movement. Proactively hunting for these indicators in Azure Sentinel allows the SOC team to validate tool usage patterns, reduce false positives from authorized activities, and rapidly detect unauthorized deployment of similar C# utilities by attackers.

YARA Rule

rule HKTL_NET_GUID_XORedReflectiveDLL {
    meta:
        description = "Detects c# red/black-team tools via typelibguid"
        reference = "https://github.com/r3nhat/XORedReflectiveDLL"
        author = "Arnim Rupp"
        date = "2020-12-13"
    strings:
        $typelibguid0 = "c0e49392-04e3-4abb-b931-5202e0eb4c73" ascii nocase wide
        $typelibguid1 = "30eef7d6-cee8-490b-829f-082041bc3141" ascii nocase wide
    condition:
        (uint16(0) == 0x5A4D and uint32(uint32(0x3C)) == 0x00004550) and any of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 2 string patterns in its detection logic.

References

False Positive Guidance

Here are 5 specific false positive scenarios for the Detects C# Red/Black-team tools via TypelibGUID rule, tailored for an enterprise environment:

Original source: https://github.com/Yara-Rules/rules/blob/main/malware/TOOLKIT_Redteam_Tools_by_GUID.yar