F 49 / 100

sunat.gob.pe

We found 9 issues, 1 of them serious in sunat.gob.pe's email security, HTTPS, website and domain configuration.

1 high 3 medium 5 low

Security report · checked 2026-12-01

Quick answers

Can someone send fake email pretending to be sunat.gob.pe?
Unlikely. sunat.gob.pe has a DMARC policy of “quarantine”, so most receiving mail servers sends to spam messages that fail authentication.
Does sunat.gob.pe have DMARC?
Yes, with the policy p=quarantine.
Does sunat.gob.pe have an SPF record?
Yes, but it contains an error, so it doesn't work.
Does sunat.gob.pe use DKIM?
Yes. We found DKIM keys for: selector1, selector2, mail.
Who provides email for sunat.gob.pe?
Microsoft 365, based on its mail (MX) records.
Is sunat.gob.pe's SSL certificate valid?
Yes. Issued by Sectigo Limited, valid until 2027-05-09 (159 days left).
Does sunat.gob.pe support TLS 1.3?
No.
Does sunat.gob.pe still accept outdated TLS 1.0 or 1.1?
Yes, it accepts TLS 1.0 and TLS 1.1.
Does sunat.gob.pe use HSTS?
No.
Is DNSSEC enabled for sunat.gob.pe?
No.

How sunat.gob.pe compares

Scores higher than 9% of the 10,000 most popular websites.

Lower scoresHigher scores

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
Microsoft 365
SPF
v=spf1 mx include:turbo-smtp.com include:_spf.email-platform.com include:servers.mcsv.net include:spf.protection.outlook.com ip4:161.132.21.70/32 ip4:200.41.15.70/32 ip4:161.132.21.198/32 ip4:200.41.15.198/32 ip4:200.41.15.12/32 ip4:200.41.15.140/32 ip4:170.82.97.12/32 ip4:170.231.170.140/32 ip4:161.132.21.12/32 ip4:161.132.21.140/32 -all
DMARC
v=DMARC1; p=quarantine; pct=100; rua=mailto:[email protected]; ruf=mailto:[email protected]
SPF needs 8 DNS lookups (limit is 10) high

The SPF standard caps evaluation at 10 DNS lookups. Above that, receivers get an error instead of a pass, so SPF stops protecting sunat.gob.pe. Mail then depends on DKIM alone, and some receivers treat it as a failure, which can push legitimate email into spam.

How to fix

Remove include: entries for services you no longer use, replace some with ip4:/ip6: ranges, or use an SPF flattening service.

DKIM uses an older 1024-bit key (selector selector1, mail) low

1024-bit keys still work but are below current recommendations. 2048-bit is the standard today.

How to fix

When convenient, rotate to a 2048-bit key in your email provider's admin console.

MTA-STS not enabled note

Without MTA-STS, an attacker on the network path could downgrade mail delivery to sunat.gob.pe to unencrypted. This is an advanced, optional hardening step.

What to do

Publish an MTA-STS policy file at https://mta-sts.sunat.gob.pe/.well-known/mta-sts.txt and a TXT record at _mta-sts.sunat.gob.pe.

HTTPS & certificate B

Issued by
Sectigo Limited
Expires
2027-05-09 (159 days)
Checked
www.sunat.gob.pe
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.

How to fix

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 broken encryption ciphers (ECDHE-RSA-DES-CBC3-SHA) medium

The server still agrees to use encryption methods with known practical attacks (such as 3DES or RC4), or NULL ciphers, which don't encrypt anything at all. Modern browsers don't need them.

How to fix

Disable 3DES, RC4 and NULL ciphers in your server or CDN settings. Mozilla's SSL Configuration Generator (ssl-config.mozilla.org) produces a safe configuration for most servers.

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.

How to fix

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.

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.

How to fix

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.

How to fix

Start with a report-only policy (Content-Security-Policy-Report-Only) to see what would break, then enforce it.

Site can be embedded in other websites low

Without framing protection, attackers can load this site invisibly inside theirs and trick visitors into clicking things (clickjacking).

How to fix

Send X-Frame-Options: SAMEORIGIN, or add frame-ancestors 'self' to your Content Security Policy.

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.

How to fix

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.

What to do

Send: Referrer-Policy: strict-origin-when-cross-origin

Domain & DNS A

Nameservers
app10.sunat.gob.pe, app2.sunat.gob.pe, app3.sunat.gob.pe, app4.sunat.gob.pe, app5.sunat.gob.pe, app7.sunat.gob.pe
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.

What to do

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 sunat.gob.pe. Without one, any of them can. It's optional hardening and doesn't affect the grade.

What to do

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.

Check another domain