This detection rule identifies adversary activity associated with the Stealc malware by monitoring specific Indicators of Compromise (IOCs) known to facilitate data theft and lateral movement within cloud environments. Proactively hunting for these IOCs in Azure Sentinel is critical because early identification of Stealc infections allows the SOC team to rapidly isolate compromised assets before sensitive data exfiltration or broader network propagation occurs.
Malware Family: Stealc Total IOCs: 2 IOC Types: ip:port, url
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| ip:port | 193[.]148[.]56[.]206:80 | botnet_cc | 2026-08-08 | 75% |
| url | hxxp://193[.]148[.]56[.]206/ | botnet_cc | 2026-08-08 | 100% |
// Hunt for network connections to known malicious IPs
// Source: ThreatFox - Stealc
let malicious_ips = dynamic(["193.148.56.206"]);
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(["193.148.56.206"]);
DeviceNetworkEvents
| where RemoteIP in (malicious_ips)
| project Timestamp, DeviceName, RemoteIP, RemotePort, InitiatingProcessFileName, ActionType
| order by Timestamp desc
// Hunt for access to known malicious URLs
// Source: ThreatFox - Stealc
let malicious_urls = dynamic(["http://193.148.56.206/"]);
UrlClickEvents
| where Url has_any (malicious_urls)
| project Timestamp, AccountUpn, Url, ActionType, IsClickedThrough
| order by Timestamp desc
| Sentinel Table | Notes |
|---|---|
CommonSecurityLog | Ensure this data connector is enabled |
DeviceNetworkEvents | Ensure this data connector is enabled |
UrlClickEvents | Ensure this data connector is enabled |
Here are specific false positive scenarios and corresponding filters for the ThreatFox: Stealc IOCs detection rule in an enterprise environment:
Scenario: Scheduled Antivirus or EDR Definition Updates
C:\Program Files\Microsoft Defender\MpCmdRun.exe (for Defender) or C:\ProgramData\CrowdStrike\FalconSensor\csfalcon.exe, provided the file path of the triggered IOC matches the vendor’s standard installation directory.Scenario: Legacy Internal Deployment Tool Execution
DOMAIN\SCCM-Deploy-Svc or DOMAIN\Admin-Patch) and the Process Path resides within the internal deployment directory (e.g., C:\Program Files\SMS_CCM\).Scenario: Automated Backup and Archiving Jobs