This rule identifies the execution of known Red and Black team .NET utilities by matching process names against a curated list of security testing tools. Proactively hunting for these artifacts in Azure Sentinel is essential to distinguish legitimate security assessments from adversarial activity that may mimic similar tooling to evade detection or conduct reconnaissance.
rule HKTL_NET_NAME_FudgeC2 {
meta:
description = "Detects .NET red/black-team tools via name"
reference = "https://github.com/Ziconius/FudgeC2"
author = "Arnim Rupp"
date = "2021-01-22"
strings:
$name = "FudgeC2" 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 Vulnerability Scanning
NessusAgent.exe or custom wrappers) that trigger the rule.\Program Files\Tenable\ or \Qualys\, provided the parent process is a known service host (e.g., svchost.exe) or the specific scanner daemon.Scenario: Enterprise Backup and Recovery Jobs
VeeamAgent.exe, AcronisService.exe) that overlap with the naming convention of red-team reconnaissance tools.SYSTEM account via a scheduled task containing keywords like “Backup”, “Snapshot”, or “Replication” in the task name, specifically targeting known backup vendors.Scenario: Endpoint Detection and Response (EDR) Telemetry