This detection targets adversary behavior involving MageCart supply chain compromises by identifying specific indicators of compromise within Azure Sentinel logs. Proactive hunting is critical to rapidly identify and contain potential data exfiltration or payment card skimming attacks before they escalate into widespread customer data breaches.
Malware Family: magecart Total IOCs: 2 IOC Types: domain, url
| Type | Value | Threat Type | First Seen | Confidence |
|---|---|---|---|---|
| url | hxxps://backupper.pro | payload_delivery | 2026-06-30 | 100% |
| domain | cloud.api-middle-connect.com | cc_skimming | 2026-06-30 | 100% |
// Hunt for DNS queries to known malicious domains
// Source: ThreatFox - magecart
let malicious_domains = dynamic(["cloud.api-middle-connect.com"]);
DnsEvents
| where Name has_any (malicious_domains)
| project TimeGenerated, Computer, Name, IPAddresses, QueryType
| order by TimeGenerated desc
// Hunt for access to known malicious URLs
// Source: ThreatFox - magecart
let malicious_urls = dynamic(["https://backupper.pro"]);
UrlClickEvents
| where Url has_any (malicious_urls)
| project Timestamp, AccountUpn, Url, ActionType, IsClickedThrough
| order by Timestamp desc
| Sentinel Table | Notes |
|---|---|
DnsEvents | Ensure this data connector is enabled |
UrlClickEvents | Ensure this data connector is enabled |
Here are specific false positive scenarios for the ThreatFox: MageCart IOCs detection rule, including suggested filters and exclusions tailored for an enterprise environment:
Security Scanner Vulnerability Assessments
source_ip belonging to the internal scanning subnet or filter out events where the process_name matches known scanner executables (e.g., nessus.exe, qualys_agent_service).DevOps Artifact Deployment and CI/CD Pipelines
magecart library (or a dependency containing similar IOCs) from an internal artifact repository (e.g., Nexus Repository or Artifactory), the file hash match will trigger the detection logic during the extraction phase.svc-jenkins-deploy) and filter by destination paths restricted to temporary build directories (e.g., /tmp/builds/* or C:\BuildAgent\work\*).Endpoint Protection Signature Updates