This detection targets adversary behavior characterized by specific file patterns identified through the Infinity YARA signature, which often indicate early-stage reconnaissance or benign tool usage that may precede more complex attacks. The SOC team should proactively hunt for these indicators in Azure Sentinel to establish a baseline of normal activity and identify potential false negatives where low-severity signals could evolve into significant threats if left unmonitored.
rule Infinity : RAT
{
meta:
author = " Kevin Breen <kevin@techanarchy.net>"
date = "2014/04"
ref = "http://malwareconfig.com/stats/Infinity"
maltype = "Remote Access Trojan"
filetype = "exe"
strings:
$a = "CRYPTPROTECT_PROMPTSTRUCT"
$b = "discomouse"
$c = "GetDeepInfo"
$d = "AES_Encrypt"
$e = "StartUDPFlood"
$f = "BATScripting" wide
$g = "FBqINhRdpgnqATxJ.html" wide
$i = "magic_key" wide
condition:
all of them
}
This YARA rule can be deployed in the following contexts:
This rule contains 8 string patterns in its detection logic.
Here are 4 specific false positive scenarios for the Infinity detection rule in a legitimate enterprise environment, including suggested filters or exclusions:
Antivirus Real-Time Scanning & Definition Updates
C:\ProgramData\Microsoft\Windows Defender\Updates). Additionally, create a whitelist for known AV executable hashes.Scheduled Enterprise Backup Jobs
DOMAIN\svc-veeam-backup) and specific command-line arguments containing keywords like “backup,” “snapshot,” or “replication.”Software Deployment via Configuration Management Tools