This detection rule identifies potential Agent Tesla malware infections by monitoring for specific Indicators of Compromise (IOCs) known to facilitate remote access and data exfiltration. A proactive hunt is essential in Azure Sentinel to rapidly isolate compromised endpoints before adversaries can establish persistence or steal sensitive credentials across the enterprise network.
Malware Family: Agent Tesla Total IOCs: 2 IOC Types: ip:port, domain
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| domain | mail.outlook-office365.com | botnet_cc | 2026-08-11 | 100% |
| ip:port | 195[.]250[.]27[.]46:21 | botnet_cc | 2026-08-11 | 75% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Agent Tesla
let malicious_ips = dynamic(["195.250.27.46"]);
CommonSecurityLog
| where DestinationIP in (malicious_ips) or SourceIP in (malicious_ips)
| project TimeGenerated, SourceIP, DestinationIP, DestinationPort, DeviceAction, Activity
| order by TimeGenerated desc
// Hunt in Defender for Endpoint network events
let malicious_ips = dynamic(["195.250.27.46"]);
DeviceNetworkEvents
| where RemoteIP in (malicious_ips)
| project Timestamp, DeviceName, RemoteIP, RemotePort, InitiatingProcessFileName, ActionType
| order by Timestamp desc
// Hunt for DNS queries to known malicious domains
// Source: ThreatFox - Agent Tesla
let malicious_domains = dynamic(["mail.outlook-office365.com"]);
DnsEvents
| where Name has_any (malicious_domains)
| project TimeGenerated, Computer, Name, IPAddresses, QueryType
| order by TimeGenerated desc
| Sentinel Table | Notes |
|---|---|
CommonSecurityLog | Ensure this data connector is enabled |
DeviceNetworkEvents | Ensure this data connector is enabled |
DnsEvents | Ensure this data connector is enabled |
Scheduled Backup Job Execution
AgentTesla folder structure from legacy client images. This process triggers file creation events matching the rule’s hash signatures for legitimate backup artifacts rather than malicious infection.Veeam.Backup.Service.exe and any file paths located within the dedicated backup repository directory (e.g., \\BackupServer\Repos\Veeam\).Endpoint Security Scanning
CrdSvc.exe and FalconSensorService.exe, specifically when they are operating within the C:\ProgramData\CrowdStrike\ directory tree.Software Deployment via Configuration Management
ccmsetup.exe or WUAHandler.exe and the file path contains \SoftwareDistribution\ or \CCMCache\.