Monitoring
Monitoring follows a threat after you have found it. It has two parts:
- A watchlist is a named set of indicators, such as one threat's or campaign's. Every new report that observes any of them is recorded in the watchlist and alerted on.
- A page monitor rescans one URL on a schedule and compares each scan with a baseline report. When the page changes, you are alerted. Use it on a suspicious page to follow a threat, or on your own sites to catch unwanted changes such as an injected script.
Both are available to every signed-in account, under Hunting → Monitoring on urlquery.net, with the Monitoring API, the MCP tools, and the command-line client. When you are in a team, the watchlists and page monitors you create are your team's: every member sees and manages them.
| Watchlists | Page monitors | YARA rules | |
|---|---|---|---|
| Watches | Every new report, for known indicators | One URL, rescanned on a schedule | Every new report, for content you describe |
| Matches on | Hosts, IPs, hashes and URLs | Differences from a baseline report | Page, script and response content |
| Scans anything | No | Yes, each scan is a submission | No |
| Use it for | Infrastructure and files you already know | Pages that change: kits, takedowns, parked domains, and your own pages | Kits whose infrastructure keeps changing |
Watchlists
Indicators
Paste a threat's indicators, one or more per line, and urlquery recognises each one's kind:
| Kind | Example | Matches |
|---|---|---|
| Domain | evil.example | The registered domain and every subdomain. |
| FQDN | cdn.kit.example | That host name only. |
| IP | 203.0.113.7 | A host the page contacted at that address. |
| URL | login.example.org/verify | That URL exactly, query string included, submitted, final, or loaded by the page. For any query, use a pattern such as login.example.org/verify*. |
| URL pattern | */wp-content/plugins/kit/* | Any URL the pattern fits. |
| SHA256 | 9f86d0…0a08 | Content with that hash: the page, a script, or a response body. |
- Defanged values such as
hxxps://evil[.]example/loginare refanged. - Stored normalised: lowercased (a URL's path keeps its case), and a URL without its scheme, so
https://Evil.example/aandhttp://evil.example/aare the same indicator. - Not accepted: IP ranges, and hashes other than SHA256.
- An indicator can be in several watchlists, and each records the reports it matches.
URL patterns
A URL pattern has * where any text may be, at the start, in the middle, or at the end:
*/gate.phpmatches the gate on any host;*/wp-content/plugins/kit/*matches every file a plugin loads;cdn.example/*/loader.jsmatches a loader under any version path.
Patterns are matched case-insensitively against every URL of a report: the submitted and final URLs, and every request and script the page loaded. A pattern needs a path and at least 6 characters besides *; for a host and its subdomains, use the domain instead. A new indicator or pattern takes effect within a minute.
What is matched
Each new report is checked against your watchlists once it is stored:
| Seen as | Where in the report |
|---|---|
host | A host the page contacted. |
ip | An IP address the page contacted, or the one it was served from. |
sha256 | The hash of the final DOM, a script, or a response body. |
url | The submitted URL, or its host. |
final_url | The URL the page ended on, or its host. |
request | A URL the page requested or loaded a script from. |
A report is recorded once in each watchlist it matches, with every indicator it matched and where.
- New reports only. A watchlist matches reports stored after an indicator was added; existing reports are not searched. Use search for the past.
- Avoid shared infrastructure. A CDN, a hosting provider's IP, or the hash of a common library matches many unrelated reports. The SHA256 of empty content,
e3b0c442…b855, matches nearly every report. - Paused watchlists record nothing until they are resumed.
Reports you can open
A watchlist lists only the reports you can open, by the usual visibility rules. Matched reports you cannot open, such as another account's restricted reports you have no access to, are counted as hidden. Another account's private reports are never recorded.
The watchlist's page shows its activity over 7, 30 or 90 days: reports per day, the distinct sites, and the indicators that match most. A noisy indicator stands out there.
Removing an indicator keeps the reports it already matched. Deleting a watchlist deletes its list of reports, but not the reports.
Page monitors
Baseline and scans
A page monitor starts from a report, its baseline, with Monitor URL on the report page. Each scan:
- visits the baseline's URL with the baseline's scan settings (user agent, device, network exit and referer), so differences come from the page and not the setup;
- produces a normal report, with the access you chose for the monitor (
restrictedby default); - is compared with the baseline, never with the scan before.
Scans run hourly, every 6 hours, daily or weekly; the shortest intervals may not be available to your account. The first runs within a minute.
Watching your own pages
Page monitors also work defensively, on sites you run or depend on. A scan sees a page the way a visitor's browser does, including every script and third-party resource it loads, so it catches changes your own deployment never made:
- Injected scripts, such as a card skimmer on a checkout page or a credential stealer on a login page.
- Compromised third parties: a tag manager, analytics or chat script that starts loading something new.
- Redirects and defacement: visitors sent to a scam page, or the page replaced.
- New hosts: the page starts contacting a domain it never used.
- Certificate and status changes, and new detections on the page.
To set one up, submit the page, then choose Monitor URL on its report:
- Monitor the pages that matter most, such as the login, checkout and payment pages, rather than only the home page.
- Choose private access, so the scans of your pages are not public reports.
- Compare all resources (scope
all), so changes to third-party files show too; new third-party scripts and frames count either way. - Ignore what changes by design, such as analytics or advertising URLs, so real changes stand out.
- Add the certificate and HTTP status checks, which are off by default.
Compromised sites often show the malicious content only to some visitors, by device, country or referer. A monitor scans with the settings of its baseline report, so monitor the page from a few baselines, such as a mobile device and a network exit in another country, to see what those visitors see.
After you deploy a change on purpose, choose Use as baseline on the first scan that shows it, so later scans are compared with the new version.
What counts as a change
You choose what counts:
| Setting | Default | Choices |
|---|---|---|
| Page checks | Redirect, new hosts, new detections | Also the HTTP status and the TLS certificate. |
| New resources | Scripts and frames | Also styles, images, fonts and media. |
| Changed content | The page and scripts, at minor | Per resource type: any change, minor, moderate or major. |
| Scope (changed content) | The site's own resources | Or every resource, third parties included. New resources count from every domain either way. |
| URLs | Every resource | Ignore some URLs, such as https://www.google-analytics.com/*, or compare only a few. A URL to ignore names its host; * matches any text. |
To keep monitors quiet, query strings and inline scripts are ignored, content is compared by fuzzy hash at the level you chose, and a file that moved to a new URL is matched by its content instead of counted as new.
Following changes
Each run lists how the scan differs: new and changed resources (and missing ones, for the URLs a monitor compares only), new hosts, new detections, and the final URL and HTTP status when they differ. Compare opens the scan side by side with the baseline (see Comparing two reports).
A difference that stays is reported on every scan, because every scan is compared with the baseline. Once you have understood a change, choose Use as baseline on that run, and later scans are compared with it.
A monitor pauses by itself when the account its scans run as is disabled or leaves the team, or that team is disabled. Resuming it makes you the account its scans run as.
Alerts
Watchlist matches and page changes are sent as notifications:
- In the browser, on urlquery.net, while you are signed in.
- By email, in chat apps and as webhooks, through the channels you add under Settings → Notifications. See Notifications, and Webhooks for the JSON a webhook receives and how to verify it.
A team's watchlists and page monitors notify every member, and a watchlist match only members who can open the report.
Limits
The number of watchlists, indicators, URL patterns and page monitors you can have is limited, and so is how often a page can be scanned. Past a limit, creating or adding is refused and tells you which limit was reached.
Retention
The reports a watchlist matched are listed for two years, and a page monitor's runs are kept for 90 days. The reports themselves follow the normal retention: an entry can outlive its report, which then no longer opens.