scot.nhs.uk
We found 3 issues, 1 of them serious in scot.nhs.uk's email security, HTTPS, website and domain configuration.
Quick answers
- Can someone send fake email pretending to be scot.nhs.uk?
- Yes, probably. scot.nhs.uk's DMARC policy is “none” (monitoring only), so spoofed messages are still delivered.
- Does scot.nhs.uk have DMARC?
- Yes, with the policy p=none.
- Does scot.nhs.uk have an SPF record?
- No.
- Does scot.nhs.uk use DKIM?
- We didn't find DKIM keys at common locations (it may still use DKIM under another name).
- Is scot.nhs.uk's SSL certificate valid?
- Yes. Issued by Let's Encrypt, valid until 2027-01-30 (59 days left).
- Does scot.nhs.uk support TLS 1.3?
- Yes.
- Does scot.nhs.uk still accept outdated TLS 1.0 or 1.1?
- No.
- Does scot.nhs.uk use HSTS?
- Yes.
- Is DNSSEC enabled for scot.nhs.uk?
- No.
How scot.nhs.uk compares
Scores higher than 27% of the 10,000 most popular websites.
Its issues, and how common they are among popular sites
"Uncommon" means fewer than 1 in 10 popular sites have this problem. See the full research.
Email security C
- Mail provider
- Unknown / self-hosted
- DMARC
v=DMARC1;p=none;rua=mailto:[email protected]
No SPF record high
SPF lists which servers may send email for scot.nhs.uk. Without it, receiving mail servers can't check where mail really came from, so fake email that appears to come from scot.nhs.uk (spoofing) is easier to send, and real email is more likely to land in spam. Gmail and Yahoo require SPF or DKIM from every sender, and both from bulk senders.
Add one TXT record at scot.nhs.uk listing the services that send your mail, for example: v=spf1 include:<your email provider's SPF domain> ~all Your email provider's help pages give the exact 'include' to use. If this domain never sends email, use: v=spf1 -all
DMARC is in monitoring-only mode (p=none) medium
p=none collects reports but doesn't stop spoofed email: forged messages from scot.nhs.uk are still delivered. It's the right first step, but it isn't protection.
Once your reports show all legitimate mail passing, change the policy to p=quarantine, then p=reject.
No DKIM keys found at common locations note
DKIM keys live at names only the sender knows, so we can only check common ones. scot.nhs.uk may still use DKIM. If it doesn't, its mail is easier to spoof and more likely to be filtered.
Turn on DKIM signing in your email provider's admin console and publish the key it gives you.
MTA-STS not enabled note
Without MTA-STS, an attacker on the network path could downgrade mail delivery to scot.nhs.uk to unencrypted. This is an advanced, optional hardening step.
Publish an MTA-STS policy file at https://mta-sts.scot.nhs.uk/.well-known/mta-sts.txt and a TXT record at _mta-sts.scot.nhs.uk.
HTTPS & certificate A
- Issued by
- Let's Encrypt
- Expires
- 2027-01-30 (59 days)
- Checked
- scot.nhs.uk and www.scot.nhs.uk
- Protocol
- TLSv1.3
- Key
- ECDSA 384-bit
- Valid, trusted certificate (issued by Let's Encrypt)
- Supports TLS 1.3
- Outdated TLS 1.0 and 1.1 are switched off
- Only strong encryption ciphers accepted
Website security headers A
Content Security Policy doesn't restrict scripts low
A policy is present, but it doesn't say which scripts are allowed (no script-src or default-src), so it offers little protection against cross-site scripting (XSS).
Tighten script-src: remove 'unsafe-inline' and wildcards, and allow specific sources, nonces or hashes instead. Test with Content-Security-Policy-Report-Only first.
- HTTP redirects to HTTPS
- HSTS enabled
- Protected against clickjacking
- X-Content-Type-Options: nosniff set
Domain & DNS A
- Nameservers
- ns1.scot.nhs.uk, ns2.scot.nhs.uk
DNSSEC isn't enabled note
DNSSEC signs a domain's DNS records so attackers can't forge them. Many large sites don't use it yet, so it doesn't affect the grade, but it's a worthwhile hardening step.
Many DNS providers can enable it with one click. If your registrar is different from your DNS provider, you'll also add a DS record at the registrar.
No CAA record note
A CAA record lists which certificate authorities may issue certificates for scot.nhs.uk. Without one, any of them can. It's optional hardening and doesn't affect the grade.
Add a CAA record for the authority you use, e.g. 0 issue "letsencrypt.org". If you use a CDN, check which authorities it needs first.