mofa.gov.sa
We found 2 issues in mofa.gov.sa's email security, HTTPS, website and domain configuration.
Quick answers
- Can someone send fake email pretending to be mofa.gov.sa?
- Unlikely. mofa.gov.sa has a DMARC policy of “reject”, so most receiving mail servers rejects messages that fail authentication.
- Does mofa.gov.sa have DMARC?
- Yes, with the policy p=reject.
- Does mofa.gov.sa have an SPF record?
- Yes: v=spf1 mx a:mail1.mofa.gov.sa a:mail2.mofa.gov.sa -all
- Does mofa.gov.sa use DKIM?
- Yes. We found DKIM keys for: selector1.
- Is mofa.gov.sa's SSL certificate valid?
- Yes. Issued by DigiCert Inc, valid until 2027-04-21 (141 days left).
- Does mofa.gov.sa support TLS 1.3?
- Yes.
- Does mofa.gov.sa still accept outdated TLS 1.0 or 1.1?
- No.
- Does mofa.gov.sa use HSTS?
- Yes.
- Is DNSSEC enabled for mofa.gov.sa?
- Yes.
How mofa.gov.sa compares
Scores higher than 80% 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 mx a:mail1.mofa.gov.sa a:mail2.mofa.gov.sa -all- DMARC
v=DMARC1; p=reject; fo=1; ri=3600; rf=afrf; rua=mailto:[email protected],mailto:[email protected]; ruf=mailto:[email protected],mailto:[email protected]
MTA-STS not enabled note
Without MTA-STS, an attacker on the network path could downgrade mail delivery to mofa.gov.sa to unencrypted. This is an advanced, optional hardening step.
Publish an MTA-STS policy file at https://mta-sts.mofa.gov.sa/.well-known/mta-sts.txt and a TXT record at _mta-sts.mofa.gov.sa.
- SPF is set up (-all hard fail)
- DMARC enforced (reject)
- DKIM signing keys found (selector1)
HTTPS & certificate A
- Issued by
- DigiCert Inc
- Expires
- 2027-04-21 (141 days)
- Checked
- mofa.gov.sa and www.mofa.gov.sa
- Protocol
- TLSv1.3
- Key
- RSA 2048-bit
- Valid, trusted certificate (issued by DigiCert Inc)
- Supports TLS 1.3
- Outdated TLS 1.0 and 1.1 are switched off
- Only strong encryption ciphers accepted
Website security headers A
HSTS lasts only 126 days low
A short max-age means browsers forget the HTTPS-only rule quickly.
Use max-age=31536000 (one year) once you're confident HTTPS works everywhere.
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.
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
- HTTP redirects to HTTPS
- Protected against clickjacking
- X-Content-Type-Options: nosniff set
- Cookies have the expected security flags
Domain & DNS A
- Nameservers
- ns1.cloud.site.sa, ns2.cloud.site.sa
- DNSSEC is enabled
- CAA record limits who can issue certificates (digicert.com)