This rule identifies the execution of specialized .NET-based red and blue team tools by analyzing unique TypeLibGUID signatures often used during security assessments or active adversary operations. Proactively hunting for these indicators in Azure Sentinel allows the SOC to distinguish between legitimate testing activities and potential stealthy reconnaissance efforts that may otherwise blend into standard application noise.
rule HKTL_NET_GUID_privilege_escalation_awesome_scripts_suite {
meta:
description = "Detects .NET red/black-team tools via typelibguid"
reference = "https://github.com/carlospolop/privilege-escalation-awesome-scripts-suite"
author = "Arnim Rupp"
date = "2021-01-21"
strings:
$typelibguid0 = "1928358e-a64b-493f-a741-ae8e3d029374" 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 4 specific false positive scenarios for the rule “Detects .NET red/black-team tools via typelibguid,” including suggested filters and exclusions:
Scenario: Microsoft System Center Configuration Manager (SCCM) Software Updates
ccmexec.exe) frequently invokes .NET assemblies to process software updates, which generates typelibguid entries matching known security tool signatures. This often triggers alerts during the standard business hours update cycle.ccmexec.exe and the file path resides within the C:\Program Files\Microsoft Configuration Manager\AdminConsole directory.Scenario: Scheduled PowerShell Reporting Jobs (e.g., SolarWinds or Custom Scripts)
typelibguids identical to those used by red-team tools like SharpUp or PowerSploit modules.DOMAIN\svc-reporting).Scenario: Microsoft Defender for Endpoint (MDE) Self-Scanning
typelibguids that mimic external red-team tools.MsMpEng.exe (Microsoft Antimalware Service Executable) and the image path starts with C:\Program Files\Windows Defender.