Earlier quoted context omitted.
You'd likely need to do several things, but one mitigation is to set up a network-wide firewall to block everything except IPs and domains you explicitly add to allowlist, and only connect your devices through the firewall. For iOS, I don't believe a capable on-device firewall exists; but even if it did, NSO likely may have compromised it too. Also: If it amounts to unlawful tapping where you live [0], you may want t…
I don't believe there are proper application level firewalls. You can however (at least if the entire OS isn't compromised at the time of the network requests) get something which is better than nothing through the private DNS API. If you configure your own private DNS server over DNS-over-HTTPS, and have your own logging on it, you can review your DNS logs across any devices configured to use it, rapidly. While keep…
Pegasus can always DoH its DNS queries to a server of its choosing bypassing any and all network-wide / os-wide DNS settings. Granted IoCs can be set to flag such behaviour. Besides, DNS and ICMP can be additionally be used to siphon off data too.
When used carefully, IP firewalls make for a good defence.
> ...if you're concerned about skilled attacker threat models - code execution in the browser via a delivered ad isn't something you want to make easy!
True. If NSO group is in your threat-model, it definitely warrants extreme paranoia and caution.