This hunt targets the presence of Agent Tesla, a remote access trojan frequently used by adversaries to steal credentials and establish persistent access, by correlating its known indicators of compromise against telemetry in Azure Sentinel. Proactively hunting for these IOCs is critical because Agent Tesla often operates stealthily to exfiltrate sensitive data, making early detection essential to disrupt the attacker’s post-exploitation activities before they escalate privileges or move laterally.
Malware Family: Agent Tesla Total IOCs: 3 IOC Types: sha256_hash, sha1_hash, md5_hash
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| md5_hash | fd5ace68d49a2d5d5663c1c6b134705b | payload | 2026-09-12 | 95% |
| sha256_hash | fab988a0b181785fd70536a3557f3e2d8474fe1f4cdbc2c6138078da5f691f26 | payload | 2026-09-12 | 95% |
| sha1_hash | 1e1e0c41adfc16eca44a98cef207373e0a86ac5a | payload | 2026-09-12 | 95% |
// Hunt for files matching known malicious hashes
// Source: ThreatFox - Agent Tesla
let malicious_hashes = dynamic(["fd5ace68d49a2d5d5663c1c6b134705b", "fab988a0b181785fd70536a3557f3e2d8474fe1f4cdbc2c6138078da5f691f26", "1e1e0c41adfc16eca44a98cef207373e0a86ac5a"]);
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 |
svchost.exe or update.exe in a non-standard path).
C:\Program Files\InternalTools\ or C:\Program Files (x86)\RMM\) and the parent process is a known service manager (e.g., services.exe or svchost.exe with a specific PID range).backup_agent.exe or patch_installer.exe).
DOMAIN\svc_backup or DOMAIN\it_admins) and the image path originates from a trusted network share (e.g., \\fileserver\apps\) or a specific USB drive letter (e.g., E:\).helper.exe or updater.exe) from a standard installation directory.
C:\Program Files\Adobe\ or C:\Program Files (x86)\Java\) and the parent process is Task Scheduler (`taskschd.msi