This detection rule identifies Agent Tesla keylogger activity by monitoring encrypted command-and-control communications associated with known phishing vectors that exfiltrate credentials and keystrokes. Proactive hunting for these IOCs in Azure Sentinel is critical to rapidly detect early-stage data theft and prevent lateral movement before sensitive information is compromised.
Malware Family: Agent Tesla Total IOCs: 2 IOC Types: ip:port, domain
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| domain | ftp.ulfl.co.in | botnet_cc | 2026-08-12 | 100% |
| ip:port | 68[.]65[.]123[.]172:21 | botnet_cc | 2026-08-12 | 75% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Agent Tesla
let malicious_ips = dynamic(["68.65.123.172"]);
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(["68.65.123.172"]);
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(["ftp.ulfl.co.in"]);
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 |
Here are 5 specific false positive scenarios for the ThreatFox: Agent Tesla IOCs detection rule, including suggested filters and exclusions tailored for an enterprise environment:
Scenario: Legitimate Remote Desktop Administration via Known C2 Infrastructure
ccmexec.exe or ivanti-agent.exe.Scenario: Scheduled Backup Jobs Utilizing Encrypted Channels
vrb.exe or AcronisBackupService) running between 01:00 and 06:00 local time on weekdays. Alternatively, whitelist the specific backup destination domains if they are verified as non-malicious in the threat intelligence feed.**Scenario: Phishing Simulation Campaigns