This hypothesis posits that adversaries are leveraging custom C# Red/Black team tools within the environment, identifiable by unique TypeLibGUID artifacts often associated with specialized security utilities. Proactive hunting for these signatures in Azure Sentinel is critical to distinguish legitimate internal tooling from potential adversary persistence mechanisms or lateral movement activities masquerading as standard administrative operations.
rule HKTL_NET_GUID_Lime_Crypter {
meta:
description = "Detects c# red/black-team tools via typelibguid"
reference = "https://github.com/NYAN-x-CAT/Lime-Crypter"
author = "Arnim Rupp"
date = "2020-12-13"
strings:
$typelibguid0 = "f93c99ed-28c9-48c5-bb90-dd98f18285a6" ascii nocase wide
condition:
(uint16(0) == 0x5A4D and uint32(uint32(0x3C)) == 0x00004550) and any of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 1 string patterns in its detection logic.
Here are 5 specific false positive scenarios for the rule “Detects c# red/blue-team tools via typelibguid”, including suggested filters and exclusions:
Automated Patch Management Scans
typelibguid values that match known Red/Blue team tool signatures during routine daily scanning windows.C:\Program Files\Microsoft Configuration Manager) and filter by parent process names such as ccmexec.exe or IvantiAgentService.Scheduled Backup Verification Jobs
typelibguid values associated with the backup vendor’s known assembly versions, restricted to execution times matching the organization’s maintenance window (e.g., 02:00 – 04:00 UTC) and parent process VeeamAgent.exe.IT Asset Discovery and Compliance Audits