How to stay safe on public wifi may be a conplex question as there is not one answer because there are a lot of exploits, but my main question is how to minimize risk of the main exploits like arp spoofing, man in the middle etc. I havent set sys-net as disposable could that be a door and what else would you recommend to keep the base system and qubes intact.
Make sys-net disposable, this is quite important. I think there is a guide on the forum explaining how to make the wifi networks persitent while having sys-net disposable.
Routing your qubes traffic through a VPN or Tor will make it more secure with regards to the public wifi network, although you may need to think about the implication (you delegate your traffic to a third party).
Is a disposable sys-net really needed though?
Even if you join a malicious public wifi endpoint, it is contained to sys-net only and would have to VM escape to do any real damage.
I’d say a disposable sys-net is advisable, yes, because it may increase the time an attacker has to attack your sys-net. In case of a disposable sys-net, a successful implant will be gone after you reboot sys-net, while it’s permanently there in the non-disposable case. Furthermore, sys-net is critical in another aspect that all your network traffic runs through it. So even if an attacker doesn’t manage to escape the VM, they would be able to see all your network traffic - either permanently or just until sys-net is rebooted.
I assume you’re reffering to the one that makes use of bind-dirs. It should also be very easy to achieve this using custom-persist: Add common use cases for minimal state app qubes to documentation · Issue #10151 · QubesOS/qubes-issues · GitHub, easy enough that maybe this could be considered to be included by default or as a checkbox in the installer.
Network traffic snooping can be easily mitigated by just using a VPN or TOR, so it is really just your first point that I see as the main reason to make sys-net disposable. However, given the rarity of VM escapes, it seems like making sys-net disposable is more hassle than it’s worth for most people. If you are actively being targeted than maybe it’s a different story - depends on your threat model.
Yes, but only if your:
- DNS request are not ‘leaking’
- DNS answers are not ‘fooled’
- VPN client is strictly checking the server you connecting to.
And these are all real - and very rarely addressed - issues in practice.
@Zrubi makes good points. It should also be said that Tor does not
easily mitigate traffic snooping. There’s considerable work being done
on encrypted traffic analysis: depending on your threat model you should
consider this.
I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.
Thanks @solene, as you seem to be a openbsd guru, is there anyway to make the openbsd-sysnet disposable? It seems to rely on the hostname.xnf0 having a static ip.