pj.gob.pe
We found 4 issues in pj.gob.pe's email security, HTTPS, website and domain configuration.
Quick answers
- Can someone send fake email pretending to be pj.gob.pe?
- Unlikely. pj.gob.pe has a DMARC policy of “quarantine”, so most receiving mail servers sends to spam messages that fail authentication.
- Does pj.gob.pe have DMARC?
- Yes, with the policy p=quarantine.
- Does pj.gob.pe have an SPF record?
- Yes: v=spf1 ip4:200.62.251.34 ip4:200.62.251.45 ip4:200.62.251.49 ip4:200.62.251.46 ip4:200.60.169.34 ip4:200.60.169.45 ip4:200.60.169.49 ip4:200.60.169.46 include:_spf.google.com ~all
- Does pj.gob.pe use DKIM?
- Yes. We found DKIM keys for: google, default.
- Who provides email for pj.gob.pe?
- Google Workspace, based on its mail (MX) records.
- Is pj.gob.pe's SSL certificate valid?
- Yes. Issued by Sectigo Limited, valid until 2027-03-03 (92 days left).
- Does pj.gob.pe support TLS 1.3?
- Yes.
- Does pj.gob.pe still accept outdated TLS 1.0 or 1.1?
- No.
- Does pj.gob.pe use HSTS?
- Yes.
- Is DNSSEC enabled for pj.gob.pe?
- No.
How pj.gob.pe compares
Scores higher than 55% 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
- Google Workspace
- SPF
v=spf1 ip4:200.62.251.34 ip4:200.62.251.45 ip4:200.62.251.49 ip4:200.62.251.46 ip4:200.60.169.34 ip4:200.60.169.45 ip4:200.60.169.49 ip4:200.60.169.46 include:_spf.google.com ~all- DMARC
v=DMARC1; p=quarantine; rua=mailto:[email protected]; ruf=mailto:[email protected]
MTA-STS not enabled note
Without MTA-STS, an attacker on the network path could downgrade mail delivery to pj.gob.pe to unencrypted. This is an advanced, optional hardening step.
Publish an MTA-STS policy file at https://mta-sts.pj.gob.pe/.well-known/mta-sts.txt and a TXT record at _mta-sts.pj.gob.pe.
- SPF is set up (~all soft fail)
- DMARC enforced (quarantine)
- DKIM signing keys found (google, default)
HTTPS & certificate A
- Issued by
- Sectigo Limited
- Expires
- 2027-03-03 (92 days)
- Checked
- www.pj.gob.pe and pj.gob.pe
- Protocol
- TLSv1.3
- Key
- RSA 2048-bit
On pj.gob.pe: Website isn't reachable over HTTPS medium
Visitors also reach this site at pj.gob.pe. 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 Sectigo Limited)
- 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.
Cookies sent without the Secure flag (HWWAFSESID, HWWAFSESTIME) 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.
Login/session cookies readable by scripts (HWWAFSESID) low
These look like session cookies but lack 'HttpOnly', so a cross-site scripting bug could steal them and hijack logged-in sessions.
Add the HttpOnly attribute to session cookies (most frameworks have a single setting for this).
- HSTS enabled
- Protected against clickjacking
- X-Content-Type-Options: nosniff set
Domain & DNS A
- Nameservers
- dns1.amx.com.pe, dns2.amx.com.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.
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 pj.gob.pe. 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.