This detection rule identifies adversaries attempting to establish persistence by creating or modifying local administrator accounts, a critical step in escalating privileges within an Azure environment. Proactive hunting for this behavior is essential because early identification of unauthorized account changes allows the SOC team to mitigate potential lateral movement and data exfiltration before attackers fully compromise the tenant’s security posture.
rule Rooter : Family
{
meta:
description = "Rooter"
author = "Seth Hardy"
last_modified = "2014-07-10"
condition:
RooterCode or RooterStrings
}
This YARA rule can be deployed in the following contexts:
Here are 5 specific false positive scenarios for the Rooter detection rule in an enterprise environment, including suggested filters and exclusions:
Scheduled Antivirus Definition Updates via PowerShell
powershell.exe with elevated privileges that mimic rooter behavior by altering system configurations.MsMpEng.exe or csagent.exe) and the command line contains keywords like “update,” “definition,” or specific scheduled task IDs (e.g., Microsoft\Windows Defender).Automated Patch Deployment via Configuration Management Tools
C:\Windows\System32), and install software packages that require administrative rights, triggering the Rooter logic due to the high volume of configuration changes.Ansible-Runner.exe, PuppetAgent.exe, or ccmexec.exe) running under a dedicated service account (e.g., DOMAIN\PatchServiceAccount). Additionally, filter by the specific time window of the maintenance schedule.Identity and Access Management (IAM) Provisioning Scripts