- SN headers have
Strict-Transport-Security: max-age=31536000; includeSubDomains
max-age=31536000 → 1 year browser cache to enforce HTTPS after first visit.
includeSubDomains → applies to all subdomains too.
But no preload flag.
That means, when victim tries to visit stacker.news for the first time, he can:
- ARP Spoof to become MITM.
- iptables to DROP or RESET packets to 443 (HTTPS port).
- DNS Spoof stacker.news to your own IP using bettercap
- Serve fake stacker.news over HTTP (port 80).
- Capture login details / sessions.
- Once user submits anything → SN Rooted.
Fix: Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
HSTS preload = browser already knows "always HTTPS" even before asking the server.
Strict-Transport-Security: max-age=31536000; includeSubDomains
max-age=31536000 → 1 year browser cache to enforce HTTPS after first visit.
includeSubDomains → applies to all subdomains too.
But no preload flag.
That means, when victim tries to visit stacker.news for the first time, he can:
Fix: Strict-Transport-Security: max-age=63072000; includeSubDomains; preload
HSTS preload = browser already knows "always HTTPS" even before asking the server.