This hunt targets adversary activity where threat actors execute C#-based red or blue team tools that generate unique TypeLibGUID artifacts within the Azure environment. Proactively hunting for these specific GUIDs allows the SOC to distinguish legitimate security tooling from potential malicious reconnaissance or lateral movement attempts, ensuring low-severity signals are not overlooked during routine operations.
rule HKTL_NET_GUID_SharpCradle {
meta:
description = "Detects c# red/black-team tools via typelibguid"
reference = "https://github.com/anthemtotheego/SharpCradle"
author = "Arnim Rupp"
date = "2020-12-13"
strings:
$typelibguid0 = "f70d2b71-4aae-4b24-9dae-55bc819c78bb" 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 Detects C# Red/Black-team tools via TypelibGUID rule in an enterprise environment, including suggested filters and exclusions:
Scenario: Automated Software Deployment via SCCM or Intune
TypelibGUID as known red/black team reconnaissance tools during their initialization phase.C:\Windows\CCM\*, C:\Program Files\Microsoft Intune Management Extension\*) or filter by the parent process name ccmexec.exe and IntuneManagementExtension.exe.Scenario: Scheduled Backup Operations using Veeam or Commvault
TypelibGUID signatures associated with security testing frameworks.VeeamAgent.exe, simserver.exe) and the execution time aligns with defined maintenance windows (e.g., 02:00–04:00 daily).Scenario: Endpoint Protection Scanning (CrowdStrike, SentinelOne)