IC Optimizely Compromised Identify Compromised Websites Visited Before The Malicious UR Ls
Query
let Sites = dynamic(["bbc.com","bbc.co.uk","cnn.com","zoom.com","zoom.us","gitlab.com","ledger.com","ikea.com","smartsheet.com","salesforce.com","zattoo.com"]);
let Hits = materialize(DeviceNetworkEvents
| where Timestamp between (datetime(2026-11-16) .. datetime(2026-11-18))
| where RemoteUrl has_any ("1688360.cc","5vobauua3ojpklx.icu","eil786npto9u5bq.icu")
| project DeviceId, HitTime=Timestamp, MaliciousURL=RemoteUrl);
DeviceNetworkEvents
| where Timestamp between (datetime(2026-11-16) .. datetime(2026-11-18))
| where RemoteUrl has_any (Sites) | join kind=inner Hits on DeviceId | where Timestamp between ((HitTime - 2m) .. HitTime)
| project Timestamp, DeviceName, LegitimateSite=RemoteUrl, MaliciousURL, HitTime, InitiatingProcessFileName | order by HitTime ascAbout this query
MITRE ATT&CK Technique(s)
| Technique ID | Title |
|---|---|
| T1082 | System Information Discovery |
Author: Sergio Albea (17/11/2026)
[IC] - Optimizely Compromised: Identify Compromised Websites Visited Before the Malicious URLs
During the Optimizely compromise investigation, the article below highlights several affected organizations, including BBC, CNN, Zoom, GitLab, IKEA, and Ledger. We can correlate visits to these legitimate websites with subsequent connections to malicious domains to identify potential infection paths.
Investigation Source: https://blog.report-uri.com/worlds-largest-brands-infected-with-malware-via-optimizely/
Explanation
This KQL (Kusto Query Language) query is designed to investigate a potential security incident involving compromised websites. Here's a simplified breakdown of what the query does:
-
Context: The query is part of an investigation into a security breach involving the Optimizely platform, which affected several major organizations like BBC, CNN, Zoom, GitLab, IKEA, and Ledger. The goal is to identify if users visited these legitimate websites before accessing known malicious URLs, suggesting a possible infection path.
-
Key Components:
- Sites List: A list of legitimate websites that were potentially compromised. These include domains like "bbc.com", "cnn.com", "zoom.com", etc.
- Hits: A temporary table (
materialize) that captures network events where devices accessed known malicious URLs between November 16 and November 18, 2026. It records the device ID, the time of the event, and the malicious URL accessed.
-
Query Logic:
- The query first filters network events to find instances where devices accessed the specified malicious URLs within the given date range.
- It then looks for network events where the same devices accessed any of the legitimate sites within the same date range.
- The query joins these two sets of events on the device ID, ensuring that the legitimate site visit occurred within two minutes before the malicious URL access.
- It outputs a list of events showing the timestamp, device name, legitimate site visited, malicious URL accessed, the time of the malicious hit, and the initiating process file name, sorted by the time of the malicious hit.
-
Purpose: The query helps identify potential infection paths by correlating visits to legitimate websites with subsequent connections to malicious domains, providing insights into how the compromise may have occurred.