This rule detects adversaries utilizing the Windows Credential Editor to manipulate or extract sensitive authentication data from local systems. Proactive hunting for this activity in Azure Sentinel is essential to identify early-stage credential theft attempts that may precede lateral movement or privilege escalation attacks within the environment.
rule WindowsCredentialEditor
{
meta:
description = "Windows Credential Editor" threat_level = 10 score = 90
strings:
$a = "extract the TGT session key"
$b = "Windows Credentials Editor"
condition:
$a or $b
}
This YARA rule can be deployed in the following contexts:
This rule contains 2 string patterns in its detection logic.
Scenario: Automated Backup and Recovery Tasks using Veeam or Commvault
crededit.exe or similar internal modules) to inject service account credentials into the local security store for secure data transmission. This occurs during scheduled nightly backup windows where the agent runs under a dedicated service account (e.g., DOMAIN\VeeamBackupSvc).VeeamBackupAgent.exe or CommServ.exe, specifically when the parent process is a scheduled task (Task Scheduler) executing on a defined backup schedule.Scenario: Group Policy Object (GPO) Deployment via Microsoft SCCM/Intune
SYSTEM account or a specific deployment agent process like ccmsetup.exe.ccmexec.exe, intuneagent.exe, or gpupdate.exe, and the user context is NT AUTHORITY\SYSTEM. Additionally, restrict this to business hours (e.g., 08:00–18:00) if GPO pushes are scheduled during that window.Scenario: Identity Management Tool Execution (e.g., BeyondTrust or CyberArk)