This rule identifies the execution of known .NET-based Red and Black team utility names to distinguish legitimate security operations from potential adversary activity leveraging similar tooling. Proactive hunting for these signals in Azure Sentinel is essential to prevent attackers from masking malicious processes by mimicking trusted security tools, thereby reducing false negatives during incident response.
rule HKTL_NET_NAME_DotNetAVBypass {
meta:
description = "Detects .NET red/black-team tools via name"
reference = "https://github.com/mandreko/DotNetAVBypass"
author = "Arnim Rupp"
date = "2021-01-22"
strings:
$name = "DotNetAVBypass" 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 and exclusions:
Scenario: Automated Backup Execution by Veeam or Commvault
Veeam.Backup.Service.exe or Commvault.Archiver.exe) that run on a strict schedule. These processes frequently invoke internal .NET tools for data indexing and integrity checks, which match the naming patterns of Red/Blue team security utilities.vbrservice.exe or cvdbservice.exe) AND the File Path. Exclude any detection where the process path contains \Program Files\Veeam\ or \Commvault\.Scenario: Microsoft Endpoint Configuration Manager (SCCM) Application Deployment
AppDeploymentTool.exe or custom .NET wrapper executables often appear in the process tree with names resembling security tooling (e.g., containing “Security”, “Audit”, or “Monitor” in their filenames).DOMAIN\SCCM_SVC or DOMAIN\AppDeploy) AND the Process Command Line contains specific SCCM deployment identifiers (e.g., --deploymentId).Scenario: Internal HR and Payroll System Updates (e.g., Workday or SAP SuccessFactors)