digital.gov.eg
We found 7 issues, 1 of them serious in digital.gov.eg's email security, HTTPS, website and domain configuration.
Quick answers
- Can someone send fake email pretending to be digital.gov.eg?
- Yes, probably. digital.gov.eg has no valid DMARC policy, so many mail servers will deliver email that fakes its address.
- Does digital.gov.eg have DMARC?
- No.
- Does digital.gov.eg have an SPF record?
- Yes: v=spf1 mx a ptr ip4:41.128.245.109 ~all
- Does digital.gov.eg use DKIM?
- We didn't find DKIM keys at common locations (it may still use DKIM under another name).
- Is digital.gov.eg's SSL certificate valid?
- Yes. Issued by DigiCert Inc, valid until 2027-03-26 (115 days left).
- Does digital.gov.eg support TLS 1.3?
- No.
- Does digital.gov.eg still accept outdated TLS 1.0 or 1.1?
- Yes, it accepts TLS 1.0 and TLS 1.1.
- Does digital.gov.eg use HSTS?
- Yes.
- Is DNSSEC enabled for digital.gov.eg?
- No.
How digital.gov.eg compares
Scores higher than 19% 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
- SPF
v=spf1 mx a ptr ip4:41.128.245.109 ~all
No DMARC record high
DMARC tells receiving mail servers what to do with email that fails SPF/DKIM checks, and can send the domain's owner reports about who is sending as digital.gov.eg. Without it, fake email that appears to come from digital.gov.eg (spoofing) is often delivered. Gmail and Yahoo require DMARC for bulk senders.
Start in monitoring mode with a TXT record at _dmarc.digital.gov.eg: v=DMARC1; p=none; rua=mailto:[email protected] (Create that mailbox first, or use a DMARC reporting service's address.) Review the reports for a few weeks, then move to p=quarantine and finally p=reject.
SPF uses the deprecated 'ptr' mechanism low
'ptr' is slow and unreliable, and the SPF standard says not to use it. Some receivers ignore it.
Replace ptr with ip4:/ip6: ranges or include: entries for your senders.
No DKIM keys found at common locations note
DKIM keys live at names only the sender knows, so we can only check common ones. digital.gov.eg 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 digital.gov.eg to unencrypted. This is an advanced, optional hardening step.
Publish an MTA-STS policy file at https://mta-sts.digital.gov.eg/.well-known/mta-sts.txt and a TXT record at _mta-sts.digital.gov.eg.
- SPF is set up (~all soft fail)
HTTPS & certificate A
- Issued by
- DigiCert Inc
- Expires
- 2027-03-26 (115 days)
- Checked
- digital.gov.eg and www.digital.gov.eg
- Protocol
- TLSv1.2
- Key
- RSA 2048-bit
Still accepts outdated TLS 1.0 and TLS 1.1 medium
Modern browsers use TLS 1.2 or 1.3, but this server still agrees to connect with TLS 1.0 and TLS 1.1. These old versions have known weaknesses; TLS 1.0 isn't allowed for card payments under PCI DSS, and both are kept alive only for very old devices.
Set the minimum TLS version to 1.2. On a CDN or hosting dashboard, look for a 'Minimum TLS version' setting (usually under SSL/TLS). On nginx: ssl_protocols TLSv1.2 TLSv1.3; On Apache: SSLProtocol -all +TLSv1.2 +TLSv1.3
Accepts encryption without forward secrecy (AES128-GCM-SHA256) low
With these ciphers, anyone who records traffic today and later obtains the server's private key can decrypt it. Modern ciphers prevent that.
Disable ciphers whose names don't include ECDHE or DHE (for example AES128-SHA or AES256-GCM-SHA384). Mozilla's SSL Configuration Generator (ssl-config.mozilla.org) shows a safe list.
- Valid, trusted certificate (issued by DigiCert Inc)
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.
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
Cookies sent without the Secure flag (TS018ed90e, TS01b61cc3) low
Without 'Secure', the browser may send these cookies over unencrypted HTTP, where they can be read on public Wi-Fi.
Add the Secure attribute to these cookies in your application or framework settings.
- HTTP redirects to HTTPS
- HSTS enabled
- Protected against clickjacking
Domain & DNS A
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 digital.gov.eg. 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.
Only 0 nameserver note
If that one DNS server goes down, the domain's website and email become unreachable.
Your DNS provider should list at least two nameservers; add all of them at your registrar.