Skip to content

Gift shoppingAn unfamiliar online shop? Check it for free before you pay.Check a shop

Scanner rules

This page is for server administrators. It describes exactly what our scanner does, how to recognise it and how to stop it.

Identification

How to recognise our traffic in your logs.

User-Agent
Tegmia-Checker/0.1 (+https://tegmia.com/scanner)
Server address
64.226.104.11 (scanner.tegmia.com)
Protocols and ports
TCP 80 and 443 only.
HTTP methods
GET only: to “/”, to the public files security.txt, robots.txt and sitemap.xml, to the verification file /.well-known/tegmia-verification.txt, for a verified domain that receives mail to the MTA-STS policy https://mta-sts.<domain>/.well-known/mta-sts.txt, and for a verified domain to a fixed list of well-known paths where files that should not be public tend to be left (listed below).
Contact
security@tegmia.com

What we send

The complete list. Nothing else will come from us.

  • One TLS connection to port 443 to read the certificate metadata. Nothing is sent; we close the connection at once.
  • At most one second TLS connection limited to TLS 1.1, to find out whether the server still accepts outdated protocol versions.
  • At most five GET requests to “/” — one at the start, then one for each redirect. We drop the response body right after the headers.
  • One GET request to “/” over unencrypted HTTP, to check the redirect to HTTPS.
  • One GET request each to /.well-known/security.txt and /robots.txt, two files a website publishes for anyone.
  • Before the checks that connect to the server, one GET request to /robots.txt to know whether the website excludes us. We remember the answer for 10 minutes.
  • When a domain is verified with a file, first a GET to /robots.txt (whether the website excludes us), then one GET to the verification file: when the customer starts the verification, and for a domain verified with a file again no sooner than 7 days after the last confirmation, to know that they still manage it. A domain verified with a DNS record is reconfirmed with a DNS query only.
  • One GET request to “/” reading at most 128 kB of the page. From the headers and the page code (the generator tag, comments, links to files the page loads) we recognise the website’s software and its version.
  • For all the requests above we follow redirects only within the verified website: the same domain, its subdomains and the bare domain behind “www.”. When the website redirects to someone else’s server, we send nothing there and mark the check as not measured.
  • Queries for public DNS records: A, AAAA, TXT, MX, CAA, NS, and TXT at _dmarc, _mta-sts and _smtp._tls.
  • For a verified domain that receives mail and publishes an _mta-sts record in DNS: first a GET to /robots.txt of the domain and of the server mta-sts.<domain> (whether they exclude us), then one GET to https://mta-sts.<domain>/.well-known/mta-sts.txt, the way sending mail servers fetch the policy: HTTPS with a verified certificate only, without following redirects and reading at most 64 kB.
  • Outside the domain’s servers: for a verified domain, one query to the domain registry over RDAP (the registry server from the IANA list) for the date the registration expires. The registry receives only the domain name. We remember the answer for at most 6 hours.
  • Uptime monitoring (the Watch and Custom plans): every 5 minutes one GET request to “/” of the verified domain, with the same redirect and exclusion rules as the other requests. We do not read the whole response body.
  • Lookalike domains: for a domain verified in an account we generate at most 300 similar addresses, in the free check at most 80, and ask DNS about each one (NS, and for existing ones MX, A and AAAA). We ask the domain registry over RDAP for the registration date of at most 40 (in the free check 10) addresses that exist, sending it only the domain name. We do not connect to the servers of these addresses: no HTTP, TLS or any other connection. Their DNS servers receive the query, as with any other DNS query.
  • The exposed-files check, only for a domain the customer has verified, never in the free audit: at most 60 GET requests one after another with a 0.3-second pause. One to a random non-existent address /tegmia-check-… (to see how the website answers for a file it does not have), one to “/” and one to /sitemap.xml (this file only, at most 256 kB; we load no further sitemap files). Then to these paths: /.env, /.env.local, /.env.production, /.git/HEAD, /.git/config, /.svn/wc.db, /.hg/requires, /.DS_Store, /.htpasswd, /wp-config.php.bak, /wp-config.php~, /wp-config.old, /wp-config.php.save, /config.php.bak, /backup.zip, /backup.tar.gz, /site.zip, /www.zip, /backup.sql, /dump.sql, /db.sql, /database.sql, /.npmrc, /.aws/credentials, /.ssh/id_rsa, /id_rsa, /docker-compose.yml, /.vscode/sftp.json, /sftp-config.json, /phpinfo.php, /info.php, /server-status, /adminer.php, /error_log, /debug.log, /wp-content/debug.log, /storage/logs/laravel.log, /wp-content/uploads/. And finally to at most 15 files on the same website with an extension such as .sql, .bak, .old, .env, .log, .swp or to an archive named like a backup, which the code of the home page or sitemap.xml itself links to. For these files we do not follow redirects, read at most the first 4 kB and close the connection. We do not store the content: we record only the address, status code, Content-Type, Content-Length and time. When the website answers a path with 429 or a server error, we ask for a random address again after a second (at most 4 times per check): if that also gets a limit or an error, we stop the check at once; otherwise it is a firewall rule for that one path. After three queries in a row without an answer we also stop the check.
  • Outside the domain’s server, for verified domains and in the free check: the addresses of the website and the mail servers (from the A, AAAA and MX records) and the domain name are sent, in the form of a DNS query, to the public lists of blocked addresses and domains UCEPROTECT Level 1 (dnsbl-1.uceprotect.net), DroneBL (dnsbl.dronebl.org), 0spam (bl.0spam.org), JustSpam (dnsbl.justspam.org), NordSpam (bl.nordspam.com), NordSpam DBL (domains) (dbl.nordspam.com). We do not connect to the domain’s server for this. The list of botnet command-and-control servers abuse.ch Feodo Tracker (https://feodotracker.abuse.ch/downloads/ipblocklist.json) is downloaded at most once an hour and the addresses are compared with it on our side; abuse.ch learns nothing about the domain. Likewise we download the Have I Been Pwned list of known data breaches (https://haveibeenpwned.com/api/v3/breaches) at most once a day and look the domain up on our side.
  • Outside the domain’s server: the software we detect is compared with the NVD vulnerability database (we send the name and version) and, for WordPress, with WordPress.org (the list of supported core versions and the latest plugin versions; we send only the plugin name). We send the domain to neither of them.

What we do not do

Lines we do not cross.

  • We do not try to exploit vulnerabilities or break in.
  • We do not guess passwords, use leaked credentials or try to sign in.
  • We do not crawl the website, guess file names or scan ports. The exposed-files check tries only the fixed list of paths above and files the website itself links to.
  • We do not bypass anything: a 401 or 403 answer is taken to mean the file is protected, and we try nothing more at that address.
  • We send no requests to addresses that are not public — private, loopback and link-local ranges, including detours through IPv6 and NAT64, are refused.
  • We do not start the website checks until the customer has shown that they manage the domain, or until a signed-in visitor of the free audit confirms that it is their company (this mode of the free audit is switched off for now). The only exception is the file verification itself: at the customer’s request we read /robots.txt and download the verification file, which is how the verification works. Otherwise we read only public DNS records through a resolver; the domain’s DNS server receives that query too, as with any visit to the website.

Frequency and limits

The shortest possible interval is set by the customer’s plan.

Scheduled checks run at most once every 24 hours, and once a week on the Free plan. A customer can start a manual check of each domain at most 3 to 25 times a day, depending on the plan. Connections to the domain’s server and to WordPress.org time out after 8 seconds, the query to the NVD vulnerability database after 20 seconds. The individual requests of the exposed-files check time out after 6 seconds, and the whole check takes at most 150 seconds. We do not retry a connection to the server after an error; only the resolver asks each DNS server at most twice. A check that could not be measured is repeated at the next scheduled time. The lookalike-domain check makes at most 10 DNS queries and 3 registry queries at once and finishes within 90 seconds at the latest; whatever has not answered by then is marked as not measured.

How to block us

We respect it and explain it to the customer.

If you do not want our scanner to visit your server, there are three ways. Add an entry for our scanner to robots.txt; we then do not connect to the server beyond reading robots.txt. Or block requests with the User-Agent above. Or write to us at security@tegmia.com and we will remove the domain from all checks that connect to the server, including our customers’ checks. The customer then sees in the interface that the check is blocked on the server side — not that everything is fine.

User-agent: Tegmia-Checker
Disallow: /

A note for administrators

Our checks read only what the server gives anyone without signing in. If our traffic seems excessive to you, send us the exact time and IP address and we will find out what happened.