info.gov.hk
We found 4 issues in info.gov.hk's email security, HTTPS, website and domain configuration.
Quick answers
- Can someone send fake email pretending to be info.gov.hk?
- Unlikely. info.gov.hk has a DMARC policy of “quarantine”, so most receiving mail servers sends to spam messages that fail authentication.
- Does info.gov.hk have DMARC?
- Yes, with the policy p=quarantine.
- Does info.gov.hk have an SPF record?
- Yes: v=spf1 include:spf-1.im.cis.gov.hk ~all
- Does info.gov.hk use DKIM?
- We didn't find DKIM keys at common locations (it may still use DKIM under another name).
- Is info.gov.hk's SSL certificate valid?
- Yes. Issued by Hongkong Post, valid until 2027-06-14 (194 days left).
- Does info.gov.hk support TLS 1.3?
- Yes.
- Does info.gov.hk still accept outdated TLS 1.0 or 1.1?
- No.
- Does info.gov.hk use HSTS?
- No.
- Is DNSSEC enabled for info.gov.hk?
- Yes.
How info.gov.hk compares
Scores higher than 46% 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 A
- Mail provider
- Unknown / self-hosted
- SPF
v=spf1 include:spf-1.im.cis.gov.hk ~all- DMARC
v=DMARC1; p=quarantine; rua=mailto:[email protected]
No DKIM keys found at common locations note
DKIM keys live at names only the sender knows, so we can only check common ones. info.gov.hk 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 info.gov.hk to unencrypted. This is an advanced, optional hardening step.
Publish an MTA-STS policy file at https://mta-sts.info.gov.hk/.well-known/mta-sts.txt and a TXT record at _mta-sts.info.gov.hk.
- SPF is set up (~all soft fail)
- DMARC enforced (quarantine)
HTTPS & certificate A
- Issued by
- Hongkong Post
- Expires
- 2027-06-14 (194 days)
- Checked
- www.info.gov.hk and info.gov.hk
- Protocol
- TLSv1.3
- Key
- RSA 2048-bit
On info.gov.hk: Website isn't reachable over HTTPS medium
Visitors also reach this site at info.gov.hk. We couldn't make a secure connection (Could not connect on port 443 (TimeoutError)). Visitors may see browser warnings, and anything they send could be read or altered in transit.
Enable HTTPS with a free certificate from Let's Encrypt (most hosts have a one-click option) or put the site behind a CDN that provides one.
- Valid, trusted certificate (issued by Hongkong Post)
- Supports TLS 1.3
- Outdated TLS 1.0 and 1.1 are switched off
- Only strong encryption ciphers accepted
Website security headers B
No HSTS header medium
HSTS tells browsers to always use HTTPS for the site, which blocks downgrade attacks on public Wi-Fi.
Send the header: Strict-Transport-Security: max-age=31536000; includeSubDomains (Make sure every subdomain supports HTTPS before adding includeSubDomains.)
No Content Security Policy low
A CSP limits which scripts a page can run, which reduces the damage from cross-site scripting (XSS) attacks and malicious third-party code.
Start with a report-only policy (Content-Security-Policy-Report-Only) to see what would break, then enforce it.
Missing X-Content-Type-Options: nosniff low
Without it, browsers may guess file types, which can let an uploaded file be run as a script.
Send the header: X-Content-Type-Options: nosniff
No Referrer-Policy header note
Modern browsers default to a reasonable policy, but setting one explicitly controls how much of the site's page addresses are shared with other sites when visitors click a link.
Send: Referrer-Policy: strict-origin-when-cross-origin
- Protected against clickjacking
Domain & DNS A
- Nameservers
- ns01.scig.gov.hk, ns02.scig.gov.hk, ns03.scig.gov.hk
No CAA record note
A CAA record lists which certificate authorities may issue certificates for info.gov.hk. 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.
- DNSSEC is enabled