This rule identifies the execution of known .NET-based Red and Blue team utility names to distinguish legitimate security operations from potential adversary tooling masquerading as benign software. Proactively hunting for these indicators in Azure Sentinel allows the SOC to validate authorized testing activities while rapidly isolating suspicious .NET processes that may signal an attacker leveraging common tools to evade detection or establish persistence.
rule HKTL_NET_NAME_AggressiveProxy {
meta:
description = "Detects .NET red/black-team tools via name"
reference = "https://github.com/EncodeGroup/AggressiveProxy"
author = "Arnim Rupp"
date = "2021-01-22"
strings:
$name = "AggressiveProxy" 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,” along with suggested filters or exclusions:
Scenario: Automated Backup Operations
Veeam.Backup.Service.exe or similar .NET wrappers that match the rule’s naming pattern for security tools.*Veeam*, *Rubrik*) when executed by the SYSTEM account on dedicated backup servers, provided the parent process is a known scheduler service like TaskScheduler.exe.Scenario: Endpoint Detection and Response (EDR) Self-Scans
FalconSensor.exe or MsMpEngService.exe which may be flagged as “Red/Black team tools” due to their security function, even though they are the baseline defense layer rather than an external audit tool.C:\Program Files\*).Scenario: IT Asset Management & Patching Agents