This hunt detects the presence of Agent Tesla malware, which compromises systems by injecting keylogging capabilities into browser processes to exfiltrate credentials and clipboard data following a successful phishing campaign. Proactive hunting in Azure Sentinel is critical because early identification of these specific IOCs allows the SOC team to isolate affected endpoints before sensitive authentication tokens and keystrokes are fully harvested by the adversary.
Malware Family: Agent Tesla Total IOCs: 3 IOC Types: sha256_hash, md5_hash, sha1_hash
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| md5_hash | fb26fdde000d289ac423f5dd74865e43 | payload | 2026-07-25 | 95% |
| sha256_hash | 51816d9ac510766a54a0cc31569c5fd97b46742e0de82f18854ea042bfdfdf7b | payload | 2026-07-25 | 95% |
| sha1_hash | 546a20ebd21328f86293ac94bc59b00a5c6f8426 | payload | 2026-07-25 | 95% |
// Hunt for files matching known malicious hashes
// Source: ThreatFox - Agent Tesla
let malicious_hashes = dynamic(["fb26fdde000d289ac423f5dd74865e43", "51816d9ac510766a54a0cc31569c5fd97b46742e0de82f18854ea042bfdfdf7b", "546a20ebd21328f86293ac94bc59b00a5c6f8426"]);
DeviceFileEvents
| where SHA256 in (malicious_hashes) or SHA1 in (malicious_hashes) or MD5 in (malicious_hashes)
| project Timestamp, DeviceName, FileName, FolderPath, SHA256, InitiatingProcessFileName
| order by Timestamp desc
| Sentinel Table | Notes |
|---|---|
DeviceFileEvents | Ensure this data connector is enabled |
Scenario 1: Legitimate Browser Extension Installation
chrome.exe or msedge.exe.CommandLine contains “LastPass” or “Authenticator” and the parent process is a trusted browser).Scenario 2: Scheduled Clipboard Monitoring via PowerShell
clip.exe or interact with the Windows clipboard API, triggering the rule’s detection of “clipboard content theft.”powershell.exe running under a specific service account (e.g., DOMAIN\IT-Admin) and the script path matches known internal automation directories (e.g., C:\Scripts\Compliance\).Scenario 3: RMM Tool Agent Updates