This hunt hypothesis identifies the execution of known .NET-based red and blue team utility names to distinguish legitimate security operations from potential adversary tooling that mimics these signatures. Proactively hunting for this activity in Azure Sentinel allows the SOC team to validate authorized testing efforts while rapidly isolating suspicious instances where attackers leverage similar tools to evade detection during reconnaissance or post-exploitation phases.
rule HKTL_NET_NAME_RdpThief {
meta:
description = "Detects .NET red/black-team tools via name"
reference = "https://github.com/0x09AL/RdpThief"
author = "Arnim Rupp"
date = "2021-01-22"
strings:
$name = "RdpThief" ascii wide
$compile = "AssemblyTitle" ascii wide
condition:
(uint16(0) == 0x5A4D and uint32(uint32(0x3C)) == 0x00004550) and all of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 2 string patterns in its detection logic.
Here are 5 specific false positive scenarios for the rule “Detects .NET red/blue-team tools via name,” including suggested filters or exclusions:
Scheduled Backup Jobs Using PowerShell
PowerShell.exe or custom .dll names used by red/blue team frameworks.DOMAIN\BackupSvc) and filter paths restricted to known backup installation directories (e.g., C:\Program Files\Veeam\...).CI/CD Pipeline Build Agents
Pester.exe or NUnit3TestAdapter.dll.C:\BuildAgents\...) and exclude executions originating from known CI/CD service accounts.Endpoint Management & Patching Tools
InventoryAgent.exe or UpdateManager.dll) that trigger the rule during scheduled maintenance windows.